Lines Matching refs:posted
343 unsigned int avail, posted, got = 0, advertise; in rds_iw_send_grab_credits() local
353 posted = IB_GET_POST_CREDITS(oldval); in rds_iw_send_grab_credits()
357 wanted, avail, posted); in rds_iw_send_grab_credits()
360 if (avail && !posted) in rds_iw_send_grab_credits()
380 if (posted && (got || need_posted)) { in rds_iw_send_grab_credits()
381 advertise = min_t(unsigned int, posted, max_posted); in rds_iw_send_grab_credits()
414 void rds_iw_advertise_credits(struct rds_connection *conn, unsigned int posted) in rds_iw_advertise_credits() argument
418 if (posted == 0) in rds_iw_advertise_credits()
421 atomic_add(IB_SET_POST_CREDITS(posted), &ic->i_credits); in rds_iw_advertise_credits()
502 u32 posted; in rds_iw_xmit() local
534 credit_alloc = rds_iw_send_grab_credits(ic, work_alloc, &posted, 0, RDS_MAX_ADV_CREDIT); in rds_iw_xmit()
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()