Searched refs:total_credits (Results 1 – 10 of 10) sorted by relevance
| /Linux-v5.15/arch/mips/netlogic/xlr/ |
| D | fmn-config.c | 84 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 += cfg->xgmac[1].credit_config[bkt]; in check_credit_distribution() [all …]
|
| /Linux-v5.15/fs/ksmbd/ |
| D | smb2misc.c | 336 if (credit_charge <= conn->total_credits) { in smb2_validate_credit_charge() 337 conn->total_credits -= credit_charge; in smb2_validate_credit_charge() 341 credit_charge, conn->total_credits); in smb2_validate_credit_charge()
|
| D | connection.h | 64 unsigned short total_credits; member
|
| D | connection.c | 64 conn->total_credits = 1; in ksmbd_conn_alloc()
|
| D | smb2pdu.c | 313 if (conn->total_credits > conn->max_credits) { in smb2_set_rsp_credits() 315 pr_err("Total credits overflow: %d\n", conn->total_credits); in smb2_set_rsp_credits() 338 if (conn->max_credits - conn->total_credits < credits_granted) in smb2_set_rsp_credits() 340 conn->total_credits; in smb2_set_rsp_credits() 342 conn->total_credits += credits_granted; in smb2_set_rsp_credits() 352 conn->total_credits); in smb2_set_rsp_credits()
|
| /Linux-v5.15/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() 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()
|
| D | switch.c | 509 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()
|
| D | tb.h | 247 unsigned int total_credits; member
|
| /Linux-v5.15/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()
|