Defined in 1 files as a function:

Referenced in 8 files:

Smatch caller information:

fs/nfs/delegation.c nfs4_copy_delegation_stateid() -> nfs4_stateid_copy()

Type Parameter Key Value
PARAM_VALUE 0 dst 4096-ptr_max
PARAM_VALUE 1 src 4096-ptr_max
DATA_SOURCE 0 dst $2
PREEMPT_ADD <- disables preempt
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 &delegation->lock
LOCK2 rcu_read
TYPE_LOCK (struct nfs_delegation)->lock

fs/nfs/delegation.c nfs_inode_reclaim_delegation() -> nfs4_stateid_copy()

Type Parameter Key Value
PARAM_VALUE 0 dst 4096-ptr_max
DATA_SOURCE 1 src $3
PREEMPT_ADD <- disables preempt
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 &delegation->lock
LOCK2 rcu_read
TYPE_LOCK (struct nfs_delegation)->lock

fs/nfs/delegation.c nfs_inode_set_delegation() -> nfs4_stateid_copy()

Type Parameter Key Value
PARAM_VALUE 0 dst 4096-ptr_max
DATA_SOURCE 1 src $3
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

fs/nfs/delegation.c nfs_revoke_delegation() -> nfs4_stateid_copy()

Type Parameter Key Value
PARAM_VALUE 0 dst 3514217959817998336
PARAM_VALUE 1 src 4096-ptr_max
NOCHECK_CALL
LOCK2 rcu_read

fs/nfs/delegation.c nfs_server_reap_expired_delegations() -> nfs4_stateid_copy()

Type Parameter Key Value
PARAM_VALUE 0 dst 447634549440491520
PARAM_VALUE 1 src 4096-ptr_max
PREEMPT_ADD <- disables preempt
NOCHECK_CALL
LOCK2 &delegation->lock
LOCK2 rcu_read
TYPE_LOCK (struct nfs_delegation)->lock

fs/nfs/flexfilelayout/flexfilelayout.c ff_layout_send_layouterror() -> nfs4_stateid_copy()

Type Parameter Key Value
PARAM_VALUE 0 dst 4096-ptr_max
PARAM_VALUE 1 src 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

fs/nfs/flexfilelayout/flexfilelayoutdev.c ff_layout_track_ds_error() -> nfs4_stateid_copy()

Type Parameter Key Value
PARAM_VALUE 0 dst 4096-ptr_max
PARAM_VALUE 1 src 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

fs/nfs/flexfilelayout/flexfilelayoutdev.c nfs4_ff_layout_select_ds_stateid() -> nfs4_stateid_copy()

Type Parameter Key Value
PARAM_VALUE 0 dst 4096-ptr_max
PARAM_VALUE 1 src 4096-ptr_max
DATA_SOURCE 0 dst $2
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

fs/nfs/nfs42proc.c _nfs42_proc_copy() -> nfs4_stateid_copy()

Type Parameter Key Value
PARAM_VALUE 0 dst 7826413353105403928
PARAM_VALUE 1 src 0,4096-ptr_max
BUF_SIZE 1 src 0,20
BUF_SIZE 1 src 0,20
DATA_SOURCE 1 src $7
RX_PATH
NOCHECK_CALL

fs/nfs/nfs42proc.c nfs42_layouterror_prepare() -> nfs4_stateid_copy()

Type Parameter Key Value
PARAM_VALUE 0 dst 4096-ptr_max
PARAM_VALUE 1 src 4096-ptr_max
PREEMPT_ADD <- disables preempt
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 &inode->i_lock
TYPE_LOCK (struct inode)->i_lock

fs/nfs/nfs42proc.c nfs42_layoutstat_prepare() -> nfs4_stateid_copy()

Type Parameter Key Value
PARAM_VALUE 0 dst 4096-ptr_max
PARAM_VALUE 1 src 4096-ptr_max
PREEMPT_ADD <- disables preempt
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 &inode->i_lock
TYPE_LOCK (struct inode)->i_lock

fs/nfs/nfs4xdr.c decode_invalid_stateid() -> nfs4_stateid_copy()

Type Parameter Key Value
PARAM_VALUE 0 dst 4096-ptr_max
PARAM_VALUE 1 src 4522715778313928704
DATA_SOURCE 0 dst $1
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

fs/nfs/nfs4xdr.c decode_layoutreturn() -> nfs4_stateid_copy()

Type Parameter Key Value
PARAM_VALUE 0 dst 4096-ptr_max
PARAM_VALUE 1 src 4522715778313928704
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &pool->lock

fs/nfs/nfs4proc.c _nfs4_do_set_security_label() -> nfs4_stateid_copy()

Type Parameter Key Value
PARAM_VALUE 0 dst 5568905694058893336
PARAM_VALUE 0 dst->seqid 0
PARAM_VALUE 0 dst->type 0
PARAM_VALUE 1 src 3357079182295801856
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &inode->i_rwsem
HALF_LOCKED2 &inode->i_rwsem
HALF_LOCKED2 &unused->d_inode->i_rwsem

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

Type Parameter Key Value
PARAM_VALUE 0 dst 1937052244733947928
PARAM_VALUE 0 dst->seqid 0
PARAM_VALUE 1 src 3357079182295801856
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

fs/nfs/nfs4proc.c _nfs4_proc_delegreturn() -> nfs4_stateid_copy()

Type Parameter Key Value
PARAM_VALUE 0 dst 4096-ptr_max
PARAM_VALUE 1 src 4096-ptr_max
DATA_SOURCE 1 src $2
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &inode->i_lock
HALF_LOCKED2 &inode->i_rwsem

fs/nfs/nfs4proc.c can_open_delegated() -> nfs4_stateid_copy()

Type Parameter Key Value
PARAM_VALUE 0 dst 5857216208500633600
PARAM_VALUE 1 src 4096-ptr_max
DATA_SOURCE 0 dst $3
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

fs/nfs/nfs4proc.c nfs41_check_delegation_stateid() -> nfs4_stateid_copy()

Type Parameter Key Value
PARAM_VALUE 0 dst 7557501742609129472
PARAM_VALUE 1 src 4096-ptr_max
PREEMPT_ADD <- disables preempt
NOCHECK_CALL
LOCK2 &delegation->lock
LOCK2 rcu_read
TYPE_LOCK (struct nfs_delegation)->lock

fs/nfs/nfs4proc.c nfs41_free_stateid() -> nfs4_stateid_copy()

Type Parameter Key Value
PARAM_VALUE 0 dst 4096-ptr_max
PARAM_VALUE 1 src 4096-ptr_max
BUF_SIZE 1 src (-1),20
BUF_SIZE 1 src (-1),20
DATA_SOURCE 1 src $1
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

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

Type Parameter Key Value
PARAM_VALUE 0 dst 4096-ptr_max
PARAM_VALUE 1 src 4096-ptr_max
PREEMPT_ADD <- disables preempt
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 &state->state_lock
TYPE_LOCK (struct nfs4_state)->state_lock

fs/nfs/nfs4proc.c nfs4_free_revoked_stateid() -> nfs4_stateid_copy()

Type Parameter Key Value
PARAM_VALUE 0 dst 8932344965907759104
DATA_SOURCE 1 src $1
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &pool->lock

fs/nfs/nfs4proc.c nfs4_lock_done() -> nfs4_stateid_copy()

Type Parameter Key Value
PARAM_VALUE 0 dst 4096-ptr_max
PARAM_VALUE 1 src 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

fs/nfs/nfs4proc.c nfs4_lock_prepare() -> nfs4_stateid_copy()

Type Parameter Key Value
PARAM_VALUE 0 dst 4096-ptr_max
PARAM_VALUE 1 src 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

fs/nfs/nfs4proc.c nfs4_lock_prepare() -> nfs4_stateid_copy()

Type Parameter Key Value
PARAM_VALUE 0 dst 4096-ptr_max
PARAM_VALUE 1 src 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

fs/nfs/nfs4proc.c nfs4_open_confirm_done() -> nfs4_stateid_copy()

Type Parameter Key Value
PARAM_VALUE 0 dst 4096-ptr_max
PARAM_VALUE 1 src 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

fs/nfs/nfs4proc.c nfs4_open_delegation_recall() -> nfs4_stateid_copy()

Type Parameter Key Value
PARAM_VALUE 1 src 4096-ptr_max
CAPPED_DATA 1 src->type 1
DATA_SOURCE 1 src $2
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 &sp->so_delegreturn_mutex
HALF_LOCKED2 &inode->i_lock
HALF_LOCKED2 &inode->i_rwsem
TYPE_LOCK (struct nfs4_state_owner)->so_delegreturn_mutex

fs/nfs/nfs4proc.c nfs4_open_recover() -> nfs4_stateid_copy()

Type Parameter Key Value
PARAM_VALUE 0 dst 4096-ptr_max
PARAM_VALUE 1 src 4096-ptr_max
PREEMPT_ADD <- disables preempt
NOCHECK_CALL
LOCK2 &state->seqlock.lock
TYPE_LOCK (struct seqlock)->lock

fs/nfs/nfs4proc.c nfs4_sync_lock_stateid() -> nfs4_stateid_copy()

Type Parameter Key Value
PARAM_VALUE 0 dst 4096-ptr_max
PARAM_VALUE 1 src 4096-ptr_max
DATA_SOURCE 0 dst $0
PREEMPT_ADD <- disables preempt
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 &state->state_lock
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct nfs4_state)->state_lock

fs/nfs/nfs4proc.c nfs4_sync_open_stateid() -> nfs4_stateid_copy()

Type Parameter Key Value
PARAM_VALUE 0 dst 4096-ptr_max
PARAM_VALUE 1 src 4096-ptr_max
DATA_SOURCE 0 dst $0
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 &state->owner->so_lock
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct nfs4_state_owner)->so_lock

fs/nfs/nfs4proc.c nfs4_update_lock_stateid() -> nfs4_stateid_copy()

Type Parameter Key Value
PARAM_VALUE 0 dst 4096-ptr_max
PARAM_VALUE 1 src 4096-ptr_max
DATA_SOURCE 1 src $1
PREEMPT_ADD <- disables preempt
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 &state->state_lock
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct nfs4_state)->state_lock

fs/nfs/nfs4proc.c nfs_clear_open_stateid_locked() -> nfs4_stateid_copy()

Type Parameter Key Value
PARAM_VALUE 0 dst 4096-ptr_max
PARAM_VALUE 1 src 4096-ptr_max
BUF_SIZE 1 src 0,20
BUF_SIZE 1 src 0,20
DATA_SOURCE 1 src $1
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 &state->seqlock.lock
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct seqlock)->lock

fs/nfs/nfs4proc.c nfs_clear_open_stateid_locked() -> nfs4_stateid_copy()

Type Parameter Key Value
PARAM_VALUE 0 dst 4096-ptr_max
PARAM_VALUE 1 src 4096-ptr_max
BUF_SIZE 1 src 0,20
BUF_SIZE 1 src 0,20
DATA_SOURCE 1 src $1
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 &state->seqlock.lock
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct seqlock)->lock

fs/nfs/nfs4proc.c nfs_set_open_stateid_locked() -> nfs4_stateid_copy()

Type Parameter Key Value
PARAM_VALUE 0 dst 9034171837698007040
PARAM_VALUE 0 dst->seqid 0
PARAM_VALUE 0 dst->type 0
PARAM_VALUE 1 src 4096-ptr_max
DATA_SOURCE 0 dst $2
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 &state->owner->so_lock
LOCK2 &state->seqlock.lock
LOCK2 rcu_read
TYPE_LOCK (struct nfs4_state_owner)->so_lock
TYPE_LOCK (struct seqlock)->lock

fs/nfs/nfs4proc.c nfs_set_open_stateid_locked() -> nfs4_stateid_copy()

Type Parameter Key Value
PARAM_VALUE 0 dst 4096-ptr_max
PARAM_VALUE 1 src 4096-ptr_max
DATA_SOURCE 1 src $1
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 &state->owner->so_lock
LOCK2 &state->seqlock.lock
LOCK2 rcu_read
TYPE_LOCK (struct nfs4_state_owner)->so_lock
TYPE_LOCK (struct seqlock)->lock

fs/nfs/nfs4proc.c nfs_set_open_stateid_locked() -> nfs4_stateid_copy()

Type Parameter Key Value
PARAM_VALUE 0 dst 4096-ptr_max
PARAM_VALUE 1 src 4096-ptr_max
DATA_SOURCE 1 src $1
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 &state->owner->so_lock
LOCK2 &state->seqlock.lock
LOCK2 rcu_read
TYPE_LOCK (struct nfs4_state_owner)->so_lock
TYPE_LOCK (struct seqlock)->lock

fs/nfs/nfs4proc.c nfs_state_clear_delegation() -> nfs4_stateid_copy()

Type Parameter Key Value
PARAM_VALUE 0 dst 4096-ptr_max
PARAM_VALUE 1 src 4096-ptr_max
PREEMPT_ADD <- disables preempt
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 &state->seqlock.lock
HALF_LOCKED2 &sp->so_delegreturn_mutex
TYPE_LOCK (struct seqlock)->lock

fs/nfs/nfs4proc.c nfs_state_set_delegation() -> nfs4_stateid_copy()

Type Parameter Key Value
PARAM_VALUE 0 dst 4096-ptr_max
PARAM_VALUE 1 src 4096-ptr_max
DATA_SOURCE 1 src $1
PREEMPT_ADD <- disables preempt
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 &state->seqlock.lock
HALF_LOCKED2 &deleg_cur->lock
HALF_LOCKED2 &state->owner->so_lock
TYPE_LOCK (struct seqlock)->lock

fs/nfs/pnfs.c pnfs_alloc_init_layoutget_args() -> nfs4_stateid_copy()

Type Parameter Key Value
PARAM_VALUE 0 dst 4096-ptr_max
PARAM_VALUE 1 src 3918562915726958592,4528443245496000512
DATA_SOURCE 1 src $2
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

fs/nfs/pnfs.c pnfs_init_layoutreturn_args() -> nfs4_stateid_copy()

Type Parameter Key Value
PARAM_VALUE 0 dst 4096-ptr_max
PARAM_VALUE 1 src 1879635520402669568,3357079182295801856,7115757578600091648,7151399651162259456,7803069141732245504,8155790329084911616
DATA_SOURCE 1 src $2
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &ino->i_lock
HALF_LOCKED2 rcu_read

fs/nfs/pnfs.c pnfs_layoutcommit_inode() -> nfs4_stateid_copy()

Type Parameter Key Value
PARAM_VALUE 0 dst 4096-ptr_max
PARAM_VALUE 1 src 4096-ptr_max
PREEMPT_ADD <- disables preempt
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 &inode->i_lock
TYPE_LOCK (struct inode)->i_lock

fs/nfs/pnfs.c pnfs_prepare_layoutreturn() -> nfs4_stateid_copy()

Type Parameter Key Value
PARAM_VALUE 0 dst 1879635520402669568,7115757578600091648,7151399651162259456,7803069141732245504,8155790329084911616
PARAM_VALUE 1 src 4096-ptr_max
DATA_SOURCE 0 dst $1
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &ino->i_lock
HALF_LOCKED2 &inode->i_lock
HALF_LOCKED2 rcu_read
TYPE_LOCK (struct inode)->i_lock

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

Type Parameter Key Value
PARAM_VALUE 0 dst 4096-ptr_max
PARAM_VALUE 1 src 4096-ptr_max
BUF_SIZE 1 src (-1)-0,20
BUF_SIZE 1 src (-1)-0,20
DATA_SOURCE 1 src $1
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &data->args.inode->i_lock
HALF_LOCKED2 &ino->i_lock
HALF_LOCKED2 &inode->i_lock
TYPE_LOCK (struct inode)->i_lock

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

Type Parameter Key Value
PARAM_VALUE 0 dst 4096-ptr_max
PARAM_VALUE 1 src 4096-ptr_max
BUF_SIZE 1 src (-1)-0,20
BUF_SIZE 1 src (-1)-0,20
DATA_SOURCE 1 src $1
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &data->args.inode->i_lock
HALF_LOCKED2 &ino->i_lock
HALF_LOCKED2 &inode->i_lock
TYPE_LOCK (struct inode)->i_lock

fs/nfs/pnfs.c pnfs_update_layout() -> nfs4_stateid_copy()

Type Parameter Key Value
PARAM_VALUE 0 dst 3918562915726958592
PARAM_VALUE 1 src 4096-ptr_max
PREEMPT_ADD <- disables preempt
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 &ino->i_lock
TYPE_LOCK (struct inode)->i_lock

fs/nfs/nfs4state.c nfs4_copy_lock_stateid() -> nfs4_stateid_copy()

Type Parameter Key Value
PARAM_VALUE 0 dst 4096-ptr_max
PARAM_VALUE 1 src 4096-ptr_max
DATA_SOURCE 0 dst $0
PREEMPT_ADD <- disables preempt
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 &state->state_lock
TYPE_LOCK (struct nfs4_state)->state_lock

fs/nfs/nfs4state.c nfs4_copy_open_stateid() -> nfs4_stateid_copy()

Type Parameter Key Value
PARAM_VALUE 0 dst 4096-ptr_max
PARAM_VALUE 1 src 4096-ptr_max
BUF_SIZE 1 src 20
DATA_SOURCE 0 dst $0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL