Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
fs/nfsd/nfs4state.c __destroy_client() -> nfs4_get_stateowner()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | global &nfsd_mutex |
fs/nfsd/nfs4state.c __destroy_client() -> nfs4_get_stateowner()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sop | 4096-ptr_max |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &clp->cl_lock | ||
| HALF_LOCKED2 | global &nfsd_mutex | ||
| TYPE_LOCK | (struct nfs4_client)->cl_lock |
fs/nfsd/nfs4state.c find_lockowner_str_locked() -> nfs4_get_stateowner()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sop | 4096-ptr_max |
| CAPPED_DATA | 0 | sop->so_owner.len | 1 |
| PREEMPT_ADD | |||
| LOCK2 | &clp->cl_lock | ||
| TYPE_LOCK | (struct nfs4_client)->cl_lock |
fs/nfsd/nfs4state.c find_openstateowner_str() -> nfs4_get_stateowner()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sop | 4096-ptr_max |
| CAPPED_DATA | 0 | sop->so_owner.len | 1 |
| PREEMPT_ADD | |||
| LOCK2 | &clp->cl_lock | ||
| TYPE_LOCK | (struct nfs4_client)->cl_lock |
fs/nfsd/nfs4state.c init_lock_stateid() -> nfs4_get_stateowner()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sop | 4096-ptr_max |
| PREEMPT_ADD | <- disables preempt | ||
| LOCK2 | &clp->cl_lock | ||
| LOCK2 | &stp->st_mutex | ||
| TYPE_LOCK | (struct nfs4_client)->cl_lock | ||
| TYPE_LOCK | (struct nfs4_ol_stateid)->st_mutex |
fs/nfsd/nfs4state.c init_open_stateid() -> nfs4_get_stateowner()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sop | 4096-ptr_max |
| PREEMPT_ADD | <- disables preempt | ||
| LOCK2 | &fp->fi_lock | ||
| LOCK2 | &oo->oo_owner.so_client->cl_lock | ||
| LOCK2 | &stp->st_mutex | ||
| TYPE_LOCK | (struct nfs4_client)->cl_lock | ||
| TYPE_LOCK | (struct nfs4_file)->fi_lock | ||
| TYPE_LOCK | (struct nfs4_ol_stateid)->st_mutex |
fs/nfsd/nfs4state.c nfsd4_cstate_assign_replay() -> nfs4_get_stateowner()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sop | 4096-ptr_max |
| DATA_SOURCE | 0 | sop | $1 |
fs/nfsd/nfs4state.c nfsd4_lm_get_owner() -> nfs4_get_stateowner()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &ctx->flc_lock |
fs/nfsd/nfs4state.c nfsd4_lock() -> nfs4_get_stateowner()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sop | 4096-ptr_max |
| LOCK2 | &stp->st_mutex |
fs/nfsd/nfs4state.c nfsd4_locku() -> nfs4_get_stateowner()
| Type | Parameter | Key | Value |
|---|---|---|---|
| LOCK2 | &stp->st_mutex |