Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/md/dm-ioctl.c __get_dev_cell() -> dm_get_mdptr()

Type Parameter Key Value
PARAM_VALUE 0 md 4096-ptr_max
DATA_SOURCE 0 md r dm_get_md
LOCK2 global &_hash_lock

drivers/md/dm-ioctl.c dm_copy_name_and_uuid() -> dm_get_mdptr()

Type Parameter Key Value
PARAM_VALUE 0 md 1-u64max
DATA_SOURCE 0 md $0
RX_PATH
TASK_NOT_RUNNING
LOCK2 global &dm_hash_cells_mutex
HALF_LOCKED2 &of->mutex
HALF_LOCKED2 &pool->lock
HALF_LOCKED2 global &_event_lock

drivers/md/dm-ioctl.c dm_get_inactive_table() -> dm_get_mdptr()

Type Parameter Key Value
PARAM_VALUE 0 md 4096-ptr_max
CAPPED_DATA 0 md->io_barrier.srcu_ctrp 1
DATA_SOURCE 0 md $0
LOCK2 global &_hash_lock
LOCK2 0 &md->io_barrier
TYPE_LOCK (struct mapped_device)->io_barrier

drivers/md/dm-ioctl.c dm_ima_need_measure() -> dm_get_mdptr()

Type Parameter Key Value
PARAM_VALUE 0 md 4096-ptr_max
DATA_SOURCE 0 md $0
LOCK2 global &_hash_lock

drivers/md/dm-ioctl.c do_resume() -> dm_get_mdptr()

Type Parameter Key Value
PARAM_VALUE 0 md 4096-ptr_max
LOCK2 global &_hash_lock

drivers/md/dm-ioctl.c table_load() -> dm_get_mdptr()

Type Parameter Key Value
PARAM_VALUE 0 md 4096-ptr_max
DATA_SOURCE 0 md r find_device
LOCK2 global &_hash_lock