Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 3 files:

Smatch caller information:

fs/nfs/callback_proc.c initiate_file_draining() -> pnfs_set_layout_stateid()

Type Parameter Key Value
PARAM_VALUE 0 lo 4096-ptr_max
PARAM_VALUE 0 lo->plh_stateid.seqid 0-4294967294
PARAM_VALUE 1 new->seqid 1-u32max
PARAM_VALUE 2 cred 0
PARAM_VALUE 3 update_barrier 1
CAPPED_DATA 0 lo->plh_stateid.seqid 1
PREEMPT_ADD <- disables preempt
NOCHECK_CALL
LOCK2 &ino->i_lock
TYPE_LOCK (struct inode)->i_lock

fs/nfs/nfs4proc.c nfs4_layoutcommit_done() -> pnfs_set_layout_stateid()

Type Parameter Key Value
PARAM_VALUE 0 lo 4096-ptr_max
PARAM_VALUE 1 new 4096-ptr_max
PARAM_VALUE 2 cred 0
PARAM_VALUE 3 update_barrier 0
PREEMPT_ADD <- disables preempt
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 &data->args.inode->i_lock
TYPE_LOCK (struct inode)->i_lock

fs/nfs/pnfs.c pnfs_layout_process() -> pnfs_set_layout_stateid()

Type Parameter Key Value
PARAM_VALUE 0 lo 4096-ptr_max
PARAM_VALUE 0 lo->plh_block_lgets 0
PARAM_VALUE 0 lo->plh_inode 4096-ptr_max
PARAM_VALUE 0 lo->plh_inode->i_sb 4096-ptr_max
PARAM_VALUE 1 new 4096-ptr_max
PARAM_VALUE 3 update_barrier 0
BUF_SIZE 0 lo (-1),168
BUF_SIZE 0 lo (-1),168
PREEMPT_ADD <- disables preempt
RX_PATH
NOCHECK_CALL
LOCK2 &ino->i_lock
TYPE_LOCK (struct inode)->i_lock

fs/nfs/pnfs.c pnfs_layout_process() -> pnfs_set_layout_stateid()

Type Parameter Key Value
PARAM_VALUE 0 lo 4096-ptr_max
PARAM_VALUE 0 lo->plh_block_lgets 0
PARAM_VALUE 0 lo->plh_inode 4096-ptr_max
PARAM_VALUE 0 lo->plh_inode->i_sb 4096-ptr_max
PARAM_VALUE 1 new 4096-ptr_max
PARAM_VALUE 3 update_barrier 1
BUF_SIZE 0 lo (-1),168
BUF_SIZE 0 lo (-1),168
PREEMPT_ADD <- disables preempt
RX_PATH
NOCHECK_CALL
LOCK2 &ino->i_lock
TYPE_LOCK (struct inode)->i_lock

fs/nfs/pnfs.c pnfs_layoutreturn_free_lsegs() -> pnfs_set_layout_stateid()

Type Parameter Key Value
PARAM_VALUE 0 lo 4096-ptr_max
PARAM_VALUE 0 lo->plh_inode 4096-ptr_max
PARAM_VALUE 0 lo->plh_inode->i_lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 lo->plh_inode->i_sb 4096-ptr_max
PARAM_VALUE 1 new 4096-ptr_max
PARAM_VALUE 2 cred 0
PARAM_VALUE 3 update_barrier 1
BUF_SIZE 1 new 0,20
BUF_SIZE 1 new 0,20
DATA_SOURCE 0 lo $0
DATA_SOURCE 1 new $3
PREEMPT_ADD <- disables preempt
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 &inode->i_lock
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct inode)->i_lock