Defined in 1 files as a struct:

Defined in 1 files as a prototype:

Defined in 2 files as a member:

Defined in 1 files as a function:

Referenced in 15 files:

Smatch caller information:

drivers/md/dm-kcopyd.c run_io_job() -> dm_io()

Type Parameter Key Value
PARAM_VALUE 0 io_req 2171258440007512064
PARAM_VALUE 0 io_req->bi_opf 0
PARAM_VALUE 0 io_req->mem.offset 0
PARAM_VALUE 0 io_req->mem.ptr.addr 0
PARAM_VALUE 0 io_req->mem.ptr.bio 0
PARAM_VALUE 0 io_req->mem.ptr.vma 0
PARAM_VALUE 0 io_req->mem.type 0
PARAM_VALUE 0 io_req->notify.context 4096-ptr_max
PARAM_VALUE 0 io_req->notify.fn 8338374991064059904
PARAM_VALUE 1 num_regions 1
PARAM_VALUE 2 where 4096-ptr_max
PARAM_VALUE 3 sync_error_bits 0
PARAM_VALUE 4 sync_unsup_bits 0
PARAM_VALUE 5 ioprio 0
HALF_LOCKED2 &pool->lock

drivers/md/dm-kcopyd.c run_io_job() -> dm_io()

Type Parameter Key Value
PARAM_VALUE 0 io_req 2171258440007512064
PARAM_VALUE 0 io_req->bi_opf 1-u32max
PARAM_VALUE 0 io_req->mem.offset 0
PARAM_VALUE 0 io_req->mem.ptr.addr 0
PARAM_VALUE 0 io_req->mem.ptr.bio 0
PARAM_VALUE 0 io_req->mem.ptr.vma 0
PARAM_VALUE 0 io_req->mem.type 0
PARAM_VALUE 0 io_req->notify.context 4096-ptr_max
PARAM_VALUE 0 io_req->notify.fn 8338374991064059904
PARAM_VALUE 3 sync_error_bits 0
PARAM_VALUE 4 sync_unsup_bits 0
PARAM_VALUE 5 ioprio 0
BUF_SIZE 2 where 192
HALF_LOCKED2 &pool->lock

drivers/md/dm-snap-persistent.c chunk_io() -> dm_io()

Type Parameter Key Value
PARAM_VALUE 0 io_req 9082075870728507392
PARAM_VALUE 0 io_req->bi_opf 0-1,393217,395265
PARAM_VALUE 0 io_req->mem.offset 0
PARAM_VALUE 0 io_req->mem.ptr.addr 0
PARAM_VALUE 0 io_req->mem.ptr.bio 0
PARAM_VALUE 0 io_req->mem.ptr.pl 0
PARAM_VALUE 0 io_req->mem.type 2
PARAM_VALUE 0 io_req->notify.context 0
PARAM_VALUE 0 io_req->notify.fn 0
PARAM_VALUE 1 num_regions 1
PARAM_VALUE 2 where 236806417354055680
PARAM_VALUE 2 where->count 0-u32max
PARAM_VALUE 3 sync_error_bits 0
PARAM_VALUE 4 sync_unsup_bits 0
PARAM_VALUE 5 ioprio 0
RX_PATH
NO_OVERFLOW_SIMPLE 2 where->count
HALF_LOCKED2 &pool->lock

drivers/md/dm-snap-persistent.c do_metadata() -> dm_io()

Type Parameter Key Value
PARAM_VALUE 1 num_regions 1
PARAM_VALUE 3 sync_error_bits 0
PARAM_VALUE 4 sync_unsup_bits 0
PARAM_VALUE 5 ioprio 0
HALF_LOCKED2 &pool->lock

drivers/md/dm-log.c flush_header() -> dm_io()

Type Parameter Key Value
PARAM_VALUE 0 io_req 4096-ptr_max
PARAM_VALUE 0 io_req->bi_opf 262145
PARAM_VALUE 0 io_req->mem.type 0-3
PARAM_VALUE 1 num_regions 1
PARAM_VALUE 2 where 8768638547648040960
PARAM_VALUE 2 where->count 0
PARAM_VALUE 2 where->sector 0
PARAM_VALUE 3 sync_error_bits 0
PARAM_VALUE 4 sync_unsup_bits 0
PARAM_VALUE 5 ioprio 0
HALF_LOCKED2 &md->suspend_lock

drivers/md/dm-log.c rw_header() -> dm_io()

Type Parameter Key Value
PARAM_VALUE 0 io_req 4096-ptr_max
PARAM_VALUE 0 io_req->bi_opf 0-1
PARAM_VALUE 1 num_regions 1
PARAM_VALUE 2 where 4096-ptr_max
PARAM_VALUE 3 sync_error_bits 0
PARAM_VALUE 4 sync_unsup_bits 0
PARAM_VALUE 5 ioprio 0
HALF_LOCKED2 &md->suspend_lock

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

Type Parameter Key Value
PARAM_VALUE 0 io_req 472046871036526592
PARAM_VALUE 0 io_req->bi_opf 2049
PARAM_VALUE 0 io_req->mem.ptr.vma 4096-ptr_max
PARAM_VALUE 0 io_req->mem.type 2
PARAM_VALUE 0 io_req->notify.context 4547892809222684672
PARAM_VALUE 0 io_req->notify.fn 703932531724591104
PARAM_VALUE 1 num_regions 1
PARAM_VALUE 2 where 5842110392298139648
PARAM_VALUE 2 where->count 0-549755821951
PARAM_VALUE 3 sync_error_bits 0
PARAM_VALUE 4 sync_unsup_bits 0
PARAM_VALUE 5 ioprio 0
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &md->suspend_lock
HALF_LOCKED2 &wc->lock

drivers/md/dm-writecache.c ssd_commit_superblock() -> dm_io()

Type Parameter Key Value
PARAM_VALUE 0 io_req 5725837505689784320
PARAM_VALUE 0 io_req->bi_opf 133121
PARAM_VALUE 0 io_req->mem.type 2
PARAM_VALUE 0 io_req->notify.context 0
PARAM_VALUE 0 io_req->notify.fn 0
PARAM_VALUE 1 num_regions 1
PARAM_VALUE 2 where 7149125431821717504
PARAM_VALUE 2 where->count 0-8388607
PARAM_VALUE 3 sync_error_bits 0
PARAM_VALUE 4 sync_unsup_bits 0
PARAM_VALUE 5 ioprio 0
RX_PATH
TASK_NOT_RUNNING
LOCK2 &wc->lock
HALF_LOCKED2 &md->io_barrier
HALF_LOCKED2 &md->suspend_lock
TYPE_LOCK (struct dm_writecache)->lock

drivers/md/dm-writecache.c writecache_disk_flush() -> dm_io()

Type Parameter Key Value
PARAM_VALUE 0 io_req 3593025972118949888
PARAM_VALUE 0 io_req->bi_opf 262145
PARAM_VALUE 0 io_req->mem.ptr.addr 0
PARAM_VALUE 0 io_req->mem.type 3
PARAM_VALUE 0 io_req->notify.fn 0
PARAM_VALUE 1 num_regions 1
PARAM_VALUE 2 where 6530610843115778048
PARAM_VALUE 2 where->count 0
PARAM_VALUE 2 where->sector 0
PARAM_VALUE 3 sync_error_bits 0
PARAM_VALUE 4 sync_unsup_bits 0
PARAM_VALUE 5 ioprio 0
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &wc->lock

drivers/md/dm-writecache.c writecache_read_metadata() -> dm_io()

Type Parameter Key Value
PARAM_VALUE 0 io_req 6360344830526853120
PARAM_VALUE 0 io_req->bi_opf 2048
PARAM_VALUE 0 io_req->mem.type 2
PARAM_VALUE 0 io_req->notify.fn 0
PARAM_VALUE 1 num_regions 1
PARAM_VALUE 2 where 8736486263218835456
PARAM_VALUE 3 sync_error_bits 0
PARAM_VALUE 4 sync_unsup_bits 0
PARAM_VALUE 5 ioprio 0
LOCK2 &md->suspend_lock
LOCK2 &wc->lock
TYPE_LOCK (struct dm_writecache)->lock
TYPE_LOCK (struct mapped_device)->suspend_lock

drivers/md/dm-integrity.c copy_from_journal() -> dm_io()

Type Parameter Key Value
PARAM_VALUE 0 io_req 2864535897336950784
PARAM_VALUE 0 io_req->bi_opf 1
PARAM_VALUE 0 io_req->mem.offset 0,512-3584
PARAM_VALUE 0 io_req->mem.ptr.pl 4096-ptr_max
PARAM_VALUE 0 io_req->mem.type 0
PARAM_VALUE 0 io_req->notify.context 4096-ptr_max
PARAM_VALUE 1 num_regions 1
PARAM_VALUE 2 where 8490809594614693888
PARAM_VALUE 2 where->count 0-u32max
PARAM_VALUE 3 sync_error_bits 0
PARAM_VALUE 4 sync_unsup_bits 0
PARAM_VALUE 5 ioprio 0

drivers/md/dm-integrity.c dm_integrity_flush_buffers() -> dm_io()

Type Parameter Key Value
PARAM_VALUE 0 io_req 8117471551442984960
PARAM_VALUE 0 io_req->bi_opf 264193
PARAM_VALUE 0 io_req->mem.ptr.addr 0
PARAM_VALUE 0 io_req->mem.type 3
PARAM_VALUE 0 io_req->notify.context 8117471551442984960
PARAM_VALUE 0 io_req->notify.fn 1806766132164456448
PARAM_VALUE 1 num_regions 1
PARAM_VALUE 2 where 8117471551442985008
PARAM_VALUE 2 where->count 0
PARAM_VALUE 2 where->sector 0
PARAM_VALUE 3 sync_error_bits 0
PARAM_VALUE 4 sync_unsup_bits 0
PARAM_VALUE 5 ioprio 0
RX_PATH

drivers/md/dm-integrity.c integrity_recalc() -> dm_io()

Type Parameter Key Value
PARAM_VALUE 0 io_req 5635185564464803840
PARAM_VALUE 0 io_req->bi_opf 0
PARAM_VALUE 0 io_req->mem.type 3
PARAM_VALUE 0 io_req->notify.fn 0
PARAM_VALUE 1 num_regions 1
PARAM_VALUE 2 where 3914920287836520448
PARAM_VALUE 2 where->count 0-32768,18446744073709551361-u64max
PARAM_VALUE 3 sync_error_bits 0
PARAM_VALUE 4 sync_unsup_bits 0
PARAM_VALUE 5 ioprio 0

drivers/md/dm-integrity.c integrity_recheck() -> dm_io()

Type Parameter Key Value
PARAM_VALUE 0 io_req 8212728301487423488
PARAM_VALUE 0 io_req->bi_opf 0
PARAM_VALUE 0 io_req->mem.ptr.addr 18379471554275704832,18446612682070032384
PARAM_VALUE 0 io_req->mem.type 3
PARAM_VALUE 0 io_req->notify.fn 0
PARAM_VALUE 1 num_regions 1
PARAM_VALUE 2 where 1651221969232359424
PARAM_VALUE 3 sync_error_bits 0
PARAM_VALUE 4 sync_unsup_bits 0
PARAM_VALUE 5 ioprio 0
RX_PATH
TASK_NOT_RUNNING

drivers/md/dm-integrity.c rw_journal_sectors() -> dm_io()

Type Parameter Key Value
PARAM_VALUE 0 io_req 6568445837005557760
PARAM_VALUE 0 io_req->bi_opf 0,131073,133121
PARAM_VALUE 0 io_req->mem.offset 0,512-3584
PARAM_VALUE 0 io_req->mem.ptr.pl 4096-ptr_max
PARAM_VALUE 0 io_req->mem.type 0
PARAM_VALUE 0 io_req->notify.fn 0,1202920738319118336
PARAM_VALUE 1 num_regions 1
PARAM_VALUE 2 where 3324922282425651200
PARAM_VALUE 2 where->count 0-u32max
PARAM_VALUE 3 sync_error_bits 0
PARAM_VALUE 4 sync_unsup_bits 0
PARAM_VALUE 5 ioprio 0
HALF_LOCKED2 &md->suspend_lock

drivers/md/dm-integrity.c sync_rw_sb() -> dm_io()

Type Parameter Key Value
PARAM_VALUE 0 io_req 4764523326709633024
PARAM_VALUE 0 io_req->bi_opf 0-1,131073
PARAM_VALUE 0 io_req->mem.ptr.addr 4096-ptr_max
PARAM_VALUE 0 io_req->mem.type 3
PARAM_VALUE 0 io_req->notify.fn 0
PARAM_VALUE 1 num_regions 1
PARAM_VALUE 2 where 891096068406931456
PARAM_VALUE 2 where->count 8
PARAM_VALUE 3 sync_error_bits 0
PARAM_VALUE 4 sync_unsup_bits 0
PARAM_VALUE 5 ioprio 0
HALF_LOCKED2 &md->suspend_lock

drivers/md/dm-raid1.c do_write() -> dm_io()

Type Parameter Key Value
PARAM_VALUE 0 io_req 2168335009614405632
PARAM_VALUE 0 io_req->bi_opf 1,3,131073-134610947
PARAM_VALUE 0 io_req->mem.offset 0
PARAM_VALUE 0 io_req->mem.ptr.addr 0
PARAM_VALUE 0 io_req->mem.ptr.bio 4096-ptr_max
PARAM_VALUE 0 io_req->mem.ptr.pl 0
PARAM_VALUE 0 io_req->mem.ptr.vma 0
PARAM_VALUE 0 io_req->mem.type 1,3
PARAM_VALUE 0 io_req->notify.context 4096-ptr_max
PARAM_VALUE 0 io_req->notify.fn 6468712405607608320
PARAM_VALUE 2 where 8656814975957663744
PARAM_VALUE 3 sync_error_bits 0
PARAM_VALUE 4 sync_unsup_bits 0
PARAM_VALUE 5 ioprio 0
BUF_SIZE 2 where 216
CAPPED_DATA 1 num_regions 1
HALF_LOCKED2 &pool->lock

drivers/md/dm-raid1.c mirror_flush() -> dm_io()

Type Parameter Key Value
PARAM_VALUE 0 io_req 5213614062243069952
PARAM_VALUE 0 io_req->bi_opf 264193
PARAM_VALUE 0 io_req->mem.offset 0
PARAM_VALUE 0 io_req->mem.ptr.addr 0
PARAM_VALUE 0 io_req->mem.ptr.bio 0
PARAM_VALUE 0 io_req->mem.ptr.pl 0
PARAM_VALUE 0 io_req->mem.ptr.vma 0
PARAM_VALUE 0 io_req->mem.type 3
PARAM_VALUE 0 io_req->notify.context 0
PARAM_VALUE 0 io_req->notify.fn 0
PARAM_VALUE 2 where 4096-ptr_max
PARAM_VALUE 3 sync_error_bits 2187098185597882368
PARAM_VALUE 3 *sync_error_bits u64max
PARAM_VALUE 4 sync_unsup_bits 4592191385280471040
PARAM_VALUE 5 ioprio 0
BUF_SIZE 2 where 216
CAPPED_DATA 1 num_regions 1
NOCHECK_CALL
HALF_LOCKED2 &md->suspend_lock
HALF_LOCKED2 &pool->lock

drivers/md/dm-raid1.c read_async_bio() -> dm_io()

Type Parameter Key Value
PARAM_VALUE 0 io_req 2769493377782910976
PARAM_VALUE 0 io_req->bi_opf 0
PARAM_VALUE 0 io_req->mem.offset 0
PARAM_VALUE 0 io_req->mem.ptr.addr 0
PARAM_VALUE 0 io_req->mem.ptr.bio 4096-ptr_max
PARAM_VALUE 0 io_req->mem.ptr.pl 0
PARAM_VALUE 0 io_req->mem.ptr.vma 0
PARAM_VALUE 0 io_req->mem.type 1
PARAM_VALUE 0 io_req->notify.context 4096-ptr_max
PARAM_VALUE 0 io_req->notify.fn 8517869687071793152
PARAM_VALUE 1 num_regions 1
PARAM_VALUE 2 where 1255496640692637696
PARAM_VALUE 2 where->count 0-8388607
PARAM_VALUE 3 sync_error_bits 0
PARAM_VALUE 4 sync_unsup_bits 0
PARAM_VALUE 5 ioprio 0
HALF_LOCKED2 &pool->lock

drivers/md/dm-bufio.c dm_bufio_issue_discard() -> dm_io()

Type Parameter Key Value
PARAM_VALUE 0 io_req 4592370621412102144
PARAM_VALUE 0 io_req->bi_opf 2051
PARAM_VALUE 0 io_req->mem.offset 0
PARAM_VALUE 0 io_req->mem.ptr.addr 0
PARAM_VALUE 0 io_req->mem.ptr.bio 0
PARAM_VALUE 0 io_req->mem.ptr.pl 0
PARAM_VALUE 0 io_req->mem.ptr.vma 0
PARAM_VALUE 0 io_req->mem.type 3
PARAM_VALUE 0 io_req->notify.context 0
PARAM_VALUE 0 io_req->notify.fn 0
PARAM_VALUE 1 num_regions 1
PARAM_VALUE 2 where 2165620692070494208
PARAM_VALUE 3 sync_error_bits 0
PARAM_VALUE 4 sync_unsup_bits 0
PARAM_VALUE 5 ioprio 0
HALF_LOCKED2 &pool->lock

drivers/md/dm-bufio.c dm_bufio_issue_flush() -> dm_io()

Type Parameter Key Value
PARAM_VALUE 0 io_req 557290716429938688
PARAM_VALUE 0 io_req->bi_opf 264193
PARAM_VALUE 0 io_req->mem.offset 0
PARAM_VALUE 0 io_req->mem.ptr.addr 0
PARAM_VALUE 0 io_req->mem.ptr.bio 0
PARAM_VALUE 0 io_req->mem.ptr.pl 0
PARAM_VALUE 0 io_req->mem.ptr.vma 0
PARAM_VALUE 0 io_req->mem.type 3
PARAM_VALUE 0 io_req->notify.context 0
PARAM_VALUE 0 io_req->notify.fn 0
PARAM_VALUE 1 num_regions 1
PARAM_VALUE 2 where 473853514057728000
PARAM_VALUE 2 where->count 0
PARAM_VALUE 2 where->sector 0
PARAM_VALUE 3 sync_error_bits 0
PARAM_VALUE 4 sync_unsup_bits 0
PARAM_VALUE 5 ioprio 0
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING

drivers/md/dm-bufio.c use_dmio() -> dm_io()

Type Parameter Key Value
PARAM_VALUE 0 io_req 3308996918325854208
PARAM_VALUE 0 io_req->bi_opf 0-1
PARAM_VALUE 0 io_req->mem.offset 0
PARAM_VALUE 0 io_req->mem.ptr.bio 0
PARAM_VALUE 0 io_req->mem.ptr.pl 0
PARAM_VALUE 0 io_req->mem.type 2-3
PARAM_VALUE 0 io_req->notify.context 4096-ptr_max
PARAM_VALUE 0 io_req->notify.fn 1710188419584765952
PARAM_VALUE 1 num_regions 1
PARAM_VALUE 2 where 6357132325594185728
PARAM_VALUE 2 where->bdev 4096-ptr_max
PARAM_VALUE 2 where->count 0-8388607
PARAM_VALUE 3 sync_error_bits 0
PARAM_VALUE 4 sync_unsup_bits 0
DATA_SOURCE 5 ioprio $5
RX_PATH
TASK_NOT_RUNNING

drivers/md/dm-verity-target.c verity_recheck() -> dm_io()

Type Parameter Key Value
PARAM_VALUE 0 io_req 3979673723260866560
PARAM_VALUE 0 io_req->bi_opf 0
PARAM_VALUE 0 io_req->mem.ptr.addr 18379471554275704832,18446612682070032384
PARAM_VALUE 0 io_req->mem.type 3
PARAM_VALUE 0 io_req->notify.fn 0
PARAM_VALUE 1 num_regions 1
PARAM_VALUE 2 where 5669390443688325120
PARAM_VALUE 2 where->count 0-s32max,18446744071562067968-u64max
PARAM_VALUE 3 sync_error_bits 0
PARAM_VALUE 4 sync_unsup_bits 0
PARAM_VALUE 5 ioprio 0
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &pool->lock