Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/md/dm-integrity.c replay_journal() -> encrypt_journal()

Type Parameter Key Value
PARAM_VALUE 0 ic 4096-ptr_max
PARAM_VALUE 0 ic->journal_io 1-u64max
PARAM_VALUE 0 ic->journal_uptodate 0
PARAM_VALUE 0 ic->just_formatted 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 1 encrypt 0
PARAM_VALUE 2 section 0
PARAM_VALUE 4 comp 6032296228345696256
PARAM_VALUE 4 comp->comp.done 0
PARAM_VALUE 4 comp->comp.wait.lock.magic 3735899821
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 16,40-s32max
BUF_SIZE 0 ic 16,40-s32max
CAPPED_DATA 0 ic->provided_data_sectors 1
DATA_SOURCE 0 ic $0
NOCHECK_CALL
UNITS 3 n_sections unit_array_size
LOCK2 &md->suspend_lock
TYPE_LOCK (struct mapped_device)->suspend_lock

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

Type Parameter Key Value
PARAM_VALUE 0 ic 4096-ptr_max
PARAM_VALUE 0 ic->journal_io 1-u64max
PARAM_VALUE 0 ic->sb->salt 0-255
PARAM_VALUE 1 encrypt 1
PARAM_VALUE 3 n_sections 1-u32max
PARAM_VALUE 4 comp 5442487807259684864
PARAM_VALUE 4 comp->comp.done 0
PARAM_VALUE 4 comp->comp.wait.lock.magic 3735899821
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
CAPPED_DATA 0 ic->journal_section_entries 1
CAPPED_DATA 0 ic->journal_section_sectors 1
CAPPED_DATA 0 ic->journal_sections 1
CAPPED_DATA 3 n_sections 1
DATA_SOURCE 0 ic $0
DATA_SOURCE 2 section $1
DATA_SOURCE 3 n_sections $2
NOCHECK_CALL
UNITS 2 section unit_array_size
UNITS 3 n_sections unit_array_size

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

Type Parameter Key Value
PARAM_VALUE 0 ic 4096-ptr_max
PARAM_VALUE 0 ic->journal_io 1-u64max
PARAM_VALUE 0 ic->journal_sections 0-4294967294
PARAM_VALUE 0 ic->sb->salt 0-255
PARAM_VALUE 1 encrypt 1
PARAM_VALUE 4 comp 5442487807259684864
PARAM_VALUE 4 comp->comp.done 0
PARAM_VALUE 4 comp->comp.wait.lock.magic 3735899821
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
CAPPED_DATA 0 ic->journal_section_entries 1
CAPPED_DATA 0 ic->journal_section_sectors 1
CAPPED_DATA 0 ic->journal_sections 1
DATA_SOURCE 0 ic $0
DATA_SOURCE 2 section $1
NOCHECK_CALL
UNITS 2 section unit_array_size

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

Type Parameter Key Value
PARAM_VALUE 0 ic 4096-ptr_max
PARAM_VALUE 0 ic->journal_io 1-u64max
PARAM_VALUE 0 ic->journal_sections 0-4294967294
PARAM_VALUE 0 ic->journal_xor 0
PARAM_VALUE 0 ic->sb->salt 0-255
PARAM_VALUE 1 encrypt 1
PARAM_VALUE 2 section 0
PARAM_VALUE 4 comp 5442487807259684864
PARAM_VALUE 4 comp->comp.done 0
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
CAPPED_DATA 0 ic->journal_section_entries 1
CAPPED_DATA 0 ic->journal_section_sectors 1
CAPPED_DATA 0 ic->journal_sections 1
DATA_SOURCE 0 ic $0
NOCHECK_CALL

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

Type Parameter Key Value
PARAM_VALUE 0 ic 4096-ptr_max
PARAM_VALUE 0 ic->journal_io 1-u64max
PARAM_VALUE 0 ic->journal_sections 0-4294967294
PARAM_VALUE 0 ic->journal_xor 0,4096-ptr_max
PARAM_VALUE 0 ic->sb->salt 0-255
PARAM_VALUE 1 encrypt 1
PARAM_VALUE 2 section 0
PARAM_VALUE 4 comp 3124305723359834112
PARAM_VALUE 4 comp->comp.done 0
PARAM_VALUE 4 comp->comp.wait.lock.magic 3735899821
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
CAPPED_DATA 0 ic->journal_section_entries 1
CAPPED_DATA 0 ic->journal_section_sectors 1
CAPPED_DATA 0 ic->journal_sections 1
DATA_SOURCE 0 ic $0
NOCHECK_CALL