Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 3 files:

Smatch caller information:

drivers/md/dm-rq.c dm_start_request() -> dm_get()

Type Parameter Key Value
PARAM_VALUE 0 md 4096-ptr_max
DATA_SOURCE 0 md $0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 0 md unit_byte
HALF_LOCKED2 __tag_set->srcu
HALF_LOCKED2 rcu_read

drivers/md/dm-ioctl.c __get_name_cell() -> dm_get()

Type Parameter Key Value
NOCHECK_CALL
LOCK2 global &_hash_lock

drivers/md/dm-ioctl.c __get_uuid_cell() -> dm_get()

Type Parameter Key Value
NOCHECK_CALL
LOCK2 global &_hash_lock

drivers/md/dm-ioctl.c dm_hash_insert() -> dm_get()

Type Parameter Key Value
PARAM_VALUE 0 md 4096-ptr_max
PARAM_VALUE 0 md->event_nr.counter 0
PARAM_VALUE 0 md->holders.counter 1
PARAM_VALUE 0 md->ima.measure_idx 0
PARAM_VALUE 0 md->ima.update_idx 0
PARAM_VALUE 0 md->init_tio_pdu 0
PARAM_VALUE 0 md->io_barrier.srcu_reader_flavor 0
PARAM_VALUE 0 md->kobj_holder.completion.done 0
PARAM_VALUE 0 md->open_count.counter 0
PARAM_VALUE 0 md->requeue_list 0
PARAM_VALUE 0 md->stats.precise_timestamps 0
PARAM_VALUE 0 md->suspend_lock.first_waiter 0
PARAM_VALUE 0 md->suspend_lock.osq.tail.counter 0
PARAM_VALUE 0 md->suspend_lock.owner.counter 0
PARAM_VALUE 0 md->swap_bios 1-s32max
PARAM_VALUE 0 md->swap_bios_lock.first_waiter 0
PARAM_VALUE 0 md->swap_bios_lock.osq.tail.counter 0
PARAM_VALUE 0 md->swap_bios_lock.owner.counter 0
PARAM_VALUE 0 md->table_devices_lock.first_waiter 0
PARAM_VALUE 0 md->table_devices_lock.osq.tail.counter 0
PARAM_VALUE 0 md->table_devices_lock.owner.counter 0
PARAM_VALUE 0 md->type 0
PARAM_VALUE 0 md->type_lock.first_waiter 0
PARAM_VALUE 0 md->type_lock.osq.tail.counter 0
PARAM_VALUE 0 md->type_lock.owner.counter 0
PARAM_VALUE 0 md->uevent_seq.counter 0
DATA_SOURCE 0 md $2
NOCHECK_CALL
LOCK2 global &_hash_lock

drivers/md/dm-ioctl.c dm_hash_remove_all() -> dm_get()

Type Parameter Key Value
PARAM_VALUE 0 md->disk->part0->bd_device.kobj.parent->sd->attr.open->nr_mmapped 0-4294967295
PARAM_VALUE 0 md->disk->part0->bd_device.kobj.sd->attr.open->nr_mmapped 0-4294967295
PARAM_VALUE 0 md->disk->part0->bd_device.power.wakeirq->status 0-4294967295
PARAM_VALUE 0 md->disk->queue->mq_kobj->sd->attr.open->nr_mmapped 0-4294967295
PARAM_VALUE 0 md->disk->queue->tag_set->update_nr_hwq_lock.first_waiter->handoff_set 0-1
PARAM_VALUE 0 md->disk->queue->tag_set->update_nr_hwq_lock.first_waiter->type 0-1
PARAM_VALUE 0 md->disk->queue_kobj.sd->attr.open->nr_mmapped 0-4294967295
NOCHECK_CALL
NO_OVERFLOW_SIMPLE 0 md->dax_dev->inode.i_mapping->host->i_bytes
LOCK2 global &_hash_lock

drivers/md/dm.c dm_blk_open() -> dm_get()

Type Parameter Key Value
PARAM_VALUE 0 md 4096-ptr_max
BUF_SIZE 0 md s32min-(-2),1-s32max
BUF_SIZE 0 md s32min-(-2),1-s32max
PREEMPT_ADD <- disables preempt
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 0 md unit_byte
LOCK2 &disk->open_mutex
LOCK2 global &_minor_lock
TYPE_LOCK (struct gendisk)->open_mutex

drivers/md/dm.c dm_get_from_kobject() -> dm_get()

Type Parameter Key Value
PARAM_VALUE 0 md 4096-ptr_max
PREEMPT_ADD <- disables preempt
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 &of->mutex
LOCK2 global &_minor_lock
HALF_LOCKED2 &of->prealloc_mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct kernfs_open_file)->mutex

drivers/md/dm.c dm_get_md() -> dm_get()

Type Parameter Key Value
PARAM_VALUE 0 md 4096-ptr_max
DATA_SOURCE 0 md r idr_find
PREEMPT_ADD <- disables preempt
NOCHECK_CALL
LOCK2 global &_minor_lock
HALF_LOCKED2 global &_hash_lock
HALF_LOCKED2 global &dm_thin_pool_table.mutex

drivers/md/dm.c dm_hold() -> dm_get()

Type Parameter Key Value
PARAM_VALUE 0 md 4096-ptr_max
DATA_SOURCE 0 md $0
PREEMPT_ADD <- disables preempt
NOCHECK_CALL
LOCK2 &md->suspend_lock
LOCK2 global &_minor_lock
LOCK2 global &_origins_lock
TYPE_LOCK (struct mapped_device)->suspend_lock