Lines Matching defs:adv_credits
357 u32 wanted, u32 *adv_credits, int need_posted, int max_posted)
362 *adv_credits = 0;
405 *adv_credits = advertise;
500 u32 adv_credits = 0;
535 adv_credits += posted;
601 * Update adv_credits since we reset the ACK_REQUIRED bit.
604 rds_ib_send_grab_credits(ic, 0, &posted, 1, RDS_MAX_ADV_CREDIT - adv_credits);
605 adv_credits += posted;
606 BUG_ON(adv_credits > 255);
686 if (ic->i_flowctl && adv_credits) {
690 hdr->h_credit = adv_credits;
692 adv_credits = 0;
758 BUG_ON(adv_credits);