Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 10 files:
- drivers/md/dm-audit.c, line 40
- drivers/md/dm-crypt.c, line 1130
- drivers/md/dm-mpath.c, line 680
- drivers/md/dm-raid.c
- drivers/md/dm-snap.c
- drivers/md/dm-table.c, line 2214
- drivers/md/dm-thin.c
- drivers/md/dm-uevent.c, line 173
- drivers/md/dm-vdo/vdo.c, line 870
- drivers/md/dm-verity-target.c
Smatch caller information:
drivers/md/dm-vdo/vdo.c vdo_get_device_name() -> dm_table_get_md()
| Type | Parameter | Key | Value |
|---|---|---|---|
| NO_OVERFLOW_SIMPLE | 0 | t->num_allocated | |
| HALF_LOCKED2 | &md->suspend_lock | ||
| HALF_LOCKED2 | global ®istry.lock |
drivers/md/dm-snap.c snapshot_resume() -> dm_table_get_md()
| Type | Parameter | Key | Value |
|---|---|---|---|
| LOCK2 | &md->suspend_lock | ||
| LOCK2 | global &_origins_lock | ||
| TYPE_LOCK | (struct mapped_device)->suspend_lock |
drivers/md/dm-snap.c snapshot_resume() -> dm_table_get_md()
| Type | Parameter | Key | Value |
|---|---|---|---|
| LOCK2 | &md->suspend_lock | ||
| LOCK2 | global &_origins_lock | ||
| TYPE_LOCK | (struct mapped_device)->suspend_lock |
drivers/md/dm-snap.c snapshot_resume() -> dm_table_get_md()
| Type | Parameter | Key | Value |
|---|---|---|---|
| LOCK2 | &md->suspend_lock | ||
| LOCK2 | global &_origins_lock | ||
| TYPE_LOCK | (struct mapped_device)->suspend_lock |
drivers/md/dm-mpath.c process_queued_io_list() -> dm_table_get_md()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &m->lock | ||
| HALF_LOCKED2 | &m->work_mutex | ||
| HALF_LOCKED2 | &md->io_barrier | ||
| HALF_LOCKED2 | flags |
drivers/md/dm-thin.c pool_ctr() -> dm_table_get_md()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | t | 4096-ptr_max |
| CAPPED_DATA | 0 | t->md->disk | 1 |
| CAPPED_DATA | 0 | t->num_targets | 1 |
| NO_OVERFLOW_SIMPLE | 0 | t->num_allocated | |
| LOCK2 | global &dm_thin_pool_table.mutex | ||
| HALF_LOCKED2 | &md->type_lock | ||
| TYPE_LOCK | (struct dm_thin_pool_table)->mutex |
drivers/md/dm-thin.c thin_ctr() -> dm_table_get_md()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | t | 4096-ptr_max |
| CAPPED_DATA | 0 | t->num_targets | 1 |
| NO_OVERFLOW_SIMPLE | 0 | t->num_allocated | |
| LOCK2 | global &dm_thin_pool_table.mutex | ||
| HALF_LOCKED2 | &md->type_lock | ||
| TYPE_LOCK | (struct dm_thin_pool_table)->mutex |
drivers/md/dm-uevent.c dm_path_uevent() -> dm_table_get_md()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | t | 4096-ptr_max |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &m->lock | ||
| HALF_LOCKED2 | &m->work_mutex | ||
| HALF_LOCKED2 | &md->io_barrier | ||
| HALF_LOCKED2 | flags | ||
| HALF_LOCKED2 | irq | ||
| TYPE_LOCK | (struct multipath)->lock |
drivers/md/dm-crypt.c crypt_integrity_ctr() -> dm_table_get_md()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | t | 4096-ptr_max |
| CAPPED_DATA | 0 | t->md->disk | 1 |
| CAPPED_DATA | 0 | t->num_targets | 1 |
| NO_OVERFLOW_SIMPLE | 0 | t->num_allocated | |
| HALF_LOCKED2 | &md->type_lock |
drivers/md/dm-raid.c raid_ctr() -> dm_table_get_md()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | t | 4096-ptr_max |
| CAPPED_DATA | 0 | t->num_targets | 1 |
| NO_OVERFLOW_SIMPLE | 0 | t->num_allocated | |
| LOCK2 | &rs->md.reconfig_mutex | ||
| HALF_LOCKED2 | &md->type_lock | ||
| TYPE_LOCK | (struct mddev)->reconfig_mutex |
drivers/md/dm-raid.c rs_set_capacity() -> dm_table_get_md()
| Type | Parameter | Key | Value |
|---|---|---|---|
| HALF_LOCKED2 | &md->suspend_lock |
drivers/md/dm-audit.c dm_audit_log_ti() -> dm_table_get_md()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 0 | t->num_allocated |
drivers/md/dm-verity-target.c verity_handle_err() -> dm_table_get_md()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/md/dm-verity-target.c verity_preresume() -> dm_table_get_md()
| Type | Parameter | Key | Value |
|---|---|---|---|
| LOCK2 | &md->suspend_lock | ||
| TYPE_LOCK | (struct mapped_device)->suspend_lock |