Home
last modified time | relevance | path

Searched refs:total_credits (Results 1 – 10 of 10) sorted by relevance

/linux-6.3-rc2/fs/ksmbd/
A Dsmb2misc.c329 if (credit_charge > conn->total_credits) { in smb2_validate_credit_charge()
331 credit_charge, conn->total_credits); in smb2_validate_credit_charge()
335 if ((u64)conn->outstanding_credits + credit_charge > conn->total_credits) { in smb2_validate_credit_charge()
A Dconnection.h59 unsigned int total_credits; member
A Dconnection.c71 conn->total_credits = 1; in ksmbd_conn_alloc()
A Dtransport_rdma.c970 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()
A Dsmb2pdu.c304 if (conn->total_credits > conn->vals->max_credits) { in smb2_set_rsp_credits()
306 pr_err("Total credits overflow: %d\n", conn->total_credits); in smb2_set_rsp_credits()
312 if (credit_charge > conn->total_credits) { in smb2_set_rsp_credits()
314 credit_charge, conn->total_credits); in smb2_set_rsp_credits()
318 conn->total_credits -= credit_charge; in smb2_set_rsp_credits()
335 if (conn->vals->max_credits - conn->total_credits < credits_granted) in smb2_set_rsp_credits()
337 conn->total_credits; in smb2_set_rsp_credits()
339 conn->total_credits += credits_granted; in smb2_set_rsp_credits()
349 conn->total_credits); in smb2_set_rsp_credits()
/linux-6.3-rc2/drivers/thunderbolt/
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()
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 …]
A Dtunnel.c78 return port->total_credits - port->ctl_credits; in tb_usable_credits()
1107 hop->nfc_credits = min(port->total_credits - 2, 12U); in tb_dp_init_video_credits()
1334 credits = min(port->total_credits, credits); in tb_dma_reserve_credits()
A Dswitch.c460 tb_dbg(tb, " Credits (total/control): %u/%u\n", port->total_credits, in tb_dump_port()
745 port->total_credits = in tb_init_port()
1159 port->total_credits, total); in tb_port_do_update_credits()
1162 port->total_credits = total; in tb_port_do_update_credits()
A Dtb.h292 unsigned int total_credits; member
/linux-6.3-rc2/drivers/net/wireless/ath/ath6kl/
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 38 milliseconds