Lines Matching refs:posted
399 unsigned int avail, posted, got = 0, advertise; in rds_ib_send_grab_credits() local
409 posted = IB_GET_POST_CREDITS(oldval); in rds_ib_send_grab_credits()
413 wanted, avail, posted); in rds_ib_send_grab_credits()
416 if (avail && !posted) in rds_ib_send_grab_credits()
436 if (posted && (got || need_posted)) { in rds_ib_send_grab_credits()
437 advertise = min_t(unsigned int, posted, max_posted); in rds_ib_send_grab_credits()
470 void rds_ib_advertise_credits(struct rds_connection *conn, unsigned int posted) in rds_ib_advertise_credits() argument
474 if (posted == 0) in rds_ib_advertise_credits()
477 atomic_add(IB_SET_POST_CREDITS(posted), &ic->i_credits); in rds_ib_advertise_credits()
539 u32 posted; in rds_ib_xmit() local
574 credit_alloc = rds_ib_send_grab_credits(ic, work_alloc, &posted, 0, RDS_MAX_ADV_CREDIT); in rds_ib_xmit()
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()