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/crypto/policy.c fscrypt_dummy_policies_equal() -> fscrypt_policies_equal()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | policy1 | 1-u64max |
| PARAM_VALUE | 1 | policy2 | 1-u64max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &fc->uapi_mutex |
fs/crypto/policy.c fscrypt_has_permitted_context() -> fscrypt_policies_equal()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | policy1 | 199888741288050688 |
| PARAM_VALUE | 1 | policy2 | 4854919806326587392 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &inode->i_rwsem |
fs/crypto/policy.c fscrypt_ioctl_set_policy() -> fscrypt_policies_equal()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | policy1 | 6730186278904422400 |
| PARAM_VALUE | 0 | policy1->version | 0,2 |
| PARAM_VALUE | 1 | policy2 | 5324896590737915904 |
| USER_DATA | 0 | policy1->version | 0,2 |
| LOCK2 | &inode->i_rwsem | ||
| TYPE_LOCK | (struct inode)->i_rwsem |
fs/crypto/policy.c fscrypt_parse_test_dummy_encryption() -> fscrypt_policies_equal()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | policy1 | 4096-ptr_max |
| PARAM_VALUE | 0 | policy1->v2.contents_encryption_mode | 1 |
| PARAM_VALUE | 0 | policy1->v2.filenames_encryption_mode | 4 |
| PARAM_VALUE | 0 | policy1->version | 0,2 |
| PARAM_VALUE | 1 | policy2 | 1-u64max |
| BUF_SIZE | 0 | policy1 | 24 |
| DATA_SOURCE | 0 | policy1 | r _kzalloc_noprof |
| FUZZY_MAX | 0 | policy1->version | 2 |
| BIT_INFO | 0 | policy1->version | 0x0,0x2 |
| HARD_MAX | 0 | policy1->version | 2 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
fs/crypto/keysetup.c setup_file_encryption_key() -> fscrypt_policies_equal()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | policy1 | 1-u64max |
| PARAM_VALUE | 1 | policy2 | 4096-ptr_max |
| PARAM_VALUE | 1 | policy2->version | 0,2 |
| DATA_SOURCE | 0 | policy1 | r fscrypt_get_dummy_policy |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING |