Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/md/dm-integrity.c find_commit_seq() -> dm_integrity_commit_id()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ic | 4096-ptr_max |
| PARAM_VALUE | 1 | i | 0-4294967294 |
| PARAM_VALUE | 2 | j | 0-65534 |
| PARAM_VALUE | 3 | seq | 0-3 |
| BUF_SIZE | 0 | ic | 16,40-s32max |
| BUF_SIZE | 0 | ic | 16,40-s32max |
| CAPPED_DATA | 0 | ic->provided_data_sectors | 1 |
| CAPPED_DATA | 1 | i | 1 |
| CAPPED_DATA | 2 | j | 1 |
| DATA_SOURCE | 0 | ic | $0 |
| DATA_SOURCE | 1 | i | $1 |
| DATA_SOURCE | 2 | j | $2 |
| FUZZY_MAX | 3 | seq | 3 |
| HARD_MAX | 3 | seq | 3 |
| UNITS | 1 | i | unit_array_size |
| LOCK2 | &md->suspend_lock | ||
| TYPE_LOCK | (struct mapped_device)->suspend_lock |
drivers/md/dm-integrity.c init_journal() -> dm_integrity_commit_id()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ic | 4096-ptr_max |
| PARAM_VALUE | 1 | i | 0-4294967294 |
| PARAM_VALUE | 2 | j | 0-65534 |
| BUF_SIZE | 0 | ic | 16,40-s32max |
| BUF_SIZE | 0 | ic | 16,40-s32max |
| CAPPED_DATA | 0 | ic->journal_sections | 1 |
| CAPPED_DATA | 1 | i | 1 |
| CAPPED_DATA | 2 | j | 1 |
| DATA_SOURCE | 0 | ic | $0 |
| DATA_SOURCE | 3 | seq | $3 |
| PARAM_COMPARE | 0 | ic->journal_section_sectors | > $2 |
| PARAM_COMPARE | 1 | i | < $0->journal_sections |
| PARAM_COMPARE | 2 | j | < $0->journal_section_sectors |
| NO_OVERFLOW_SIMPLE | 0 | ic->bufio->slab_buffer->object_size | |
| HALF_LOCKED2 | &md->suspend_lock | ||
| TYPE_LOCK | (struct mapped_device)->suspend_lock |
drivers/md/dm-integrity.c integrity_commit() -> dm_integrity_commit_id()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ic | 4096-ptr_max |
| PARAM_VALUE | 1 | i | 0-4294967294 |
| PARAM_VALUE | 2 | j | 0-65534 |
| CAPPED_DATA | 0 | ic->journal_section_entries | 1 |
| CAPPED_DATA | 1 | i | 1 |
| CAPPED_DATA | 2 | j | 1 |
| PARAM_COMPARE | 0 | ic->journal_section_sectors | > $2 |
| PARAM_COMPARE | 1 | i | < $0->journal_sections |
| PARAM_COMPARE | 2 | j | < $0->journal_section_sectors |
| UNITS | 1 | i | unit_array_size |
drivers/md/dm-integrity.c replay_journal() -> dm_integrity_commit_id()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ic | 4096-ptr_max |
| PARAM_VALUE | 1 | i | 0-4294967294 |
| PARAM_VALUE | 2 | j | 0-65534 |
| PARAM_VALUE | 3 | seq | 0-3 |
| 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 |
| CAPPED_DATA | 1 | i | 1 |
| CAPPED_DATA | 2 | j | 1 |
| DATA_SOURCE | 0 | ic | $0 |
| PARAM_COMPARE | 0 | ic->journal_section_sectors | > $2 |
| PARAM_COMPARE | 1 | i | < $0->journal_sections |
| PARAM_COMPARE | 2 | j | < $0->journal_section_sectors |
| UNITS | 1 | i | unit_array_size |
| LOCK2 | &md->suspend_lock | ||
| TYPE_LOCK | (struct mapped_device)->suspend_lock |