Searched refs:credits_granted (Results 1 – 6 of 6) sorted by relevance
/linux-6.1.9/fs/ksmbd/ |
D | transport_rdma.h | 32 __le16 credits_granted; member 45 __le16 credits_granted; member
|
D | ksmbd_work.h | 53 unsigned int credits_granted; member
|
D | transport_rdma.c | 501 le16_to_cpu(req->credits_granted), in smb_direct_check_recvmsg() 619 atomic_add(le16_to_cpu(data_transfer->credits_granted), in recv_done() 1034 packet->credits_granted = cpu_to_le16(manage_credits_prior_sending(t)); in smb_direct_create_header() 1049 le16_to_cpu(packet->credits_granted), in smb_direct_create_header() 1594 resp->credits_granted = cpu_to_le16(manage_credits_prior_sending(t)); in smb_direct_send_negotiate_response()
|
D | smb2pdu.c | 304 unsigned short credit_charge, credits_granted = 0; in smb2_set_rsp_credits() local 340 credits_granted = min_t(unsigned short, credits_requested, aux_max); in smb2_set_rsp_credits() 342 if (conn->vals->max_credits - conn->total_credits < credits_granted) in smb2_set_rsp_credits() 343 credits_granted = conn->vals->max_credits - in smb2_set_rsp_credits() 346 conn->total_credits += credits_granted; in smb2_set_rsp_credits() 347 work->credits_granted += credits_granted; in smb2_set_rsp_credits() 351 hdr->CreditRequest = cpu_to_le16(work->credits_granted); in smb2_set_rsp_credits() 355 credits_requested, credits_granted, in smb2_set_rsp_credits()
|
/linux-6.1.9/fs/cifs/ |
D | smbdirect.h | 200 __le16 credits_granted; member 211 __le16 credits_granted; member
|
D | smbdirect.c | 301 resp->credits_granted, resp->status, in dump_smbd_negotiate_resp() 336 if (packet->credits_granted == 0) { in process_negotiation_response() 340 atomic_set(&info->send_credits, le16_to_cpu(packet->credits_granted)); in process_negotiation_response() 509 if (le16_to_cpu(data_transfer->credits_granted)) { in recv_done() 510 atomic_add(le16_to_cpu(data_transfer->credits_granted), in recv_done() 886 packet->credits_granted = cpu_to_le16(new_credits); in smbd_post_send_sgl() 905 le16_to_cpu(packet->credits_granted), in smbd_post_send_sgl()
|