Documented in 1 files:
Defined in 1 files as a function:
Referenced in 12 files:
- fs/ceph/caps.c, line 4995
- fs/ceph/crypto.c
- fs/ceph/dir.c
- fs/ceph/mds_client.c
- fs/crypto/fname.c
- fs/crypto/fscrypt_private.h, line 753
- fs/crypto/hooks.c
- fs/crypto/keysetup.c, line 674
- fs/ext4/hash.c
- fs/ext4/inode.c, line 4229
- fs/ext4/namei.c
- fs/libfs.c, line 1911
Smatch caller information:
fs/crypto/policy.c fscrypt_require_key() -> fscrypt_has_encryption_key()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | inode | 4096-ptr_max |
| PARAM_VALUE | 0 | inode->i_sb | 4096-ptr_max |
| PARAM_VALUE | 0 | inode->i_sb->s_cop->inode_info_offs | 1632,1720,1808,2632,2648 |
| CAPPED_DATA | 0 | inode->i_sb | 1 |
| DATA_SOURCE | 0 | inode | $0 |
| STR_LEN | 0 | inode | (-1)-1010101 |
| STR_LEN | 0 | inode | (-1)-1010101 |
| STR_LEN | 0 | inode->i_sb | (-1) |
| BIT_INFO | 0 | inode->i_flags | 0x4000,0xffffffff |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | inode->i_mode | 0-u16max |
| USER_DATA | 0 | inode->i_size | (-9223372036854775807)-(-4),0-s64max |
| NO_OVERFLOW_SIMPLE | 0 | inode->i_blkbits | |
| NO_OVERFLOW_SIMPLE | 0 | inode->i_ino | |
| NO_OVERFLOW_SIMPLE | 0 | inode->i_sb->s_blocksize | |
| NO_OVERFLOW_SIMPLE | 0 | inode->i_sb->s_blocksize_bits |
fs/crypto/keysetup.c fscrypt_get_encryption_info() -> fscrypt_has_encryption_key()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | inode->i_sb->s_cop->inode_info_offs | 1632,1640,1720,1808,1816,2632,2640,2648,2704,2712 |
| BUF_SIZE | 0 | inode | (-1)-s32max |
| BUF_SIZE | 0 | inode | (-1)-s32max |
| DATA_SOURCE | 0 | inode | $0 |
| STR_LEN | 0 | inode | (-1)-1010101 |
| STR_LEN | 0 | inode | (-1)-1010101 |
| STR_LEN | 0 | inode->i_sb | (-1) |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | inode->__i_nlink | 1-u32max |
| USER_DATA | 0 | inode->i_atime_nsec | 0-u32max |
| USER_DATA | 0 | inode->i_atime_sec | 0-4294967295 |
| USER_DATA | 0 | inode->i_blocks | 0-18014398509481983,18428729675200069632-u64max |
| USER_DATA | 0 | inode->i_bytes | 0-511[c] |
| USER_DATA | 0 | inode->i_ino | 0-u64max |
| USER_DATA | 0 | inode->i_mode | 0-u16max |
| USER_DATA | 0 | inode->i_mtime_nsec | 0-u32max |
| USER_DATA | 0 | inode->i_mtime_sec | 0-4294967295 |
| USER_DATA | 0 | inode->i_rdev | 0-u32max[c] |
| USER_DATA | 0 | inode->i_sb->s_flags | 0-u64max[c] |
| USER_DATA | 0 | inode->i_size | (-9223372036854775807)-(-4),0-s64max |
| NO_OVERFLOW_SIMPLE | 0 | inode->i_blkbits | |
| NO_OVERFLOW_SIMPLE | 0 | inode->i_mapping->host->i_bytes | |
| NO_OVERFLOW_SIMPLE | 0 | inode->i_sb->s_blocksize | |
| NO_OVERFLOW_SIMPLE | 0 | inode->i_sb->s_blocksize_bits | |
| HALF_LOCKED2 | 0 | &inode->i_rwsem |
fs/ext4/inode.c ext4_block_zero_eof() -> fscrypt_has_encryption_key()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | inode | 4096-ptr_max |
| DATA_SOURCE | 0 | inode | $0 |
| BIT_INFO | 0 | inode->i_flags | 0x4000,0xffffffff |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | inode->i_bytes | 0-65023[c] |
| USER_DATA | 0 | inode->i_mode | 0-u16max |
| LOCK2 | &inode->i_rwsem | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct inode)->i_rwsem |
fs/ceph/mds_client.c ceph_mdsc_build_path() -> fscrypt_has_encryption_key()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &mdsc->mutex | ||
| HALF_LOCKED2 | &session->s_mutex |
fs/ceph/mds_client.c get_fscrypt_altname() -> fscrypt_has_encryption_key()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | inode | 4096-ptr_max |
| PARAM_VALUE | 0 | inode->i_sb | 4096-ptr_max |
| PARAM_VALUE | 0 | inode->i_sb->s_cop | 4096-ptr_max |
| PARAM_VALUE | 0 | inode->i_sb->s_cop->inode_info_offs | 1632,1808,2632,2648 |
| BUF_SIZE | 0 | inode | (-1)-s32max |
| BUF_SIZE | 0 | inode | (-1)-s32max |
| STR_LEN | 0 | inode | (-1),1-24,26-27,29,31-34,63,99,115,254-255 |
| STR_LEN | 0 | inode | (-1),1-24,26-27,29,31-34,63,99,115,254-255 |
| BIT_INFO | 0 | inode->i_flags | 0x4000,0xffffffff |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 0 | inode->i_blkbits | |
| NO_OVERFLOW_SIMPLE | 0 | inode->i_size | |
| LOCK2 | &mdsc->mutex | ||
| HALF_LOCKED2 | &session->s_mutex | ||
| TYPE_LOCK | (struct ceph_mds_client)->mutex |
fs/ceph/caps.c ceph_encode_dentry_release() -> fscrypt_has_encryption_key()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | inode | 4096-ptr_max |
| PARAM_VALUE | 0 | inode->i_sb | 4096-ptr_max |
| PARAM_VALUE | 0 | inode->i_sb->s_cop->inode_info_offs | 1632,1720,1808,2632,2648 |
| BUF_SIZE | 0 | inode | (-1)-s32max |
| BUF_SIZE | 0 | inode | (-1)-s32max |
| DATA_SOURCE | 0 | inode | $2 |
| STR_LEN | 0 | inode | (-1),1-24,26-27,29,31-34,63,99,115,254-255 |
| STR_LEN | 0 | inode | (-1),1-24,26-27,29,31-34,63,99,115,254-255 |
| BIT_INFO | 0 | inode->i_flags | 0x4000,0xffffffff |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 0 | inode->i_blkbits | |
| NO_OVERFLOW_SIMPLE | 0 | inode->i_size | |
| LOCK2 | &mdsc->mutex | ||
| HALF_LOCKED2 | &session->s_mutex | ||
| TYPE_LOCK | (struct ceph_mds_client)->mutex |
fs/ceph/crypto.c ceph_encode_encrypted_dname() -> fscrypt_has_encryption_key()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | inode | 4096-ptr_max |
| PARAM_VALUE | 0 | inode->i_sb->s_cop->inode_info_offs | 1632,1720,1808,2632,2648,2712 |
| BUF_SIZE | 0 | inode | (-1)-s32max |
| BUF_SIZE | 0 | inode | (-1)-s32max |
| CAPPED_DATA | 0 | inode | 1 |
| STR_LEN | 0 | inode | (-1),1-24,26-27,29,31-34,63,99,115,254-255 |
| STR_LEN | 0 | inode | (-1),1-24,26-27,29,31-34,63,99,115,254-255 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 0 | inode->i_blkbits | |
| NO_OVERFLOW_SIMPLE | 0 | inode->i_mapping->host->i_bytes | |
| NO_OVERFLOW_SIMPLE | 0 | inode->i_size | |
| HALF_LOCKED2 | &inode->i_rwsem | ||
| HALF_LOCKED2 | &mdsc->mutex |
fs/ceph/crypto.c ceph_fname_to_usr() -> fscrypt_has_encryption_key()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | inode | 4096-ptr_max |
| PARAM_VALUE | 0 | inode->i_sb | 4096-ptr_max |
| PARAM_VALUE | 0 | inode->i_sb->s_cop | 4096-ptr_max |
| PARAM_VALUE | 0 | inode->i_sb->s_cop->inode_info_offs | 1632,1808,2632,2648 |
| BUF_SIZE | 0 | inode | (-1)-s32max |
| BUF_SIZE | 0 | inode | (-1)-s32max |
| BIT_INFO | 0 | inode->i_flags | 0x4000,0xffffffff |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | inode->__i_nlink | 1-u32max |
| USER_DATA | 0 | inode->i_blocks | 0-18014398509481983,18428729675200069632-u64max |
| USER_DATA | 0 | inode->i_bytes | 0-511[c] |
| USER_DATA | 0 | inode->i_ino | 0-u64max |
| USER_DATA | 0 | inode->i_mode | 0-u16max[c] |
| USER_DATA | 0 | inode->i_rdev | 0-u32max[c] |
| USER_DATA | 0 | inode->i_sb->s_flags | 0-u64max[c] |
| NO_OVERFLOW_SIMPLE | 0 | inode->i_mapping->host->i_bytes | |
| HALF_LOCKED2 | &mdsc->mutex | ||
| HALF_LOCKED2 | &mdsc->snap_rwsem | ||
| HALF_LOCKED2 | &req->r_fill_mutex | ||
| HALF_LOCKED2 | &session->s_mutex |
fs/ceph/crypto.c ceph_fscrypt_prepare_readdir() -> fscrypt_has_encryption_key()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | inode->i_sb->s_cop->inode_info_offs | 1632,1720,1808,2632,2648,2704,2712 |
| BUF_SIZE | 0 | inode | (-1),1-s32max |
| BUF_SIZE | 0 | inode | (-1),1-s32max |
| DATA_SOURCE | 0 | inode | $0 |
| STR_LEN | 0 | inode | (-1),1-24,26-27,29,31-34,63,99,115,254-255 |
| STR_LEN | 0 | inode | (-1),1-24,26-27,29,31-34,63,99,115,254-255 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | inode->__i_nlink | 1-u32max |
| USER_DATA | 0 | inode->i_blocks | 0-18014398509481983,18428729675200069632-u64max |
| USER_DATA | 0 | inode->i_bytes | 0-511[c] |
| USER_DATA | 0 | inode->i_ino | 0-u64max |
| USER_DATA | 0 | inode->i_mode | 0-u16max[c] |
| USER_DATA | 0 | inode->i_rdev | 0-u32max[c] |
| USER_DATA | 0 | inode->i_sb->s_flags | 0-u64max[c] |
| NO_OVERFLOW_SIMPLE | 0 | inode->i_blkbits | |
| NO_OVERFLOW_SIMPLE | 0 | inode->i_mapping->host->i_bytes | |
| NO_OVERFLOW_SIMPLE | 0 | inode->i_mapping->host->i_size | |
| NO_OVERFLOW_SIMPLE | 0 | inode->i_size | |
| HALF_LOCKED2 | &inode->i_rwsem | ||
| HALF_LOCKED2 | &mdsc->mutex |
fs/ceph/crypto.c ceph_fscrypt_prepare_readdir() -> fscrypt_has_encryption_key()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | inode | 4096-ptr_max |
| PARAM_VALUE | 0 | inode->i_sb | 4096-ptr_max |
| PARAM_VALUE | 0 | inode->i_sb->s_cop->inode_info_offs | 1632,1720,1808,2632,2648,2704,2712 |
| BUF_SIZE | 0 | inode | (-1),1-s32max |
| BUF_SIZE | 0 | inode | (-1),1-s32max |
| DATA_SOURCE | 0 | inode | $0 |
| STR_LEN | 0 | inode | (-1),1-24,26-27,29,31-34,63,99,115,254-255 |
| STR_LEN | 0 | inode | (-1),1-24,26-27,29,31-34,63,99,115,254-255 |
| BIT_INFO | 0 | inode->i_flags | 0x4000,0xffffffffffffffff |
| NOSPEC | 0 | inode->i_bytes | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | inode->__i_nlink | 1-u32max |
| USER_DATA | 0 | inode->i_blocks | 0-18014398509481983,18428729675200069632-u64max |
| USER_DATA | 0 | inode->i_bytes | 0-511[c] |
| USER_DATA | 0 | inode->i_ino | 0-u64max |
| USER_DATA | 0 | inode->i_mode | 0-u16max[c] |
| USER_DATA | 0 | inode->i_rdev | 0-u32max[c] |
| NO_OVERFLOW_SIMPLE | 0 | inode->i_blkbits | |
| NO_OVERFLOW_SIMPLE | 0 | inode->i_mapping->host->i_bytes | |
| NO_OVERFLOW_SIMPLE | 0 | inode->i_mapping->host->i_size | |
| NO_OVERFLOW_SIMPLE | 0 | inode->i_size | |
| HALF_LOCKED2 | &inode->i_rwsem | ||
| HALF_LOCKED2 | &mdsc->mutex |
fs/crypto/fname.c fscrypt_d_revalidate() -> fscrypt_has_encryption_key()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | inode | 4096-ptr_max |
| PARAM_VALUE | 0 | inode->i_sb | 4096-ptr_max |
| PARAM_VALUE | 0 | inode->i_sb->s_cop->inode_info_offs | 1632,1640,1720,1808,1816,2632,2640,2648,2704,2712 |
| DATA_SOURCE | 0 | inode | $0 |
| STR_LEN | 0 | inode | (-1),1-24,26-27,29,31-34,63,99,115,254-255 |
| STR_LEN | 0 | inode | (-1),1-24,26-27,29,31-34,63,99,115,254-255 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | inode->i_mode | 0-u16max |
| USER_DATA | 0 | inode->i_size | (-9223372036854775807)-(-4),0-s64max |
| HALF_LOCKED2 | 0 | &inode->i_rwsem |
fs/crypto/fname.c fscrypt_fname_disk_to_usr() -> fscrypt_has_encryption_key()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | inode | 4096-ptr_max |
| PARAM_VALUE | 0 | inode->i_sb | 4096-ptr_max |
| PARAM_VALUE | 0 | inode->i_sb->s_cop->inode_info_offs | 1632,1640,1720,1808,1816,2632,2640,2648,2704,2712 |
| BUF_SIZE | 0 | inode | (-1),1-s32max |
| BUF_SIZE | 0 | inode | (-1),1-s32max |
| CAPPED_DATA | 0 | inode | 1 |
| DATA_SOURCE | 0 | inode | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | inode->__i_nlink | 1-u32max |
| USER_DATA | 0 | inode->i_blocks | 0-18014398509481983,18428729675200069632-u64max |
| USER_DATA | 0 | inode->i_bytes | 0-511[c] |
| USER_DATA | 0 | inode->i_ino | 0-u64max |
| USER_DATA | 0 | inode->i_mode | 0-u16max[c] |
| USER_DATA | 0 | inode->i_rdev | 0-u32max[c] |
| USER_DATA | 0 | inode->i_sb->s_flags | 0-u64max[c] |
| NO_OVERFLOW_SIMPLE | 0 | inode->i_blkbits | |
| NO_OVERFLOW_SIMPLE | 0 | inode->i_mapping->host->i_bytes | |
| NO_OVERFLOW_SIMPLE | 0 | inode->i_mapping->host->i_size | |
| NO_OVERFLOW_SIMPLE | 0 | inode->i_sb->s_blocksize | |
| NO_OVERFLOW_SIMPLE | 0 | inode->i_sb->s_blocksize_bits | |
| NO_OVERFLOW_SIMPLE | 0 | inode->i_size | |
| HALF_LOCKED2 | &inode->i_rwsem | ||
| HALF_LOCKED2 | 0 | &inode->i_rwsem |
fs/crypto/fname.c fscrypt_setup_filename() -> fscrypt_has_encryption_key()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | inode | 4096-ptr_max |
| PARAM_VALUE | 0 | inode->i_sb | 4096-ptr_max |
| PARAM_VALUE | 0 | inode->i_sb->s_cop->inode_info_offs | 1632,1720,1808,2632,2648 |
| DATA_SOURCE | 0 | inode | $0 |
| BIT_INFO | 0 | inode->i_flags | 0x4000,0xffffffff |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | inode->i_mode | 0-u16max |
| USER_DATA | 0 | inode->i_size | (-9223372036854775807)-(-4),0-s64max |
| HALF_LOCKED2 | &fs_info->reloc_mutex | ||
| HALF_LOCKED2 | &target->i_rwsem | ||
| HALF_LOCKED2 | 0 | &inode->i_rwsem |
fs/ext4/hash.c __ext4fs_dirhash() -> fscrypt_has_encryption_key()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | inode | 4096-ptr_max |
| PARAM_VALUE | 0 | inode->i_sb | 4096-ptr_max |
| PARAM_VALUE | 0 | inode->i_sb->s_cop->inode_info_offs | 1632,1720,1808,2632,2648,2712 |
| BUF_SIZE | 0 | inode | (-1),1160 |
| BUF_SIZE | 0 | inode | (-1),1160 |
| CAPPED_DATA | 0 | inode | 1 |
| DATA_SOURCE | 0 | inode | $0 |
| STR_LEN | 0 | inode | (-1),2-5,7,9 |
| STR_LEN | 0 | inode | (-1),2-5,7,9 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | inode->i_mode | 0-u16max |
| USER_DATA | 0 | inode->i_size | (-9223372036854775807)-(-4),0-s64max |
| NO_OVERFLOW_SIMPLE | 0 | inode->i_bytes | |
| HALF_LOCKED2 | 0 | &inode->i_rwsem |
fs/ext4/hash.c ext4fs_dirhash() -> fscrypt_has_encryption_key()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | inode | 4096-ptr_max |
| PARAM_VALUE | 0 | inode->i_sb | 4096-ptr_max |
| PARAM_VALUE | 0 | inode->i_sb->s_cop->inode_info_offs | 1632,1720,1808,2632,2648,2712 |
| BUF_SIZE | 0 | inode | (-1),1160 |
| BUF_SIZE | 0 | inode | (-1),1160 |
| CAPPED_DATA | 0 | inode | 1 |
| DATA_SOURCE | 0 | inode | $0 |
| STR_LEN | 0 | inode | (-1),2-5,7,9 |
| STR_LEN | 0 | inode | (-1),2-5,7,9 |
| BIT_INFO | 0 | inode->i_flags | 0xc000,0xffffffff |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | inode->i_mode | 0-u16max |
| USER_DATA | 0 | inode->i_size | (-9223372036854775807)-(-4),0-s64max |
| HALF_LOCKED2 | &inode->i_rwsem | ||
| HALF_LOCKED2 | 0 | &inode->i_rwsem |
fs/crypto/hooks.c __fscrypt_encrypt_symlink() -> fscrypt_has_encryption_key()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | inode | 4096-ptr_max |
| PARAM_VALUE | 0 | inode->i_sb->s_cop->inode_info_offs | 1632,1720,1808,2632,2648,2712 |
| BUF_SIZE | 0 | inode | (-1)-s32max |
| BUF_SIZE | 0 | inode | (-1)-s32max |
| BUF_SIZE | 0 | inode->i_mapping->a_ops | (-1),152 |
| BUF_SIZE | 0 | inode->i_op | (-1),256 |
| DATA_SOURCE | 0 | inode | $0 |
| STR_LEN | 0 | inode | (-1)-1010101 |
| STR_LEN | 0 | inode | (-1)-1010101 |
| BIT_INFO | 0 | inode->i_flags | 0x4000,0xffffffff |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | inode->__i_nlink | 1-u32max |
| USER_DATA | 0 | inode->i_mode | 0-u16max |
| USER_DATA | 0 | inode->i_sb->s_flags | 0-u64max[c] |
| NO_OVERFLOW_SIMPLE | 0 | inode->i_blkbits | |
| NO_OVERFLOW_SIMPLE | 0 | inode->i_bytes | |
| NO_OVERFLOW_SIMPLE | 0 | inode->i_sb->s_blocksize | |
| NO_OVERFLOW_SIMPLE | 0 | inode->i_sb->s_blocksize_bits |
fs/crypto/hooks.c fscrypt_get_symlink() -> fscrypt_has_encryption_key()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | inode | 4096-ptr_max |
| PARAM_VALUE | 0 | inode->i_sb | 4096-ptr_max |
| CAPPED_DATA | 0 | inode | 1 |
| DATA_SOURCE | 0 | inode | $0 |
| BIT_INFO | 0 | inode->i_flags | 0x4000,0xffffffff |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 0 | inode->i_mapping->host->i_bytes |
fs/crypto/hooks.c fscrypt_prepare_lookup_partial() -> fscrypt_has_encryption_key()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | inode | 4096-ptr_max |
| PARAM_VALUE | 0 | inode->i_sb | 4096-ptr_max |
| DATA_SOURCE | 0 | inode | $0 |
| BIT_INFO | 0 | inode->i_flags | 0x4000,0xffffffffffffffff |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | inode->i_mode | 0-u16max |
| USER_DATA | 0 | inode->i_size | (-9223372036854775807)-(-4),0-s64max |
| HALF_LOCKED2 | 0 | &inode->i_rwsem |
fs/crypto/hooks.c fscrypt_require_key() -> fscrypt_has_encryption_key()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | inode | 4096-ptr_max |
| PARAM_VALUE | 0 | inode->i_sb | 4096-ptr_max |
| PARAM_VALUE | 0 | inode->i_sb->s_cop->inode_info_offs | 1632,1720,1808,2632,2648 |
| DATA_SOURCE | 0 | inode | $0 |
| BIT_INFO | 0 | inode->i_flags | 0x4000,0xffffffff |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | inode->i_mode | 0-u16max |
| USER_DATA | 0 | inode->i_size | (-9223372036854775807)-(-4),0-s64max |
| NO_OVERFLOW_SIMPLE | 0 | inode->i_blkbits | |
| HALF_LOCKED2 | 0 | &inode->i_rwsem |
fs/ceph/dir.c __dcache_readdir() -> fscrypt_has_encryption_key()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | inode | 4096-ptr_max |
| PARAM_VALUE | 0 | inode->i_sb | 4096-ptr_max |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &dentry->d_lockref.lock | ||
| LOCK2 | &inode->i_rwsem | ||
| HALF_LOCKED2 | &dir_fp->readdir_lock | ||
| HALF_LOCKED2 | &last->d_lockref.lock | ||
| TYPE_LOCK | (struct inode)->i_rwsem | ||
| TYPE_LOCK | (struct lockref)->lock |
fs/ceph/dir.c ceph_lookup() -> fscrypt_has_encryption_key()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | inode | 4096-ptr_max |
| PARAM_VALUE | 0 | inode->i_sb | 4096-ptr_max |
| PARAM_VALUE | 0 | inode->i_sb->s_cop->inode_info_offs | 1632,1720,1808,2632,2648 |
| DATA_SOURCE | 0 | inode | $0 |
| BIT_INFO | 0 | inode->i_flags | 0x4000,0xffffffff |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | inode->i_mode | 0-u16max |
| USER_DATA | 0 | inode->i_size | (-9223372036854775807)-(-4),0-s64max |
| NO_OVERFLOW_SIMPLE | 0 | inode->i_blkbits | |
| HALF_LOCKED2 | 0 | &inode->i_rwsem |
fs/ceph/dir.c ceph_lookup() -> fscrypt_has_encryption_key()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | inode | 4096-ptr_max |
| PARAM_VALUE | 0 | inode->i_sb | 4096-ptr_max |
| PARAM_VALUE | 0 | inode->i_sb->s_cop->inode_info_offs | 1632,1720,1808,2632,2648 |
| DATA_SOURCE | 0 | inode | $0 |
| BIT_INFO | 0 | inode->i_flags | 0x4000,0xffffffffffffffff |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | inode->i_mode | 0-u16max |
| USER_DATA | 0 | inode->i_size | (-9223372036854775807)-(-4),0-s64max |
| NO_OVERFLOW_SIMPLE | 0 | inode->i_blkbits | |
| HALF_LOCKED2 | 0 | &inode->i_rwsem |
fs/ceph/dir.c ceph_mkdir() -> fscrypt_has_encryption_key()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | inode | 4096-ptr_max |
| PARAM_VALUE | 0 | inode->i_sb | 4096-ptr_max |
| PARAM_VALUE | 0 | inode->i_sb->s_cop->inode_info_offs | 1632,1720,1808,2632,2648 |
| BUF_SIZE | 0 | inode | (-1),1160 |
| BUF_SIZE | 0 | inode | (-1),1160 |
| CAPPED_DATA | 0 | inode->i_sb->s_user_ns->gid_map.nr_extents | 1 |
| CAPPED_DATA | 0 | inode->i_sb->s_user_ns->uid_map.nr_extents | 1 |
| DATA_SOURCE | 0 | inode | $1 |
| BIT_INFO | 0 | inode->i_flags | 0x4000,0xffffffff |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | inode->i_mode | 0-u16max |
| USER_DATA | 0 | inode->i_size | (-9223372036854775807)-(-4),0-s64max |
| HALF_LOCKED2 | &dentry->d_lockref.lock |
fs/ext4/namei.c ext4_fname_setup_ci_filename() -> fscrypt_has_encryption_key()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | inode | 4096-ptr_max |
| DATA_SOURCE | 0 | inode | $0 |
| BIT_INFO | 0 | inode->i_flags | 0xc000,0xffffffff |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | inode->i_mode | 0-u16max |
| USER_DATA | 0 | inode->i_size | (-9223372036854775807)-(-4),0-s64max |
| HALF_LOCKED2 | 0 | &inode->i_rwsem |
fs/ext4/namei.c ext4_match() -> fscrypt_has_encryption_key()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | inode | 4096-ptr_max |
| PARAM_VALUE | 0 | inode->i_sb->s_cop->inode_info_offs | 1632,1808,2632,2648,2712 |
| DATA_SOURCE | 0 | inode | $0 |
| BIT_INFO | 0 | inode->i_flags | 0xc000,0xffffffff |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 0 | inode->i_size | |
| HALF_LOCKED2 | 0 | &inode->i_rwsem |
fs/libfs.c generic_ci_match() -> fscrypt_has_encryption_key()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | inode | 4096-ptr_max |
| PARAM_VALUE | 0 | inode->i_sb | 4096-ptr_max |
| PARAM_VALUE | 0 | inode->i_sb->s_cop->inode_info_offs | 1632,1720,1808,2632,2648,2704,2712 |
| DATA_SOURCE | 0 | inode | $0 |
| BIT_INFO | 0 | inode->i_flags | 0x4000,0xffffffff |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 0 | inode->i_blkbits | |
| NO_OVERFLOW_SIMPLE | 0 | inode->i_bytes | |
| NO_OVERFLOW_SIMPLE | 0 | inode->i_size | |
| HALF_LOCKED2 | 0 | &inode->i_rwsem |