Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 7 files:
- fs/nfs/direct.c, line 210
- fs/nfs/file.c, line 840
- fs/nfs/inode.c, line 1151
- fs/nfs/nfs3proc.c
- fs/nfs/nfs42proc.c
- fs/nfs/nfs4proc.c
- fs/nfs/pagelist.c
Smatch caller information:
fs/nfs/nfs3proc.c nfs3_nlm_release_call() -> nfs_put_lock_context()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | l_ctx | 4096-ptr_max |
| PARAM_VALUE | 0 | l_ctx->open_context | 4096-ptr_max |
| DATA_SOURCE | 0 | l_ctx | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
fs/nfs/nfs3proc.c nfs3_proc_lock() -> nfs_put_lock_context()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | l_ctx | 4096-ptr_max |
| PARAM_VALUE | 0 | l_ctx->count.refs.counter | (-1073741824),0-s32max |
| CAPPED_DATA | 0 | l_ctx->lockowner | 1 |
| DATA_SOURCE | 0 | l_ctx | r nfs_get_lock_context |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
fs/nfs/direct.c nfs_direct_req_free() -> nfs_put_lock_context()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | l_ctx | 1-u64max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
fs/nfs/file.c do_unlk() -> nfs_put_lock_context()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | l_ctx | 4096-ptr_max |
| PARAM_VALUE | 0 | l_ctx->count.refs.counter | (-1073741824),0-s32max |
| CAPPED_DATA | 0 | l_ctx->lockowner | 1 |
| DATA_SOURCE | 0 | l_ctx | r nfs_get_lock_context |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
fs/nfs/nfs42proc.c _nfs42_proc_copy_notify() -> nfs_put_lock_context()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | l_ctx | 4096-ptr_max |
| PARAM_VALUE | 0 | l_ctx->count.refs.counter | (-1073741824),0-s32max |
| CAPPED_DATA | 0 | l_ctx->lockowner | 1 |
| DATA_SOURCE | 0 | l_ctx | r nfs_get_lock_context |
| RX_PATH | |||
| NOCHECK_CALL |
fs/nfs/nfs42proc.c nfs42_proc_clone() -> nfs_put_lock_context()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | l_ctx | 4096-ptr_max |
| PARAM_VALUE | 0 | l_ctx->count.refs.counter | (-1073741824),0-s32max |
| PARAM_VALUE | 0 | l_ctx->open_context | 4096-ptr_max |
| CAPPED_DATA | 0 | l_ctx->lockowner | 1 |
| DATA_SOURCE | 0 | l_ctx | r nfs_get_lock_context |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
fs/nfs/nfs42proc.c nfs42_proc_clone() -> nfs_put_lock_context()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | l_ctx | 4096-ptr_max |
| PARAM_VALUE | 0 | l_ctx->count.refs.counter | (-1073741824),0-s32max |
| PARAM_VALUE | 0 | l_ctx->open_context | 4096-ptr_max |
| PARAM_VALUE | 0 | l_ctx->open_context->state->state_lock.rlock.dep_map->name | 0-255 |
| CAPPED_DATA | 0 | l_ctx->lockowner | 1 |
| DATA_SOURCE | 0 | l_ctx | r nfs_get_lock_context |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
fs/nfs/nfs42proc.c nfs42_proc_fallocate() -> nfs_put_lock_context()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | l_ctx | 4096-ptr_max |
| PARAM_VALUE | 0 | l_ctx->count.refs.counter | (-1073741824),0-s32max |
| PARAM_VALUE | 0 | l_ctx->open_context | 4096-ptr_max |
| PARAM_VALUE | 0 | l_ctx->open_context->state->state_lock.rlock.dep_map->name | 0-255 |
| CAPPED_DATA | 0 | l_ctx->lockowner | 1 |
| DATA_SOURCE | 0 | l_ctx | r nfs_get_lock_context |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &inode->i_rwsem | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct inode)->i_rwsem |
fs/nfs/nfs42proc.c nfs42_proc_llseek() -> nfs_put_lock_context()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | l_ctx | 4096-ptr_max |
| PARAM_VALUE | 0 | l_ctx->count.refs.counter | (-1073741824),0-s32max |
| PARAM_VALUE | 0 | l_ctx->open_context | 4096-ptr_max |
| CAPPED_DATA | 0 | l_ctx->lockowner | 1 |
| DATA_SOURCE | 0 | l_ctx | r nfs_get_lock_context |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
fs/nfs/pagelist.c nfs_clear_request() -> nfs_put_lock_context()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | l_ctx | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
fs/nfs/pagelist.c nfs_page_create_from_folio() -> nfs_put_lock_context()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | l_ctx | 4096-ptr_max |
| PARAM_VALUE | 0 | l_ctx->open_context | 4096-ptr_max |
| CAPPED_DATA | 0 | l_ctx->lockowner | 1 |
| DATA_SOURCE | 0 | l_ctx | r nfs_get_lock_context |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
fs/nfs/pagelist.c nfs_page_create_from_page() -> nfs_put_lock_context()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | l_ctx | 4096-ptr_max |
| PARAM_VALUE | 0 | l_ctx->open_context | 4096-ptr_max |
| CAPPED_DATA | 0 | l_ctx->lockowner | 1 |
| DATA_SOURCE | 0 | l_ctx | r nfs_get_lock_context |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &inode->i_rwsem |
fs/nfs/nfs4proc.c _nfs4_do_setattr() -> nfs_put_lock_context()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | l_ctx | 4096-ptr_max |
| PARAM_VALUE | 0 | l_ctx->count.refs.counter | (-1073741824),0-s32max |
| CAPPED_DATA | 0 | l_ctx->lockowner | 1 |
| DATA_SOURCE | 0 | l_ctx | r nfs_get_lock_context |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
fs/nfs/nfs4proc.c nfs4_locku_release_calldata() -> nfs_put_lock_context()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |