Defined in 1 files as a prototype:
Defined in 2 files as a function:
Referenced in 2 files:
Smatch caller information:
fs/nfsd/nfs4layouts.c nfsd4_free_layout_stateid() -> nfsd4_close_layout()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ls | 4096-ptr_max |
| PARAM_VALUE | 0 | ls->ls_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | ls->ls_perclnt.next->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | ls->ls_perclnt.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | ls->ls_perfile.next->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | ls->ls_perfile.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | ls->ls_stid.sc_client | 4096-ptr_max |
| PARAM_VALUE | 0 | ls->ls_stid.sc_client->cl_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | ls->ls_stid.sc_file | 4096-ptr_max |
| PARAM_VALUE | 0 | ls->ls_stid.sc_file->fi_lock.rlock.dep_map->name | 0-255 |
| DATA_SOURCE | 0 | ls | r layoutstateid |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
fs/nfsd/nfs4layouts.c nfsd4_layout_fence_worker() -> nfsd4_close_layout()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ls | 4096-ptr_max |
| PARAM_VALUE | 0 | ls->ls_layouts.next | 4096-ptr_max |
| PARAM_VALUE | 0 | ls->ls_lock.rlock.dep_map->name | 0-255 |
| CAPPED_DATA | 0 | &ls->ls_layouts | 1 |
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &pool->lock |
fs/nfsd/nfs4state.c revoke_one_stid() -> nfsd4_close_layout()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ls | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | global &nfsd_mutex |