Defined in 1 files as a function:
Referenced in 2 files:
Smatch caller information:
fs/nfsd/nfs4layouts.c nfsd4_preprocess_layout_stateid() -> fh_match()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | fh1 | 4096-ptr_max |
| PARAM_VALUE | 1 | fh2 | 4096-ptr_max |
fs/nfsd/nfs4state.c find_blocked_lock() -> fh_match()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | fh1 | 4096-ptr_max |
| PARAM_VALUE | 1 | fh2 | 4096-ptr_max |
| DATA_SOURCE | 0 | fh1 | $1 |
| PREEMPT_ADD | <- disables preempt | ||
| LOCK2 | &nn->blocked_locks_lock | ||
| TYPE_LOCK | (struct nfsd_net)->blocked_locks_lock |
fs/nfsd/nfs4state.c nfs4_check_fh() -> fh_match()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | fh1 | 4096-ptr_max |
| PARAM_VALUE | 1 | fh2 | 4096-ptr_max |
| HALF_LOCKED2 | &stp->st_mutex |
fs/nfsd/nfs4state.c nfsd4_file_hash_insert() -> fh_match()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | fh1 | 4096-ptr_max |
| PARAM_VALUE | 1 | fh2 | 4096-ptr_max |
| PREEMPT_ADD | <- disables preempt | ||
| LOCK2 | &inode->i_lock | ||
| LOCK2 | rcu_read | ||
| TYPE_LOCK | (struct inode)->i_lock |
fs/nfsd/nfs4state.c nfsd4_file_hash_lookup() -> fh_match()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | fh1 | 4096-ptr_max |
| PARAM_VALUE | 1 | fh2 | 4096-ptr_max |
| LOCK2 | rcu_read |