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/read_write.c ecryptfs_read_lower_page_segment() -> ecryptfs_read_lower()

Type Parameter Key Value
DATA_SOURCE 0 data r kmap_local_folio
DATA_SOURCE 2 size $3
DATA_SOURCE 3 ecryptfs_inode $4
RX_PATH
TASK_NOT_RUNNING
UNITS 1 offset unit_byte
UNITS 2 size unit_byte

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

Type Parameter Key Value
PARAM_VALUE 2 size 4096
DATA_SOURCE 0 data r kmap_local_folio
DATA_SOURCE 1 offset r lower_offset_for_page
RX_PATH
TASK_NOT_RUNNING
UNITS 2 size unit_byte

fs/ecryptfs/crypto.c ecryptfs_read_and_validate_header_region() -> ecryptfs_read_lower()

Type Parameter Key Value
PARAM_VALUE 0 data 5045526080330145792
PARAM_VALUE 1 offset 0
PARAM_VALUE 2 size 16
PARAM_VALUE 3 ecryptfs_inode 4096-ptr_max
PARAM_VALUE 3 ecryptfs_inode->i_mapping->i_mmap_rwsem.first_waiter->handoff_set 0-1
PARAM_VALUE 3 ecryptfs_inode->i_mapping->i_mmap_rwsem.first_waiter->type 0-1
PARAM_VALUE 3 ecryptfs_inode->i_sb->s_cop->inode_info_offs 1632,1808,2632,2648,2704,2712
PARAM_VALUE 3 ecryptfs_inode->i_sb->s_export_op->encode_fh 0,2,1398972869330624512,1616549510479982592,2037984473558433792,2776440803454029824,3228746867770966016,3502492669594062848,3526768263295340544,3559173554394271744,5000850239487131648,5583386343686406144,5817357685191483392-s64max
PARAM_VALUE 3 ecryptfs_inode->i_wb->dwork.wq->dfl_pwq 0-s64max
PARAM_VALUE 3 ecryptfs_inode->i_wb->dwork.wq->saved_max_active s32min-s32max
PARAM_VALUE 3 ecryptfs_inode->i_wb->dwork.wq->saved_min_active s32min-s32max
BUF_SIZE 0 data 16
BUF_SIZE 3 ecryptfs_inode (-1),1-s32max
BUF_SIZE 3 ecryptfs_inode (-1),1-s32max
CAPPED_DATA 3 ecryptfs_inode 1
DATA_SOURCE 3 ecryptfs_inode $0
RX_PATH
TASK_NOT_RUNNING
USER_DATA 3 ecryptfs_inode->__i_nlink 1-u32max
USER_DATA 3 ecryptfs_inode->i_blocks 0-18014398509481983,18428729675200069632-u64max
USER_DATA 3 ecryptfs_inode->i_bytes 0-511[c]
USER_DATA 3 ecryptfs_inode->i_ino 0-u64max
USER_DATA 3 ecryptfs_inode->i_mode 0-u16max[c]
USER_DATA 3 ecryptfs_inode->i_rdev 0-u32max[c]
USER_DATA 3 ecryptfs_inode->i_sb->s_flags 0-2147553280[c]
NO_OVERFLOW_SIMPLE 3 ecryptfs_inode->i_mapping->host->i_size
NO_OVERFLOW_SIMPLE 3 ecryptfs_inode->i_size
UNITS 2 size unit_byte
HALF_LOCKED2 &dentry->d_lockref.lock
HALF_LOCKED2 &dir->d_inode->i_rwsem

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

Type Parameter Key Value
PARAM_VALUE 0 data 1-u64max
PARAM_VALUE 1 offset 0
DATA_SOURCE 0 data r kmem_cache_alloc_noprof
RX_PATH
TASK_NOT_RUNNING
USER_DATA 3 ecryptfs_inode->i_mode 0-u16max
USER_DATA 3 ecryptfs_inode->i_size (-9223372036854775807)-(-4),0-s64max
LOCK2 &crypt_stat->cs_mutex
TYPE_LOCK (struct ecryptfs_crypt_stat)->cs_mutex