Documented in 1 files:

Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 7 files:

Smatch caller information:

fs/namei.c lookup_one_qstr_excl() -> d_alloc()

Type Parameter Key Value
PARAM_VALUE 0 parent 4096-ptr_max
PARAM_VALUE 0 parent->d_inode 4096-ptr_max
PARAM_VALUE 0 parent->d_inode->i_mapping->i_mmap_rwsem.first_waiter->handoff_set 0-1
PARAM_VALUE 0 parent->d_inode->i_mapping->i_mmap_rwsem.first_waiter->type 0-1
PARAM_VALUE 0 parent->d_inode->i_rwsem.first_waiter->handoff_set 0-1
PARAM_VALUE 0 parent->d_inode->i_rwsem.first_waiter->type 0-1
PARAM_VALUE 0 parent->d_inode->i_sb->s_cop->empty_dir 0,86,661756434209751040,4392966320616476672,5234023279986843648,8614756098313990144
PARAM_VALUE 0 parent->d_inode->i_sb->s_cop->get_context 0,706,17350455714160640,4513809449498124288,5149251875611672576,7067778626864828416
PARAM_VALUE 0 parent->d_inode->i_sb->s_cop->inode_info_offs 1632,1720,1808,2632,2648,2704,2712
PARAM_VALUE 0 parent->d_inode->i_sb->s_cop->set_context 0,67,317457138841939968,3250154607523569664,5979066299606671360,6756104566897242112
PARAM_VALUE 0 parent->d_op->d_automount 0,2908707185815040000,3401111987815645184,6746145930460459008,7190988915944083456,7386785427940065280,8018779550845526016
PARAM_VALUE 0 parent->d_op->d_compare 0,4096-ptr_max
PARAM_VALUE 0 parent->d_op->d_delete 0,4096-ptr_max
PARAM_VALUE 0 parent->d_op->d_dname 0,4096-ptr_max
PARAM_VALUE 0 parent->d_op->d_hash 0,4096-ptr_max
PARAM_VALUE 0 parent->d_op->d_init 0,2385819921126617088,7057831443282669568,7824184004865302528
PARAM_VALUE 0 parent->d_op->d_iput 0,4096-ptr_max
PARAM_VALUE 0 parent->d_op->d_manage 0,1859587847549206528
PARAM_VALUE 0 parent->d_op->d_prune 0,4096-ptr_max
PARAM_VALUE 0 parent->d_op->d_real 0,4096-ptr_max
PARAM_VALUE 0 parent->d_op->d_release 0,4096-ptr_max
PARAM_VALUE 0 parent->d_op->d_revalidate 0,4096-ptr_max
PARAM_VALUE 0 parent->d_op->d_unalias_trylock 0,6635409759016140800
PARAM_VALUE 0 parent->d_op->d_unalias_unlock 0,6336447517789900800
PARAM_VALUE 0 parent->d_op->d_weak_revalidate 0,1549882712720502784,5632434648052031488,5669063523602272256,7231033168839651328
PARAM_VALUE 0 parent->d_parent->d_inode->i_rwsem.first_waiter->handoff_set 0-1
PARAM_VALUE 0 parent->d_parent->d_inode->i_rwsem.first_waiter->type 0-1
PARAM_VALUE 0 parent->d_parent->d_sb->__s_d_op->d_automount 0,2908707185815040000,3401111987815645184,6746145930460459008,7190988915944083456,7386785427940065280,8018779550845526016
PARAM_VALUE 0 parent->d_parent->d_sb->__s_d_op->d_init 0,2385819921126617088,7057831443282669568,7824184004865302528
PARAM_VALUE 0 parent->d_parent->d_sb->__s_d_op->d_iput 0,170374395438985216,837750826476904448,5086081384299388928,8216155483032948736
PARAM_VALUE 0 parent->d_parent->d_sb->__s_d_op->d_manage 0,1859587847549206528
PARAM_VALUE 0 parent->d_parent->d_sb->__s_d_op->d_prune 0,2225594340392566784,7225953709177749504
PARAM_VALUE 0 parent->d_parent->d_sb->__s_d_op->d_real 0,4509355519306412032
PARAM_VALUE 0 parent->d_parent->d_sb->__s_d_op->d_unalias_trylock 0,6635409759016140800
PARAM_VALUE 0 parent->d_parent->d_sb->__s_d_op->d_unalias_unlock 0,6336447517789900800
PARAM_VALUE 0 parent->d_parent->d_sb->__s_d_op->d_weak_revalidate 0,1549882712720502784,5632434648052031488,5669063523602272256,7231033168839651328
PARAM_VALUE 0 parent->d_sb->__s_d_op->d_automount 0,2908707185815040000,3401111987815645184,6746145930460459008,7190988915944083456,7386785427940065280,8018779550845526016
PARAM_VALUE 0 parent->d_sb->__s_d_op->d_init 0,2385819921126617088,7057831443282669568,7824184004865302528
PARAM_VALUE 0 parent->d_sb->__s_d_op->d_iput 0,170374395438985216,837750826476904448,5086081384299388928,8216155483032948736
PARAM_VALUE 0 parent->d_sb->__s_d_op->d_manage 0,1859587847549206528
PARAM_VALUE 0 parent->d_sb->__s_d_op->d_prune 0,2225594340392566784,7225953709177749504
PARAM_VALUE 0 parent->d_sb->__s_d_op->d_real 0,4509355519306412032
PARAM_VALUE 0 parent->d_sb->__s_d_op->d_unalias_trylock 0,6635409759016140800
PARAM_VALUE 0 parent->d_sb->__s_d_op->d_unalias_unlock 0,6336447517789900800
PARAM_VALUE 0 parent->d_sb->__s_d_op->d_weak_revalidate 0,1549882712720502784,5632434648052031488,5669063523602272256,7231033168839651328
PARAM_VALUE 1 name 4096-ptr_max
BUF_SIZE 0 parent (-1),1-s32max
BUF_SIZE 0 parent (-1),1-s32max
DATA_SOURCE 0 parent $1
DATA_SOURCE 1 name $0
STR_LEN 0 parent (-1),1-24,26-27,29,31-34,63,99,115,254-255
STR_LEN 0 parent (-1),1-24,26-27,29,31-34,63,99,115,254-255
STR_LEN 1 name (-1),1-24,26-27,29,31-34,63,99,115,254-255
STR_LEN 1 name (-1),1-24,26-27,29,31-34,63,99,115,254-255
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
USER_DATA 0 parent->d_inode->i_mode 0-u16max
USER_DATA 0 parent->d_inode->i_size (-9223372036854775807)-(-4),0-s64max
USER_DATA 1 name->hash 0-u32max[c]
NO_OVERFLOW_SIMPLE 0 parent->d_fsdata->d_fsdata
NO_OVERFLOW_SIMPLE 0 parent->d_inode->i_blkbits
NO_OVERFLOW_SIMPLE 0 parent->d_sb->s_blocksize
NO_OVERFLOW_SIMPLE 0 parent->d_sb->s_blocksize_bits
NO_OVERFLOW_SIMPLE 0 parent->moved->d_inode->i_size
UNITS 0 parent unit_jiffy
HALF_LOCKED2 0 &parent->d_inode->i_rwsem

fs/namei.c vfs_tmpfile() -> d_alloc()

Type Parameter Key Value
PARAM_VALUE 0 parent 4096-ptr_max
PARAM_VALUE 0 parent->d_inode->i_op 4096-ptr_max
PARAM_VALUE 0 parent->d_inode->i_op->tmpfile 4096-ptr_max
PARAM_VALUE 0 parent->d_inode->i_sb 4096-ptr_max
PARAM_VALUE 1 name 1755683301250301952
RX_PATH
TASK_NOT_RUNNING

mm/shmem.c shmem_whiteout() -> d_alloc()

Type Parameter Key Value
PARAM_VALUE 1 name 4096-ptr_max
CAPPED_DATA 0 parent->d_inode 1
RX_PATH
TASK_NOT_RUNNING
UNITS 0 parent unit_jiffy
HALF_LOCKED2 &source->i_rwsem
HALF_LOCKED2 &target->i_rwsem

fs/ceph/inode.c ceph_fill_trace() -> d_alloc()

Type Parameter Key Value
PARAM_VALUE 0 parent 4096-ptr_max
PARAM_VALUE 1 name 3800388646683185152
CAPPED_DATA 0 parent 1
DATA_SOURCE 0 parent r d_find_any_alias
LOCK2 &mdsc->snap_rwsem
LOCK2 &req->r_fill_mutex
LOCK2 &session->s_mutex
HALF_LOCKED2 &dn->d_lockref.lock
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct ceph_mds_client)->snap_rwsem
TYPE_LOCK (struct ceph_mds_request)->r_fill_mutex
TYPE_LOCK (struct ceph_mds_session)->s_mutex

fs/ceph/inode.c ceph_readdir_prepopulate() -> d_alloc()

Type Parameter Key Value
PARAM_VALUE 0 parent 4096-ptr_max
PARAM_VALUE 0 parent->d_sb->__s_d_op->d_weak_revalidate 0,1549882712720502784,5632434648052031488,5669063523602272256,7231033168839651328
PARAM_VALUE 1 name 577335521347411968
CAPPED_DATA 0 parent 1
UNITS 0 parent unit_jiffy
LOCK2 &mdsc->snap_rwsem
LOCK2 &req->r_fill_mutex
LOCK2 &session->s_mutex
HALF_LOCKED2 &dn->d_lockref.lock
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct ceph_mds_client)->snap_rwsem
TYPE_LOCK (struct ceph_mds_request)->r_fill_mutex
TYPE_LOCK (struct ceph_mds_session)->s_mutex

fs/nfs/dir.c nfs_rename() -> d_alloc()

Type Parameter Key Value
PARAM_VALUE 1 name 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
UNITS 0 parent unit_jiffy
HALF_LOCKED2 &source->i_rwsem
HALF_LOCKED2 &target->i_rwsem

fs/efivarfs/super.c efivarfs_alloc_dentry() -> d_alloc()

Type Parameter Key Value
PARAM_VALUE 0 parent 4096-ptr_max
PARAM_VALUE 1 name 3463787302142726144
PARAM_VALUE 1 name->len 0-35
DATA_SOURCE 0 parent $0
STR_LEN 0 parent 0-1010101
STR_LEN 0 parent 0-1010101
RX_PATH
TASK_NOT_RUNNING
UNITS 0 parent unit_jiffy
LOCK2 global &efivars_lock
HALF_LOCKED2 &sb->s_umount

fs/afs/dir.c afs_rename() -> d_alloc()

Type Parameter Key Value
PARAM_VALUE 1 name 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
UNITS 0 parent unit_jiffy
HALF_LOCKED2 &source->i_rwsem
HALF_LOCKED2 &target->i_rwsem

fs/dcache.c d_add_ci() -> d_alloc()

Type Parameter Key Value
PARAM_VALUE 0 parent 4096-ptr_max
PARAM_VALUE 0 parent->d_sb->s_fs_info->s_bmap_bits 0-4294967295
PARAM_VALUE 0 parent->d_sb->s_fs_info->s_bmap_count 0-4294967295
PARAM_VALUE 0 parent->d_sb->s_fs_info->s_data_blksize 0-4294967295
PARAM_VALUE 0 parent->d_sb->s_fs_info->s_hashsize s32min-s32max
PARAM_VALUE 0 parent->d_sb->s_fs_info->s_last_bmap 0-4294967295
PARAM_VALUE 0 parent->d_sb->s_fs_info->s_mode 0-u16max
PARAM_VALUE 0 parent->d_sb->s_fs_info->s_partition_size s32min-s32max
PARAM_VALUE 0 parent->d_sb->s_fs_info->s_reserved s32min-s32max
PARAM_VALUE 0 parent->d_sb->s_fs_info->s_root_block 0-4294967295
PARAM_VALUE 0 parent->d_sb->s_fs_info->work_queued s32min-s32max
PARAM_VALUE 1 name 1839398544389910528,4547615360768598016
BUF_SIZE 0 parent s32min,(-1)-s32max
BUF_SIZE 0 parent s32min,(-1)-s32max
CAPPED_DATA 0 parent 1
DATA_SOURCE 1 name $2
RX_PATH
TASK_NOT_RUNNING
USER_DATA 0 parent->__d_name.hash 0-u32max[c]
USER_DATA 0 *parent->__d_name.name 0-255
USER_DATA 1 name->hash 0-u32max[c]
UNITS 0 parent unit_jiffy
HALF_LOCKED2 &dentry->d_lockref.lock

fs/dcache.c d_alloc_name() -> d_alloc()

Type Parameter Key Value
PARAM_VALUE 0 parent->d_op->d_dname 0,4096-ptr_max
PARAM_VALUE 0 parent->d_op->d_iput 0,4096-ptr_max
PARAM_VALUE 0 parent->d_op->d_prune 0,4096-ptr_max
PARAM_VALUE 0 parent->d_op->d_real 0,4096-ptr_max
PARAM_VALUE 0 parent->d_parent->d_inode->i_rwsem.first_waiter->handoff_set 0-1
PARAM_VALUE 0 parent->d_parent->d_inode->i_rwsem.first_waiter->type 0-1
PARAM_VALUE 0 parent->d_sb->s_cop->empty_dir 0,86,661756434209751040,4392966320616476672,5234023279986843648,8614756098313990144
PARAM_VALUE 0 parent->d_sb->s_cop->get_context 0,706,17350455714160640,4513809449498124288,5149251875611672576,7067778626864828416
PARAM_VALUE 0 parent->d_sb->s_cop->inode_info_offs 1632,1720,1808,2632,2648,2712
PARAM_VALUE 0 parent->d_sb->s_cop->set_context 0,67,317457138841939968,3250154607523569664,5979066299606671360,6756104566897242112
PARAM_VALUE 0 parent->d_sb->s_export_op->encode_fh 0,2,1398972869330624512,1616549510479982592,2037984473558433792,2776440803454029824,3228746867770966016,3502492669594062848,3526768263295340544,3559173554394271744,5000850239487131648,5583386343686406144,5817357685191483392-s64max
PARAM_VALUE 1 name 8221847676785422336
BUF_SIZE 0 parent (-1)-s32max
BUF_SIZE 0 parent (-1)-s32max
DATA_SOURCE 0 parent $0
STR_LEN 0 parent (-1),2-5,7-8,11,14,16,19-20
STR_LEN 0 parent (-1),2-5,7-8,11,14,16,19-20
RX_PATH
TASK_NOT_RUNNING
USER_DATA 0 parent->__d_name.hash 0-u32max[c]
USER_DATA 0 parent->d_parent->__d_name.hash 0-u32max[c]
USER_DATA 0 parent->d_sb->s_flags 0-u64max[c]
NO_OVERFLOW_SIMPLE 0 parent->d_inode->i_blkbits
NO_OVERFLOW_SIMPLE 0 parent->d_inode->i_size
UNITS 0 parent unit_jiffy
HALF_LOCKED2 &psi->read_mutex
HALF_LOCKED2 &tty->legacy_mutex
HALF_LOCKED2 _T->lock
HALF_LOCKED2 global &fuse_mutex