Searched refs:adv_credits (Results 1 – 3 of 3) sorted by relevance
/Linux-v4.19/net/rds/ |
D | ib_send.c | 359 u32 wanted, u32 *adv_credits, int need_posted, int max_posted) in rds_ib_send_grab_credits() argument 364 *adv_credits = 0; in rds_ib_send_grab_credits() 407 *adv_credits = advertise; in rds_ib_send_grab_credits() 502 u32 adv_credits = 0; in rds_ib_xmit() local 537 adv_credits += posted; in rds_ib_xmit() 606 rds_ib_send_grab_credits(ic, 0, &posted, 1, RDS_MAX_ADV_CREDIT - adv_credits); in rds_ib_xmit() 607 adv_credits += posted; in rds_ib_xmit() 608 BUG_ON(adv_credits > 255); in rds_ib_xmit() 680 if (ic->i_flowctl && adv_credits) { in rds_ib_xmit() 684 hdr->h_credit = adv_credits; in rds_ib_xmit() [all …]
|
D | ib_recv.c | 647 static void rds_ib_send_ack(struct rds_ib_connection *ic, unsigned int adv_credits) in rds_ib_send_ack() argument 658 hdr->h_credit = adv_credits; in rds_ib_send_ack() 717 unsigned int adv_credits; in rds_ib_attempt_ack() local 728 if (!rds_ib_send_grab_credits(ic, 1, &adv_credits, 0, RDS_MAX_ADV_CREDIT)) { in rds_ib_attempt_ack() 735 rds_ib_send_ack(ic, adv_credits); in rds_ib_attempt_ack()
|
D | ib.h | 442 u32 *adv_credits, int need_posted, int max_posted);
|