Lines Matching refs:posted
357 unsigned int avail, posted, got = 0, advertise; in rds_ib_send_grab_credits() local
367 posted = IB_GET_POST_CREDITS(oldval); in rds_ib_send_grab_credits()
371 wanted, avail, posted); in rds_ib_send_grab_credits()
374 if (avail && !posted) in rds_ib_send_grab_credits()
394 if (posted && (got || need_posted)) { in rds_ib_send_grab_credits()
395 advertise = min_t(unsigned int, posted, max_posted); in rds_ib_send_grab_credits()
428 void rds_ib_advertise_credits(struct rds_connection *conn, unsigned int posted) in rds_ib_advertise_credits() argument
432 if (posted == 0) in rds_ib_advertise_credits()
435 atomic_add(IB_SET_POST_CREDITS(posted), &ic->i_credits); in rds_ib_advertise_credits()
497 u32 posted; in rds_ib_xmit() local
532 credit_alloc = rds_ib_send_grab_credits(ic, work_alloc, &posted, 0, RDS_MAX_ADV_CREDIT); in rds_ib_xmit()
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()