Lines Matching refs:posted
358 unsigned int avail, posted, got = 0, advertise; in rds_ib_send_grab_credits() local
368 posted = IB_GET_POST_CREDITS(oldval); in rds_ib_send_grab_credits()
372 wanted, avail, posted); in rds_ib_send_grab_credits()
375 if (avail && !posted) in rds_ib_send_grab_credits()
395 if (posted && (got || need_posted)) { in rds_ib_send_grab_credits()
396 advertise = min_t(unsigned int, posted, max_posted); in rds_ib_send_grab_credits()
429 void rds_ib_advertise_credits(struct rds_connection *conn, unsigned int posted) in rds_ib_advertise_credits() argument
433 if (posted == 0) in rds_ib_advertise_credits()
436 atomic_add(IB_SET_POST_CREDITS(posted), &ic->i_credits); in rds_ib_advertise_credits()
498 u32 posted; in rds_ib_xmit() local
533 credit_alloc = rds_ib_send_grab_credits(ic, work_alloc, &posted, 0, RDS_MAX_ADV_CREDIT); in rds_ib_xmit()
534 adv_credits += posted; in rds_ib_xmit()
603 rds_ib_send_grab_credits(ic, 0, &posted, 1, RDS_MAX_ADV_CREDIT - adv_credits); in rds_ib_xmit()
604 adv_credits += posted; in rds_ib_xmit()