Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

fs/smb/server/smb2pdu.c generate_preauth_hash() -> ksmbd_gen_preauth_integrity_hash()

Type Parameter Key Value
PARAM_VALUE 0 conn 4096-ptr_max
PARAM_VALUE 0 conn->dialect 785
PARAM_VALUE 0 conn->srv_mutex.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 conn->srv_mutex.osq.tail.counter 0-s32max
PARAM_VALUE 0 conn->status 1,5
BUF_SIZE 1 buf 12,28,40-8404997
BUF_SIZE 2 pi_hash 64
BUF_SIZE 2 pi_hash 64
NOCHECK_CALL
USER_DATA 1 *buf 0-255[u]
USER_PTR 1 buf
LOCK2 &conn->srv_mutex
LOCK2 &pool->lock
TYPE_LOCK (struct ksmbd_conn)->srv_mutex

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

Type Parameter Key Value
PARAM_VALUE 0 conn 4096-ptr_max
PARAM_VALUE 0 conn->cipher_type 0-4
PARAM_VALUE 0 conn->cmds 5794070036731604992
PARAM_VALUE 0 conn->compress_algorithm 0,2
PARAM_VALUE 0 conn->dialect 785
PARAM_VALUE 0 conn->max_cmds 19
PARAM_VALUE 0 conn->need_neg 0
PARAM_VALUE 0 conn->ops 3896487406566141952
PARAM_VALUE 0 conn->ops->allocate_rsp_buf 3474047775168413696
PARAM_VALUE 0 conn->ops->check_sign_req 8598295507648638976
PARAM_VALUE 0 conn->ops->check_user_session 4648749305727516672
PARAM_VALUE 0 conn->ops->decrypt_req 966191658822303744
PARAM_VALUE 0 conn->ops->encrypt_resp 995184572535586816
PARAM_VALUE 0 conn->ops->generate_encryptionkey 3863936581855973376
PARAM_VALUE 0 conn->ops->generate_signingkey 4801351377101225984
PARAM_VALUE 0 conn->ops->get_cmd_val 6519228253280448512
PARAM_VALUE 0 conn->ops->get_ksmbd_tcon 3897272667789025280
PARAM_VALUE 0 conn->ops->inc_reqs 2273484115480924160
PARAM_VALUE 0 conn->ops->init_rsp_hdr 8696135820481527808
PARAM_VALUE 0 conn->ops->is_sign_req 1592264555114250240
PARAM_VALUE 0 conn->ops->is_transform_hdr 1534495180718915584
PARAM_VALUE 0 conn->ops->set_rsp_credits 2199132152104894464
PARAM_VALUE 0 conn->ops->set_rsp_status 6350479018582278144
PARAM_VALUE 0 conn->ops->set_sign_rsp 3175898097298567168
PARAM_VALUE 0 conn->posix_ext_supported 1
PARAM_VALUE 0 conn->preauth_info 4096-ptr_max
PARAM_VALUE 0 conn->preauth_info->Preauth_HashId 1
PARAM_VALUE 0 conn->preauth_sess_table.next 4096-ptr_max
PARAM_VALUE 0 conn->preauth_sess_table.next->next 4096-ptr_max
PARAM_VALUE 0 conn->preauth_sess_table.prev 4096-ptr_max
PARAM_VALUE 0 conn->preauth_sess_table.prev->next 4096-ptr_max
PARAM_VALUE 0 conn->preauth_sess_table.prev->prev 4096-ptr_max
PARAM_VALUE 0 conn->signing_algorithm 1
PARAM_VALUE 0 conn->srv_mutex.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 conn->srv_mutex.osq.tail.counter 0-s32max
PARAM_VALUE 0 conn->status 0,4
PARAM_VALUE 0 conn->vals 6021224307741634560
PARAM_VALUE 0 conn->vals->cap_large_files 2097152
PARAM_VALUE 0 conn->vals->cap_nt_find 1048576
PARAM_VALUE 0 conn->vals->cap_unicode 0
PARAM_VALUE 0 conn->vals->cap_unix 0
PARAM_VALUE 0 conn->vals->create_disk_id_size 56
PARAM_VALUE 0 conn->vals->create_durable_size 32
PARAM_VALUE 0 conn->vals->create_durable_v2_size 32
PARAM_VALUE 0 conn->vals->create_lease_size 80
PARAM_VALUE 0 conn->vals->create_mxac_size 32
PARAM_VALUE 0 conn->vals->create_posix_size 88
PARAM_VALUE 0 conn->vals->exclusive_lock_type 2
PARAM_VALUE 0 conn->vals->header_size 64
PARAM_VALUE 0 conn->vals->large_lock_type 0
PARAM_VALUE 0 conn->vals->lock_cmd 10
PARAM_VALUE 0 conn->vals->max_credits 8192
PARAM_VALUE 0 conn->vals->max_header_size 120
PARAM_VALUE 0 conn->vals->max_read_size 4194304
PARAM_VALUE 0 conn->vals->max_trans_size 4194304
PARAM_VALUE 0 conn->vals->max_write_size 4194304
PARAM_VALUE 0 conn->vals->protocol_id 785
PARAM_VALUE 0 conn->vals->read_rsp_size 80
PARAM_VALUE 0 conn->vals->req_capabilities 0,4,6,8-648
PARAM_VALUE 0 conn->vals->shared_lock_type 1
PARAM_VALUE 0 conn->vals->signing_enabled 0
PARAM_VALUE 0 conn->vals->signing_required 0
PARAM_VALUE 0 conn->vals->unlock_lock_type 4
PARAM_VALUE 0 conn->vals->version_string 3627502677436354560
PARAM_VALUE 1 buf 4096-ptr_max
BUF_SIZE 0 conn->preauth_info 66
BUF_SIZE 1 buf 12,28,40-8404997
BUF_SIZE 2 pi_hash 64
NOCHECK_CALL
USER_DATA 1 *buf 0-255
USER_PTR 1 buf
LOCK2 &conn->srv_mutex
LOCK2 &pool->lock
TYPE_LOCK (struct ksmbd_conn)->srv_mutex

fs/smb/server/smb2pdu.c smb3_preauth_hash_rsp() -> ksmbd_gen_preauth_integrity_hash()

Type Parameter Key Value
PARAM_VALUE 0 conn 4096-ptr_max
PARAM_VALUE 0 conn->dialect 785
PARAM_VALUE 0 conn->preauth_info 4096-ptr_max
PARAM_VALUE 0 conn->srv_mutex.dep_map->name 0-255
PARAM_VALUE 0 conn->srv_mutex.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 conn->srv_mutex.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 conn->srv_mutex.osq.tail.counter 0-s32max
BUF_SIZE 1 buf 448
BUF_SIZE 2 pi_hash 64
NOCHECK_CALL
LOCK2 0 &conn->srv_mutex
TYPE_LOCK (struct ksmbd_conn)->srv_mutex

fs/smb/server/smb2pdu.c smb3_preauth_hash_rsp() -> ksmbd_gen_preauth_integrity_hash()

Type Parameter Key Value
PARAM_VALUE 0 conn 4096-ptr_max
PARAM_VALUE 0 conn->binding 1
PARAM_VALUE 0 conn->dialect 785
PARAM_VALUE 0 conn->srv_mutex.dep_map->name 0-255
PARAM_VALUE 0 conn->srv_mutex.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 conn->srv_mutex.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 conn->srv_mutex.osq.tail.counter 0-s32max
PARAM_VALUE 0 conn->vals->req_capabilities 0,4,6,8,12,14,16-648
BUF_SIZE 1 buf 448
BUF_SIZE 2 pi_hash 64
NOCHECK_CALL
LOCK2 0 &conn->srv_mutex
TYPE_LOCK (struct ksmbd_conn)->srv_mutex

fs/smb/server/smb2pdu.c smb3_preauth_hash_rsp() -> ksmbd_gen_preauth_integrity_hash()

Type Parameter Key Value
PARAM_VALUE 0 conn 4096-ptr_max
PARAM_VALUE 0 conn->binding 0
PARAM_VALUE 0 conn->dialect 785
PARAM_VALUE 0 conn->srv_mutex.dep_map->name 0-255
PARAM_VALUE 0 conn->srv_mutex.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 conn->srv_mutex.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 conn->srv_mutex.osq.tail.counter 0-s32max
PARAM_VALUE 0 conn->vals->req_capabilities 0,4,6,8,12,14,16-648
PARAM_VALUE 2 pi_hash 1-u64max
BUF_SIZE 1 buf 448
BUF_SIZE 2 pi_hash 64
NOCHECK_CALL
LOCK2 0 &conn->srv_mutex
TYPE_LOCK (struct ksmbd_conn)->srv_mutex