Home
last modified time | relevance | path

Searched refs:adv_credits (Results 1 – 6 of 6) sorted by relevance

/linux-4.1.27/net/rds/
Diw_send.c349 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 …]
Dib_send.c397 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 …]
Diw_recv.c432 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()
Dib_recv.c601 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()
Dib.h353 u32 *adv_credits, int need_posted, int max_posted);
Diw.h361 u32 *adv_credits, int need_posted, int max_posted);