Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 6 files:
- drivers/md/dm-ioctl.c
- drivers/md/dm-rq.c, line 504
- drivers/md/dm-table.c
- drivers/md/dm-verity-loadpin.c, line 71
- drivers/md/dm-zone.c, line 63
- drivers/md/dm.c
Smatch caller information:
drivers/md/dm-rq.c dm_mq_queue_rq() -> dm_get_live_table()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | md | 4096-ptr_max |
| PARAM_VALUE | 0 | md->immutable_target | 0 |
| PARAM_VALUE | 1 | srcu_idx | 8880497776449789952 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | md | unit_byte |
| HALF_LOCKED2 | __tag_set->srcu | ||
| HALF_LOCKED2 | rcu_read |
drivers/md/dm-zone.c dm_blk_report_zones() -> dm_get_live_table()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | srcu_idx | 9143763261446660096 |
| BUF_SIZE | 0 | md | (-1),816,1008-s32max |
| BUF_SIZE | 0 | md | (-1),816,1008-s32max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | md | unit_byte |
| HALF_LOCKED2 | &pool->lock |
drivers/md/dm-verity-loadpin.c dm_verity_loadpin_is_bdev_trusted() -> dm_get_live_table()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | md | 4096-ptr_max |
| PARAM_VALUE | 1 | srcu_idx | 5266715155675516928 |
| DATA_SOURCE | 0 | md | r dm_get_md |
drivers/md/dm-ioctl.c __dev_status() -> dm_get_live_table()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | md | 4096-ptr_max |
| PARAM_VALUE | 0 | *md->queue->crypto_profile->modes_supported | 0-4294967295 |
| PARAM_VALUE | 1 | srcu_idx | 235326542128066560 |
| DATA_SOURCE | 0 | md | $0 |
drivers/md/dm-ioctl.c __hash_remove() -> dm_get_live_table()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | md | 4096-ptr_max |
| PARAM_VALUE | 0 | md->interface_ptr | 0 |
| PARAM_VALUE | 1 | srcu_idx | 6431195626282426368 |
| LOCK2 | global &_hash_lock |
drivers/md/dm-ioctl.c dm_get_inactive_table() -> dm_get_live_table()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | md | 4096-ptr_max |
| PARAM_VALUE | 0 | md->io_barrier.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | md->io_barrier.srcu_ctrp | 4096-ptr_max |
| PARAM_VALUE | 0 | *md->queue->crypto_profile->modes_supported | 0-4294967295 |
| PARAM_VALUE | 1 | srcu_idx | 235326542128066560,3394825023756513280,6735391692417798144,7621494286133981184 |
| CAPPED_DATA | 0 | md->io_barrier.srcu_ctrp | 1 |
| DATA_SOURCE | 0 | md | $0 |
| DATA_SOURCE | 1 | srcu_idx | $1 |
| NOCHECK_CALL |
drivers/md/dm-ioctl.c dm_get_live_or_inactive_table() -> dm_get_live_table()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | md | 4096-ptr_max |
| PARAM_VALUE | 0 | md->io_barrier.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | md->io_barrier.srcu_ctrp | 4096-ptr_max |
| PARAM_VALUE | 1 | srcu_idx | 3394825023756513280,6735391692417798144,7621494286133981184 |
| CAPPED_DATA | 0 | md->io_barrier.srcu_ctrp | 1 |
| DATA_SOURCE | 0 | md | $0 |
| DATA_SOURCE | 1 | srcu_idx | $2 |
drivers/md/dm-ioctl.c dm_hash_rename() -> dm_get_live_table()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | md | 4096-ptr_max |
| PARAM_VALUE | 1 | srcu_idx | 6920125843389030400 |
| LOCK2 | global &_hash_lock |
drivers/md/dm-ioctl.c dm_ima_need_measure() -> dm_get_live_table()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | md | 4096-ptr_max |
| PARAM_VALUE | 0 | md->disk | 4096-ptr_max |
| PARAM_VALUE | 0 | md->disk->part0 | 4096-ptr_max |
| PARAM_VALUE | 0 | md->disk->part0->bd_nr_sectors | 0-18014398509481983 |
| PARAM_VALUE | 0 | md->disk->part0->bd_size_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | md->io_barrier.srcu_sup | 4096-ptr_max |
| PARAM_VALUE | 0 | md->io_barrier.srcu_sup->lock.magic | 0 |
| PARAM_VALUE | 0 | md->io_barrier.srcu_sup->lock.owner | 0,(-1) |
| PARAM_VALUE | 0 | md->io_barrier.srcu_sup->lock.owner_cpu | 0,u32max |
| PARAM_VALUE | 0 | md->io_barrier.srcu_sup->sda_is_static | 1 |
| PARAM_VALUE | 0 | md->io_barrier.srcu_sup->srcu_barrier_mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | md->io_barrier.srcu_sup->srcu_barrier_mutex.magic | 4096-ptr_max |
| PARAM_VALUE | 0 | md->io_barrier.srcu_sup->srcu_cb_mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | md->io_barrier.srcu_sup->srcu_cb_mutex.magic | 4096-ptr_max |
| PARAM_VALUE | 0 | md->io_barrier.srcu_sup->srcu_gp_mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | md->io_barrier.srcu_sup->srcu_gp_mutex.magic | 4096-ptr_max |
| PARAM_VALUE | 0 | md->io_barrier.srcu_sup->srcu_gp_seq | 18446744073709551216 |
| PARAM_VALUE | 0 | md->io_barrier.srcu_sup->srcu_gp_seq_needed | 0,4-u64max |
| PARAM_VALUE | 0 | md->io_barrier.srcu_sup->srcu_gp_seq_needed_exp | 18446744073709551216 |
| PARAM_VALUE | 0 | md->io_barrier.srcu_sup->srcu_gp_start | 0 |
| PARAM_VALUE | 0 | md->io_barrier.srcu_sup->srcu_size_state | 0-1,8 |
| PARAM_VALUE | 0 | md->io_barrier.srcu_sup->srcu_ssp | 4096-ptr_max |
| PARAM_VALUE | 0 | md->io_barrier.srcu_sup->srcu_ssp->sda | 1-u64max |
| PARAM_VALUE | 0 | md->io_barrier.srcu_sup->srcu_ssp->srcu_sup | 4096-ptr_max |
| PARAM_VALUE | 0 | md->io_barrier.srcu_sup->work.cpu | 0 |
| PARAM_VALUE | 0 | md->io_barrier.srcu_sup->work.work.entry.next->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | md->io_barrier.srcu_sup->work.work.entry.prev->prev | 2076614606316732416 |
| PARAM_VALUE | 0 | md->io_barrier.srcu_sup->work.work.func | 0 |
| PARAM_VALUE | 0 | md->io_barrier.srcu_sup->work.wq | 0 |
| PARAM_VALUE | 0 | md->map | 4096-ptr_max |
| PARAM_VALUE | 0 | md->mempools->bs->rescue_workqueue->lockdep_map->name | 0-255 |
| PARAM_VALUE | 0 | md->mempools->bs.cpuhp_dead->next->pprev | 1-u64max |
| PARAM_VALUE | 0 | md->mempools->io_bs->rescue_workqueue->lockdep_map->name | 0-255 |
| PARAM_VALUE | 0 | md->mempools->io_bs.cpuhp_dead->next->pprev | 1-u64max |
| PARAM_VALUE | 0 | md->queue->disk->bdi->io_pages | 0-536870911 |
| PARAM_VALUE | 0 | md->queue->disk->bdi->ra_pages | 32-u64max |
| PARAM_VALUE | 0 | md->queue->limits.atomic_write_boundary_sectors | 0-8388607 |
| PARAM_VALUE | 0 | md->queue->limits.atomic_write_max_sectors | 0-8388607 |
| PARAM_VALUE | 0 | md->queue->limits.atomic_write_unit_max | 0-1171456 |
| PARAM_VALUE | 0 | md->queue->limits.atomic_write_unit_min | 0-1171456 |
| PARAM_VALUE | 0 | md->queue->limits.discard_granularity | 0,512-u32max |
| PARAM_VALUE | 0 | md->queue->limits.dma_alignment | 1-u32max |
| PARAM_VALUE | 0 | md->queue->limits.io_min | 512-u32max |
| PARAM_VALUE | 0 | md->queue->limits.logical_block_size | 512-65536 |
| PARAM_VALUE | 0 | md->queue->limits.max_discard_segments | 1-u16max |
| PARAM_VALUE | 0 | md->queue->limits.max_fast_segment_size | 0-4096 |
| PARAM_VALUE | 0 | md->queue->limits.max_segment_size | 1-u32max |
| PARAM_VALUE | 0 | md->queue->limits.max_segments | 1-u16max |
| PARAM_VALUE | 0 | md->queue->limits.max_user_sectors | 0,8-u32max |
| PARAM_VALUE | 0 | md->queue->limits.physical_block_size | 512-u32max |
| PARAM_VALUE | 0 | md->queue->limits.seg_boundary_mask | 1-u64max |
| PARAM_VALUE | 0 | md->queue->limits.zone_write_granularity | 512-u32max |
| PARAM_VALUE | 0 | md->queue->limits_lock->first_waiter->task->blocked_lock.owner | (-4611686018427387904)-4611686018427387903 |
| PARAM_VALUE | 0 | md->queue->limits_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | md->queue->limits_lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | md->queue->limits_lock.first_waiter->list.prev->prev | 5159360019465732096 |
| PARAM_VALUE | 0 | md->queue->limits_lock.first_waiter->task->blocked_lock.owner | (-1) |
| PARAM_VALUE | 0 | md->queue->limits_lock.first_waiter->task->blocked_lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 0 | md->queue->limits_lock.first_waiter->task->blocked_lock.raw_lock.val.counter | s32min-s32max |
| PARAM_VALUE | 0 | md->queue->limits_lock.first_waiter->task->usage.refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | md->suspend_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | md->suspend_lock.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | md->suspend_lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | md->suspend_lock.first_waiter->list.prev->prev | 5159360019465732096 |
| PARAM_VALUE | 0 | md->suspend_lock.first_waiter->task->blocked_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | md->suspend_lock.first_waiter->task->blocked_lock.owner | (-1) |
| PARAM_VALUE | 0 | md->suspend_lock.first_waiter->task->blocked_lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 0 | md->suspend_lock.first_waiter->task->blocked_lock.raw_lock.val.counter | s32min-s32max |
| PARAM_VALUE | 0 | md->suspend_lock.first_waiter->task->usage.refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | md->suspend_lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | *md->queue->crypto_profile->modes_supported | 0-4294967295 |
| PARAM_VALUE | 1 | srcu_idx | 7686809528644784128 |
| DATA_SOURCE | 0 | md | $0 |
| LOCK2 | global &_hash_lock |
drivers/md/dm-ioctl.c table_load() -> dm_get_live_table()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | md | 4096-ptr_max |
| PARAM_VALUE | 0 | md->queue | 0,4096-ptr_max |
| PARAM_VALUE | 0 | md->type_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | md->type_lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | md->type_lock.first_waiter->task->blocked_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | md->type_lock.first_waiter->task->blocked_lock.owner | (-1) |
| PARAM_VALUE | 0 | md->type_lock.first_waiter->task->blocked_lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 0 | md->type_lock.first_waiter->task->blocked_lock.raw_lock.val.counter | s32min-s32max |
| PARAM_VALUE | 0 | md->type_lock.first_waiter->task->usage.refs.counter | s32min-s32max |
| PARAM_VALUE | 1 | srcu_idx | 1073223122270629888 |
| DATA_SOURCE | 0 | md | r find_device |
| NOCHECK_CALL | |||
| LOCK2 | global &_hash_lock |
drivers/md/dm-ioctl.c target_message() -> dm_get_live_table()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | md | 1-u64max |
| PARAM_VALUE | 1 | srcu_idx | 1440125302935105536 |
| DATA_SOURCE | 0 | md | r find_device |
drivers/md/dm.c __dm_destroy() -> dm_get_live_table()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | md | 4096-ptr_max |
| PARAM_VALUE | 0 | md->disk | 4096-ptr_max |
| 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->part0->bd_nr_sectors | 0-18014398509481983 |
| PARAM_VALUE | 0 | md->disk->part0->bd_size_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | md->disk->queue->dev->power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 0 | md->disk->queue->mq_freeze_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | md->disk->queue->mq_freeze_lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | md->disk->queue->mq_freeze_lock.first_waiter->list.prev->prev | 5159360019465732096 |
| PARAM_VALUE | 0 | md->disk->queue->mq_freeze_lock.first_waiter->task->blocked_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | md->disk->queue->mq_freeze_lock.first_waiter->task->blocked_lock.owner | (-1) |
| PARAM_VALUE | 0 | md->disk->queue->mq_freeze_lock.first_waiter->task->blocked_lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 0 | md->disk->queue->mq_freeze_lock.first_waiter->task->usage.refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | md->disk->queue->mq_freeze_lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | md->disk->queue->mq_freeze_owner | 1-u64max |
| PARAM_VALUE | 0 | md->disk->queue->mq_kobj->sd->attr.open->nr_mmapped | 0-4294967295 |
| PARAM_VALUE | 0 | md->disk->queue->q_usage_counter.data->rcu.func | 1-u64max |
| 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 |
| PARAM_VALUE | 0 | md->suspend_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | md->suspend_lock.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | md->suspend_lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | md->suspend_lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | md->suspend_lock.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | md->suspend_lock.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | md->suspend_lock.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | *md->queue->crypto_profile->modes_supported | 0-4294967295 |
| PARAM_VALUE | 1 | srcu_idx | 732706464354893824 |
| CAPPED_DATA | 0 | &md->suspend_lock | 1 |
| DATA_SOURCE | 0 | md | $0 |
| NO_OVERFLOW_SIMPLE | 0 | md->dax_dev->inode.i_size | |
| NO_OVERFLOW_SIMPLE | 0 | md->mempools->bs.rescue_workqueue->rescuer->task->dl.pi_se->dl_runtime | |
| NO_OVERFLOW_SIMPLE | 0 | md->mempools->io_bs.rescue_workqueue->rescuer->task->dl.pi_se->dl_runtime | |
| LOCK2 | 0 | &md->suspend_lock | |
| TYPE_LOCK | (struct mapped_device)->suspend_lock |
drivers/md/dm.c dm_blk_get_unique_id() -> dm_get_live_table()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | srcu_idx | 3488775132345749504 |
| BUF_SIZE | 0 | md | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | md | s32min-(-2),1-s32max |
| UNITS | 0 | md | unit_byte |
drivers/md/dm.c dm_call_pr() -> dm_get_live_table()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | srcu_idx | 2203399723860758528 |
| BUF_SIZE | 0 | md | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | md | s32min-(-2),1-s32max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | md | unit_byte |
drivers/md/dm.c dm_dax_get_live_target() -> dm_get_live_table()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | srcu_idx | 4156397077194792960,8275670611983106048,8612293417423036416 |
| BUF_SIZE | 0 | md | (-1),472,1768,2280 |
| BUF_SIZE | 0 | md | (-1),472,1768,2280 |
| DATA_SOURCE | 0 | md | $0 |
| DATA_SOURCE | 1 | srcu_idx | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | global &dax_srcu |
drivers/md/dm.c dm_prepare_ioctl() -> dm_get_live_table()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | srcu_idx | 1511232763661312000,2933700180496097280 |
| BUF_SIZE | 0 | md | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | md | s32min-(-2),1-s32max |
| DATA_SOURCE | 0 | md | $0 |
| DATA_SOURCE | 1 | srcu_idx | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | md | unit_byte |
drivers/md/dm.c dm_submit_bio() -> dm_get_live_table()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | srcu_idx | 4355315341116190720 |
| BUF_SIZE | 0 | md | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | md | s32min-(-2),1-s32max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | md | unit_byte |
drivers/md/dm-table.c dm_exec_wrappedkey_op() -> dm_get_live_table()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | srcu_idx | 3909241560576991232 |
| RX_PATH | |||
| LOCK2 | &profile->lock | ||
| TYPE_LOCK | (struct blk_crypto_profile)->lock |
drivers/md/dm-table.c dm_keyslot_evict() -> dm_get_live_table()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | srcu_idx | 5148435586087763968 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &profile->lock |
drivers/md/dm-table.c dm_table_determine_type() -> dm_get_live_table()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | md | 4096-ptr_max |
| PARAM_VALUE | 1 | srcu_idx | 7014199871837310976 |
| HALF_LOCKED2 | &md->type_lock |