Documented in 1 files:
Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
fs/ecryptfs/crypto.c ecryptfs_read_metadata() -> ecryptfs_read_headers_virt()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | page_virt | 1-u64max |
| PARAM_VALUE | 1 | crypt_stat | 4096-ptr_max |
| PARAM_VALUE | 1 | crypt_stat->extent_size | 0-1000000000 |
| PARAM_VALUE | 1 | crypt_stat->flags | 0,128-u32max |
| PARAM_VALUE | 2 | ecryptfs_dentry | 4096-ptr_max |
| PARAM_VALUE | 2 | ecryptfs_dentry->d_inode->i_mapping->host->i_sb->s_cop->inode_info_offs | 1632,1720,1808,2632,2648,2712 |
| PARAM_VALUE | 2 | ecryptfs_dentry->d_inode->i_mapping->i_mmap_rwsem.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 2 | ecryptfs_dentry->d_inode->i_mapping->i_mmap_rwsem.first_waiter->type | 0-1 |
| PARAM_VALUE | 2 | ecryptfs_dentry->d_inode->i_rwsem.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 2 | ecryptfs_dentry->d_inode->i_rwsem.first_waiter->type | 0-1 |
| PARAM_VALUE | 2 | ecryptfs_dentry->d_inode->i_sb | 4096-ptr_max |
| PARAM_VALUE | 2 | ecryptfs_dentry->d_inode->i_sb->s_cop->inode_info_offs | 1632,1720,1808,2632,2648 |
| PARAM_VALUE | 2 | ecryptfs_dentry->d_op->d_dname | 0,4096-ptr_max |
| PARAM_VALUE | 2 | ecryptfs_dentry->d_op->d_iput | 0,4096-ptr_max |
| PARAM_VALUE | 2 | ecryptfs_dentry->d_op->d_prune | 0,4096-ptr_max |
| PARAM_VALUE | 2 | ecryptfs_dentry->d_op->d_real | 0,4096-ptr_max |
| PARAM_VALUE | 2 | ecryptfs_dentry->d_parent->d_inode->i_rwsem.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 2 | ecryptfs_dentry->d_parent->d_inode->i_rwsem.first_waiter->type | 0-1 |
| PARAM_VALUE | 2 | ecryptfs_dentry->d_parent->d_sb->__s_d_op->d_automount | 0,2908707185815040000,3401111987815645184,6746145930460459008,7190988915944083456,7386785427940065280,8018779550845526016 |
| PARAM_VALUE | 2 | ecryptfs_dentry->d_parent->d_sb->__s_d_op->d_init | 0,2385819921126617088,7057831443282669568,7824184004865302528 |
| PARAM_VALUE | 2 | ecryptfs_dentry->d_parent->d_sb->__s_d_op->d_iput | 0,170374395438985216,837750826476904448,5086081384299388928,8216155483032948736 |
| PARAM_VALUE | 2 | ecryptfs_dentry->d_parent->d_sb->__s_d_op->d_manage | 0,1859587847549206528 |
| PARAM_VALUE | 2 | ecryptfs_dentry->d_parent->d_sb->__s_d_op->d_prune | 0,2225594340392566784,7225953709177749504 |
| PARAM_VALUE | 2 | ecryptfs_dentry->d_parent->d_sb->__s_d_op->d_real | 0,4509355519306412032 |
| PARAM_VALUE | 2 | ecryptfs_dentry->d_parent->d_sb->__s_d_op->d_unalias_trylock | 0,6635409759016140800 |
| PARAM_VALUE | 2 | ecryptfs_dentry->d_parent->d_sb->__s_d_op->d_unalias_unlock | 0,6336447517789900800 |
| PARAM_VALUE | 2 | ecryptfs_dentry->d_parent->d_sb->__s_d_op->d_weak_revalidate | 0,1549882712720502784,5632434648052031488,5669063523602272256,7231033168839651328 |
| PARAM_VALUE | 2 | ecryptfs_dentry->d_sb | 4096-ptr_max |
| PARAM_VALUE | 2 | ecryptfs_dentry->d_sb->__s_d_op->d_automount | 0,2908707185815040000,3401111987815645184,6746145930460459008,7190988915944083456,7386785427940065280,8018779550845526016 |
| PARAM_VALUE | 2 | ecryptfs_dentry->d_sb->__s_d_op->d_init | 0,2385819921126617088,7057831443282669568,7824184004865302528 |
| PARAM_VALUE | 2 | ecryptfs_dentry->d_sb->__s_d_op->d_iput | 0,170374395438985216,837750826476904448,5086081384299388928,8216155483032948736 |
| PARAM_VALUE | 2 | ecryptfs_dentry->d_sb->__s_d_op->d_manage | 0,1859587847549206528 |
| PARAM_VALUE | 2 | ecryptfs_dentry->d_sb->__s_d_op->d_prune | 0,2225594340392566784,7225953709177749504 |
| PARAM_VALUE | 2 | ecryptfs_dentry->d_sb->__s_d_op->d_real | 0,4509355519306412032 |
| PARAM_VALUE | 2 | ecryptfs_dentry->d_sb->__s_d_op->d_unalias_trylock | 0,6635409759016140800 |
| PARAM_VALUE | 2 | ecryptfs_dentry->d_sb->__s_d_op->d_unalias_unlock | 0,6336447517789900800 |
| PARAM_VALUE | 2 | ecryptfs_dentry->d_sb->__s_d_op->d_weak_revalidate | 0,1549882712720502784,5632434648052031488,5669063523602272256,7231033168839651328 |
| PARAM_VALUE | 3 | validate_header_size | 1 |
| BUF_SIZE | 1 | crypt_stat | 656 |
| BUF_SIZE | 2 | ecryptfs_dentry | (-1),1-s32max |
| BUF_SIZE | 2 | ecryptfs_dentry | (-1),1-s32max |
| DATA_SOURCE | 0 | page_virt | r kmem_cache_alloc_noprof |
| DATA_SOURCE | 2 | ecryptfs_dentry | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 2 | ecryptfs_dentry->d_inode->i_mode | 0-u16max |
| USER_DATA | 2 | ecryptfs_dentry->d_inode->i_size | (-9223372036854775807)-(-4),0-s64max |
| NO_OVERFLOW_SIMPLE | 2 | ecryptfs_dentry->dentry->d_inode->i_size | |
| NO_OVERFLOW_SIMPLE | 2 | ecryptfs_dentry->moved->d_inode->i_size | |
| LOCK2 | &crypt_stat->cs_mutex | ||
| HALF_LOCKED2 | 2 | &ecryptfs_dentry->d_inode->i_rwsem | |
| HALF_LOCKED2 | 2 | &ecryptfs_dentry->d_lockref.lock | |
| TYPE_LOCK | (struct ecryptfs_crypt_stat)->cs_mutex |
fs/ecryptfs/crypto.c ecryptfs_read_metadata() -> ecryptfs_read_headers_virt()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | page_virt | 1-u64max |
| PARAM_VALUE | 1 | crypt_stat | 4096-ptr_max |
| PARAM_VALUE | 1 | crypt_stat->extent_mask | 0,4294967292-u32max |
| PARAM_VALUE | 1 | crypt_stat->extent_size | 0,4096 |
| PARAM_VALUE | 1 | crypt_stat->file_version | 0-255 |
| PARAM_VALUE | 1 | crypt_stat->iv_bytes | 0,16 |
| PARAM_VALUE | 1 | crypt_stat->metadata_size | 0-281470681677825 |
| PARAM_VALUE | 1 | crypt_stat->tfm | 0-18446744073709551604,(-10)-(-1) |
| PARAM_VALUE | 2 | ecryptfs_dentry | 4096-ptr_max |
| PARAM_VALUE | 2 | ecryptfs_dentry->d_inode->i_mapping->host->i_sb->s_cop->inode_info_offs | 1632,1720,1808,2632,2648,2712 |
| PARAM_VALUE | 2 | ecryptfs_dentry->d_inode->i_mapping->i_mmap_rwsem.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 2 | ecryptfs_dentry->d_inode->i_mapping->i_mmap_rwsem.first_waiter->type | 0-1 |
| PARAM_VALUE | 2 | ecryptfs_dentry->d_inode->i_rwsem.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 2 | ecryptfs_dentry->d_inode->i_rwsem.first_waiter->type | 0-1 |
| PARAM_VALUE | 2 | ecryptfs_dentry->d_inode->i_sb | 4096-ptr_max |
| PARAM_VALUE | 2 | ecryptfs_dentry->d_inode->i_sb->s_cop->inode_info_offs | 1632,1720,1808,2632,2648 |
| PARAM_VALUE | 2 | ecryptfs_dentry->d_op->d_dname | 0,4096-ptr_max |
| PARAM_VALUE | 2 | ecryptfs_dentry->d_op->d_iput | 0,4096-ptr_max |
| PARAM_VALUE | 2 | ecryptfs_dentry->d_op->d_prune | 0,4096-ptr_max |
| PARAM_VALUE | 2 | ecryptfs_dentry->d_op->d_real | 0,4096-ptr_max |
| PARAM_VALUE | 2 | ecryptfs_dentry->d_parent->d_inode->i_rwsem.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 2 | ecryptfs_dentry->d_parent->d_inode->i_rwsem.first_waiter->type | 0-1 |
| PARAM_VALUE | 2 | ecryptfs_dentry->d_parent->d_sb->__s_d_op->d_automount | 0,2908707185815040000,3401111987815645184,6746145930460459008,7190988915944083456,7386785427940065280,8018779550845526016 |
| PARAM_VALUE | 2 | ecryptfs_dentry->d_parent->d_sb->__s_d_op->d_init | 0,2385819921126617088,7057831443282669568,7824184004865302528 |
| PARAM_VALUE | 2 | ecryptfs_dentry->d_parent->d_sb->__s_d_op->d_iput | 0,170374395438985216,837750826476904448,5086081384299388928,8216155483032948736 |
| PARAM_VALUE | 2 | ecryptfs_dentry->d_parent->d_sb->__s_d_op->d_manage | 0,1859587847549206528 |
| PARAM_VALUE | 2 | ecryptfs_dentry->d_parent->d_sb->__s_d_op->d_prune | 0,2225594340392566784,7225953709177749504 |
| PARAM_VALUE | 2 | ecryptfs_dentry->d_parent->d_sb->__s_d_op->d_real | 0,4509355519306412032 |
| PARAM_VALUE | 2 | ecryptfs_dentry->d_parent->d_sb->__s_d_op->d_unalias_trylock | 0,6635409759016140800 |
| PARAM_VALUE | 2 | ecryptfs_dentry->d_parent->d_sb->__s_d_op->d_unalias_unlock | 0,6336447517789900800 |
| PARAM_VALUE | 2 | ecryptfs_dentry->d_parent->d_sb->__s_d_op->d_weak_revalidate | 0,1549882712720502784,5632434648052031488,5669063523602272256,7231033168839651328 |
| PARAM_VALUE | 2 | ecryptfs_dentry->d_sb | 4096-ptr_max |
| PARAM_VALUE | 2 | ecryptfs_dentry->d_sb->__s_d_op->d_automount | 0,2908707185815040000,3401111987815645184,6746145930460459008,7190988915944083456,7386785427940065280,8018779550845526016 |
| PARAM_VALUE | 2 | ecryptfs_dentry->d_sb->__s_d_op->d_init | 0,2385819921126617088,7057831443282669568,7824184004865302528 |
| PARAM_VALUE | 2 | ecryptfs_dentry->d_sb->__s_d_op->d_iput | 0,170374395438985216,837750826476904448,5086081384299388928,8216155483032948736 |
| PARAM_VALUE | 2 | ecryptfs_dentry->d_sb->__s_d_op->d_manage | 0,1859587847549206528 |
| PARAM_VALUE | 2 | ecryptfs_dentry->d_sb->__s_d_op->d_prune | 0,2225594340392566784,7225953709177749504 |
| PARAM_VALUE | 2 | ecryptfs_dentry->d_sb->__s_d_op->d_real | 0,4509355519306412032 |
| PARAM_VALUE | 2 | ecryptfs_dentry->d_sb->__s_d_op->d_unalias_trylock | 0,6635409759016140800 |
| PARAM_VALUE | 2 | ecryptfs_dentry->d_sb->__s_d_op->d_unalias_unlock | 0,6336447517789900800 |
| PARAM_VALUE | 2 | ecryptfs_dentry->d_sb->__s_d_op->d_weak_revalidate | 0,1549882712720502784,5632434648052031488,5669063523602272256,7231033168839651328 |
| PARAM_VALUE | 3 | validate_header_size | 0 |
| BUF_SIZE | 1 | crypt_stat | 656 |
| BUF_SIZE | 2 | ecryptfs_dentry | (-1),1-s32max |
| BUF_SIZE | 2 | ecryptfs_dentry | (-1),1-s32max |
| DATA_SOURCE | 0 | page_virt | r kmem_cache_alloc_noprof |
| DATA_SOURCE | 2 | ecryptfs_dentry | $0 |
| MEM_ZERO | 0 | page_virt | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 2 | ecryptfs_dentry->d_inode->i_mode | 0-u16max |
| USER_DATA | 2 | ecryptfs_dentry->d_inode->i_size | (-9223372036854775807)-(-4),0-s64max |
| NO_OVERFLOW_SIMPLE | 2 | ecryptfs_dentry->dentry->d_inode->i_size | |
| NO_OVERFLOW_SIMPLE | 2 | ecryptfs_dentry->moved->d_inode->i_size | |
| LOCK2 | &crypt_stat->cs_mutex | ||
| HALF_LOCKED2 | 2 | &ecryptfs_dentry->d_inode->i_rwsem | |
| HALF_LOCKED2 | 2 | &ecryptfs_dentry->d_lockref.lock | |
| TYPE_LOCK | (struct ecryptfs_crypt_stat)->cs_mutex |