Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

fs/smb/client/file.c cifs_push_mandatory_locks() -> cifs_lockv()

Type Parameter Key Value
PARAM_VALUE 1 tcon 4096-ptr_max
PARAM_VALUE 1 tcon->ses 4096-ptr_max
PARAM_VALUE 1 tcon->ses->server->maxBuf 53-u32max
PARAM_VALUE 1 *tcon->ses->server->fastest_cmd 0-4294967295
PARAM_VALUE 1 *tcon->ses->server->slowest_cmd 0-4294967295
PARAM_VALUE 4 num_unlock 0
PARAM_VALUE 5 num_lock 0-203,3435973836
PARAM_VALUE 6 buf 16,4096-ptr_max
BUF_SIZE 6 buf 0-4060,68719476720
BUF_SIZE 6 buf 0-4060,68719476720
CAPPED_DATA 3 lock_type 1
DATA_SOURCE 0 xid r _get_xid
DATA_SOURCE 6 buf r _kzalloc_noprof
RX_PATH
TASK_NOT_RUNNING
LOCK2 &cinode->lock_sem
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct cifsInodeInfo)->lock_sem

fs/smb/client/file.c cifs_push_mandatory_locks() -> cifs_lockv()

Type Parameter Key Value
PARAM_VALUE 1 tcon 4096-ptr_max
PARAM_VALUE 1 tcon->ses 4096-ptr_max
PARAM_VALUE 1 tcon->ses->server->maxBuf 53-u32max
PARAM_VALUE 1 *tcon->ses->server->fastest_cmd 0-4294967295
PARAM_VALUE 1 *tcon->ses->server->slowest_cmd 0-4294967295
PARAM_VALUE 4 num_unlock 0
PARAM_VALUE 5 num_lock 1-u32max
PARAM_VALUE 6 buf 16,4096-ptr_max
BUF_SIZE 6 buf 0-4060,68719476720
BUF_SIZE 6 buf 0-4060,68719476720
DATA_SOURCE 0 xid r _get_xid
DATA_SOURCE 6 buf r _kzalloc_noprof
RX_PATH
TASK_NOT_RUNNING
LOCK2 &cinode->lock_sem
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct cifsInodeInfo)->lock_sem

fs/smb/client/file.c cifs_unlock_range() -> cifs_lockv()

Type Parameter Key Value
PARAM_VALUE 1 tcon 4096-ptr_max
PARAM_VALUE 1 tcon->ses 4096-ptr_max
PARAM_VALUE 1 tcon->ses->server->maxBuf 53-u32max
PARAM_VALUE 1 *tcon->ses->server->fastest_cmd 0-4294967295
PARAM_VALUE 1 *tcon->ses->server->slowest_cmd 0-4294967295
PARAM_VALUE 4 num_unlock 0-203,3435973836
PARAM_VALUE 5 num_lock 0
PARAM_VALUE 6 buf 16,4096-ptr_max
BUF_SIZE 6 buf 0-4060,68719476720
BUF_SIZE 6 buf 0-4060,68719476720
CAPPED_DATA 3 lock_type 1
DATA_SOURCE 0 xid $2
DATA_SOURCE 6 buf r _kzalloc_noprof
RX_PATH
TASK_NOT_RUNNING
LOCK2 &cinode->lock_sem
TYPE_LOCK (struct cifsInodeInfo)->lock_sem

fs/smb/client/file.c cifs_unlock_range() -> cifs_lockv()

Type Parameter Key Value
PARAM_VALUE 1 tcon 4096-ptr_max
PARAM_VALUE 1 tcon->ses 4096-ptr_max
PARAM_VALUE 1 tcon->ses->server->maxBuf 53-u32max
PARAM_VALUE 1 *tcon->ses->server->fastest_cmd 0-4294967295
PARAM_VALUE 1 *tcon->ses->server->slowest_cmd 0-4294967295
PARAM_VALUE 4 num_unlock 1-u32max
PARAM_VALUE 5 num_lock 0
PARAM_VALUE 6 buf 16,4096-ptr_max
BUF_SIZE 6 buf 0-4060,68719476720
BUF_SIZE 6 buf 0-4060,68719476720
DATA_SOURCE 0 xid $2
DATA_SOURCE 6 buf r _kzalloc_noprof
RX_PATH
TASK_NOT_RUNNING
LOCK2 &cinode->lock_sem
TYPE_LOCK (struct cifsInodeInfo)->lock_sem