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_write_tag_70_packet() -> ecryptfs_code_for_cipher_string()
| Type | Parameter | Key | Value |
|---|---|---|---|
| BUF_SIZE | 0 | cipher_name | 32 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | s->tfm_mutex |
fs/ecryptfs/keystore.c pki_encrypt_session_key() -> ecryptfs_code_for_cipher_string()
| Type | Parameter | Key | Value |
|---|---|---|---|
| BUF_SIZE | 0 | cipher_name | 32 |
| CAPPED_DATA | 1 | key_bytes | 1 |
| CAPPED_DATA | 1 | key_bytes | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 1 | key_bytes | 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_code_for_cipher_string()
| Type | Parameter | Key | Value |
|---|---|---|---|
| BUF_SIZE | 0 | cipher_name | 32 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 1 | key_bytes | 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/main.c ecryptfs_validate_options() -> ecryptfs_code_for_cipher_string()
| Type | Parameter | Key | Value |
|---|---|---|---|
| BUF_SIZE | 0 | cipher_name | 32 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &fc->uapi_mutex |