Documented in 1 files:

Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 2 files:

Smatch caller information:

fs/ecryptfs/keystore.c ecryptfs_parse_packet_set() -> ecryptfs_init_crypt_ctx()

Type Parameter Key Value
PARAM_VALUE 0 crypt_stat 4096-ptr_max
PARAM_VALUE 0 crypt_stat->extent_mask 0,4294967292-4294967294
PARAM_VALUE 0 crypt_stat->extent_size 4096
PARAM_VALUE 0 crypt_stat->file_version 0-3
PARAM_VALUE 0 crypt_stat->flags 64-u32max
PARAM_VALUE 0 crypt_stat->iv_bytes 16
PARAM_VALUE 0 crypt_stat->metadata_size 0-281470681677825
PARAM_VALUE 0 crypt_stat->mount_crypt_stat 4096-ptr_max
PARAM_VALUE 0 crypt_stat->mount_crypt_stat->global_auth_tok_list_mutex.dep_map->name 0-255
PARAM_VALUE 0 crypt_stat->mount_crypt_stat->global_auth_tok_list_mutex.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 crypt_stat->mount_crypt_stat->global_auth_tok_list_mutex.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 0 crypt_stat->mount_crypt_stat->global_auth_tok_list_mutex.osq.tail.counter 0-s32max
PARAM_VALUE 0 crypt_stat->tfm 0-18446744073709551604,(-10)-(-1)
PARAM_VALUE 0 *crypt_stat->key 0-255
PARAM_VALUE 0 *crypt_stat->root_iv 0-255
BUF_SIZE 0 crypt_stat 656
BUF_SIZE 0 crypt_stat->mount_crypt_stat 280
DATA_SOURCE 0 crypt_stat $0
FUZZY_MAX 0 crypt_stat->file_version 1
HARD_MAX 0 crypt_stat->file_version 3
RX_PATH
TASK_NOT_RUNNING
LOCK2 &crypt_stat->cs_mutex
HALF_LOCKED2 &ecryptfs_dentry->d_inode->i_rwsem
HALF_LOCKED2 &ecryptfs_dentry->d_lockref.lock
TYPE_LOCK (struct ecryptfs_crypt_stat)->cs_mutex

fs/ecryptfs/keystore.c parse_tag_3_packet() -> ecryptfs_init_crypt_ctx()

Type Parameter Key Value
PARAM_VALUE 0 crypt_stat 4096-ptr_max
PARAM_VALUE 0 crypt_stat->cipher 4096-ptr_max
PARAM_VALUE 0 crypt_stat->extent_mask 0,4294967292-4294967294
PARAM_VALUE 0 crypt_stat->extent_size 4096
PARAM_VALUE 0 crypt_stat->file_version 0-3
PARAM_VALUE 0 crypt_stat->iv_bytes 16
PARAM_VALUE 0 crypt_stat->key_size 0-64
PARAM_VALUE 0 crypt_stat->metadata_size 0-281470681677825
PARAM_VALUE 0 crypt_stat->mount_crypt_stat 4096-ptr_max
PARAM_VALUE 0 crypt_stat->tfm 0-18446744073709551604,(-10)-(-1)
BUF_SIZE 0 crypt_stat->mount_crypt_stat 280
DATA_SOURCE 0 crypt_stat $0
FUZZY_MAX 0 crypt_stat->file_version 1
FUZZY_MAX 0 crypt_stat->key_size 24
HARD_MAX 0 crypt_stat->file_version 3
RX_PATH
TASK_NOT_RUNNING
LOCK2 &crypt_stat->cs_mutex
HALF_LOCKED2 &ecryptfs_dentry->d_inode->i_rwsem
HALF_LOCKED2 &ecryptfs_dentry->d_lockref.lock
TYPE_LOCK (struct ecryptfs_crypt_stat)->cs_mutex

fs/ecryptfs/crypto.c ecryptfs_new_file_context() -> ecryptfs_init_crypt_ctx()

Type Parameter Key Value
PARAM_VALUE 0 crypt_stat 4096-ptr_max
PARAM_VALUE 0 crypt_stat->extent_mask 4294967294
PARAM_VALUE 0 crypt_stat->extent_size 4096
PARAM_VALUE 0 crypt_stat->file_version 3
PARAM_VALUE 0 crypt_stat->flags 0,8-u32max
PARAM_VALUE 0 crypt_stat->iv_bytes 16
PARAM_VALUE 0 crypt_stat->keysig_list.next 4096-ptr_max
PARAM_VALUE 0 crypt_stat->keysig_list.next->next 4096-ptr_max
PARAM_VALUE 0 crypt_stat->keysig_list.next->prev 4096-ptr_max
PARAM_VALUE 0 crypt_stat->keysig_list_mutex.dep_map->name 0-255
PARAM_VALUE 0 crypt_stat->keysig_list_mutex.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 crypt_stat->keysig_list_mutex.first_waiter->task->blocked_lock.dep_map->name 0-255
PARAM_VALUE 0 crypt_stat->keysig_list_mutex.first_waiter->task->blocked_lock.owner (-1)
PARAM_VALUE 0 crypt_stat->keysig_list_mutex.first_waiter->task->blocked_lock.owner_cpu 4294967295
PARAM_VALUE 0 crypt_stat->keysig_list_mutex.first_waiter->task->blocked_lock.raw_lock.val.counter s32min-s32max
PARAM_VALUE 0 crypt_stat->keysig_list_mutex.first_waiter->task->usage.refs.counter s32min-s32max
PARAM_VALUE 0 crypt_stat->keysig_list_mutex.osq.tail.counter 0-s32max
PARAM_VALUE 0 crypt_stat->metadata_size 8192
PARAM_VALUE 0 crypt_stat->mount_crypt_stat 4096-ptr_max
PARAM_VALUE 0 *crypt_stat->key 0-255
PARAM_VALUE 0 *crypt_stat->root_iv 0-255
BUF_SIZE 0 crypt_stat 656
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &crypt_stat->cs_mutex