Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
fs/crypto/keysetup.c setup_per_mode_enc_key() -> fscrypt_find_mode_key()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mk | 4096-ptr_max |
| PARAM_VALUE | 0 | mk->mk_present | 1 |
| PARAM_VALUE | 0 | mk->mk_secret.size | 16-u32max |
| PARAM_VALUE | 0 | mk->mk_sem.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | mk->mk_sem.first_waiter->list.next | 2212933610777083904 |
| PARAM_VALUE | 0 | mk->mk_sem.first_waiter->list.prev | 2212933610777083904 |
| PARAM_VALUE | 0 | mk->mk_sem.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | mk->mk_sem.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | mk->mk_sem.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | mk->mk_sem.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | mk->mk_spec.type | 1-2 |
| PARAM_VALUE | 0 | mk->mk_struct_refs.refs.counter | (-1073741824),0-s32max |
| PARAM_VALUE | 1 | hkdf_context | 3-4,6 |
| PARAM_VALUE | 3 | ci | 4096-ptr_max |
| PARAM_VALUE | 3 | ci->ci_inode | 4096-ptr_max |
| PARAM_VALUE | 3 | ci->ci_inode->i_sb | 4096-ptr_max |
| PARAM_VALUE | 3 | ci->ci_inode->i_sb->s_cop->get_dummy_policy | 0,5548184023414632448,6265693363421687808,7944682147525111808 |
| PARAM_VALUE | 3 | ci->ci_inode->i_sb->s_master_keys | 1-u64max |
| PARAM_VALUE | 3 | ci->ci_mode | 4096-ptr_max |
| PARAM_VALUE | 3 | ci->ci_mode->blk_crypto_mode | 0-4 |
| PARAM_VALUE | 3 | ci->ci_mode->keysize | 16,32,64 |
| PARAM_VALUE | 3 | ci->ci_mode->security_strength | 16,32 |
| PARAM_VALUE | 3 | ci->ci_policy.v2.flags | 4-255 |
| PARAM_VALUE | 3 | ci->ci_policy.version | 2 |
| BUF_SIZE | 3 | ci->ci_inode | (-1),1-s32max |
| DATA_SOURCE | 0 | mk | $1 |
| DATA_SOURCE | 1 | hkdf_context | $2 |
| DATA_SOURCE | 3 | ci | $0 |
| STR_LEN | 3 | ci->ci_inode | (-1)-1010101 |
| STR_LEN | 3 | ci->ci_inode->i_sb | (-1) |
| HARD_MAX | 1 | hkdf_context | 6 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 3 | ci->ci_inode->__i_nlink | 1-u32max |
| USER_DATA | 3 | ci->ci_inode->i_atime_nsec | 0-u32max |
| USER_DATA | 3 | ci->ci_inode->i_atime_sec | 0-4294967295 |
| USER_DATA | 3 | ci->ci_inode->i_blocks | 0-18014398509481983,18428729675200069632-u64max |
| USER_DATA | 3 | ci->ci_inode->i_bytes | 0-511[c] |
| USER_DATA | 3 | ci->ci_inode->i_ino | 0-u64max |
| USER_DATA | 3 | ci->ci_inode->i_mode | 0-u16max |
| USER_DATA | 3 | ci->ci_inode->i_mtime_nsec | 0-u32max |
| USER_DATA | 3 | ci->ci_inode->i_mtime_sec | 0-4294967295 |
| USER_DATA | 3 | ci->ci_inode->i_rdev | 0-u32max[c] |
| USER_DATA | 3 | ci->ci_inode->i_size | (-9223372036854775807)-(-4),0-s64max |
| NO_OVERFLOW_SIMPLE | 3 | ci->ci_data_unit_bits | |
| NO_OVERFLOW_SIMPLE | 3 | ci->ci_inode->i_blkbits | |
| NO_OVERFLOW_SIMPLE | 3 | ci->ci_inode->i_linklen | |
| LOCK2 | 0 | &mk->mk_sem | |
| TYPE_LOCK | (struct fscrypt_master_key)->mk_sem |
fs/crypto/keysetup.c setup_per_mode_enc_key() -> fscrypt_find_mode_key()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mk | 4096-ptr_max |
| PARAM_VALUE | 0 | mk->mk_present | 1 |
| PARAM_VALUE | 0 | mk->mk_secret.size | 16-u32max |
| PARAM_VALUE | 0 | mk->mk_sem.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | mk->mk_sem.first_waiter->list.next | 2212933610777083904 |
| PARAM_VALUE | 0 | mk->mk_sem.first_waiter->list.prev | 2212933610777083904 |
| PARAM_VALUE | 0 | mk->mk_sem.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | mk->mk_sem.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | mk->mk_sem.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | mk->mk_sem.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | mk->mk_spec.type | 1-2 |
| PARAM_VALUE | 0 | mk->mk_struct_refs.refs.counter | (-1073741824),0-s32max |
| PARAM_VALUE | 1 | hkdf_context | 3-4,6 |
| PARAM_VALUE | 3 | ci | 4096-ptr_max |
| PARAM_VALUE | 3 | ci->ci_inode | 4096-ptr_max |
| PARAM_VALUE | 3 | ci->ci_inode->i_sb | 4096-ptr_max |
| PARAM_VALUE | 3 | ci->ci_inode->i_sb->s_cop->get_dummy_policy | 0,5548184023414632448,6265693363421687808,7944682147525111808 |
| PARAM_VALUE | 3 | ci->ci_inode->i_sb->s_master_keys | 1-u64max |
| PARAM_VALUE | 3 | ci->ci_mode | 4096-ptr_max |
| PARAM_VALUE | 3 | ci->ci_mode->blk_crypto_mode | 0-4 |
| PARAM_VALUE | 3 | ci->ci_mode->keysize | 16,32,64 |
| PARAM_VALUE | 3 | ci->ci_mode->security_strength | 16,32 |
| PARAM_VALUE | 3 | ci->ci_policy.v2.flags | 4-255 |
| PARAM_VALUE | 3 | ci->ci_policy.version | 2 |
| BUF_SIZE | 3 | ci->ci_inode | (-1),1-s32max |
| CAPPED_DATA | 1 | hkdf_context | 1 |
| DATA_SOURCE | 0 | mk | $1 |
| DATA_SOURCE | 1 | hkdf_context | $2 |
| DATA_SOURCE | 3 | ci | $0 |
| STR_LEN | 3 | ci->ci_inode | (-1)-1010101 |
| STR_LEN | 3 | ci->ci_inode->i_sb | (-1) |
| HARD_MAX | 1 | hkdf_context | 6 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 3 | ci->ci_inode->__i_nlink | 1-u32max |
| USER_DATA | 3 | ci->ci_inode->i_atime_nsec | 0-u32max |
| USER_DATA | 3 | ci->ci_inode->i_atime_sec | 0-4294967295 |
| USER_DATA | 3 | ci->ci_inode->i_blocks | 0-18014398509481983,18428729675200069632-u64max |
| USER_DATA | 3 | ci->ci_inode->i_bytes | 0-511[c] |
| USER_DATA | 3 | ci->ci_inode->i_ino | 0-u64max |
| USER_DATA | 3 | ci->ci_inode->i_mode | 0-u16max |
| USER_DATA | 3 | ci->ci_inode->i_mtime_nsec | 0-u32max |
| USER_DATA | 3 | ci->ci_inode->i_mtime_sec | 0-4294967295 |
| USER_DATA | 3 | ci->ci_inode->i_rdev | 0-u32max[c] |
| USER_DATA | 3 | ci->ci_inode->i_size | (-9223372036854775807)-(-4),0-s64max |
| NO_OVERFLOW_SIMPLE | 3 | ci->ci_data_unit_bits | |
| NO_OVERFLOW_SIMPLE | 3 | ci->ci_inode->i_blkbits | |
| NO_OVERFLOW_SIMPLE | 3 | ci->ci_inode->i_linklen | |
| LOCK2 | _T->lock | ||
| LOCK2 | 0 | &mk->mk_sem | |
| TYPE_LOCK | (struct fscrypt_master_key)->mk_sem |