Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
fs/xfs/xfs_iops.c xfs_vn_create() -> xfs_generic_create()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | dir | 4096-ptr_max |
| PARAM_VALUE | 1 | dir->i_op | 4096-ptr_max |
| PARAM_VALUE | 1 | dir->i_op->atomic_open | 0,4096-ptr_max |
| PARAM_VALUE | 1 | dir->i_op->create | 4096-ptr_max |
| PARAM_VALUE | 1 | dir->i_rwsem.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 1 | dir->i_rwsem.first_waiter->type | 0-1 |
| PARAM_VALUE | 2 | dentry | 4096-ptr_max |
| PARAM_VALUE | 2 | dentry->d_inode | 0 |
| PARAM_VALUE | 2 | dentry->d_op->d_automount | 0,2908707185815040000,3401111987815645184,6746145930460459008,7190988915944083456,7386785427940065280,8018779550845526016 |
| PARAM_VALUE | 2 | dentry->d_op->d_dname | 0,4096-ptr_max |
| PARAM_VALUE | 2 | dentry->d_op->d_init | 0,2385819921126617088,7057831443282669568,7824184004865302528 |
| PARAM_VALUE | 2 | dentry->d_op->d_iput | 0,4096-ptr_max |
| PARAM_VALUE | 2 | dentry->d_op->d_manage | 0,1859587847549206528 |
| PARAM_VALUE | 2 | dentry->d_op->d_prune | 0,4096-ptr_max |
| PARAM_VALUE | 2 | dentry->d_op->d_real | 0,4096-ptr_max |
| PARAM_VALUE | 2 | dentry->d_op->d_unalias_trylock | 0,6635409759016140800 |
| PARAM_VALUE | 2 | dentry->d_op->d_unalias_unlock | 0,6336447517789900800 |
| PARAM_VALUE | 2 | dentry->d_op->d_weak_revalidate | 0,1549882712720502784,5632434648052031488,5669063523602272256,7231033168839651328 |
| PARAM_VALUE | 2 | dentry->d_parent->d_inode->i_rwsem.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 2 | dentry->d_parent->d_inode->i_rwsem.first_waiter->type | 0-1 |
| PARAM_VALUE | 2 | dentry->d_parent->d_inode->i_sb->s_cop->inode_info_offs | 1632,1720,1808,2632,2648 |
| PARAM_VALUE | 4 | rdev | 0 |
| PARAM_VALUE | 5 | tmpfile | 0 |
| BUF_SIZE | 2 | dentry | (-1),1-s32max |
| BUF_SIZE | 2 | dentry | (-1),1-s32max |
| DATA_SOURCE | 0 | idmap | $0 |
| DATA_SOURCE | 1 | dir | $1 |
| DATA_SOURCE | 2 | dentry | $2 |
| DATA_SOURCE | 3 | mode | $3 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 2 | dentry->__d_name.hash | 0-u32max[c] |
| USER_DATA | 2 | dentry->d_parent->__d_name.hash | 0-u32max[c] |
| USER_DATA | 2 | dentry->d_sb->s_flags | 0-u64max[c] |
| USER_DATA | 2 | *dentry->__d_name.name | 0-255 |
| USER_DATA | 2 | *dentry->d_parent->__d_name.name | 0-255 |
| USER_DATA | 3 | mode | 0-4094,32768-36863[c] |
| NO_OVERFLOW_SIMPLE | 2 | dentry->d_sb->s_blocksize | |
| NO_OVERFLOW_SIMPLE | 2 | dentry->d_sb->s_blocksize_bits | |
| USER_PTR | 2 | dentry->__d_name.name | |
| HALF_LOCKED2 | 1 | &dir->i_rwsem | |
| HALF_LOCKED2 | 2 | &dentry->d_lockref.lock |
fs/xfs/xfs_iops.c xfs_vn_mkdir() -> xfs_generic_create()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | dir | 4096-ptr_max |
| PARAM_VALUE | 1 | dir->i_flctx->flc_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | dir->i_op | 4096-ptr_max |
| PARAM_VALUE | 1 | dir->i_op->mkdir | 4096-ptr_max |
| PARAM_VALUE | 1 | dir->i_rwsem.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 1 | dir->i_rwsem.first_waiter->type | 0-1 |
| PARAM_VALUE | 1 | dir->i_sb | 4096-ptr_max |
| PARAM_VALUE | 1 | dir->i_sb->s_cop->inode_info_offs | 1632,1720,1808,2632,2648 |
| PARAM_VALUE | 2 | dentry | 4096-ptr_max |
| PARAM_VALUE | 2 | dentry->d_inode | 0 |
| PARAM_VALUE | 2 | dentry->d_inode->i_mapping->i_mmap_rwsem.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 2 | dentry->d_inode->i_mapping->i_mmap_rwsem.first_waiter->type | 0-1 |
| PARAM_VALUE | 2 | dentry->d_inode->i_rwsem.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 2 | dentry->d_inode->i_rwsem.first_waiter->type | 0-1 |
| PARAM_VALUE | 2 | dentry->d_op->d_dname | 0,4096-ptr_max |
| PARAM_VALUE | 2 | dentry->d_op->d_iput | 0,4096-ptr_max |
| PARAM_VALUE | 2 | dentry->d_op->d_prune | 0,4096-ptr_max |
| PARAM_VALUE | 2 | dentry->d_op->d_real | 0,4096-ptr_max |
| PARAM_VALUE | 2 | dentry->d_parent->d_inode->i_rwsem.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 2 | dentry->d_parent->d_inode->i_rwsem.first_waiter->type | 0-1 |
| PARAM_VALUE | 2 | dentry->d_parent->d_sb->__s_d_op->d_automount | 0,2908707185815040000,3401111987815645184,6746145930460459008,7190988915944083456,7386785427940065280,8018779550845526016 |
| PARAM_VALUE | 2 | dentry->d_parent->d_sb->__s_d_op->d_init | 0,2385819921126617088,7057831443282669568,7824184004865302528 |
| PARAM_VALUE | 2 | dentry->d_parent->d_sb->__s_d_op->d_iput | 0,170374395438985216,837750826476904448,5086081384299388928,8216155483032948736 |
| PARAM_VALUE | 2 | dentry->d_parent->d_sb->__s_d_op->d_manage | 0,1859587847549206528 |
| PARAM_VALUE | 2 | dentry->d_parent->d_sb->__s_d_op->d_prune | 0,2225594340392566784,7225953709177749504 |
| PARAM_VALUE | 2 | dentry->d_parent->d_sb->__s_d_op->d_real | 0,4509355519306412032 |
| PARAM_VALUE | 2 | dentry->d_parent->d_sb->__s_d_op->d_unalias_trylock | 0,6635409759016140800 |
| PARAM_VALUE | 2 | dentry->d_parent->d_sb->__s_d_op->d_unalias_unlock | 0,6336447517789900800 |
| PARAM_VALUE | 2 | dentry->d_parent->d_sb->__s_d_op->d_weak_revalidate | 0,1549882712720502784,5632434648052031488,5669063523602272256,7231033168839651328 |
| PARAM_VALUE | 2 | dentry->d_sb->__s_d_op->d_automount | 0,2908707185815040000,3401111987815645184,6746145930460459008,7190988915944083456,7386785427940065280,8018779550845526016 |
| PARAM_VALUE | 2 | dentry->d_sb->__s_d_op->d_init | 0,2385819921126617088,7057831443282669568,7824184004865302528 |
| PARAM_VALUE | 2 | dentry->d_sb->__s_d_op->d_iput | 0,170374395438985216,837750826476904448,5086081384299388928,8216155483032948736 |
| PARAM_VALUE | 2 | dentry->d_sb->__s_d_op->d_manage | 0,1859587847549206528 |
| PARAM_VALUE | 2 | dentry->d_sb->__s_d_op->d_prune | 0,2225594340392566784,7225953709177749504 |
| PARAM_VALUE | 2 | dentry->d_sb->__s_d_op->d_real | 0,4509355519306412032 |
| PARAM_VALUE | 2 | dentry->d_sb->__s_d_op->d_unalias_trylock | 0,6635409759016140800 |
| PARAM_VALUE | 2 | dentry->d_sb->__s_d_op->d_unalias_unlock | 0,6336447517789900800 |
| PARAM_VALUE | 2 | dentry->d_sb->__s_d_op->d_weak_revalidate | 0,1549882712720502784,5632434648052031488,5669063523602272256,7231033168839651328 |
| PARAM_VALUE | 3 | mode | 16384-17407 |
| PARAM_VALUE | 4 | rdev | 0 |
| PARAM_VALUE | 5 | tmpfile | 0 |
| BUF_SIZE | 1 | dir | (-1),1160 |
| BUF_SIZE | 1 | dir | (-1),1160 |
| BUF_SIZE | 2 | dentry | (-1)-s32max |
| BUF_SIZE | 2 | dentry | (-1)-s32max |
| CAPPED_DATA | 1 | dir->i_sb->s_user_ns->gid_map.nr_extents | 1 |
| CAPPED_DATA | 1 | dir->i_sb->s_user_ns->uid_map.nr_extents | 1 |
| DATA_SOURCE | 0 | idmap | $0 |
| DATA_SOURCE | 1 | dir | $1 |
| DATA_SOURCE | 2 | dentry | $2 |
| DATA_SOURCE | 3 | mode | $3 |
| BIT_INFO | 3 | mode | 0x4000,0x7fff |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 1 | dir->i_mode | 0-u16max |
| USER_DATA | 1 | dir->i_size | (-9223372036854775807)-(-4),0-s64max |
| USER_DATA | 2 | dentry->d_inode->i_size | (-9223372036854775807)-(-4),0-s64max |
| USER_DATA | 3 | mode | 16384-17407[c] |
| HALF_LOCKED2 | 2 | &dentry->d_lockref.lock |
fs/xfs/xfs_iops.c xfs_vn_mknod() -> xfs_generic_create()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | dir | 4096-ptr_max |
| PARAM_VALUE | 1 | dir->i_flctx->flc_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | dir->i_op | 4096-ptr_max |
| PARAM_VALUE | 1 | dir->i_op->mknod | 4096-ptr_max |
| PARAM_VALUE | 1 | dir->i_rwsem.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 1 | dir->i_rwsem.first_waiter->type | 0-1 |
| PARAM_VALUE | 1 | dir->i_sb | 4096-ptr_max |
| PARAM_VALUE | 1 | dir->i_sb->s_cop->inode_info_offs | 1632,1720,1808,2632,2648 |
| PARAM_VALUE | 2 | dentry | 4096-ptr_max |
| PARAM_VALUE | 2 | dentry->d_inode | 0 |
| PARAM_VALUE | 2 | dentry->d_parent->d_inode->i_rwsem.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 2 | dentry->d_parent->d_inode->i_rwsem.first_waiter->type | 0-1 |
| PARAM_VALUE | 2 | dentry->d_parent->d_inode->i_sb->s_cop->inode_info_offs | 1632,1720,1808,2632,2648 |
| PARAM_VALUE | 5 | tmpfile | 0 |
| BUF_SIZE | 2 | dentry | (-1)-s32max |
| BUF_SIZE | 2 | dentry | (-1)-s32max |
| CAPPED_DATA | 1 | dir->i_sb->s_user_ns->gid_map.nr_extents | 1 |
| CAPPED_DATA | 1 | dir->i_sb->s_user_ns->uid_map.nr_extents | 1 |
| DATA_SOURCE | 0 | idmap | $0 |
| DATA_SOURCE | 1 | dir | $1 |
| DATA_SOURCE | 2 | dentry | $2 |
| DATA_SOURCE | 3 | mode | $3 |
| DATA_SOURCE | 4 | rdev | $4 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 1 | dir->i_mode | 0-u16max |
| USER_DATA | 1 | dir->i_size | (-9223372036854775807)-(-4),0-s64max |
| USER_DATA | 3 | mode | 0-u16max[c] |
| USER_DATA | 4 | rdev | 0-u32max[c] |
| HALF_LOCKED2 | _T->lock |
fs/xfs/xfs_iops.c xfs_vn_tmpfile() -> xfs_generic_create()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | dir | 4096-ptr_max |
| PARAM_VALUE | 1 | dir->i_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | dir->i_op | 4096-ptr_max |
| PARAM_VALUE | 1 | dir->i_op->tmpfile | 4096-ptr_max |
| PARAM_VALUE | 1 | dir->i_sb | 4096-ptr_max |
| PARAM_VALUE | 4 | rdev | 0 |
| PARAM_VALUE | 5 | tmpfile | 4096-ptr_max |
| PARAM_VALUE | 5 | tmpfile->__f_path.dentry | 4096-ptr_max |
| PARAM_VALUE | 5 | tmpfile->__f_path.dentry->__d_name.name | 4096-ptr_max |
| PARAM_VALUE | 5 | tmpfile->__f_path.dentry->d_fsdata | 0,4096-ptr_max |
| PARAM_VALUE | 5 | tmpfile->__f_path.dentry->d_hash.next | 0 |
| PARAM_VALUE | 5 | tmpfile->__f_path.dentry->d_hash.pprev | 0 |
| PARAM_VALUE | 5 | tmpfile->__f_path.dentry->d_inode | 0 |
| PARAM_VALUE | 5 | tmpfile->__f_path.dentry->d_lockref.count | 1 |
| PARAM_VALUE | 5 | tmpfile->__f_path.dentry->d_lru.next | 4096-ptr_max |
| PARAM_VALUE | 5 | tmpfile->__f_path.dentry->d_lru.prev | 4096-ptr_max |
| PARAM_VALUE | 5 | tmpfile->__f_path.dentry->d_op | 0,4096-ptr_max |
| PARAM_VALUE | 5 | tmpfile->__f_path.dentry->d_parent | 4096-ptr_max |
| PARAM_VALUE | 5 | tmpfile->__f_path.dentry->d_sb | 4096-ptr_max |
| PARAM_VALUE | 5 | tmpfile->__f_path.dentry->d_sib.pprev | 4096-ptr_max |
| PARAM_VALUE | 5 | tmpfile->__f_path.dentry->waiters | 0 |
| PARAM_VALUE | 5 | tmpfile->f_cred | 0,4096-ptr_max |
| PARAM_VALUE | 5 | tmpfile->f_ep | 0 |
| PARAM_VALUE | 5 | tmpfile->f_inode | 0 |
| PARAM_VALUE | 5 | tmpfile->f_iocb_flags | 0 |
| PARAM_VALUE | 5 | tmpfile->f_mapping | 0 |
| PARAM_VALUE | 5 | tmpfile->f_mode | 67108864-67108867,603979776-603979779,620756992-620756995 |
| PARAM_VALUE | 5 | tmpfile->f_op | 0 |
| PARAM_VALUE | 5 | tmpfile->f_owner | 0 |
| PARAM_VALUE | 5 | tmpfile->f_pos | 0 |
| PARAM_VALUE | 5 | tmpfile->f_pos_lock.first_waiter | 0 |
| PARAM_VALUE | 5 | tmpfile->f_pos_lock.magic | 4096-ptr_max |
| PARAM_VALUE | 5 | tmpfile->f_pos_lock.osq.tail.counter | 0 |
| PARAM_VALUE | 5 | tmpfile->f_pos_lock.owner.counter | 0 |
| PARAM_VALUE | 5 | tmpfile->f_ra.async_size | 0 |
| PARAM_VALUE | 5 | tmpfile->f_ra.mmap_miss | 0 |
| PARAM_VALUE | 5 | tmpfile->f_ra.order | 0 |
| PARAM_VALUE | 5 | tmpfile->f_ra.prev_pos | 0 |
| PARAM_VALUE | 5 | tmpfile->f_ra.ra_pages | 0 |
| PARAM_VALUE | 5 | tmpfile->f_ra.size | 0 |
| PARAM_VALUE | 5 | tmpfile->f_ra.start | 0 |
| PARAM_VALUE | 5 | tmpfile->f_ref.refcnt.counter | 0 |
| PARAM_VALUE | 5 | tmpfile->f_sb_err | 0 |
| PARAM_VALUE | 5 | tmpfile->f_wb_err | 0 |
| PARAM_VALUE | 5 | tmpfile->private_data | 0 |
| BUF_SIZE | 5 | tmpfile | (-1),376 |
| BUF_SIZE | 5 | tmpfile | (-1),376 |
| CAPPED_DATA | 1 | dir->i_sb->s_user_ns->gid_map.nr_extents | 1 |
| CAPPED_DATA | 1 | dir->i_sb->s_user_ns->uid_map.nr_extents | 1 |
| CAPPED_DATA | 5 | tmpfile->f_cred | 1 |
| DATA_SOURCE | 0 | idmap | $0 |
| DATA_SOURCE | 1 | dir | $1 |
| DATA_SOURCE | 3 | mode | $3 |
| DATA_SOURCE | 5 | tmpfile | $2 |
| TERMINATED | 5 | tmpfile->__f_path.dentry->__d_name.name | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 3 | mode | 0-u16max[c] |
| USER_DATA | 5 | tmpfile->f_flags | 0-u32max |
| USER_DATA | 5 | tmpfile->f_mode | 67108864-67108867,620756992-620756995[c] |