Searched refs:total_credits (Results 1 – 9 of 9) sorted by relevance
| /linux/fs/smb/server/ |
| H A D | connection.c | 98 unsigned int outstanding_credits, total_credits; in proc_show_clients() local 109 total_credits = conn->total_credits; in proc_show_clients() 126 total_credits); in proc_show_clients() 309 conn->total_credits = 1; in ksmbd_conn_alloc()
|
| H A D | smb2misc.c | 355 if (credit_charge > conn->total_credits) { in smb2_validate_credit_charge() 357 credit_charge, conn->total_credits); in smb2_validate_credit_charge() 361 if ((u64)conn->outstanding_credits + credit_charge > conn->total_credits) { in smb2_validate_credit_charge()
|
| H A D | connection.h | 86 unsigned int total_credits; member
|
| H A D | smb2pdu.c | 385 if (conn->total_credits > conn->vals->max_credits) { in smb2_set_rsp_credits() 387 pr_err("Total credits overflow: %d\n", conn->total_credits); in smb2_set_rsp_credits() 393 if (credit_charge > conn->total_credits) { in smb2_set_rsp_credits() 395 credit_charge, conn->total_credits); in smb2_set_rsp_credits() 399 conn->total_credits -= credit_charge; in smb2_set_rsp_credits() 414 aux_max = conn->vals->max_credits - conn->total_credits; in smb2_set_rsp_credits() 427 conn->total_credits += credits_granted; in smb2_set_rsp_credits() 442 conn->total_credits); in smb2_set_rsp_credits()
|
| /linux/fs/smb/smbdirect/ |
| H A D | internal.h | 81 atomic_t *total_credits,
|
| /linux/drivers/thunderbolt/ |
| H A D | test.c | 111 sw->ports[1].total_credits = 60; in alloc_host() 118 sw->ports[2].total_credits = 60; in alloc_host() 126 sw->ports[3].total_credits = 60; in alloc_host() 133 sw->ports[4].total_credits = 60; in alloc_host() 232 sw->ports[1].total_credits = 60; in alloc_dev_default() 239 sw->ports[2].total_credits = 60; in alloc_dev_default() 247 sw->ports[3].total_credits = 60; in alloc_dev_default() 254 sw->ports[4].total_credits = 60; in alloc_dev_default() 262 sw->ports[5].total_credits = 60; in alloc_dev_default() 269 sw->ports[6].total_credits = 60; in alloc_dev_default() [all …]
|
| H A D | tunnel.c | 119 return port->total_credits - port->ctl_credits; in tb_usable_credits() 1517 hop->nfc_credits = min(port->total_credits - 2, 12U); in tb_dp_init_video_credits() 1814 credits = min(port->total_credits, credits); in tb_dma_reserve_credits()
|
| H A D | switch.c | 455 tb_dbg(tb, " Credits (total/control): %u/%u\n", port->total_credits, in tb_dump_port() 764 port->total_credits = in tb_init_port() 1266 port->total_credits, total); in tb_port_do_update_credits() 1269 port->total_credits = total; in tb_port_do_update_credits()
|
| /linux/drivers/net/wireless/ath/ath6kl/ |
| H A D | htc_pipe.c | 658 int total_credits = 0, i; in htc_process_credit_report() local 680 total_credits += rpt->credits; in htc_process_credit_report() 684 total_credits); in htc_process_credit_report()
|