Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

fs/smb/server/asn1.c build_spnego_ntlmssp_auth_blob() -> encode_asn_tag()

Type Parameter Key Value
PARAM_VALUE 0 buf 4096-ptr_max
PARAM_VALUE 1 ofs 7718743721434828800
PARAM_VALUE 1 *ofs 0
PARAM_VALUE 2 tag 161
PARAM_VALUE 3 seq 48
PARAM_VALUE 4 length 5-13
BUF_SIZE 0 buf 9-25
BUF_SIZE 0 buf 9-25
DATA_SOURCE 0 buf r _kmalloc_noprof
NOCHECK_CALL
LOCK2 &conn->srv_mutex
LOCK2 &pool->lock
TYPE_LOCK (struct ksmbd_conn)->srv_mutex

fs/smb/server/asn1.c build_spnego_ntlmssp_auth_blob() -> encode_asn_tag()

Type Parameter Key Value
PARAM_VALUE 0 buf 4096-ptr_max
PARAM_VALUE 1 ofs 7718743721434828800
PARAM_VALUE 2 tag 160
PARAM_VALUE 3 seq 10
PARAM_VALUE 4 length 1
BUF_SIZE 0 buf 9-25
BUF_SIZE 0 buf 9-25
DATA_SOURCE 0 buf r _kmalloc_noprof
NOCHECK_CALL
LOCK2 &conn->srv_mutex
LOCK2 &pool->lock
TYPE_LOCK (struct ksmbd_conn)->srv_mutex

fs/smb/server/asn1.c build_spnego_ntlmssp_neg_blob() -> encode_asn_tag()

Type Parameter Key Value
PARAM_VALUE 0 buf 16,4096-ptr_max
PARAM_VALUE 1 ofs 9162969958233096192
PARAM_VALUE 1 *ofs 0
PARAM_VALUE 2 tag 161
PARAM_VALUE 3 seq 48
BUF_SIZE 0 buf 0-s32max,18446744071562067968-u64max
BUF_SIZE 0 buf 0-s32max,18446744071562067968-u64max
DATA_SOURCE 0 buf r _kmalloc_noprof
NOCHECK_CALL
UNITS 4 length unit_byte
LOCK2 &conn->srv_mutex
LOCK2 &pool->lock
TYPE_LOCK (struct ksmbd_conn)->srv_mutex

fs/smb/server/asn1.c build_spnego_ntlmssp_neg_blob() -> encode_asn_tag()

Type Parameter Key Value
PARAM_VALUE 0 buf 4096-ptr_max
PARAM_VALUE 1 ofs 9162969958233096192
PARAM_VALUE 2 tag 160
PARAM_VALUE 3 seq 10
PARAM_VALUE 4 length 1
BUF_SIZE 0 buf 0-s32max,18446744071562067968-u64max
BUF_SIZE 0 buf 0-s32max,18446744071562067968-u64max
DATA_SOURCE 0 buf r _kmalloc_noprof
NOCHECK_CALL
LOCK2 &conn->srv_mutex
LOCK2 &pool->lock
TYPE_LOCK (struct ksmbd_conn)->srv_mutex

fs/smb/server/asn1.c build_spnego_ntlmssp_neg_blob() -> encode_asn_tag()

Type Parameter Key Value
PARAM_VALUE 0 buf 4096-ptr_max
PARAM_VALUE 1 ofs 9162969958233096192
PARAM_VALUE 2 tag 161
PARAM_VALUE 3 seq 6
PARAM_VALUE 4 length 10
BUF_SIZE 0 buf 0-s32max,18446744071562067968-u64max
BUF_SIZE 0 buf 0-s32max,18446744071562067968-u64max
DATA_SOURCE 0 buf r _kmalloc_noprof
NOCHECK_CALL
LOCK2 &conn->srv_mutex
LOCK2 &pool->lock
TYPE_LOCK (struct ksmbd_conn)->srv_mutex

fs/smb/server/asn1.c build_spnego_ntlmssp_neg_blob() -> encode_asn_tag()

Type Parameter Key Value
PARAM_VALUE 0 buf 4096-ptr_max
PARAM_VALUE 1 ofs 9162969958233096192
PARAM_VALUE 2 tag 162
PARAM_VALUE 3 seq 4
PARAM_VALUE 4 length 0-s32max
BUF_SIZE 0 buf 0-s32max,18446744071562067968-u64max
BUF_SIZE 0 buf 0-s32max,18446744071562067968-u64max
DATA_SOURCE 0 buf r _kmalloc_noprof
DATA_SOURCE 4 length $3
NOCHECK_CALL
UNITS 4 length unit_byte
LOCK2 &conn->srv_mutex
LOCK2 &pool->lock
TYPE_LOCK (struct ksmbd_conn)->srv_mutex