Home
last modified time | relevance | path

Searched refs:total_credits (Results 1 - 12 of 12) sorted by relevance

/kernel/linux/linux-5.10/arch/mips/netlogic/xlr/
H A Dfmn-config.c84 int bkt, n, total_credits, ncores; in check_credit_distribution() local
88 total_credits = 0; in check_credit_distribution()
90 total_credits += cfg->cpu[n].credit_config[bkt]; in check_credit_distribution()
91 total_credits += cfg->gmac[0].credit_config[bkt]; in check_credit_distribution()
92 total_credits += cfg->gmac[1].credit_config[bkt]; in check_credit_distribution()
93 total_credits += cfg->dma.credit_config[bkt]; in check_credit_distribution()
94 total_credits += cfg->cmp.credit_config[bkt]; in check_credit_distribution()
95 total_credits += cfg->sae.credit_config[bkt]; in check_credit_distribution()
96 total_credits += cfg->xgmac[0].credit_config[bkt]; in check_credit_distribution()
97 total_credits in check_credit_distribution()
[all...]
/kernel/linux/linux-6.6/fs/smb/server/
H A Dsmb2misc.c338 if (credit_charge > conn->total_credits) { in smb2_validate_credit_charge()
340 credit_charge, conn->total_credits); in smb2_validate_credit_charge()
344 if ((u64)conn->outstanding_credits + credit_charge > conn->total_credits) { in smb2_validate_credit_charge()
H A Dconnection.h61 unsigned int total_credits; member
H A Dconnection.c71 conn->total_credits = 1; in ksmbd_conn_alloc()
H A Dtransport_rdma.c970 wait_queue_head_t *waitq, atomic_t *total_credits, in wait_for_credits()
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()
969 wait_for_credits(struct smb_direct_transport *t, wait_queue_head_t *waitq, atomic_t *total_credits, int needed) wait_for_credits() argument
H A Dsmb2pdu.c324 if (conn->total_credits > conn->vals->max_credits) { in smb2_set_rsp_credits()
326 pr_err("Total credits overflow: %d\n", conn->total_credits); in smb2_set_rsp_credits()
332 if (credit_charge > conn->total_credits) { in smb2_set_rsp_credits()
334 credit_charge, conn->total_credits); in smb2_set_rsp_credits()
338 conn->total_credits -= credit_charge; in smb2_set_rsp_credits()
352 aux_max = conn->vals->max_credits - conn->total_credits; in smb2_set_rsp_credits()
355 conn->total_credits += credits_granted; in smb2_set_rsp_credits()
365 conn->total_credits); in smb2_set_rsp_credits()
/kernel/linux/linux-6.6/drivers/thunderbolt/
H A Dtest.c90 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()
211 sw->ports[1].total_credits = 60; in alloc_dev_default()
218 sw->ports[2].total_credits = 60; in alloc_dev_default()
226 sw->ports[3].total_credits = 60; in alloc_dev_default()
233 sw->ports[4].total_credits = 60; in alloc_dev_default()
241 sw->ports[5].total_credits = 60; in alloc_dev_default()
248 sw->ports[6].total_credits in alloc_dev_default()
[all...]
H A Dswitch.c456 tb_dbg(tb, " Credits (total/control): %u/%u\n", port->total_credits, in tb_dump_port()
741 port->total_credits = in tb_init_port()
1182 port->total_credits, total); in tb_port_do_update_credits()
1185 port->total_credits = total; in tb_port_do_update_credits()
H A Dtunnel.c84 return port->total_credits - port->ctl_credits; in tb_usable_credits()
1213 hop->nfc_credits = min(port->total_credits - 2, 12U); in tb_dp_init_video_credits()
1483 credits = min(port->total_credits, credits); in tb_dma_reserve_credits()
H A Dtb.h255 * @total_credits: Total number of buffers available for this port
286 unsigned int total_credits; member
/kernel/linux/linux-5.10/drivers/net/wireless/ath/ath6kl/
H A Dhtc_pipe.c659 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()
/kernel/linux/linux-6.6/drivers/net/wireless/ath/ath6kl/
H A Dhtc_pipe.c659 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()

Completed in 35 milliseconds