Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 3 files:
Smatch caller information:
fs/ecryptfs/inode.c ecryptfs_do_create() -> fsstack_copy_inode_size()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dst | 4096-ptr_max |
| PARAM_VALUE | 1 | src | 4096-ptr_max |
| DATA_SOURCE | 0 | dst | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &ecryptfs_dentry->d_lockref.lock | ||
| HALF_LOCKED2 | 0 | &dst->i_rwsem |
fs/ecryptfs/inode.c ecryptfs_inode_set() -> fsstack_copy_inode_size()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dst | 4096-ptr_max |
| PARAM_VALUE | 1 | src | 4096-ptr_max |
| BUF_SIZE | 0 | dst | (-1),1-s32max |
| BUF_SIZE | 0 | dst | (-1),1-s32max |
| BUF_SIZE | 0 | dst->i_sb | (-1),80,2816,2880 |
| BUF_SIZE | 1 | src | (-1),4,8,16,24,32,176,352 |
| BUF_SIZE | 1 | src | (-1),4,8,16,24,32,176,352 |
| DATA_SOURCE | 0 | dst | $0 |
| DATA_SOURCE | 1 | src | $1 |
| STR_LEN | 0 | dst->i_sb | (-1),7-8 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| USER_DATA | 0 | dst->__i_nlink | 1-u32max |
| USER_DATA | 0 | dst->i_sb->s_flags | 0-u64max[c] |
| NO_OVERFLOW_SIMPLE | 0 | dst->i_blkbits | |
| NO_OVERFLOW_SIMPLE | 0 | dst->i_mapping->host->i_bytes | |
| NO_OVERFLOW_SIMPLE | 0 | dst->i_mapping->host->i_size | |
| NO_OVERFLOW_SIMPLE | 0 | dst->i_sb->s_blocksize | |
| NO_OVERFLOW_SIMPLE | 0 | dst->i_sb->s_blocksize_bits | |
| NO_OVERFLOW_SIMPLE | 0 | dst->i_size | |
| LOCK2 | global &inode_hash_lock |
fs/ecryptfs/inode.c ecryptfs_link() -> fsstack_copy_inode_size()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dst | 4096-ptr_max |
| PARAM_VALUE | 1 | src | 4096-ptr_max |
| CAPPED_DATA | 0 | dst->i_sb | 1 |
| CAPPED_DATA | 0 | dst->i_sb->s_user_ns->gid_map.nr_extents | 1 |
| CAPPED_DATA | 0 | dst->i_sb->s_user_ns->uid_map.nr_extents | 1 |
| CAPPED_DATA | 1 | src->i_sb | 1 |
| CAPPED_DATA | 1 | src->i_sb->s_user_ns->gid_map.nr_extents | 1 |
| CAPPED_DATA | 1 | src->i_sb->s_user_ns->uid_map.nr_extents | 1 |
| DATA_SOURCE | 0 | dst | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| USER_DATA | 0 | dst->i_mode | 0-u16max |
| USER_DATA | 0 | dst->i_size | (-9223372036854775807)-(-4),0-s64max |
| LOCK2 | &inode->i_rwsem | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct inode)->i_rwsem |
fs/ecryptfs/inode.c ecryptfs_mkdir() -> fsstack_copy_inode_size()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dst | 4096-ptr_max |
| PARAM_VALUE | 1 | src | 4096-ptr_max |
| BUF_SIZE | 0 | dst | (-1),1160 |
| BUF_SIZE | 0 | dst | (-1),1160 |
| CAPPED_DATA | 0 | dst->i_sb->s_user_ns->gid_map.nr_extents | 1 |
| CAPPED_DATA | 0 | dst->i_sb->s_user_ns->uid_map.nr_extents | 1 |
| CAPPED_DATA | 1 | src->i_sb->s_user_ns->gid_map.nr_extents | 1 |
| CAPPED_DATA | 1 | src->i_sb->s_user_ns->uid_map.nr_extents | 1 |
| DATA_SOURCE | 0 | dst | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &dentry->d_lockref.lock |
fs/ecryptfs/inode.c ecryptfs_mknod() -> fsstack_copy_inode_size()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dst | 4096-ptr_max |
| PARAM_VALUE | 1 | src | 4096-ptr_max |
| CAPPED_DATA | 0 | dst->i_sb->s_user_ns->gid_map.nr_extents | 1 |
| CAPPED_DATA | 0 | dst->i_sb->s_user_ns->uid_map.nr_extents | 1 |
| CAPPED_DATA | 1 | src->i_sb->s_user_ns->gid_map.nr_extents | 1 |
| CAPPED_DATA | 1 | src->i_sb->s_user_ns->uid_map.nr_extents | 1 |
| DATA_SOURCE | 0 | dst | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| USER_DATA | 0 | dst->i_mode | 0-u16max |
| USER_DATA | 0 | dst->i_size | (-9223372036854775807)-(-4),0-s64max |
| HALF_LOCKED2 | _T->lock |
fs/ecryptfs/inode.c ecryptfs_symlink() -> fsstack_copy_inode_size()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dst | 4096-ptr_max |
| PARAM_VALUE | 1 | src | 4096-ptr_max |
| CAPPED_DATA | 0 | dst->i_sb->s_user_ns->gid_map.nr_extents | 1 |
| CAPPED_DATA | 0 | dst->i_sb->s_user_ns->uid_map.nr_extents | 1 |
| CAPPED_DATA | 1 | src->i_sb->s_user_ns->gid_map.nr_extents | 1 |
| CAPPED_DATA | 1 | src->i_sb->s_user_ns->uid_map.nr_extents | 1 |
| DATA_SOURCE | 0 | dst | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| USER_DATA | 0 | dst->i_mode | 0-u16max |
| USER_DATA | 0 | dst->i_size | (-9223372036854775807)-(-4),0-s64max |
fs/ecryptfs/mmap.c ecryptfs_write_end() -> fsstack_copy_inode_size()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &inode->i_rwsem |