Lines Matching refs:adv_credits
318 u32 wanted, u32 *adv_credits, int need_posted, int max_posted)
323 *adv_credits = 0;
366 *adv_credits = advertise;
480 u32 adv_credits = 0;
512 adv_credits += posted;
582 * Update adv_credits since we reset the ACK_REQUIRED bit.
584 rds_ib_send_grab_credits(ic, 0, &posted, 1, RDS_MAX_ADV_CREDIT - adv_credits);
585 adv_credits += posted;
586 BUG_ON(adv_credits > 255);
676 if (adv_credits) {
680 hdr->h_credit = adv_credits;
682 adv_credits = 0;
732 BUG_ON(adv_credits);