Defined in 1 files as a macro:

Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

fs/nfs/nfs4proc.c _nfs41_test_stateid() -> nfs4_state_protect()

Type Parameter Key Value
PARAM_VALUE 1 sp4_mode 4
PARAM_VALUE 2 clntp 1469099634978246656
PARAM_VALUE 3 msg 7104040491109150720
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

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

Type Parameter Key Value
PARAM_VALUE 1 sp4_mode 2
PARAM_VALUE 2 clntp 9007492611030728712
PARAM_VALUE 3 msg 410794738976337920
PARAM_VALUE 3 msg->rpc_cred 0,4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &inode->i_lock
HALF_LOCKED2 &inode->i_rwsem

fs/nfs/nfs4proc.c _nfs4_proc_secinfo() -> nfs4_state_protect()

Type Parameter Key Value
PARAM_VALUE 0 clp 4096-ptr_max
PARAM_VALUE 1 sp4_mode 3
PARAM_VALUE 2 clntp 6189512407627743232
PARAM_VALUE 3 msg 4426179203369349120
PARAM_VALUE 3 msg->rpc_cred 0,8139046651473338368
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &dir->i_rwsem

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

Type Parameter Key Value
PARAM_VALUE 0 clp 4096-ptr_max
PARAM_VALUE 1 sp4_mode 4
PARAM_VALUE 2 clntp 7680907011134906376
PARAM_VALUE 3 msg 5619156618547232768
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

fs/nfs/nfs4proc.c nfs4_do_close() -> nfs4_state_protect()

Type Parameter Key Value
PARAM_VALUE 1 sp4_mode 2
PARAM_VALUE 2 clntp 6759065816673771528
PARAM_VALUE 3 msg 8523546358622732288
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

fs/nfs/nfs4proc.c nfs4_do_unlck() -> nfs4_state_protect()

Type Parameter Key Value
PARAM_VALUE 1 sp4_mode 2
PARAM_VALUE 2 clntp 9080866420208283656
PARAM_VALUE 3 msg 6962036039421456384
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

fs/nfs/nfs4proc.c nfs4_proc_commit_setup() -> nfs4_state_protect()

Type Parameter Key Value
PARAM_VALUE 0 clp 1-u64max
PARAM_VALUE 1 sp4_mode 6
PARAM_VALUE 2 clntp 6577294861357195272
PARAM_VALUE 3 msg 3816248727983525888
BUF_SIZE 3 msg->rpc_proc 3264
DATA_SOURCE 2 clntp $2
DATA_SOURCE 3 msg $1
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &inode->i_rwsem

fs/nfs/nfs4proc.c nfs4_proc_layoutreturn() -> nfs4_state_protect()

Type Parameter Key Value
PARAM_VALUE 1 sp4_mode 7
PARAM_VALUE 2 clntp 5233434271828545544
PARAM_VALUE 3 msg 1556514909561933824
PARAM_VALUE 3 msg->rpc_cred 0,4096-ptr_max
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL