Defined in 1 files as a prototype:

Defined in 2 files as a function:

Referenced in 3 files:

Smatch caller information:

fs/nfsd/nfs4layouts.c nfsd4_close_layout() -> kernel_setlease()

Type Parameter Key Value
PARAM_VALUE 1 arg 2
PARAM_VALUE 2 lease 0
PARAM_VALUE 3 *priv 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 global &nfsd_mutex

fs/nfsd/nfs4layouts.c nfsd4_layout_setlease() -> kernel_setlease()

Type Parameter Key Value
PARAM_VALUE 1 arg 0
PARAM_VALUE 2 lease 2897662410606292992
PARAM_VALUE 2 *lease 4096-ptr_max
PARAM_VALUE 3 priv 0
UNITS 0 filp unit_byte

fs/nfsd/nfs4state.c nfs4_set_delegation() -> kernel_setlease()

Type Parameter Key Value
PARAM_VALUE 1 arg 0-1
PARAM_VALUE 2 lease 3506691329482739712
PARAM_VALUE 2 *lease 4096-ptr_max
PARAM_VALUE 3 priv 0

fs/nfsd/nfs4state.c nfs4_set_delegation() -> kernel_setlease()

Type Parameter Key Value
PARAM_VALUE 1 arg 2
PARAM_VALUE 2 lease 0
PARAM_VALUE 3 priv 6899629430771683328
PARAM_VALUE 3 *priv 4096-ptr_max
NOCHECK_CALL

fs/nfsd/nfs4state.c nfs4_unlock_deleg_lease() -> kernel_setlease()

Type Parameter Key Value
PARAM_VALUE 0 filp 4096-ptr_max
PARAM_VALUE 0 filp->f_inode->i_rwsem.first_waiter->handoff_set 0-1
PARAM_VALUE 0 filp->f_inode->i_rwsem.first_waiter->type 0-1
PARAM_VALUE 0 filp->f_path.dentry->d_inode->i_mapping->i_mmap_rwsem.first_waiter->handoff_set 0-1
PARAM_VALUE 0 filp->f_path.dentry->d_inode->i_mapping->i_mmap_rwsem.first_waiter->type 0-1
PARAM_VALUE 1 arg 2
PARAM_VALUE 2 lease 0
PARAM_VALUE 3 *priv 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 global &nfsd_mutex

fs/nfsd/nfs4state.c nfsd_get_dir_deleg() -> kernel_setlease()

Type Parameter Key Value
PARAM_VALUE 1 arg 0-1
PARAM_VALUE 2 lease 5336886801848848384
PARAM_VALUE 2 *lease 4096-ptr_max
PARAM_VALUE 3 priv 0

fs/nfsd/nfs4state.c nfsd_get_dir_deleg() -> kernel_setlease()

Type Parameter Key Value
PARAM_VALUE 1 arg 2
PARAM_VALUE 2 lease 0
PARAM_VALUE 3 priv 4210143582917652480
PARAM_VALUE 3 *priv 4096-ptr_max
NOCHECK_CALL

fs/locks.c vfs_setlease() -> kernel_setlease()

Type Parameter Key Value
PARAM_VALUE 0 filp 4096-ptr_max
PARAM_VALUE 0 filp->f_inode->i_sb 4096-ptr_max
PARAM_VALUE 0 filp->f_path.mnt 4096-ptr_max
PARAM_VALUE 1 arg 0-2
PARAM_VALUE 2 lease 0,1478038421404426240
PARAM_VALUE 2 *lease 4096-ptr_max
PARAM_VALUE 3 *priv 0,4-u64max
DATA_SOURCE 0 filp $0
DATA_SOURCE 1 arg $1
DATA_SOURCE 2 lease $2
DATA_SOURCE 3 priv $3
USER_DATA 1 arg 0-1