Defined in 1 files as a prototype:

Defined in 2 files as a function:

Referenced in 3 files:

Smatch caller information:

fs/smb/client/smb2misc.c __smb2_calc_size() -> smb2_get_data_area_len()

Type Parameter Key Value
PARAM_VALUE 0 off 7897582600564920320
PARAM_VALUE 1 len 2614547888168685568
PARAM_VALUE 1 *len 0
PARAM_VALUE 2 hdr 4096-ptr_max
BUF_SIZE 2 hdr 64
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &server->mid_queue_lock

fs/smb/client/smb2pdu.c SMB2_negotiate() -> smb2_get_data_area_len()

Type Parameter Key Value
PARAM_VALUE 0 off 6844506331686789120
PARAM_VALUE 1 len 7424720294183759872
PARAM_VALUE 2 hdr 4096-ptr_max
BUF_SIZE 2 hdr s32min-(-2),1-s32max
BUF_SIZE 2 hdr s32min-(-2),1-s32max
RX_PATH
TASK_NOT_RUNNING
UNITS 2 hdr unit_byte
LOCK2 &ses->session_mutex
TYPE_LOCK (struct cifs_ses)->session_mutex

fs/smb/server/smb2misc.c smb2_calc_size() -> smb2_get_data_area_len()

Type Parameter Key Value
PARAM_VALUE 0 off 3463795412982779904
PARAM_VALUE 1 len 4487578661816180736
PARAM_VALUE 2 hdr 4096-ptr_max
BUF_SIZE 2 hdr 64
LOCK2 &pool->lock