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/miscdev.c ecryptfs_miscdev_read() -> ecryptfs_write_packet_length()

Type Parameter Key Value
PARAM_VALUE 0 dest 1021624721413263360
PARAM_VALUE 2 packet_size_length 7282983524929073152
BUF_SIZE 0 dest 2
LOCK2 &daemon->mux
LOCK2 &msg_ctx->mux
TYPE_LOCK (struct ecryptfs_daemon)->mux
TYPE_LOCK (struct ecryptfs_msg_ctx)->mux

fs/ecryptfs/keystore.c ecryptfs_write_tag_70_packet() -> ecryptfs_write_packet_length()

Type Parameter Key Value
PARAM_VALUE 0 dest 4096-ptr_max
PARAM_VALUE 1 size 26-4000009
PARAM_VALUE 2 packet_size_length 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
UNITS 1 size unit_byte
LOCK2 s->tfm_mutex

fs/ecryptfs/keystore.c write_tag_11_packet() -> ecryptfs_write_packet_length()

Type Parameter Key Value
PARAM_VALUE 0 dest 4096-ptr_max
PARAM_VALUE 1 size 22
PARAM_VALUE 2 packet_size_length 5373897018152128512
RX_PATH
TASK_NOT_RUNNING
LOCK2 &crypt_stat->keysig_list_mutex
LOCK2 &walker->global_auth_tok_key->sem
HALF_LOCKED2 &crypt_stat->cs_mutex
HALF_LOCKED2 &ecryptfs_dentry->d_lockref.lock
TYPE_LOCK (struct ecryptfs_crypt_stat)->keysig_list_mutex

fs/ecryptfs/keystore.c write_tag_1_packet() -> ecryptfs_write_packet_length()

Type Parameter Key Value
PARAM_VALUE 0 dest 4096-ptr_max
PARAM_VALUE 1 size 10-522
PARAM_VALUE 2 packet_size_length 492353506841473024
CAPPED_DATA 1 size 1
RX_PATH
TASK_NOT_RUNNING
UNITS 1 size unit_byte
LOCK2 &crypt_stat->keysig_list_mutex
LOCK2 &walker->global_auth_tok_key->sem
HALF_LOCKED2 &crypt_stat->cs_mutex
HALF_LOCKED2 &ecryptfs_dentry->d_lockref.lock
TYPE_LOCK (struct ecryptfs_crypt_stat)->keysig_list_mutex

fs/ecryptfs/keystore.c write_tag_3_packet() -> ecryptfs_write_packet_length()

Type Parameter Key Value
PARAM_VALUE 0 dest 4096-ptr_max
PARAM_VALUE 1 size 13-4294967308
PARAM_VALUE 2 packet_size_length 5803896654557417472
CAPPED_DATA 1 size 1
RX_PATH
TASK_NOT_RUNNING
UNITS 1 size unit_byte
LOCK2 &crypt_stat->keysig_list_mutex
LOCK2 &walker->global_auth_tok_key->sem
HALF_LOCKED2 &crypt_stat->cs_mutex
HALF_LOCKED2 &ecryptfs_dentry->d_lockref.lock
TYPE_LOCK (struct ecryptfs_crypt_stat)->keysig_list_mutex

fs/ecryptfs/keystore.c write_tag_64_packet() -> ecryptfs_write_packet_length()

Type Parameter Key Value
PARAM_VALUE 0 dest 4096-ptr_max
PARAM_VALUE 1 size 16
PARAM_VALUE 2 packet_size_length 613313046758694912

fs/ecryptfs/keystore.c write_tag_64_packet() -> ecryptfs_write_packet_length()

Type Parameter Key Value
PARAM_VALUE 0 dest 4096-ptr_max
PARAM_VALUE 2 packet_size_length 613313046758694912
PARAM_VALUE 2 *packet_size_length 1-2
UNITS 1 size unit_byte

fs/ecryptfs/keystore.c write_tag_66_packet() -> ecryptfs_write_packet_length()

Type Parameter Key Value
PARAM_VALUE 0 dest 4096-ptr_max
PARAM_VALUE 1 size 16
PARAM_VALUE 2 packet_size_length 807796425701961728
RX_PATH
TASK_NOT_RUNNING
LOCK2 &crypt_stat->keysig_list_mutex
LOCK2 &walker->global_auth_tok_key->sem
HALF_LOCKED2 &crypt_stat->cs_mutex
TYPE_LOCK (struct ecryptfs_crypt_stat)->keysig_list_mutex

fs/ecryptfs/keystore.c write_tag_66_packet() -> ecryptfs_write_packet_length()

Type Parameter Key Value
PARAM_VALUE 0 dest 4096-ptr_max
PARAM_VALUE 2 packet_size_length 807796425701961728
PARAM_VALUE 2 *packet_size_length 1-2
CAPPED_DATA 1 size 1
RX_PATH
TASK_NOT_RUNNING
UNITS 1 size unit_byte
LOCK2 &crypt_stat->keysig_list_mutex
LOCK2 &walker->global_auth_tok_key->sem
HALF_LOCKED2 &crypt_stat->cs_mutex
TYPE_LOCK (struct ecryptfs_crypt_stat)->keysig_list_mutex