Searched refs:total_credits (Results 1 – 11 of 11) sorted by relevance
| /linux/fs/smb/server/ |
| H A D | smb2misc.c | 349 if (credit_charge > conn->total_credits) { in smb2_validate_credit_charge() 351 credit_charge, conn->total_credits); in smb2_validate_credit_charge() 355 if ((u64)conn->outstanding_credits + credit_charge > conn->total_credits) { in smb2_validate_credit_charge()
|
| H A D | connection.c | 52 conn->total_credits, in proc_show_clients() 132 conn->total_credits = 1; in ksmbd_conn_alloc()
|
| H A D | connection.h | 72 unsigned int total_credits; member
|
| H A D | transport_rdma.c | 1268 wait_queue_head_t *waitq, atomic_t *total_credits, in wait_for_credits() argument 1274 if (atomic_sub_return(needed, total_credits) >= 0) in wait_for_credits() 1277 atomic_add(needed, total_credits); in wait_for_credits() 1279 atomic_read(total_credits) >= needed || in wait_for_credits()
|
| H A D | smb2pdu.c | 338 if (conn->total_credits > conn->vals->max_credits) { in smb2_set_rsp_credits() 340 pr_err("Total credits overflow: %d\n", conn->total_credits); in smb2_set_rsp_credits() 346 if (credit_charge > conn->total_credits) { in smb2_set_rsp_credits() 348 credit_charge, conn->total_credits); in smb2_set_rsp_credits() 352 conn->total_credits -= credit_charge; in smb2_set_rsp_credits() 366 aux_max = conn->vals->max_credits - conn->total_credits; in smb2_set_rsp_credits() 369 conn->total_credits += credits_granted; in smb2_set_rsp_credits() 379 conn->total_credits); in smb2_set_rsp_credits()
|
| /linux/drivers/thunderbolt/ |
| H A 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() 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 = 60; in alloc_dev_default() [all …]
|
| H A D | tunnel.c | 116 return port->total_credits - port->ctl_credits; in tb_usable_credits() 1477 hop->nfc_credits = min(port->total_credits - 2, 12U); in tb_dp_init_video_credits() 1763 credits = min(port->total_credits, credits); in tb_dma_reserve_credits()
|
| H A D | switch.c | 459 tb_dbg(tb, " Credits (total/control): %u/%u\n", port->total_credits, in tb_dump_port() 759 port->total_credits = in tb_init_port() 1254 port->total_credits, total); in tb_port_do_update_credits() 1257 port->total_credits = total; in tb_port_do_update_credits()
|
| H A D | tb.h | 298 unsigned int total_credits; member
|
| /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()
|
| /linux/fs/smb/client/ |
| H A D | smbdirect.c | 1341 wait_queue_head_t *waitq, atomic_t *total_credits, in wait_for_credits() argument 1347 if (atomic_sub_return(needed, total_credits) >= 0) in wait_for_credits() 1350 atomic_add(needed, total_credits); in wait_for_credits() 1352 atomic_read(total_credits) >= needed || in wait_for_credits()
|