Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 12 files:
- fs/autofs/root.c, line 321
- fs/autofs/waitq.c
- fs/ceph/inode.c
- fs/ceph/mds_client.c, line 6016
- fs/dcache.c
- fs/fuse/dir.c, line 1622
- fs/fuse/readdir.c, line 199
- fs/namei.c
- fs/nfs/dir.c, line 754
- fs/proc/proc_sysctl.c, line 693
- fs/xfs/scrub/dirtree_repair.c, line 313
- fs/xfs/scrub/orphanage.c, line 493
Smatch caller information:
fs/namei.c lookup_dcache() -> d_lookup()
| Type | Parameter | Key | Value |
|---|---|---|---|
| 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->inode_info_offs | 1632,1720,1808,2632,2648,2704,2712 |
| 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 | 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 |
| DATA_SOURCE | 0 | parent | $1 |
| DATA_SOURCE | 1 | name | $0 |
| STR_LEN | 0 | parent | (-1),1-24,26-27,31-34,63,99,115,254-255 |
| STR_LEN | 0 | parent | (-1),1-24,26-27,31-34,63,99,115,254-255 |
| STR_LEN | 1 | name | (-1),1-24,26-27,31-34,63,99,115,254-255 |
| STR_LEN | 1 | name | (-1),1-24,26-27,31-34,63,99,115,254-255 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | parent->__d_name.hash | 0-u32max[c] |
| USER_DATA | 0 | parent->d_inode->i_mode | 0-u16max |
| USER_DATA | 0 | parent->d_inode->i_size | (-9223372036854775807)-(-4),0-s64max |
| USER_DATA | 0 | *parent->__d_name.name | 0-255 |
| 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 | |
| HALF_LOCKED2 | 0 | &parent->d_lockref.lock |
fs/namei.c lookup_open() -> d_lookup()
| 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/namei.c try_lookup_noperm() -> d_lookup()
| 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 | 4096-ptr_max |
| DATA_SOURCE | 0 | parent | $1 |
| DATA_SOURCE | 1 | name | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | parent | unit_jiffy |
| HALF_LOCKED2 | global &efivars_lock |
fs/fuse/dir.c fuse_reverse_inval_entry() -> d_lookup()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | parent | 4096-ptr_max |
| PARAM_VALUE | 1 | name | 46865423752761344,2243416795069075456 |
| PARAM_VALUE | 1 | name->len | 0-3999999 |
| PARAM_VALUE | 1 | name->name | 4096-ptr_max |
| DATA_SOURCE | 0 | parent | r d_find_alias |
| DATA_SOURCE | 1 | name | $3 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &fc->killsb | ||
| LOCK2 | &parent->i_rwsem | ||
| TYPE_LOCK | (struct fuse_conn)->killsb | ||
| TYPE_LOCK | (struct inode)->i_rwsem |
fs/fuse/readdir.c fuse_direntplus_link() -> d_lookup()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | parent | 4096-ptr_max |
| PARAM_VALUE | 0 | parent->d_inode->i_sb | 4096-ptr_max |
| PARAM_VALUE | 1 | name | 2635364353052680192 |
| PARAM_VALUE | 1 | name->hash_len | 0 |
| PARAM_VALUE | 1 | name->len | 0 |
| PARAM_VALUE | 1 | name->name | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &inode->i_rwsem | ||
| HALF_LOCKED2 | &dir_fp->readdir_lock | ||
| TYPE_LOCK | (struct inode)->i_rwsem |
fs/ceph/mds_client.c handle_lease() -> d_lookup()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | parent | 4096-ptr_max |
| PARAM_VALUE | 1 | name | 7332114091527847936 |
| PARAM_VALUE | 1 | name->name | 4096-ptr_max |
| DATA_SOURCE | 0 | parent | r d_find_alias |
| LOCK2 | &session->s_mutex | ||
| TYPE_LOCK | (struct ceph_mds_session)->s_mutex |
fs/xfs/scrub/orphanage.c xrep_adoption_zap_dcache() -> d_lookup()
| 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 | 5214100460092739584 |
| PARAM_VALUE | 1 | name->hash_len | 0 |
| CAPPED_DATA | 0 | parent | 1 |
| DATA_SOURCE | 0 | parent | r d_find_alias |
| HALF_LOCKED2 | &d_child->d_lockref.lock |
fs/xfs/scrub/dirtree_repair.c xrep_dirtree_purge_dentry() -> d_lookup()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | parent | 4096-ptr_max |
| PARAM_VALUE | 1 | name | 6400843810130100224 |
| PARAM_VALUE | 1 | name->hash_len | 0 |
| PARAM_VALUE | 1 | name->len | 0 |
| DATA_SOURCE | 0 | parent | r d_find_alias |
fs/ceph/inode.c ceph_fill_trace() -> d_lookup()
| 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_lookup()
| 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_prime_dcache() -> d_lookup()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | parent | 4096-ptr_max |
| PARAM_VALUE | 1 | name | 1264943947363450880 |
| PARAM_VALUE | 1 | name->hash_len | 0 |
| PARAM_VALUE | 1 | name->name | 4096-ptr_max |
| DATA_SOURCE | 0 | parent | $0 |
| 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 | &dir_fp->readdir_lock | ||
| HALF_LOCKED2 | &inode->i_rwsem | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct inode)->i_rwsem |
fs/autofs/root.c autofs_mountpoint_changed() -> d_lookup()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | name | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | parent | unit_jiffy |
| HALF_LOCKED2 | &path->dentry->d_lockref.lock |
fs/autofs/waitq.c autofs_wait() -> d_lookup()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | name | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | parent | unit_jiffy |
fs/autofs/waitq.c validate_request() -> d_lookup()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | name | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | parent | unit_jiffy |
| LOCK2 | &sbi->wq_mutex | ||
| HALF_LOCKED2 | &path->dentry->d_lockref.lock | ||
| TYPE_LOCK | (struct autofs_sb_info)->wq_mutex |
fs/proc/proc_sysctl.c proc_sys_fill_cache() -> d_lookup()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | name | 897352598274158592 |
| PARAM_VALUE | 1 | name->len | 0-3 |
| 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_hash_and_lookup() -> d_lookup()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | parent | 4096-ptr_max |
| 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 | 1 | name | 4096-ptr_max |
| BUF_SIZE | 0 | parent | (-1)-s32max |
| BUF_SIZE | 0 | parent | (-1)-s32max |
| DATA_SOURCE | 0 | parent | $0 |
| DATA_SOURCE | 1 | name | $1 |
| 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 |