Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 4 files:
Smatch caller information:
drivers/md/dm-snap.c __origin_write() -> dm_table_get_size()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | global &_origins_lock |
drivers/md/dm-ima.c dm_ima_measure_on_table_load() -> dm_table_get_size()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | t | 4096-ptr_max |
| PARAM_VALUE | 0 | t->num_targets | 0-1048576 |
| BUF_SIZE | 0 | t->md->ima.inactive_table.hash | 0-s32max |
| CAPPED_DATA | 0 | t->md->ima.inactive_table.hash_len | 1 |
| CAPPED_DATA | 0 | t->md->ima.inactive_table.num_targets | 1 |
| CAPPED_DATA | 0 | t->md->ima.measure_idx | 1 |
| DATA_SOURCE | 0 | t | $0 |
| NO_OVERFLOW_SIMPLE | 0 | t->num_allocated | |
| LOCK2 | &md->io_barrier | ||
| TYPE_LOCK | (struct mapped_device)->io_barrier |
drivers/md/dm.c __bind() -> dm_table_get_size()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | t | 1-u64max |
| DATA_SOURCE | 0 | t | $1 |
| NO_OVERFLOW_SIMPLE | 0 | t->num_allocated | |
| LOCK2 | &md->suspend_lock | ||
| TYPE_LOCK | (struct mapped_device)->suspend_lock |
drivers/md/dm.c dm_blk_get_unique_id() -> dm_table_get_size()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | t | 1-u64max |
| LOCK2 | &md->io_barrier | ||
| TYPE_LOCK | (struct mapped_device)->io_barrier |
drivers/md/dm.c dm_call_pr() -> dm_table_get_size()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | t | 1-u64max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &md->io_barrier | ||
| TYPE_LOCK | (struct mapped_device)->io_barrier |
drivers/md/dm.c dm_prepare_ioctl() -> dm_table_get_size()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | t | 1-u64max |
| DATA_SOURCE | 0 | t | r dm_get_live_table |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &md->io_barrier | ||
| TYPE_LOCK | (struct mapped_device)->io_barrier |
drivers/md/dm.c dm_resume() -> dm_table_get_size()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | t | 1-u64max |
| LOCK2 | &md->suspend_lock | ||
| TYPE_LOCK | (struct mapped_device)->suspend_lock |
drivers/md/dm-table.c dm_table_find_target() -> dm_table_get_size()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | t | 1-u64max |
| DATA_SOURCE | 0 | t | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &md->io_barrier |