Home
last modified time | relevance | path

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

/linux/fs/ksmbd/
A Dsmb2misc.c335 if (credit_charge <= conn->total_credits) { in smb2_validate_credit_charge()
336 conn->total_credits -= credit_charge; in smb2_validate_credit_charge()
340 credit_charge, conn->total_credits); in smb2_validate_credit_charge()
A Dconnection.h64 unsigned short total_credits; member
A Dconnection.c64 conn->total_credits = 1; in ksmbd_conn_alloc()
A Dsmb2pdu.c311 if (conn->total_credits > conn->max_credits) { in smb2_set_rsp_credits()
313 pr_err("Total credits overflow: %d\n", conn->total_credits); in smb2_set_rsp_credits()
336 if (conn->max_credits - conn->total_credits < credits_granted) in smb2_set_rsp_credits()
338 conn->total_credits; in smb2_set_rsp_credits()
340 conn->total_credits += credits_granted; in smb2_set_rsp_credits()
350 conn->total_credits); in smb2_set_rsp_credits()
/linux/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.c72 return port->total_credits - port->ctl_credits; in tb_usable_credits()
732 hop->nfc_credits = min(port->total_credits - 2, 12U); in tb_dp_init_video_credits()
947 credits = min(port->total_credits, credits); in tb_dma_reserve_credits()
A Dswitch.c509 tb_dbg(tb, " Credits (total/control): %u/%u\n", port->total_credits, in tb_dump_port()
777 port->total_credits = in tb_init_port()
1126 port->total_credits, total); in tb_port_do_update_credits()
1129 port->total_credits = total; in tb_port_do_update_credits()
A Dtb.h247 unsigned int total_credits; member
/linux/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 34 milliseconds