Defined in 1 files as a function:
Referenced in 5 files:
- fs/namei.c
- fs/nfsd/export.c, line 1524
- fs/nfsd/nfs4state.c, line 2139
- fs/nfsd/nfs4xdr.c, line 2888
- kernel/fork.c, line 1303
Smatch caller information:
kernel/fork.c replace_mm_exe_file() -> path_equal()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | path1 | 4096-ptr_max |
| PARAM_VALUE | 1 | path2 | 4096-ptr_max |
| LOCK2 | &mm->mmap_lock | ||
| TYPE_LOCK | (struct mm_struct)->mmap_lock |
fs/namei.c follow_dotdot() -> path_equal()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | path1 | 522358671205986304,2024205125206544384,4342420360533635072,6489631671941296128 |
| PARAM_VALUE | 1 | path2 | 522358671205986336,2024205125206544416,4342420360533635104,6489631671941296160 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
fs/namei.c follow_dotdot_rcu() -> path_equal()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | path1 | 522358671205986304,2024205125206544384,4342420360533635072,6489631671941296128 |
| PARAM_VALUE | 1 | path2 | 522358671205986336,2024205125206544416,4342420360533635104,6489631671941296160 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
fs/nfsd/nfs4state.c find_one_export_stid() -> path_equal()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | path1 | 4096-ptr_max |
| PARAM_VALUE | 1 | path2 | 3533393454481002496 |
| DATA_SOURCE | 1 | path2 | $1 |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &clp->cl_lock | ||
| LOCK2 | &nn->client_lock | ||
| LOCK2 | global &nfsd_mutex | ||
| HALF_LOCKED2 | &dev->lock | ||
| HALF_LOCKED2 | &devlink->lock | ||
| HALF_LOCKED2 | &net->xfrm.xfrm_cfg_mutex | ||
| HALF_LOCKED2 | global &audit_cmd_mutex.lock | ||
| HALF_LOCKED2 | global &cb_lock | ||
| HALF_LOCKED2 | global &crypto_cfg_mutex | ||
| HALF_LOCKED2 | global &dpll_lock | ||
| HALF_LOCKED2 | global &hwsim_phys_lock | ||
| HALF_LOCKED2 | global &net_dm_mutex | ||
| HALF_LOCKED2 | global &rtnl_mutex | ||
| HALF_LOCKED2 | global &rx_queue_mutex | ||
| HALF_LOCKED2 | rcu_read | ||
| TYPE_LOCK | (struct nfs4_client)->cl_lock | ||
| TYPE_LOCK | (struct nfsd_net)->client_lock |
fs/nfsd/export.c svc_export_match() -> path_equal()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | path1 | 4096-ptr_max |
| PARAM_VALUE | 1 | path2 | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &detail->hash_lock | ||
| HALF_LOCKED2 | &inode->i_rwsem | ||
| HALF_LOCKED2 | rcu_read |
fs/nfsd/nfs4xdr.c nfsd4_encode_pathname4() -> path_equal()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | path1 | 872184156920487936 |
| PARAM_VALUE | 0 | path1->dentry | 0,4096-ptr_max |
| PARAM_VALUE | 1 | path2 | 4096-ptr_max |
| DATA_SOURCE | 1 | path2 | $1 |