Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 3 files:
Smatch caller information:
fs/nfs/nfs40proc.c nfs4_release_lockowner_release() -> nfs4_free_lock_state()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
fs/nfs/nfs4proc.c nfs41_free_lock_state() -> nfs4_free_lock_state()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | server | 4096-ptr_max |
| PARAM_VALUE | 0 | server->nfs_client | 4096-ptr_max |
| PARAM_VALUE | 0 | server->nfs_client->cl_mvops | 4096-ptr_max |
| PARAM_VALUE | 0 | server->super->s_umount.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | server->super->s_umount.first_waiter->type | 0-1 |
| PARAM_VALUE | 1 | lsp | 4096-ptr_max |
| PARAM_VALUE | 1 | lsp->ls_state | 4096-ptr_max |
| PARAM_VALUE | 1 | lsp->ls_state->owner | 4096-ptr_max |
| PARAM_VALUE | 1 | lsp->ls_state->owner->so_server->nfs_client->cl_mvops->minor_version | 0-2 |
| PARAM_VALUE | 1 | lsp->ls_state->state_lock.rlock.dep_map->name | 0-255 |
| DATA_SOURCE | 0 | server | $0 |
| DATA_SOURCE | 1 | lsp | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
fs/nfs/nfs4state.c nfs4_get_lock_state() -> nfs4_free_lock_state()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | lsp | 4096-ptr_max |
| PARAM_VALUE | 1 | lsp->ls_count.refs.counter | 1 |
| PARAM_VALUE | 1 | lsp->ls_locks.next | 4096-ptr_max |
| PARAM_VALUE | 1 | lsp->ls_locks.next->next | 4096-ptr_max |
| PARAM_VALUE | 1 | lsp->ls_locks.prev | 4096-ptr_max |
| PARAM_VALUE | 1 | lsp->ls_locks.prev->next | 4096-ptr_max |
| PARAM_VALUE | 1 | lsp->ls_locks.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 1 | lsp->ls_seqid.counter | 0 |
| PARAM_VALUE | 1 | lsp->ls_seqid.flags | 0 |
| PARAM_VALUE | 1 | lsp->ls_seqid.wait->name | 0-255 |
| PARAM_VALUE | 1 | lsp->ls_seqid.wait.maxpriority | 0 |
| PARAM_VALUE | 1 | lsp->ls_seqid.wait.name | 6178708506311241728 |
| PARAM_VALUE | 1 | lsp->ls_seqid.wait.qlen | 0 |
| PARAM_VALUE | 1 | lsp->ls_seqid.wait.timer_list.expires | 0 |
| PARAM_VALUE | 1 | lsp->ls_state | 4096-ptr_max |
| PARAM_VALUE | 1 | lsp->ls_state->owner | 4096-ptr_max |
| BUF_SIZE | 1 | lsp | 536 |
| BUF_SIZE | 1 | lsp->ls_owner | (-1),1-s32max |
| DATA_SOURCE | 1 | lsp | r nfs4_alloc_lock_state |
| TERMINATED | 1 | lsp->ls_seqid.wait.name | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 0 | server | unit_byte |
| HALF_LOCKED2 | &nfsi->rwsem | ||
| HALF_LOCKED2 | &sp->so_delegreturn_mutex |
fs/nfs/nfs4state.c nfs4_put_lock_state() -> nfs4_free_lock_state()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | lsp | 4096-ptr_max |
| PARAM_VALUE | 1 | lsp->ls_state | 4096-ptr_max |
| PARAM_VALUE | 1 | lsp->ls_state->owner | 4096-ptr_max |
| PARAM_VALUE | 1 | lsp->ls_state->owner->so_server->nfs_client->cl_mvops->minor_version | 0-2 |
| PARAM_VALUE | 1 | lsp->ls_state->state_lock.rlock.dep_map->name | 0-255 |
| DATA_SOURCE | 1 | lsp | $0 |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 0 | server | unit_byte |