Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 4 files:
Smatch caller information:
drivers/md/dm-zone.c dm_blk_report_zones() -> dm_suspended_md()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | md | 4096-ptr_max |
| BUF_SIZE | 0 | md | (-1),816,1008-s32max |
| BUF_SIZE | 0 | md | (-1),816,1008-s32max |
| CAPPED_DATA | 0 | md->io_barrier.srcu_ctrp | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | md | unit_byte |
| LOCK2 | 0 | &md->io_barrier | |
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct mapped_device)->io_barrier |
drivers/md/dm-ioctl.c __dev_status() -> dm_suspended_md()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | md | 4096-ptr_max |
| DATA_SOURCE | 0 | md | $0 |
drivers/md/dm-ioctl.c do_resume() -> dm_suspended_md()
| Type | Parameter | Key | Value |
|---|
drivers/md/dm-ioctl.c do_resume() -> dm_suspended_md()
| Type | Parameter | Key | Value |
|---|---|---|---|
| NO_OVERFLOW_SIMPLE | 0 | md->queue->limits.max_hw_discard_sectors |
drivers/md/dm-ioctl.c do_suspend() -> dm_suspended_md()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | md | 1-u64max |
| DATA_SOURCE | 0 | md | r find_device |
drivers/md/dm.c __dm_destroy() -> dm_suspended_md()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | md | 4096-ptr_max |
| CAPPED_DATA | 0 | md->io_barrier.srcu_ctrp | 1 |
| CAPPED_DATA | 0 | md->io_barrier.srcu_reader_flavor | 1 |
| CAPPED_DATA | 0 | md->map | 1 |
| 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->io_barrier | |
| LOCK2 | 0 | &md->suspend_lock | |
| TYPE_LOCK | (struct mapped_device)->io_barrier | ||
| TYPE_LOCK | (struct mapped_device)->suspend_lock |
drivers/md/dm.c __dm_internal_resume() -> dm_suspended_md()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | md | 4096-ptr_max |
| DATA_SOURCE | 0 | md | $0 |
| LOCK2 | 0 | &md->suspend_lock | |
| HALF_LOCKED2 | &md->suspend_lock | ||
| TYPE_LOCK | (struct mapped_device)->suspend_lock |
drivers/md/dm.c __dm_internal_suspend() -> dm_suspended_md()
| Type | Parameter | Key | Value |
|---|---|---|---|
| DATA_SOURCE | 0 | md | $0 |
| LOCK2 | &md->suspend_lock | ||
| LOCK2 | 0 | &md->suspend_lock | |
| HALF_LOCKED2 | &md->io_barrier | ||
| TYPE_LOCK | (struct mapped_device)->suspend_lock |
drivers/md/dm.c dm_call_pr() -> dm_suspended_md()
| 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 |
| CAPPED_DATA | 0 | md->io_barrier.srcu_ctrp | 1 |
| CAPPED_DATA | 0 | md->io_barrier.srcu_reader_flavor | 1 |
| CAPPED_DATA | 0 | md->map | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | md | unit_byte |
| LOCK2 | 0 | &md->io_barrier | |
| TYPE_LOCK | (struct mapped_device)->io_barrier |
drivers/md/dm.c dm_internal_resume_fast() -> dm_suspended_md()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | md | 1-u64max |
| DATA_SOURCE | 0 | md | $0 |
| LOCK2 | 0 | &md->suspend_lock | |
| HALF_LOCKED2 | &md->suspend_lock | ||
| TYPE_LOCK | (struct mapped_device)->suspend_lock |
drivers/md/dm.c dm_internal_suspend_fast() -> dm_suspended_md()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | md | 1-u64max |
| CAPPED_DATA | 0 | &md->suspend_lock | 1 |
| DATA_SOURCE | 0 | md | $0 |
| LOCK2 | 0 | &md->suspend_lock | |
| HALF_LOCKED2 | &md->suspend_lock | ||
| TYPE_LOCK | (struct mapped_device)->suspend_lock |
drivers/md/dm.c dm_prepare_ioctl() -> dm_suspended_md()
| 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 |
| CAPPED_DATA | 0 | md->io_barrier.srcu_ctrp | 1 |
| DATA_SOURCE | 0 | md | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | md | unit_byte |
| LOCK2 | 0 | &md->io_barrier | |
| TYPE_LOCK | (struct mapped_device)->io_barrier |
drivers/md/dm.c dm_resume() -> dm_suspended_md()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | md | 4096-ptr_max |
| CAPPED_DATA | 0 | &md->suspend_lock | 1 |
| DATA_SOURCE | 0 | md | $0 |
| LOCK2 | 0 | &md->suspend_lock | |
| TYPE_LOCK | (struct mapped_device)->suspend_lock |
drivers/md/dm.c dm_suspend() -> dm_suspended_md()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | md | 4096-ptr_max |
| CAPPED_DATA | 0 | &md->suspend_lock | 1 |
| DATA_SOURCE | 0 | md | $0 |
| LOCK2 | 0 | &md->suspend_lock | |
| TYPE_LOCK | (struct mapped_device)->suspend_lock |
drivers/md/dm.c dm_suspended() -> dm_suspended_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 | &md->suspend_lock | ||
| HALF_LOCKED2 | &snap_src->lock | ||
| HALF_LOCKED2 | &wc->lock | ||
| HALF_LOCKED2 | global &_origins_lock | ||
| HALF_LOCKED2 | irq |
drivers/md/dm.c dm_swap_table() -> dm_suspended_md()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | md | 4096-ptr_max |
| CAPPED_DATA | 0 | &md->suspend_lock | 1 |
| DATA_SOURCE | 0 | md | $0 |
| LOCK2 | 0 | &md->suspend_lock | |
| TYPE_LOCK | (struct mapped_device)->suspend_lock |
drivers/md/dm-sysfs.c dm_attr_suspended_show() -> dm_suspended_md()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | md | 4096-ptr_max |
| DATA_SOURCE | 0 | md | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &of->mutex | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |