Lines Matching refs:adv_credits
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()
711 adv_credits = 0; in rds_iw_xmit()
760 BUG_ON(adv_credits); in rds_iw_xmit()