Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

fs/nfs/nfs4file.c nfs4_file_open() -> (struct nfs_rpc_ops)->open_context()

Type Parameter Key Value
PARAM_VALUE 0 dir 4096-ptr_max
PARAM_VALUE 0 dir->i_sb 4096-ptr_max
PARAM_VALUE 1 ctx 4096-ptr_max
PARAM_VALUE 1 ctx->cred 0,4096-ptr_max
PARAM_VALUE 1 ctx->dentry 4096-ptr_max
PARAM_VALUE 1 ctx->error 0
PARAM_VALUE 1 ctx->flags 0
PARAM_VALUE 1 ctx->flock_owner 4096-ptr_max
PARAM_VALUE 1 ctx->list.next 4096-ptr_max
PARAM_VALUE 1 ctx->list.next->next 4096-ptr_max
PARAM_VALUE 1 ctx->list.prev 4096-ptr_max
PARAM_VALUE 1 ctx->list.prev->next 4096-ptr_max
PARAM_VALUE 1 ctx->list.prev->prev 4096-ptr_max
PARAM_VALUE 1 ctx->ll_cred 0
PARAM_VALUE 1 ctx->lock_context.count.refs.counter 1
PARAM_VALUE 1 ctx->lock_context.io_count.counter 0
PARAM_VALUE 1 ctx->lock_context.open_context 4096-ptr_max
PARAM_VALUE 1 ctx->lock_context.open_context->cred 0,4096-ptr_max
PARAM_VALUE 1 ctx->lock_context.open_context->dentry 4096-ptr_max
PARAM_VALUE 1 ctx->lock_context.open_context->error 0
PARAM_VALUE 1 ctx->lock_context.open_context->flags 0
PARAM_VALUE 1 ctx->lock_context.open_context->flock_owner 0,4096-ptr_max
PARAM_VALUE 1 ctx->lock_context.open_context->ll_cred 0
PARAM_VALUE 1 ctx->lock_context.open_context->mode 0-3,32-35
PARAM_VALUE 1 ctx->lock_context.open_context->state 0
PARAM_VALUE 1 ctx->mdsthreshold 0
PARAM_VALUE 1 ctx->mode 0-3,32-35
PARAM_VALUE 1 ctx->nfl.nfs_uuid 0
PARAM_VALUE 1 ctx->nfl.ro_file 0
PARAM_VALUE 1 ctx->nfl.rw_file 0
PARAM_VALUE 1 ctx->state 0
PARAM_VALUE 3 attr 7906127051868311552
PARAM_VALUE 3 attr->ia_valid 32768,32776
PARAM_VALUE 4 opened 0
BUF_SIZE 1 ctx 200
BUF_SIZE 1 ctx->flock_owner (-1)-s32max
DATA_SOURCE 1 ctx r alloc_nfs_open_context
BIT_INFO 2 open_flags 0x0,0xffffff3f
RX_PATH
TASK_NOT_RUNNING
USER_DATA 1 ctx->dentry->__d_name.hash 0-u32max[c]
USER_DATA 1 ctx->dentry->d_name->name 0-255
USER_DATA 1 ctx->dentry->d_parent->__d_name.hash 0-u32max[c]
USER_DATA 1 ctx->dentry->d_sb->s_flags 0-u64max[c]
USER_DATA 1 ctx->lock_context.open_context->mode 0-3,32-35[c]
USER_DATA 1 ctx->mode 0-3,32-35[c]
USER_DATA 1 *ctx->dentry->__d_name.name 0-255
USER_DATA 1 *ctx->dentry->d_parent->__d_name.name 0-255
USER_DATA 2 open_flags 0-s32max[c]
USER_PTR 1 ctx->dentry->__d_name.name

fs/nfs/dir.c nfs_atomic_open() -> (struct nfs_rpc_ops)->open_context()

Type Parameter Key Value
PARAM_VALUE 0 dir 4096-ptr_max
PARAM_VALUE 0 dir->i_op 4096-ptr_max
PARAM_VALUE 0 dir->i_sb 4096-ptr_max
PARAM_VALUE 1 ctx 4096-ptr_max
PARAM_VALUE 3 attr 8919364019177807872
PARAM_VALUE 3 attr->ia_atime.tv_nsec 0
PARAM_VALUE 3 attr->ia_atime.tv_sec 0
PARAM_VALUE 3 attr->ia_ctime.tv_nsec 0
PARAM_VALUE 3 attr->ia_ctime.tv_sec 0
PARAM_VALUE 3 attr->ia_file 0
PARAM_VALUE 3 attr->ia_gid.val 0
PARAM_VALUE 3 attr->ia_mtime.tv_nsec 0
PARAM_VALUE 3 attr->ia_mtime.tv_sec 0
PARAM_VALUE 3 attr->ia_size 0
PARAM_VALUE 3 attr->ia_uid.val 0
PARAM_VALUE 3 attr->ia_valid 32768-32769,32776-32777
PARAM_VALUE 3 attr->ia_vfsgid.val 0
PARAM_VALUE 3 attr->ia_vfsuid.val 0
PARAM_VALUE 4 opened 8283310769038401536
PARAM_VALUE 4 *opened 0
BUF_SIZE 1 ctx 200
DATA_SOURCE 0 dir $0
DATA_SOURCE 1 ctx r create_nfs_open_context
DATA_SOURCE 2 open_flags $3
BIT_INFO 2 open_flags 0x0,0xfffeffff
HALF_LOCKED2 &dentry->d_lockref.lock
HALF_LOCKED2 &dir_inode->i_rwsem