Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/md/dm-integrity.c integrity_writer() -> do_journal_write()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ic | 4096-ptr_max |
| PARAM_VALUE | 0 | ic->endio_wait.lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | ic->n_committed_sections | 1-u32max |
| PARAM_VALUE | 2 | write_sections | 1-u32max |
| PARAM_VALUE | 3 | from_replay | 0 |
| NOCHECK_CALL | |||
| UNITS | 1 | write_start | unit_array_size |
| UNITS | 2 | write_sections | unit_array_size |
drivers/md/dm-integrity.c replay_journal() -> do_journal_write()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ic | 4096-ptr_max |
| PARAM_VALUE | 0 | ic->failed | 0 |
| PARAM_VALUE | 0 | ic->journal_sections | 1-u32max |
| PARAM_VALUE | 0 | ic->journal_uptodate | 0 |
| PARAM_VALUE | 0 | ic->meta_dev | 0,4096-ptr_max |
| PARAM_VALUE | 0 | ic->mode | 0-81,83-255 |
| 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 | 3 | from_replay | 1 |
| BUF_SIZE | 0 | ic | 16,40-s32max |
| BUF_SIZE | 0 | ic | 16,40-s32max |
| CAPPED_DATA | 0 | ic->journal_sections | 1 |
| CAPPED_DATA | 0 | ic->provided_data_sectors | 1 |
| DATA_SOURCE | 0 | ic | $0 |
| PARAM_COMPARE | 0 | ic->journal_sections | >= $2 |
| PARAM_COMPARE | 2 | write_sections | <= $0->journal_sections |
| NOCHECK_CALL | |||
| UNITS | 1 | write_start | unit_array_size |
| UNITS | 2 | write_sections | unit_array_size |
| LOCK2 | &md->suspend_lock | ||
| TYPE_LOCK | (struct mapped_device)->suspend_lock |