Searched refs:total_credits (Results 1 – 10 of 10) sorted by relevance
/linux-6.1.9/fs/ksmbd/ |
D | smb2misc.c | 333 if (credit_charge > conn->total_credits) { in smb2_validate_credit_charge() 335 credit_charge, conn->total_credits); in smb2_validate_credit_charge() 339 if ((u64)conn->outstanding_credits + credit_charge > conn->total_credits) { in smb2_validate_credit_charge()
|
D | connection.h | 59 unsigned int total_credits; member
|
D | connection.c | 71 conn->total_credits = 1; in ksmbd_conn_alloc()
|
D | transport_rdma.c | 970 wait_queue_head_t *waitq, atomic_t *total_credits, in wait_for_credits() argument 976 if (atomic_sub_return(needed, total_credits) >= 0) in wait_for_credits() 979 atomic_add(needed, total_credits); in wait_for_credits() 981 atomic_read(total_credits) >= needed || in wait_for_credits()
|
D | smb2pdu.c | 311 if (conn->total_credits > conn->vals->max_credits) { in smb2_set_rsp_credits() 313 pr_err("Total credits overflow: %d\n", conn->total_credits); in smb2_set_rsp_credits() 319 if (credit_charge > conn->total_credits) { in smb2_set_rsp_credits() 321 credit_charge, conn->total_credits); in smb2_set_rsp_credits() 325 conn->total_credits -= credit_charge; in smb2_set_rsp_credits() 342 if (conn->vals->max_credits - conn->total_credits < credits_granted) in smb2_set_rsp_credits() 344 conn->total_credits; in smb2_set_rsp_credits() 346 conn->total_credits += credits_granted; in smb2_set_rsp_credits() 356 conn->total_credits); in smb2_set_rsp_credits()
|
/linux-6.1.9/drivers/thunderbolt/ |
D | test.c | 90 sw->ports[1].total_credits = 60; in alloc_host() 97 sw->ports[2].total_credits = 60; in alloc_host() 105 sw->ports[3].total_credits = 60; in alloc_host() 112 sw->ports[4].total_credits = 60; in alloc_host() 194 sw->ports[1].total_credits = 60; in alloc_dev_default() 201 sw->ports[2].total_credits = 60; in alloc_dev_default() 209 sw->ports[3].total_credits = 60; in alloc_dev_default() 216 sw->ports[4].total_credits = 60; in alloc_dev_default() 224 sw->ports[5].total_credits = 60; in alloc_dev_default() 231 sw->ports[6].total_credits = 60; in alloc_dev_default() [all …]
|
D | tunnel.c | 72 return port->total_credits - port->ctl_credits; in tb_usable_credits() 747 hop->nfc_credits = min(port->total_credits - 2, 12U); in tb_dp_init_video_credits() 966 credits = min(port->total_credits, credits); in tb_dma_reserve_credits()
|
D | switch.c | 459 tb_dbg(tb, " Credits (total/control): %u/%u\n", port->total_credits, in tb_dump_port() 736 port->total_credits = in tb_init_port() 1150 port->total_credits, total); in tb_port_do_update_credits() 1153 port->total_credits = total; in tb_port_do_update_credits()
|
D | tb.h | 272 unsigned int total_credits; member
|
/linux-6.1.9/drivers/net/wireless/ath/ath6kl/ |
D | htc_pipe.c | 659 int total_credits = 0, i; in htc_process_credit_report() local 681 total_credits += rpt->credits; in htc_process_credit_report() 685 total_credits); in htc_process_credit_report()
|