Defined in 1 files as a function:

Referenced in 6 files:

Smatch caller information:

fs/smb/server/compress.c ksmbd_compress_response() -> get_rfc1002_len()

Type Parameter Key Value
BUF_SIZE 0 buf s32min-(-2),1-s32max
UNITS 0 buf unit_byte

fs/smb/server/compress.c ksmbd_decompress_request() -> get_rfc1002_len()

Type Parameter Key Value
PARAM_VALUE 0 buf 4096-ptr_max
BUF_SIZE 0 buf 40-8404997
USER_PTR 0 buf

fs/smb/server/smb_common.c ksmbd_negotiate_smb_dialect() -> get_rfc1002_len()

Type Parameter Key Value
BUF_SIZE 0 buf 12,28,40-8404997
BUF_SIZE 0 buf 12,28,40-8404997
DATA_SOURCE 0 buf $0
USER_PTR 0 buf
LOCK2 &conn->srv_mutex
LOCK2 &pool->lock
TYPE_LOCK (struct ksmbd_conn)->srv_mutex

fs/smb/server/smb2misc.c ksmbd_smb2_check_message() -> get_rfc1002_len()

Type Parameter Key Value
BUF_SIZE 0 buf 12,28,40-8404997
USER_PTR 0 buf
LOCK2 &pool->lock

fs/smb/server/auth.c ksmbd_gen_preauth_integrity_hash() -> get_rfc1002_len()

Type Parameter Key Value
BUF_SIZE 0 buf 12,28,40-8404997
DATA_SOURCE 0 buf $1
USER_PTR 0 buf
HALF_LOCKED2 &conn->srv_mutex
HALF_LOCKED2 &conn->srv_mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct ksmbd_conn)->srv_mutex

fs/smb/server/connection.c ksmbd_conn_handler_loop() -> get_rfc1002_len()

Type Parameter Key Value
PARAM_VALUE 0 buf 4096-ptr_max
BUF_SIZE 0 buf 4
TERMINATED 0 buf 1
USER_PTR 0 buf

fs/smb/server/connection.c ksmbd_conn_handler_loop() -> get_rfc1002_len()

Type Parameter Key Value
PARAM_VALUE 0 buf 4096-ptr_max

fs/smb/server/connection.c ksmbd_conn_write() -> get_rfc1002_len()

Type Parameter Key Value
BUF_SIZE 0 buf s32min-(-2),1-s32max
RX_PATH
TASK_NOT_RUNNING
UNITS 0 buf unit_byte
LOCK2 &conn->srv_mutex
TYPE_LOCK (struct ksmbd_conn)->srv_mutex

fs/smb/server/smb2pdu.c fill_transform_hdr() -> get_rfc1002_len()

Type Parameter Key Value
BUF_SIZE 0 buf 448
DATA_SOURCE 0 buf $1

fs/smb/server/smb2pdu.c init_chained_smb2_rsp() -> get_rfc1002_len()

Type Parameter Key Value
PARAM_VALUE 0 buf 4096-ptr_max
BUF_SIZE 0 buf 448

fs/smb/server/smb2pdu.c is_chained_smb2_message() -> get_rfc1002_len()

Type Parameter Key Value
BUF_SIZE 0 buf 12,28,40-8404997

fs/smb/server/smb2pdu.c is_chained_smb2_message() -> get_rfc1002_len()

Type Parameter Key Value
BUF_SIZE 0 buf 448

fs/smb/server/smb2pdu.c is_chained_smb2_message() -> get_rfc1002_len()

Type Parameter Key Value
BUF_SIZE 0 buf 448

fs/smb/server/smb2pdu.c is_chained_smb2_message() -> get_rfc1002_len()

Type Parameter Key Value
PARAM_VALUE 0 buf 4096-ptr_max
BUF_SIZE 0 buf 448

fs/smb/server/smb2pdu.c smb2_allocate_rsp_buf() -> get_rfc1002_len()

Type Parameter Key Value
BUF_SIZE 0 buf 12,28,40-8404997
USER_PTR 0 buf
HALF_LOCKED2 &pool->lock

fs/smb/server/smb2pdu.c smb2_check_sign_req() -> get_rfc1002_len()

Type Parameter Key Value
BUF_SIZE 0 buf 12,28,40-8404997
USER_PTR 0 buf
HALF_LOCKED2 &conn->srv_mutex
HALF_LOCKED2 &pool->lock

fs/smb/server/smb2pdu.c smb2_check_sign_req() -> get_rfc1002_len()

Type Parameter Key Value
BUF_SIZE 0 buf 12,28,40-8404997
USER_PTR 0 buf
HALF_LOCKED2 &conn->srv_mutex
HALF_LOCKED2 &pool->lock

fs/smb/server/smb2pdu.c smb2_handle_negotiate() -> get_rfc1002_len()

Type Parameter Key Value
PARAM_VALUE 0 buf 4096-ptr_max
BUF_SIZE 0 buf 12,28,40-8404997
USER_PTR 0 buf
LOCK2 &conn->srv_mutex
LOCK2 &pool->lock
TYPE_LOCK (struct ksmbd_conn)->srv_mutex

fs/smb/server/smb2pdu.c smb2_handle_negotiate() -> get_rfc1002_len()

Type Parameter Key Value
PARAM_VALUE 0 buf 4096-ptr_max
BUF_SIZE 0 buf 12,28,40-8404997
USER_PTR 0 buf
LOCK2 &conn->srv_mutex
LOCK2 &pool->lock
TYPE_LOCK (struct ksmbd_conn)->srv_mutex

fs/smb/server/smb2pdu.c smb2_resp_buf_len() -> get_rfc1002_len()

Type Parameter Key Value
PARAM_VALUE 0 buf 16,4096-ptr_max
BUF_SIZE 0 buf 448
LOCK2 &pool->lock
HALF_LOCKED2 &dir_fp->readdir_lock

fs/smb/server/smb2pdu.c smb2_write_pipe() -> get_rfc1002_len()

Type Parameter Key Value
BUF_SIZE 0 buf 12,28,40-8404997
USER_PTR 0 buf
LOCK2 &pool->lock

fs/smb/server/smb2pdu.c smb2_write_pipe() -> get_rfc1002_len()

Type Parameter Key Value
PARAM_VALUE 0 buf 4096-ptr_max
BUF_SIZE 0 buf 12,28,40-8404997
USER_PTR 0 buf
LOCK2 &pool->lock

fs/smb/server/smb2pdu.c smb3_check_sign_req() -> get_rfc1002_len()

Type Parameter Key Value
BUF_SIZE 0 buf 12,28,40-8404997
USER_PTR 0 buf
HALF_LOCKED2 &conn->srv_mutex
HALF_LOCKED2 &pool->lock

fs/smb/server/smb2pdu.c smb3_check_sign_req() -> get_rfc1002_len()

Type Parameter Key Value
BUF_SIZE 0 buf 12,28,40-8404997
USER_PTR 0 buf
HALF_LOCKED2 &conn->srv_mutex
HALF_LOCKED2 &pool->lock

fs/smb/server/smb2pdu.c smb3_decrypt_req() -> get_rfc1002_len()

Type Parameter Key Value
BUF_SIZE 0 buf 12,28,40-8404997
USER_PTR 0 buf
HALF_LOCKED2 &pool->lock