Searched refs:adv_credits (Results 1 – 6 of 6) sorted by relevance
/linux-4.1.27/net/rds/ |
D | iw_send.c | 349 u32 wanted, u32 *adv_credits, int need_posted, int max_posted) in rds_iw_send_grab_credits() argument 354 *adv_credits = 0; in rds_iw_send_grab_credits() 397 *adv_credits = advertise; in rds_iw_send_grab_credits() 511 u32 adv_credits = 0; in rds_iw_xmit() local 543 adv_credits += posted; in rds_iw_xmit() 617 rds_iw_send_grab_credits(ic, 0, &posted, 1, RDS_MAX_ADV_CREDIT - adv_credits); in rds_iw_xmit() 618 adv_credits += posted; in rds_iw_xmit() 619 BUG_ON(adv_credits > 255); in rds_iw_xmit() 709 if (adv_credits) { in rds_iw_xmit() 713 hdr->h_credit = adv_credits; in rds_iw_xmit() [all …]
|
D | ib_send.c | 397 u32 wanted, u32 *adv_credits, int need_posted, int max_posted) in rds_ib_send_grab_credits() argument 402 *adv_credits = 0; in rds_ib_send_grab_credits() 445 *adv_credits = advertise; in rds_ib_send_grab_credits() 540 u32 adv_credits = 0; in rds_ib_xmit() local 575 adv_credits += posted; in rds_ib_xmit() 642 rds_ib_send_grab_credits(ic, 0, &posted, 1, RDS_MAX_ADV_CREDIT - adv_credits); in rds_ib_xmit() 643 adv_credits += posted; in rds_ib_xmit() 644 BUG_ON(adv_credits > 255); in rds_ib_xmit() 711 if (ic->i_flowctl && adv_credits) { in rds_ib_xmit() 715 hdr->h_credit = adv_credits; in rds_ib_xmit() [all …]
|
D | iw_recv.c | 432 static void rds_iw_send_ack(struct rds_iw_connection *ic, unsigned int adv_credits) in rds_iw_send_ack() argument 444 hdr->h_credit = adv_credits; in rds_iw_send_ack() 503 unsigned int adv_credits; in rds_iw_attempt_ack() local 514 if (!rds_iw_send_grab_credits(ic, 1, &adv_credits, 0, RDS_MAX_ADV_CREDIT)) { in rds_iw_attempt_ack() 521 rds_iw_send_ack(ic, adv_credits); in rds_iw_attempt_ack()
|
D | ib_recv.c | 601 static void rds_ib_send_ack(struct rds_ib_connection *ic, unsigned int adv_credits) in rds_ib_send_ack() argument 613 hdr->h_credit = adv_credits; in rds_ib_send_ack() 672 unsigned int adv_credits; in rds_ib_attempt_ack() local 683 if (!rds_ib_send_grab_credits(ic, 1, &adv_credits, 0, RDS_MAX_ADV_CREDIT)) { in rds_ib_attempt_ack() 690 rds_ib_send_ack(ic, adv_credits); in rds_ib_attempt_ack()
|
D | ib.h | 353 u32 *adv_credits, int need_posted, int max_posted);
|
D | iw.h | 361 u32 *adv_credits, int need_posted, int max_posted);
|