Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/md/dm-integrity.c bitmap_block_work() -> rw_journal_sectors()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ic | 4096-ptr_max |
| PARAM_VALUE | 0 | ic->sb | 4096-ptr_max |
| PARAM_VALUE | 1 | opf | 133121 |
| PARAM_VALUE | 3 | n_sectors | 8 |
| PARAM_VALUE | 4 | comp | 0 |
| NOCHECK_CALL |
drivers/md/dm-integrity.c bitmap_flush_work() -> rw_journal_sectors()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ic | 4096-ptr_max |
| PARAM_VALUE | 0 | ic->bufio | 4096-ptr_max |
| PARAM_VALUE | 0 | ic->bufio->async_write_error | s32min-s32max |
| PARAM_VALUE | 0 | ic->bufio->cache.num_locks | 0-4294967295 |
| PARAM_VALUE | 0 | ic->bufio->lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | ic->bufio->lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | ic->bufio->lock.first_waiter->list.prev->prev | 5159360019465732096 |
| PARAM_VALUE | 0 | ic->bufio->lock.first_waiter->task->blocked_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | ic->bufio->lock.first_waiter->task->blocked_lock.owner | (-1) |
| PARAM_VALUE | 0 | ic->bufio->lock.first_waiter->task->blocked_lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 0 | ic->bufio->lock.first_waiter->task->blocked_lock.raw_lock.val.counter | s32min-s32max |
| PARAM_VALUE | 0 | ic->bufio->lock.first_waiter->task->usage.refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | ic->bufio->spinlock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | ic->endio_wait.lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | ic->failed | 0-s32max |
| PARAM_VALUE | 0 | ic->in_progress.rb_node | 4096-ptr_max |
| PARAM_VALUE | 0 | ic->sb | 4096-ptr_max |
| PARAM_VALUE | 0 | ic->wait_list.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | ic->wait_list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | ic->wait_list.prev->next->next | 4096-ptr_max |
| PARAM_VALUE | 1 | opf | 133121 |
| PARAM_VALUE | 2 | sector | 0 |
| PARAM_VALUE | 4 | comp | 0 |
| NOCHECK_CALL |
drivers/md/dm-integrity.c dm_integrity_resume() -> rw_journal_sectors()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ic | 4096-ptr_max |
| PARAM_VALUE | 0 | ic->meta_dev | 0,4096-ptr_max |
| PARAM_VALUE | 0 | ic->mode | 66 |
| PARAM_VALUE | 0 | ic->provided_data_sectors | 1-u64max |
| PARAM_VALUE | 0 | ic->sb | 4096-ptr_max |
| PARAM_VALUE | 0 | ic->sb->flags | 4-u32max |
| PARAM_VALUE | 0 | ic->wrote_to_journal | 0 |
| PARAM_VALUE | 1 | opf | 0 |
| PARAM_VALUE | 2 | sector | 0 |
| PARAM_VALUE | 4 | comp | 0 |
| BUF_SIZE | 0 | ic | 16,40-s32max |
| BUF_SIZE | 0 | ic | 16,40-s32max |
| CAPPED_DATA | 0 | ic->log2_blocks_per_bitmap_bit | 1 |
| CAPPED_DATA | 0 | ic->sb->log2_blocks_per_bitmap_bit | 1 |
| PARAM_COMPARE | 0 | ic->log2_blocks_per_bitmap_bit | == $0->sb->log2_blocks_per_bitmap_bit |
| BIT_INFO | 0 | ic->sb->flags | 0x4,0xffffffff |
| NOCHECK_CALL | |||
| LOCK2 | &md->suspend_lock | ||
| TYPE_LOCK | (struct mapped_device)->suspend_lock |
drivers/md/dm-integrity.c dm_integrity_resume() -> rw_journal_sectors()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ic | 4096-ptr_max |
| PARAM_VALUE | 0 | ic->meta_dev | 0,4096-ptr_max |
| PARAM_VALUE | 0 | ic->mode | 66 |
| PARAM_VALUE | 0 | ic->provided_data_sectors | 1-u64max |
| PARAM_VALUE | 0 | ic->sb | 4096-ptr_max |
| PARAM_VALUE | 0 | ic->sb->flags | 4-u32max |
| PARAM_VALUE | 0 | ic->wrote_to_journal | 0 |
| PARAM_VALUE | 1 | opf | 133121 |
| PARAM_VALUE | 2 | sector | 0 |
| PARAM_VALUE | 4 | comp | 0 |
| BUF_SIZE | 0 | ic | 16,40-s32max |
| BUF_SIZE | 0 | ic | 16,40-s32max |
| CAPPED_DATA | 0 | ic->log2_blocks_per_bitmap_bit | 1 |
| CAPPED_DATA | 0 | ic->sb->log2_blocks_per_bitmap_bit | 1 |
| PARAM_COMPARE | 0 | ic->log2_blocks_per_bitmap_bit | == $0->sb->log2_blocks_per_bitmap_bit |
| BIT_INFO | 0 | ic->sb->flags | 0x4,0xffffffff |
| NOCHECK_CALL | |||
| LOCK2 | &md->suspend_lock | ||
| TYPE_LOCK | (struct mapped_device)->suspend_lock |
drivers/md/dm-integrity.c dm_integrity_resume() -> rw_journal_sectors()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ic | 4096-ptr_max |
| PARAM_VALUE | 0 | ic->meta_dev | 0,4096-ptr_max |
| PARAM_VALUE | 0 | ic->sb | 4096-ptr_max |
| PARAM_VALUE | 0 | ic->sb->flags | 4-u32max |
| PARAM_VALUE | 0 | ic->wrote_to_journal | 0 |
| PARAM_VALUE | 1 | opf | 0 |
| PARAM_VALUE | 2 | sector | 0 |
| PARAM_VALUE | 4 | comp | 0 |
| BUF_SIZE | 0 | ic | 16,40-s32max |
| BUF_SIZE | 0 | ic | 16,40-s32max |
| CAPPED_DATA | 0 | ic->provided_data_sectors | 1 |
| BIT_INFO | 0 | ic->sb->flags | 0x4,0xffffffff |
| NOCHECK_CALL | |||
| LOCK2 | &md->suspend_lock | ||
| TYPE_LOCK | (struct mapped_device)->suspend_lock |
drivers/md/dm-integrity.c dm_integrity_resume() -> rw_journal_sectors()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ic | 4096-ptr_max |
| PARAM_VALUE | 0 | ic->meta_dev | 0,4096-ptr_max |
| PARAM_VALUE | 0 | ic->mode | 66 |
| PARAM_VALUE | 0 | ic->sb | 4096-ptr_max |
| PARAM_VALUE | 0 | ic->sb->flags | 4-u32max |
| PARAM_VALUE | 0 | ic->wrote_to_journal | 0 |
| PARAM_VALUE | 1 | opf | 133121 |
| PARAM_VALUE | 2 | sector | 0 |
| PARAM_VALUE | 4 | comp | 0 |
| BUF_SIZE | 0 | ic | 16,40-s32max |
| BUF_SIZE | 0 | ic | 16,40-s32max |
| CAPPED_DATA | 0 | ic->provided_data_sectors | 1 |
| BIT_INFO | 0 | ic->sb->flags | 0x4,0xffffffff |
| NOCHECK_CALL | |||
| LOCK2 | &md->suspend_lock | ||
| TYPE_LOCK | (struct mapped_device)->suspend_lock |
drivers/md/dm-integrity.c dm_integrity_resume() -> rw_journal_sectors()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ic | 4096-ptr_max |
| PARAM_VALUE | 0 | ic->meta_dev | 0,4096-ptr_max |
| PARAM_VALUE | 0 | ic->mode | 66 |
| PARAM_VALUE | 0 | ic->sb | 4096-ptr_max |
| PARAM_VALUE | 0 | ic->sb->salt | 0-255 |
| PARAM_VALUE | 0 | ic->wrote_to_journal | 0 |
| PARAM_VALUE | 1 | opf | 133121 |
| PARAM_VALUE | 2 | sector | 0 |
| PARAM_VALUE | 4 | comp | 0 |
| BUF_SIZE | 0 | ic | 16,40-s32max |
| BUF_SIZE | 0 | ic | 16,40-s32max |
| CAPPED_DATA | 0 | ic->provided_data_sectors | 1 |
| NOCHECK_CALL | |||
| NO_OVERFLOW_SIMPLE | 0 | ic->bufio->slab_buffer->object_size | |
| LOCK2 | &md->suspend_lock | ||
| TYPE_LOCK | (struct mapped_device)->suspend_lock |
drivers/md/dm-integrity.c rw_journal() -> rw_journal_sectors()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ic | 4096-ptr_max |
| PARAM_VALUE | 0 | ic->sb->salt | 0-255 |
| PARAM_VALUE | 1 | opf | 0,131073,133121 |
| PARAM_VALUE | 4 | comp | 0,3647076428504158208 |
| PARAM_VALUE | 4 | comp->comp.wait.lock.owner | (-1) |
| PARAM_VALUE | 4 | comp->comp.wait.lock.owner_cpu | u32max |
| PARAM_VALUE | 4 | comp->comp.wait.task_list.next | 4096-ptr_max |
| PARAM_VALUE | 4 | comp->comp.wait.task_list.prev | 4096-ptr_max |
| PARAM_VALUE | 4 | comp->ic | 4096-ptr_max |
| BUF_SIZE | 0 | ic | (-1),16,40-s32max |
| BUF_SIZE | 0 | ic | (-1),16,40-s32max |
| DATA_SOURCE | 0 | ic | $0 |
| DATA_SOURCE | 1 | opf | $1 |
| DATA_SOURCE | 4 | comp | $4 |
| HARD_MAX | 1 | opf | 133121 |
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &md->suspend_lock |