Searched refs:total_credits (Results 1 – 10 of 10) sorted by relevance
/openbmc/linux/fs/smb/server/ |
H A D | smb2misc.c | 350 if (credit_charge > conn->total_credits) { in smb2_validate_credit_charge() 352 credit_charge, conn->total_credits); in smb2_validate_credit_charge() 356 if ((u64)conn->outstanding_credits + credit_charge > conn->total_credits) { in smb2_validate_credit_charge()
|
H A D | connection.h | 61 unsigned int total_credits; member
|
H A D | connection.c | 74 conn->total_credits = 1; in ksmbd_conn_alloc()
|
H A D | transport_rdma.c | 970 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()
|
H A D | smb2pdu.c | 324 if (conn->total_credits > conn->vals->max_credits) { in smb2_set_rsp_credits() 326 pr_err("Total credits overflow: %d\n", conn->total_credits); in smb2_set_rsp_credits() 332 if (credit_charge > conn->total_credits) { in smb2_set_rsp_credits() 334 credit_charge, conn->total_credits); in smb2_set_rsp_credits() 338 conn->total_credits -= credit_charge; in smb2_set_rsp_credits() 352 aux_max = conn->vals->max_credits - conn->total_credits; in smb2_set_rsp_credits() 355 conn->total_credits += credits_granted; in smb2_set_rsp_credits() 365 conn->total_credits); in smb2_set_rsp_credits()
|
/openbmc/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 | 87 return port->total_credits - port->ctl_credits; in tb_usable_credits() 1254 hop->nfc_credits = min(port->total_credits - 2, 12U); in tb_dp_init_video_credits() 1526 credits = min(port->total_credits, credits); in tb_dma_reserve_credits()
|
H A D | switch.c | 456 tb_dbg(tb, " Credits (total/control): %u/%u\n", port->total_credits, in tb_dump_port() 748 port->total_credits = in tb_init_port() 1250 port->total_credits, total); in tb_port_do_update_credits() 1253 port->total_credits = total; in tb_port_do_update_credits()
|
H A D | tb.h | 284 unsigned int total_credits; member
|
/openbmc/linux/drivers/net/wireless/ath/ath6kl/ |
H A 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()
|