Lines Matching refs:posted
351 unsigned int avail, posted, got = 0, advertise; in rds_iw_send_grab_credits() local
361 posted = IB_GET_POST_CREDITS(oldval); in rds_iw_send_grab_credits()
365 wanted, avail, posted); in rds_iw_send_grab_credits()
368 if (avail && !posted) in rds_iw_send_grab_credits()
388 if (posted && (got || need_posted)) { in rds_iw_send_grab_credits()
389 advertise = min_t(unsigned int, posted, max_posted); in rds_iw_send_grab_credits()
422 void rds_iw_advertise_credits(struct rds_connection *conn, unsigned int posted) in rds_iw_advertise_credits() argument
426 if (posted == 0) in rds_iw_advertise_credits()
429 atomic_add(IB_SET_POST_CREDITS(posted), &ic->i_credits); in rds_iw_advertise_credits()
510 u32 posted; in rds_iw_xmit() local
542 credit_alloc = rds_iw_send_grab_credits(ic, work_alloc, &posted, 0, RDS_MAX_ADV_CREDIT); in rds_iw_xmit()
543 adv_credits += posted; in rds_iw_xmit()
617 rds_iw_send_grab_credits(ic, 0, &posted, 1, RDS_MAX_ADV_CREDIT - adv_credits); in rds_iw_xmit()
618 adv_credits += posted; in rds_iw_xmit()