Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 4 files:
- drivers/md/dm-ioctl.c, line 200
- drivers/md/dm-thin.c, line 4237
- drivers/md/dm-verity-loadpin.c, line 67
- drivers/md/dm.c, line 2689
Smatch caller information:
drivers/md/dm-verity-loadpin.c dm_verity_loadpin_is_bdev_trusted() -> dm_get_md()
| Type | Parameter | Key | Value |
|---|---|---|---|
| UNITS | 0 | dev | unit_array_size |
drivers/md/dm-ioctl.c __get_dev_cell() -> dm_get_md()
| Type | Parameter | Key | Value |
|---|---|---|---|
| LOCK2 | global &_hash_lock |
drivers/md/dm-thin.c thin_ctr() -> dm_get_md()
| Type | Parameter | Key | Value |
|---|---|---|---|
| UNITS | 0 | dev | unit_array_size |
| LOCK2 | global &dm_thin_pool_table.mutex | ||
| HALF_LOCKED2 | &md->type_lock | ||
| TYPE_LOCK | (struct dm_thin_pool_table)->mutex |