Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 7 files:

Smatch caller information:

fs/nfs/nfs3proc.c nfs3_nlm_alloc_call() -> nfs_get_lock_context()

Type Parameter Key Value
PARAM_VALUE 0 ctx 4096-ptr_max
PARAM_VALUE 0 ctx->lock_context.count.refs.counter (-1073741824),0-s32max
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

fs/nfs/nfs3proc.c nfs3_proc_lock() -> nfs_get_lock_context()

Type Parameter Key Value
BUF_SIZE 0 ctx (-1),26
BUF_SIZE 0 ctx (-1),26
RX_PATH
TASK_NOT_RUNNING

fs/nfs/direct.c nfs_file_direct_read() -> nfs_get_lock_context()

Type Parameter Key Value
BUF_SIZE 0 ctx s32min-(-1),1-s32max
BUF_SIZE 0 ctx s32min-(-1),1-s32max
DATA_SOURCE 0 ctx r get_nfs_open_context
RX_PATH
TASK_NOT_RUNNING

fs/nfs/direct.c nfs_file_direct_write() -> nfs_get_lock_context()

Type Parameter Key Value
BUF_SIZE 0 ctx s32min-(-1),1-s32max
BUF_SIZE 0 ctx s32min-(-1),1-s32max
DATA_SOURCE 0 ctx r get_nfs_open_context
RX_PATH
TASK_NOT_RUNNING

fs/nfs/file.c do_unlk() -> nfs_get_lock_context()

Type Parameter Key Value
BUF_SIZE 0 ctx (-1),26
RX_PATH
TASK_NOT_RUNNING

fs/nfs/nfs42proc.c _nfs42_proc_copy_notify() -> nfs_get_lock_context()

Type Parameter Key Value
BUF_SIZE 0 ctx s32min-(-1),1-s32max
BUF_SIZE 0 ctx s32min-(-1),1-s32max
DATA_SOURCE 0 ctx r get_nfs_open_context
RX_PATH

fs/nfs/nfs42proc.c nfs42_proc_clone() -> nfs_get_lock_context()

Type Parameter Key Value
BUF_SIZE 0 ctx s32min-(-2),1-s32max
RX_PATH
TASK_NOT_RUNNING

fs/nfs/nfs42proc.c nfs42_proc_clone() -> nfs_get_lock_context()

Type Parameter Key Value
BUF_SIZE 0 ctx s32min-(-2),1-s32max
RX_PATH
TASK_NOT_RUNNING

fs/nfs/nfs42proc.c nfs42_proc_copy() -> nfs_get_lock_context()

Type Parameter Key Value
BUF_SIZE 0 ctx s32min-(-2),1-s32max
RX_PATH
HALF_LOCKED2 &pool->lock

fs/nfs/nfs42proc.c nfs42_proc_copy() -> nfs_get_lock_context()

Type Parameter Key Value
BUF_SIZE 0 ctx s32min-(-2),1-s32max
RX_PATH
HALF_LOCKED2 &pool->lock

fs/nfs/nfs42proc.c nfs42_proc_fallocate() -> nfs_get_lock_context()

Type Parameter Key Value
BUF_SIZE 0 ctx s32min-(-2),1-s32max
RX_PATH
TASK_NOT_RUNNING
LOCK2 &inode->i_rwsem
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct inode)->i_rwsem

fs/nfs/nfs42proc.c nfs42_proc_llseek() -> nfs_get_lock_context()

Type Parameter Key Value
BUF_SIZE 0 ctx s32min-(-2),1-s32max
RX_PATH
TASK_NOT_RUNNING

fs/nfs/pagelist.c nfs_page_create_from_folio() -> nfs_get_lock_context()

Type Parameter Key Value
BUF_SIZE 0 ctx s32min-(-1),1-s32max
BUF_SIZE 0 ctx s32min-(-1),1-s32max
DATA_SOURCE 0 ctx $0
RX_PATH
TASK_NOT_RUNNING

fs/nfs/pagelist.c nfs_page_create_from_page() -> nfs_get_lock_context()

Type Parameter Key Value
PARAM_VALUE 0 ctx 4096-ptr_max
PARAM_VALUE 0 ctx->dentry 4096-ptr_max
PARAM_VALUE 0 ctx->dentry->d_inode->i_lock.rlock.dep_map->name 0-255
BUF_SIZE 0 ctx s32min-(-1),1-s32max
BUF_SIZE 0 ctx s32min-(-1),1-s32max
DATA_SOURCE 0 ctx $0
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &inode->i_rwsem

fs/nfs/nfs4proc.c _nfs4_do_setattr() -> nfs_get_lock_context()

Type Parameter Key Value
PARAM_VALUE 0 ctx 4096-ptr_max
PARAM_VALUE 0 ctx->dentry->d_inode->i_sb->s_cop->inode_info_offs 1632,1720,1808,2632,2648
PARAM_VALUE 0 ctx->dentry->d_inode->i_sb->s_export_op->fh_to_parent 0,5297,148606482432692224,436469935444291584,467281172929331200,529780027764285440,1092893949038768128,1556959531105513472,1608953577475584000,1649536479961075712,2404761408063094784,2970908329832960000,3511613614414655488-s64max
PARAM_VALUE 0 ctx->dentry->d_inode->i_sb->s_export_op->get_parent 0,8931,264940071972966400,291591359766798336,565128213429456896,893189740598853632,1241177127089143808,1474696885321834496,1812477326828269568,1893665921928286208,2210088671756947456,2437012291923775488,2483979068402987008-s64max
PARAM_VALUE 0 ctx->dentry->d_inode->i_sb->s_umount.first_waiter->handoff_set 0-1
PARAM_VALUE 0 ctx->dentry->d_inode->i_sb->s_umount.first_waiter->type 0-1
PARAM_VALUE 0 ctx->state 4096-ptr_max
PARAM_VALUE 0 ctx->state->inode->i_mapping->i_mmap_rwsem.first_waiter->handoff_set 0-1
PARAM_VALUE 0 ctx->state->inode->i_mapping->i_mmap_rwsem.first_waiter->type 0-1
PARAM_VALUE 0 ctx->state->inode->i_sb->s_umount.first_waiter->handoff_set 0-1
PARAM_VALUE 0 ctx->state->inode->i_sb->s_umount.first_waiter->type 0-1
BUF_SIZE 0 ctx->flock_owner (-1),1-s32max
DATA_SOURCE 0 ctx $4
RX_PATH
TASK_NOT_RUNNING
USER_DATA 0 ctx->dentry->__d_name.hash 0-u32max[c]
USER_DATA 0 ctx->dentry->d_parent->__d_name.hash 0-u32max[c]
USER_DATA 0 ctx->dentry->d_sb->s_flags 0-u64max[c]
USER_DATA 0 ctx->lock_context.open_context->mode 0-3,32-35[c]
USER_DATA 0 ctx->mode 0-3,32-35[c]
USER_DATA 0 ctx->state->state 0-u32max[c]
USER_DATA 0 *ctx->dentry->__d_name.name 0-255
USER_DATA 0 *ctx->dentry->d_parent->__d_name.name 0-255
USER_PTR 0 ctx->dentry->__d_name.name

fs/nfs/nfs4proc.c nfs4_alloc_unlockdata() -> nfs_get_lock_context()

Type Parameter Key Value
PARAM_VALUE 0 ctx 4096-ptr_max
BUF_SIZE 0 ctx s32min-(-1),1-s32max
BUF_SIZE 0 ctx s32min-(-1),1-s32max
DATA_SOURCE 0 ctx $1
RX_PATH
TASK_NOT_RUNNING