Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
fs/nfsd/nfs4state.c get_lock_access() -> set_access()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | access | 1-2 |
| PARAM_VALUE | 1 | stp | 4096-ptr_max |
| DATA_SOURCE | 0 | access | $1 |
| DATA_SOURCE | 1 | stp | $0 |
| HARD_MAX | 0 | access | 2 |
| PREEMPT_ADD | |||
| NOCHECK_CALL | |||
| LOCK2 | &fp->fi_lock | ||
| LOCK2 | &stp->st_mutex | ||
| TYPE_LOCK | (struct nfs4_file)->fi_lock |
fs/nfsd/nfs4state.c nfs4_get_vfs_file() -> set_access()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | access | 0-2 |
| PARAM_VALUE | 1 | stp | 4096-ptr_max |
| DATA_SOURCE | 1 | stp | $3 |
| PREEMPT_ADD | <- disables preempt | ||
| NOCHECK_CALL | |||
| LOCK2 | &fp->fi_lock | ||
| TYPE_LOCK | (struct nfs4_file)->fi_lock |