Searched refs:adv_credits (Results 1 – 6 of 6) sorted by relevance
/linux-4.4.14/net/rds/ |
D | iw_send.c | 341 u32 wanted, u32 *adv_credits, int need_posted, int max_posted) in rds_iw_send_grab_credits() argument 346 *adv_credits = 0; in rds_iw_send_grab_credits() 389 *adv_credits = advertise; in rds_iw_send_grab_credits() 503 u32 adv_credits = 0; in rds_iw_xmit() local 535 adv_credits += posted; in rds_iw_xmit() 611 rds_iw_send_grab_credits(ic, 0, &posted, 1, RDS_MAX_ADV_CREDIT - adv_credits); in rds_iw_xmit() 612 adv_credits += posted; in rds_iw_xmit() 613 BUG_ON(adv_credits > 255); in rds_iw_xmit() 705 if (adv_credits) { in rds_iw_xmit() 709 hdr->h_credit = adv_credits; in rds_iw_xmit() [all …]
|
D | ib_send.c | 355 u32 wanted, u32 *adv_credits, int need_posted, int max_posted) in rds_ib_send_grab_credits() argument 360 *adv_credits = 0; in rds_ib_send_grab_credits() 403 *adv_credits = advertise; in rds_ib_send_grab_credits() 498 u32 adv_credits = 0; in rds_ib_xmit() local 533 adv_credits += posted; in rds_ib_xmit() 602 rds_ib_send_grab_credits(ic, 0, &posted, 1, RDS_MAX_ADV_CREDIT - adv_credits); in rds_ib_xmit() 603 adv_credits += posted; in rds_ib_xmit() 604 BUG_ON(adv_credits > 255); in rds_ib_xmit() 674 if (ic->i_flowctl && adv_credits) { in rds_ib_xmit() 678 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 | 643 static void rds_ib_send_ack(struct rds_ib_connection *ic, unsigned int adv_credits) in rds_ib_send_ack() argument 655 hdr->h_credit = adv_credits; in rds_ib_send_ack() 714 unsigned int adv_credits; in rds_ib_attempt_ack() local 725 if (!rds_ib_send_grab_credits(ic, 1, &adv_credits, 0, RDS_MAX_ADV_CREDIT)) { in rds_ib_attempt_ack() 732 rds_ib_send_ack(ic, adv_credits); in rds_ib_attempt_ack()
|
D | iw.h | 364 u32 *adv_credits, int need_posted, int max_posted);
|
D | ib.h | 406 u32 *adv_credits, int need_posted, int max_posted);
|