Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

fs/nfs/inode.c nfs_get_lock_context() -> __nfs_find_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_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->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 s32min-(-1),1-s32max
BUF_SIZE 0 ctx s32min-(-1),1-s32max
BUF_SIZE 0 ctx->flock_owner (-1),1-s32max
DATA_SOURCE 0 ctx $0
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->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
LOCK2 rcu_read
HALF_LOCKED2 &inode->i_rwsem

fs/nfs/inode.c nfs_get_lock_context() -> __nfs_find_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
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->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 s32min-(-1),1-s32max
BUF_SIZE 0 ctx s32min-(-1),1-s32max
BUF_SIZE 0 ctx->flock_owner (-1),1-s32max
DATA_SOURCE 0 ctx $0
PREEMPT_ADD <- disables preempt
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->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
LOCK2 &inode->i_lock
HALF_LOCKED2 &inode->i_rwsem
TYPE_LOCK (struct inode)->i_lock