Defined in 1 files as a function:

Referenced in 8 files:

Smatch caller information:

fs/ecryptfs/dentry.c ecryptfs_inode_to_lower() -> ecryptfs_inode_to_private()

Type Parameter Key Value
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
NO_OVERFLOW_SIMPLE 0 inode->i_size
HALF_LOCKED2 0 &inode->i_rwsem

fs/ecryptfs/read_write.c ecryptfs_read_lower() -> ecryptfs_inode_to_private()

Type Parameter Key Value
BUF_SIZE 0 inode (-1),1-s32max
BUF_SIZE 0 inode (-1),1-s32max
DATA_SOURCE 0 inode $3
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
USER_DATA 0 inode->i_rdev 0-u32max[c]
USER_DATA 0 inode->i_sb->s_flags 0-2147550208[c]
USER_DATA 0 inode->i_size (-9223372036854775807)-(-4),0-s64max
NO_OVERFLOW_SIMPLE 0 inode->i_bytes
HALF_LOCKED2 &crypt_stat->cs_mutex

fs/ecryptfs/read_write.c ecryptfs_write() -> ecryptfs_inode_to_private()

Type Parameter Key Value
PARAM_VALUE 0 inode 4096-ptr_max
DATA_SOURCE 0 inode $0
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

fs/ecryptfs/read_write.c ecryptfs_write_lower() -> ecryptfs_inode_to_private()

Type Parameter Key Value
DATA_SOURCE 0 inode $0
NOSPEC 0 inode->i_size
RX_PATH
TASK_NOT_RUNNING
USER_DATA 0 inode->i_mode 0-u16max
USER_DATA 0 inode->i_size (-9223372036854775807)-(-2),0-s64max

fs/ecryptfs/inode.c __ecryptfs_truncate() -> ecryptfs_inode_to_private()

Type Parameter Key Value
PARAM_VALUE 0 inode 4096-ptr_max
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

fs/ecryptfs/inode.c ecryptfs_i_size_read() -> ecryptfs_inode_to_private()

Type Parameter Key Value
PARAM_VALUE 0 inode 4096-ptr_max
BUF_SIZE 0 inode (-1),1-s32max
BUF_SIZE 0 inode (-1),1-s32max
CAPPED_DATA 0 inode 1
DATA_SOURCE 0 inode $1
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 &dentry->d_lockref.lock
HALF_LOCKED2 &dir->d_inode->i_rwsem

fs/ecryptfs/inode.c ecryptfs_initialize_file() -> ecryptfs_inode_to_private()

Type Parameter Key Value
DATA_SOURCE 0 inode $1
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &crypt_stat->cs_mutex

fs/ecryptfs/inode.c ecryptfs_inode_to_lower() -> ecryptfs_inode_to_private()

Type Parameter Key Value
BUF_SIZE 0 inode (-1)-s32max
BUF_SIZE 0 inode (-1)-s32max
DATA_SOURCE 0 inode $0
RX_PATH
TASK_NOT_RUNNING
USER_DATA 0 inode->i_blocks 0-18014398509481983,18428729675200069632-u64max
USER_DATA 0 inode->i_bytes 0-511[c]
USER_DATA 0 inode->i_mode 0-u16max
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_sb->s_blocksize
NO_OVERFLOW_SIMPLE 0 inode->i_sb->s_blocksize_bits
HALF_LOCKED2 rcu_read
HALF_LOCKED2 0 &inode->i_rwsem

fs/ecryptfs/inode.c ecryptfs_set_inode_lower() -> ecryptfs_inode_to_private()

Type Parameter Key Value
PARAM_VALUE 0 inode 4096-ptr_max
BUF_SIZE 0 inode (-1),1-s32max
BUF_SIZE 0 inode (-1),1-s32max
DATA_SOURCE 0 inode $0
RX_PATH
TASK_NOT_RUNNING
USER_DATA 0 inode->i_mode 0-u16max[c]
NO_OVERFLOW_SIMPLE 0 inode->i_blkbits
NO_OVERFLOW_SIMPLE 0 inode->i_bytes
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
LOCK2 global &inode_hash_lock

fs/ecryptfs/inode.c ecryptfs_setattr() -> ecryptfs_inode_to_private()

Type Parameter Key Value
PARAM_VALUE 0 inode 4096-ptr_max
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_inode->i_rwsem
HALF_LOCKED2 &dentry->d_lockref.lock
HALF_LOCKED2 &inode->i_rwsem
HALF_LOCKED2 &pool->lock

fs/ecryptfs/main.c ecryptfs_get_lower_file() -> ecryptfs_inode_to_private()

Type Parameter Key Value
BUF_SIZE 0 inode (-1),1-s32max
BUF_SIZE 0 inode (-1),1-s32max
DATA_SOURCE 0 inode $1
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
USER_DATA 0 inode->i_rdev 0-u32max[c]
USER_DATA 0 inode->i_sb->s_flags 0-2147553280[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_size
HALF_LOCKED2 &crypt_stat->cs_mutex

fs/ecryptfs/main.c ecryptfs_put_lower_file() -> ecryptfs_inode_to_private()

Type Parameter Key Value
BUF_SIZE 0 inode (-1),1-s32max
BUF_SIZE 0 inode (-1),1-s32max
DATA_SOURCE 0 inode $0
NOSPEC 0 inode->i_size
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
USER_DATA 0 inode->i_rdev 0-u32max[c]
USER_DATA 0 inode->i_sb->s_flags 0-2147553280[c]
USER_DATA 0 inode->i_size s64min-s64max
NO_OVERFLOW_SIMPLE 0 inode->i_blkbits
NO_OVERFLOW_SIMPLE 0 inode->i_linklen
NO_OVERFLOW_SIMPLE 0 inode->i_mapping->host->i_size
HALF_LOCKED2 &crypt_stat->cs_mutex

fs/ecryptfs/mmap.c ecryptfs_inode_to_lower() -> ecryptfs_inode_to_private()

Type Parameter Key Value
DATA_SOURCE 0 inode $0
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &inode->i_rwsem

fs/ecryptfs/mmap.c ecryptfs_read_folio() -> ecryptfs_inode_to_private()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &mapping->invalidate_lock

fs/ecryptfs/mmap.c ecryptfs_write_begin() -> ecryptfs_inode_to_private()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &inode->i_rwsem

fs/ecryptfs/mmap.c ecryptfs_write_end() -> ecryptfs_inode_to_private()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &inode->i_rwsem

fs/ecryptfs/mmap.c ecryptfs_write_inode_size_to_metadata() -> ecryptfs_inode_to_private()

Type Parameter Key Value
PARAM_VALUE 0 inode 4096-ptr_max
DATA_SOURCE 0 inode $0
NOSPEC 0 inode->i_size
RX_PATH
TASK_NOT_RUNNING
USER_DATA 0 inode->i_mode 0-u16max
USER_DATA 0 inode->i_size s64min-s64max
NO_OVERFLOW_SIMPLE 0 inode->i_mapping->host->i_bytes
HALF_LOCKED2 &inode->i_rwsem

fs/ecryptfs/mmap.c ecryptfs_write_inode_size_to_xattr() -> ecryptfs_inode_to_private()

Type Parameter Key Value
PARAM_VALUE 0 inode 4096-ptr_max
DATA_SOURCE 0 inode $0
NOSPEC 0 inode->i_size
RX_PATH
TASK_NOT_RUNNING
USER_DATA 0 inode->i_mode 0-u16max
USER_DATA 0 inode->i_size (-9223372036854775807)-(-2),0-s64max

fs/ecryptfs/crypto.c ecryptfs_decrypt_page() -> ecryptfs_inode_to_private()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING

fs/ecryptfs/crypto.c ecryptfs_encrypt_page() -> ecryptfs_inode_to_private()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING

fs/ecryptfs/crypto.c ecryptfs_i_size_init() -> ecryptfs_inode_to_private()

Type Parameter Key Value
BUF_SIZE 0 inode (-1),1-s32max
BUF_SIZE 0 inode (-1),1-s32max
DATA_SOURCE 0 inode $1
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
USER_DATA 0 inode->i_rdev 0-u32max[c]
USER_DATA 0 inode->i_sb->s_flags 0-2147550208[c]
USER_DATA 0 inode->i_size (-9223372036854775807)-(-4),0-s64max
NO_OVERFLOW_SIMPLE 0 inode->i_bytes
HALF_LOCKED2 &crypt_stat->cs_mutex

fs/ecryptfs/crypto.c ecryptfs_inode_to_lower() -> ecryptfs_inode_to_private()

Type Parameter Key Value
BUF_SIZE 0 inode (-1),1-s32max
BUF_SIZE 0 inode (-1),1-s32max
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
USER_DATA 0 inode->i_rdev 0-u32max[c]
USER_DATA 0 inode->i_sb->s_flags 0-2147550208[c]
USER_DATA 0 inode->i_size (-9223372036854775807)-(-4),0-s64max
NO_OVERFLOW_SIMPLE 0 inode->i_bytes

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

Type Parameter Key Value
PARAM_VALUE 0 inode 4096-ptr_max
DATA_SOURCE 0 inode $0
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &crypt_stat->cs_mutex

fs/ecryptfs/crypto.c ecryptfs_read_metadata() -> ecryptfs_inode_to_private()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
USER_DATA 0 inode->i_mode 0-u16max
USER_DATA 0 inode->i_size (-9223372036854775807)-(-4),0-s64max
LOCK2 &crypt_stat->cs_mutex
TYPE_LOCK (struct ecryptfs_crypt_stat)->cs_mutex

fs/ecryptfs/crypto.c ecryptfs_read_xattr_region() -> ecryptfs_inode_to_private()

Type Parameter Key Value
DATA_SOURCE 0 inode $1
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 &crypt_stat->cs_mutex

fs/ecryptfs/crypto.c ecryptfs_write_metadata() -> ecryptfs_inode_to_private()

Type Parameter Key Value
PARAM_VALUE 0 inode 4096-ptr_max
DATA_SOURCE 0 inode $1
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &crypt_stat->cs_mutex
HALF_LOCKED2 &ecryptfs_dentry->d_lockref.lock

fs/ecryptfs/file.c ecryptfs_inode_to_lower() -> ecryptfs_inode_to_private()

Type Parameter Key Value
PARAM_VALUE 0 inode 4096-ptr_max
DATA_SOURCE 0 inode $0
RX_PATH
TASK_NOT_RUNNING
LOCK2 &crypt_stat->cs_mutex
TYPE_LOCK (struct ecryptfs_crypt_stat)->cs_mutex

fs/ecryptfs/file.c ecryptfs_open() -> ecryptfs_inode_to_private()

Type Parameter Key Value
DATA_SOURCE 0 inode $0
RX_PATH
TASK_NOT_RUNNING
NO_OVERFLOW_SIMPLE 0 inode->i_blkbits
NO_OVERFLOW_SIMPLE 0 inode->i_size

fs/ecryptfs/file.c ecryptfs_open() -> ecryptfs_inode_to_private()

Type Parameter Key Value
DATA_SOURCE 0 inode $0
RX_PATH
TASK_NOT_RUNNING
NO_OVERFLOW_SIMPLE 0 inode->i_blkbits
NO_OVERFLOW_SIMPLE 0 inode->i_size

fs/ecryptfs/file.c ecryptfs_open() -> ecryptfs_inode_to_private()

Type Parameter Key Value
DATA_SOURCE 0 inode $0
RX_PATH
TASK_NOT_RUNNING
NO_OVERFLOW_SIMPLE 0 inode->i_blkbits
NO_OVERFLOW_SIMPLE 0 inode->i_size

fs/ecryptfs/file.c read_or_initialize_metadata() -> ecryptfs_inode_to_private()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING

fs/ecryptfs/super.c ecryptfs_destroy_inode() -> ecryptfs_inode_to_private()

Type Parameter Key Value
PARAM_VALUE 0 inode 4096-ptr_max
BUF_SIZE 0 inode->i_sb (-1),80,2752,2816,2880
CAPPED_DATA 0 inode->i_sb 1
DATA_SOURCE 0 inode $0
STR_LEN 0 inode->i_sb (-1),7-8
RX_PATH
TASK_NOT_RUNNING
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_data.host->i_bytes
NO_OVERFLOW_SIMPLE 0 inode->i_sb->s_blocksize
NO_OVERFLOW_SIMPLE 0 inode->i_sb->s_blocksize_bits

fs/ecryptfs/super.c ecryptfs_free_inode() -> ecryptfs_inode_to_private()

Type Parameter Key Value
PARAM_VALUE 0 inode 4096-ptr_max
DATA_SOURCE 0 inode $0
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 bh
HALF_LOCKED2 rcu

fs/ecryptfs/super.c ecryptfs_inode_to_lower() -> ecryptfs_inode_to_private()

Type Parameter Key Value
PARAM_VALUE 0 inode 4096-ptr_max
DATA_SOURCE 0 inode $0
RX_PATH
TASK_NOT_RUNNING
NO_OVERFLOW_SIMPLE 0 inode->i_bytes