Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 9 files:
- fs/afs/dir_silly.c, line 255
- fs/dcache.c
- fs/fuse/readdir.c, line 202
- fs/namei.c
- fs/nfs/dir.c
- fs/nfs/unlink.c, line 127
- fs/proc/base.c, line 2114
- fs/proc/proc_sysctl.c, line 695
- fs/smb/client/readdir.c, line 107
Smatch caller information:
fs/proc/base.c proc_fill_cache() -> d_alloc_parallel()
| Type | Parameter | Key | Value |
|---|---|---|---|
| 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 | 8451302757431046144 |
| PARAM_VALUE | 1 | name->hash_len | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &dir_fp->readdir_lock | ||
| HALF_LOCKED2 | &inode->i_rwsem | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct inode)->i_rwsem |
fs/namei.c __lookup_slow() -> d_alloc_parallel()
| 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_export_op->encode_fh | 0,2,1398972869330624512,1616549510479982592,2037984473558433792,2776440803454029824,3228746867770966016,3502492669594062848,3526768263295340544,3559173554394271744,5000850239487131648,5583386343686406144,5817357685191483392-s64max |
| PARAM_VALUE | 0 | parent->d_inode->i_sb->s_export_op->fh_to_dentry | 0,8684,447817974243774464,687732489194512384,742201802719268864,868497899885588480,1471448175530500096,2021658383390310400,2445877819203563520,2512819722689847296,2649270699546726400,2761259683714371584,2893332316235677696-s64max |
| PARAM_VALUE | 0 | parent->d_inode->i_sb->s_export_op->fh_to_parent | 0,4672,148606482432692224,436469935444291584,457356038048772096,467281172929331200,529780027764285440,1092893949038768128,1556959531105513472,1608953577475584000,1649536479961075712,2404761408063094784,2970908329832960000-s64max |
| PARAM_VALUE | 0 | parent->d_inode->i_sb->s_export_op->get_parent | 0,8931,264940071972966400,291591359766798336,565128213429456896,893189740598853632,1241177127089143808,1293513186369728512,1474696885321834496,1812477326828269568,1893665921928286208,2210088671756947456,2437012291923775488-s64max |
| 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_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 | 0 | parent->d_sb->s_export_op->get_name | 0,3053585434600701952,4446407003036676096,4451526262822047744,5730886654511411200 |
| PARAM_VALUE | 1 | name | 4096-ptr_max |
| BUF_SIZE | 0 | parent | (-1)-s32max |
| BUF_SIZE | 0 | parent | (-1)-s32max |
| CAPPED_DATA | 0 | parent | 1 |
| DATA_SOURCE | 0 | parent | $1 |
| DATA_SOURCE | 1 | name | $0 |
| 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] |
| USER_DATA | 1 | *name->name | 0-255 |
| NO_OVERFLOW_SIMPLE | 0 | parent->d_fsdata | |
| NO_OVERFLOW_SIMPLE | 0 | parent->d_fsdata->d_fsdata | |
| NO_OVERFLOW_SIMPLE | 0 | parent->d_inode->i_size | |
| NO_OVERFLOW_SIMPLE | 0 | parent->d_sb->s_blocksize | |
| NO_OVERFLOW_SIMPLE | 0 | parent->d_sb->s_blocksize_bits | |
| UNITS | 0 | parent | unit_jiffy |
| HALF_LOCKED2 | &dentry->d_lockref.lock | ||
| HALF_LOCKED2 | &inode->i_rwsem | ||
| HALF_LOCKED2 | 0 | &parent->d_inode->i_rwsem | |
| HALF_LOCKED2 | 0 | &parent->d_lockref.lock |
fs/namei.c lookup_open() -> d_alloc_parallel()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | parent | 4096-ptr_max |
| PARAM_VALUE | 0 | parent->d_inode->i_rwsem.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | parent->d_sb->__s_d_op->d_weak_revalidate | 0,1549882712720502784,5632434648052031488,5669063523602272256,7231033168839651328 |
| PARAM_VALUE | 1 | name | 377061047259504656,4342420360533635088,6489631671941296144 |
| CAPPED_DATA | 0 | parent | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | parent->__d_name.hash | 0-u32max[c] |
| USER_DATA | 1 | name->hash | 0-u32max[c] |
| LOCK2 | &dir_inode->i_rwsem | ||
| HALF_LOCKED2 | &dentry->d_lockref.lock | ||
| TYPE_LOCK | (struct inode)->i_rwsem |
fs/fuse/readdir.c fuse_direntplus_link() -> d_alloc_parallel()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | parent | 4096-ptr_max |
| PARAM_VALUE | 0 | parent->d_inode->i_sb | 4096-ptr_max |
| PARAM_VALUE | 0 | parent->d_sb->__s_d_op->d_weak_revalidate | 0,1549882712720502784,5632434648052031488,5669063523602272256,7231033168839651328 |
| PARAM_VALUE | 1 | name | 2635364353052680192 |
| CAPPED_DATA | 0 | parent | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &inode->i_rwsem | ||
| HALF_LOCKED2 | &dentry->d_lockref.lock | ||
| HALF_LOCKED2 | &dir_fp->readdir_lock | ||
| TYPE_LOCK | (struct inode)->i_rwsem |
fs/smb/client/readdir.c cifs_prime_dcache() -> d_alloc_parallel()
| 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 | 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 | 5641018758016049152 |
| CAPPED_DATA | 0 | parent | 1 |
| DATA_SOURCE | 0 | parent | $0 |
| DATA_SOURCE | 1 | name | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &dentry->d_lockref.lock | ||
| HALF_LOCKED2 | &dir_fp->readdir_lock | ||
| HALF_LOCKED2 | &inode->i_rwsem | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct inode)->i_rwsem |
fs/afs/dir_silly.c afs_silly_iput() -> d_alloc_parallel()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | parent | 4096-ptr_max |
| 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_sb->__s_d_op->d_automount | 0,2908707185815040000,3401111987815645184,6746145930460459008,7190988915944083456,7386785427940065280,8018779550845526016 |
| PARAM_VALUE | 0 | parent->d_sb->__s_d_op->d_dname | 0,716233247738060800,2056107418359259136,2102941272419614720,3721061892745007104,5585410052597575680,6720345164634435584,7931586599356526592 |
| 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,5632434648052031488,5669063523602272256,7231033168839651328 |
| PARAM_VALUE | 1 | name | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | parent | unit_jiffy |
| LOCK2 | &dvnode->rmdir_lock | ||
| HALF_LOCKED2 | &dentry->d_inode->i_rwsem | ||
| HALF_LOCKED2 | &dentry->d_sb->s_vfs_rename_mutex | ||
| HALF_LOCKED2 | &inode->i_lock | ||
| HALF_LOCKED2 | 0 | &parent->d_lockref.lock | |
| TYPE_LOCK | (struct afs_vnode)->rmdir_lock |
fs/nfs/dir.c nfs_atomic_open() -> d_alloc_parallel()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | name | 4096-ptr_max |
| UNITS | 0 | parent | unit_jiffy |
| HALF_LOCKED2 | &dentry->d_lockref.lock | ||
| HALF_LOCKED2 | &dir_inode->i_rwsem |
fs/nfs/dir.c nfs_prime_dcache() -> d_alloc_parallel()
| 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 | 1264943947363450880 |
| CAPPED_DATA | 0 | parent | 1 |
| DATA_SOURCE | 0 | parent | $0 |
| PARAM_COMPARE | 0 | parent | == $0->d_inode->i_dir_seq |
| PARAM_COMPARE | 0 | parent | == $0->d_inode->i_dir_seq |
| TERMINATED | 1 | name->name | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 1 | name->hash | 0-u32max[c] |
| USER_PTR | 1 | name->name | |
| HALF_LOCKED2 | &dentry->d_lockref.lock | ||
| HALF_LOCKED2 | &dir_fp->readdir_lock | ||
| HALF_LOCKED2 | &inode->i_rwsem | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct inode)->i_rwsem |
fs/nfs/unlink.c nfs_call_unlink() -> d_alloc_parallel()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | parent | 4096-ptr_max |
| 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_sb->__s_d_op->d_automount | 0,2908707185815040000,3401111987815645184,6746145930460459008,7190988915944083456,7386785427940065280,8018779550845526016 |
| PARAM_VALUE | 0 | parent->d_sb->__s_d_op->d_dname | 0,716233247738060800,2056107418359259136,2102941272419614720,3721061892745007104,5585410052597575680,6720345164634435584,7931586599356526592 |
| 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,5632434648052031488,5669063523602272256,7231033168839651328 |
| PARAM_VALUE | 1 | name | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | parent | unit_jiffy |
| HALF_LOCKED2 | &dentry->d_inode->i_rwsem | ||
| HALF_LOCKED2 | &dentry->d_sb->s_vfs_rename_mutex | ||
| HALF_LOCKED2 | &inode->i_lock |
fs/proc/proc_sysctl.c proc_sys_fill_cache() -> d_alloc_parallel()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | name | 897352598274158592 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &dir_fp->readdir_lock | ||
| HALF_LOCKED2 | &inode->i_rwsem | ||
| TYPE_LOCK | (struct inode)->i_rwsem |
fs/dcache.c d_add_ci() -> d_alloc_parallel()
| 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 |