Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
fs/ext4/xattr.c ext4_xattr_inode_create() -> __ext4_new_inode()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | idmap | 1531479832127729664 |
| PARAM_VALUE | 1 | handle | 0-ptr_max |
| PARAM_VALUE | 3 | mode | 33152 |
| PARAM_VALUE | 4 | qstr | 0 |
| PARAM_VALUE | 6 | owner | 4096-ptr_max |
| PARAM_VALUE | 7 | i_flags | 2097152 |
| PARAM_VALUE | 8 | handle_type | 0 |
| PARAM_VALUE | 9 | line_no | 0 |
| PARAM_VALUE | 10 | nblocks | 0 |
| BUF_SIZE | 1 | handle | (-1),1-s32max |
| BUF_SIZE | 1 | handle | (-1),1-s32max |
| BUF_SIZE | 6 | owner | 8 |
| CAPPED_DATA | 5 | goal | 1 |
| DATA_SOURCE | 1 | handle | $0 |
| STR_LEN | 0 | idmap | (-1)-1 |
| STR_LEN | 1 | handle | (-1)-1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &inode->i_rwsem |
fs/ext4/migrate.c ext4_ext_migrate() -> __ext4_new_inode()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | idmap | 1531479832127729664 |
| PARAM_VALUE | 1 | handle | 4096-ptr_max |
| PARAM_VALUE | 3 | mode | 32768 |
| PARAM_VALUE | 4 | qstr | 0 |
| PARAM_VALUE | 6 | owner | 4096-ptr_max |
| PARAM_VALUE | 7 | i_flags | 0 |
| PARAM_VALUE | 8 | handle_type | 0 |
| PARAM_VALUE | 9 | line_no | 0 |
| PARAM_VALUE | 10 | nblocks | 0 |
| BUF_SIZE | 1 | handle | (-1),1-s32max |
| BUF_SIZE | 1 | handle | (-1),1-s32max |
| BUF_SIZE | 6 | owner | 8 |
| DATA_SOURCE | 1 | handle | r __ext4_journal_start |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &inode->i_rwsem | ||
| HALF_LOCKED2 | &inode->i_rwsem | ||
| TYPE_LOCK | (struct inode)->i_rwsem |
fs/ext4/namei.c ext4_create() -> __ext4_new_inode()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | handle | 0 |
| PARAM_VALUE | 2 | dir | 4096-ptr_max |
| PARAM_VALUE | 2 | dir->i_op | 4096-ptr_max |
| PARAM_VALUE | 2 | dir->i_sb | 4096-ptr_max |
| PARAM_VALUE | 4 | qstr | 4096-ptr_max |
| PARAM_VALUE | 5 | goal | 0 |
| PARAM_VALUE | 6 | owner | 0 |
| PARAM_VALUE | 7 | i_flags | 0 |
| PARAM_VALUE | 8 | handle_type | 4 |
| PARAM_VALUE | 9 | line_no | 2829 |
| DATA_SOURCE | 0 | idmap | $0 |
| DATA_SOURCE | 2 | dir | $1 |
| DATA_SOURCE | 3 | mode | $3 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 3 | mode | 0-4094,32768-36863[c] |
| HALF_LOCKED2 | &dir->i_rwsem |
fs/ext4/namei.c ext4_mkdir() -> __ext4_new_inode()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | handle | 0 |
| PARAM_VALUE | 2 | dir | 4096-ptr_max |
| PARAM_VALUE | 2 | dir->i_op | 4096-ptr_max |
| PARAM_VALUE | 2 | dir->i_sb | 4096-ptr_max |
| PARAM_VALUE | 3 | mode | 16384-17407 |
| PARAM_VALUE | 4 | qstr | 4096-ptr_max |
| PARAM_VALUE | 5 | goal | 0 |
| PARAM_VALUE | 6 | owner | 0 |
| PARAM_VALUE | 7 | i_flags | 0 |
| PARAM_VALUE | 8 | handle_type | 4 |
| PARAM_VALUE | 9 | line_no | 3014 |
| BUF_SIZE | 2 | dir | (-1),1160 |
| BUF_SIZE | 2 | dir | (-1),1160 |
| CAPPED_DATA | 2 | dir->i_sb | 1 |
| CAPPED_DATA | 2 | dir->i_sb->s_user_ns->gid_map.nr_extents | 1 |
| CAPPED_DATA | 2 | dir->i_sb->s_user_ns->uid_map.nr_extents | 1 |
| DATA_SOURCE | 0 | idmap | $0 |
| DATA_SOURCE | 2 | dir | $1 |
| DATA_SOURCE | 3 | mode | $3 |
| BIT_INFO | 3 | mode | 0x4000,0x7fff |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 2 | dir->i_mode | 0-u16max |
| USER_DATA | 2 | dir->i_size | (-9223372036854775807)-(-4),0-s64max |
| USER_DATA | 3 | mode | 16384-17407[c] |
| HALF_LOCKED2 | &dentry->d_lockref.lock |
fs/ext4/namei.c ext4_mknod() -> __ext4_new_inode()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | handle | 0 |
| PARAM_VALUE | 2 | dir | 4096-ptr_max |
| PARAM_VALUE | 2 | dir->i_op | 4096-ptr_max |
| PARAM_VALUE | 2 | dir->i_sb | 4096-ptr_max |
| PARAM_VALUE | 4 | qstr | 4096-ptr_max |
| PARAM_VALUE | 5 | goal | 0 |
| PARAM_VALUE | 6 | owner | 0 |
| PARAM_VALUE | 7 | i_flags | 0 |
| PARAM_VALUE | 8 | handle_type | 4 |
| PARAM_VALUE | 9 | line_no | 2864 |
| CAPPED_DATA | 2 | dir->i_sb->s_user_ns->gid_map.nr_extents | 1 |
| CAPPED_DATA | 2 | dir->i_sb->s_user_ns->uid_map.nr_extents | 1 |
| DATA_SOURCE | 0 | idmap | $0 |
| DATA_SOURCE | 2 | dir | $1 |
| DATA_SOURCE | 3 | mode | $3 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 2 | dir->i_mode | 0-u16max |
| USER_DATA | 2 | dir->i_size | (-9223372036854775807)-(-4),0-s64max |
| USER_DATA | 3 | mode | 0-u16max[c] |
| HALF_LOCKED2 | _T->lock |
fs/ext4/namei.c ext4_symlink() -> __ext4_new_inode()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | handle | 0 |
| PARAM_VALUE | 2 | dir | 4096-ptr_max |
| PARAM_VALUE | 2 | dir->i_op | 4096-ptr_max |
| PARAM_VALUE | 2 | dir->i_sb | 4096-ptr_max |
| PARAM_VALUE | 3 | mode | 41471 |
| PARAM_VALUE | 4 | qstr | 4096-ptr_max |
| PARAM_VALUE | 5 | goal | 0 |
| PARAM_VALUE | 6 | owner | 0 |
| PARAM_VALUE | 7 | i_flags | 0 |
| PARAM_VALUE | 8 | handle_type | 4 |
| PARAM_VALUE | 9 | line_no | 3395 |
| CAPPED_DATA | 2 | dir->i_sb->s_user_ns->gid_map.nr_extents | 1 |
| CAPPED_DATA | 2 | dir->i_sb->s_user_ns->uid_map.nr_extents | 1 |
| DATA_SOURCE | 0 | idmap | $0 |
| DATA_SOURCE | 2 | dir | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 2 | dir->i_mode | 0-u16max |
| USER_DATA | 2 | dir->i_size | (-9223372036854775807)-(-4),0-s64max |
fs/ext4/namei.c ext4_tmpfile() -> __ext4_new_inode()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | handle | 0 |
| PARAM_VALUE | 2 | dir | 4096-ptr_max |
| PARAM_VALUE | 2 | dir->i_op | 4096-ptr_max |
| PARAM_VALUE | 2 | dir->i_sb | 4096-ptr_max |
| PARAM_VALUE | 4 | qstr | 0 |
| PARAM_VALUE | 5 | goal | 0 |
| PARAM_VALUE | 6 | owner | 0 |
| PARAM_VALUE | 7 | i_flags | 0 |
| PARAM_VALUE | 8 | handle_type | 4 |
| PARAM_VALUE | 9 | line_no | 2896 |
| PARAM_VALUE | 10 | nblocks | 10-13 |
| CAPPED_DATA | 2 | dir->i_sb->s_user_ns->gid_map.nr_extents | 1 |
| CAPPED_DATA | 2 | dir->i_sb->s_user_ns->uid_map.nr_extents | 1 |
| DATA_SOURCE | 0 | idmap | $0 |
| DATA_SOURCE | 2 | dir | $1 |
| DATA_SOURCE | 3 | mode | $3 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 3 | mode | 0-u16max[c] |
fs/ext4/namei.c ext4_whiteout_for_rename() -> __ext4_new_inode()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | handle | 0 |
| PARAM_VALUE | 2 | dir->i_sb | 4096-ptr_max |
| PARAM_VALUE | 3 | mode | 8192 |
| PARAM_VALUE | 4 | qstr | 4096-ptr_max |
| PARAM_VALUE | 5 | goal | 0 |
| PARAM_VALUE | 6 | owner | 0 |
| PARAM_VALUE | 7 | i_flags | 0 |
| PARAM_VALUE | 8 | handle_type | 4 |
| PARAM_VALUE | 9 | line_no | 3771 |
| DATA_SOURCE | 0 | idmap | $0 |
| DATA_SOURCE | 10 | nblocks | $2 [m] |