Documented in 1 files:

Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 15 files:

Smatch caller information:

drivers/md/dm-log-writes.c log_super() -> wait_for_completion_io()

Type Parameter Key Value
PARAM_VALUE 0 x 4096-ptr_max
NOCHECK_CALL

fs/erofs/zdata.c z_erofs_runqueue() -> wait_for_completion_io()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &mapping->invalidate_lock

block/blk-mq.c blk_wait_io() -> wait_for_completion_io()

Type Parameter Key Value
PARAM_VALUE 0 x 1964915337089572864
PARAM_VALUE 0 x->wait.lock.raw_lock.val.counter 0
DATA_SOURCE 0 x $0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &attr->mutex
HALF_LOCKED2 &cd->lock
HALF_LOCKED2 &hba->clk_scaling_lock
HALF_LOCKED2 &hba->dev_cmd.lock
HALF_LOCKED2 &of->mutex
HALF_LOCKED2 &vblk->vdev_mutex

fs/f2fs/segment.c __wait_discard_cmd_range() -> wait_for_completion_io()

Type Parameter Key Value
PARAM_VALUE 0 x 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 &dcc->cmd_lock
TYPE_LOCK (struct discard_cmd_control)->cmd_lock

fs/f2fs/segment.c __wait_one_discard_bio() -> wait_for_completion_io()

Type Parameter Key Value
PARAM_VALUE 0 x 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &curseg->curseg_mutex
HALF_LOCKED2 &sit_i->sentry_lock

fs/btrfs/inode.c btrfs_encoded_read_regular_fill_pages() -> wait_for_completion_io()

Type Parameter Key Value
PARAM_VALUE 0 x 4548848877383192576
PARAM_VALUE 0 x->done 0
PARAM_VALUE 0 x->wait.lock.magic 3735899821
PARAM_VALUE 0 x->wait.lock.owner (-1)
PARAM_VALUE 0 x->wait.lock.owner_cpu u32max
PARAM_VALUE 0 x->wait.task_list.next 4096-ptr_max
PARAM_VALUE 0 x->wait.task_list.prev 4096-ptr_max
RX_PATH
NOCHECK_CALL

fs/btrfs/scrub.c scrub_raid56_cached_parity() -> wait_for_completion_io()

Type Parameter Key Value
PARAM_VALUE 0 x 1115976697118343168
NOCHECK_CALL

drivers/scsi/hpsa.c hpsa_scsi_do_simple_cmd_core() -> wait_for_completion_io()

Type Parameter Key Value
PARAM_VALUE 0 x 4804492496301891584
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &h->reset_mutex

fs/f2fs/data.c f2fs_submit_page_write() -> wait_for_completion_io()

Type Parameter Key Value
PARAM_VALUE 0 x 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 &io->io_rwsem.internal_rwsem
HALF_LOCKED2 &sbi->gc_lock.internal_rwsem
TYPE_LOCK (struct f2fs_rwsem)->internal_rwsem

drivers/md/dm-writecache.c ssd_commit_flushed() -> wait_for_completion_io()

Type Parameter Key Value
PARAM_VALUE 0 x 4547892809222684680
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &md->suspend_lock
HALF_LOCKED2 &wc->lock

block/bio.c blk_wait_io() -> wait_for_completion_io()

Type Parameter Key Value
PARAM_VALUE 0 x 7256720788822900736
DATA_SOURCE 0 x $0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

block/blk-zoned.c blk_wait_io() -> wait_for_completion_io()

Type Parameter Key Value
PARAM_VALUE 0 x 4096-ptr_max
DATA_SOURCE 0 x $0
NOCHECK_CALL

fs/btrfs/relocation.c copy_remapped_data_io() -> wait_for_completion_io()

Type Parameter Key Value
PARAM_VALUE 0 x 3533890532023521280
PARAM_VALUE 0 x->done 0
PARAM_VALUE 0 x->wait.lock.magic 3735899821
PARAM_VALUE 0 x->wait.lock.owner (-1)
PARAM_VALUE 0 x->wait.lock.owner_cpu u32max
PARAM_VALUE 0 x->wait.task_list.next 4096-ptr_max
PARAM_VALUE 0 x->wait.task_list.prev 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 &fs_info->remap_mutex
HALF_LOCKED2 &fs_info->reclaim_bgs_lock
HALF_LOCKED2 &fs_info->reclaim_bgs_lock
TYPE_LOCK (struct btrfs_fs_info)->reclaim_bgs_lock
TYPE_LOCK (struct btrfs_fs_info)->remap_mutex

drivers/md/dm-integrity.c dm_integrity_map_continue() -> wait_for_completion_io()

Type Parameter Key Value
PARAM_VALUE 0 x 5011743958082420736
PARAM_VALUE 0 x->done 0
PARAM_VALUE 0 x->wait.lock.magic 3735899821
PARAM_VALUE 0 x->wait.lock.owner (-1)
PARAM_VALUE 0 x->wait.lock.owner_cpu u32max
PARAM_VALUE 0 x->wait.task_list.next 4096-ptr_max
PARAM_VALUE 0 x->wait.task_list.prev 4096-ptr_max
RX_PATH
NOCHECK_CALL
HALF_LOCKED2 &pool->lock

drivers/md/dm-integrity.c do_journal_write() -> wait_for_completion_io()

Type Parameter Key Value
PARAM_VALUE 0 x 760425264473419792
PARAM_VALUE 0 x->wait.task_list.next 4096-ptr_max
PARAM_VALUE 0 x->wait.task_list.prev 4096-ptr_max
NOCHECK_CALL
HALF_LOCKED2 &md->suspend_lock

drivers/md/dm-integrity.c write_journal() -> wait_for_completion_io()

Type Parameter Key Value
PARAM_VALUE 0 x 5442487807259684880
PARAM_VALUE 0 x->wait.task_list.next 4096-ptr_max
PARAM_VALUE 0 x->wait.task_list.prev 4096-ptr_max
NOCHECK_CALL

drivers/md/dm-integrity.c write_journal() -> wait_for_completion_io()

Type Parameter Key Value
PARAM_VALUE 0 x 5442487807259684880
PARAM_VALUE 0 x->wait.task_list.next 4096-ptr_max
PARAM_VALUE 0 x->wait.task_list.prev 4096-ptr_max
NOCHECK_CALL

drivers/md/dm-integrity.c write_journal() -> wait_for_completion_io()

Type Parameter Key Value
PARAM_VALUE 0 x 5442487807259684880
PARAM_VALUE 0 x->done 0
PARAM_VALUE 0 x->wait.task_list.next 4096-ptr_max
PARAM_VALUE 0 x->wait.task_list.prev 4096-ptr_max
NOCHECK_CALL

drivers/md/dm-integrity.c write_journal() -> wait_for_completion_io()

Type Parameter Key Value
PARAM_VALUE 0 x 3124305723359834128
PARAM_VALUE 0 x->wait.task_list.next 4096-ptr_max
PARAM_VALUE 0 x->wait.task_list.prev 4096-ptr_max
NOCHECK_CALL

drivers/md/dm-integrity.c write_journal() -> wait_for_completion_io()

Type Parameter Key Value
PARAM_VALUE 0 x 3647076428504158224
PARAM_VALUE 0 x->wait.lock.owner (-1)
PARAM_VALUE 0 x->wait.lock.owner_cpu u32max
PARAM_VALUE 0 x->wait.task_list.next 4096-ptr_max
PARAM_VALUE 0 x->wait.task_list.prev 4096-ptr_max
NOCHECK_CALL

fs/btrfs/disk-io.c wait_dev_flush() -> wait_for_completion_io()

Type Parameter Key Value
PARAM_VALUE 0 x 4096-ptr_max
RX_PATH
NOCHECK_CALL
LOCK2 &fs_info->tree_log_mutex
LOCK2 &info->fs_devices->device_list_mutex
TYPE_LOCK (struct btrfs_fs_devices)->device_list_mutex
TYPE_LOCK (struct btrfs_fs_info)->tree_log_mutex

drivers/md/dm-io.c sync_io() -> wait_for_completion_io()

Type Parameter Key Value
PARAM_VALUE 0 x 3230494425400389648
PARAM_VALUE 0 x->done 0
PARAM_VALUE 0 x->wait.lock.magic 3735899821
PARAM_VALUE 0 x->wait.lock.owner (-1)
PARAM_VALUE 0 x->wait.lock.owner_cpu u32max
PARAM_VALUE 0 x->wait.task_list.next 4096-ptr_max
PARAM_VALUE 0 x->wait.task_list.prev 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &pool->lock
HALF_LOCKED2 &wc->lock