Lines Matching defs:posted
314 * - posted credits: this tells us how many WRs we recently
315 * posted to the receive queue. This value is transferred
325 * until we've posted new buffers and are ready to transmit these
334 * and the counter of posted buffers atomically - when we use the
336 * and grab the posted credits counter. Hence, we have to use a
352 unsigned int avail, posted, got = 0, advertise;
362 posted = IB_GET_POST_CREDITS(oldval);
365 rdsdebug("rds_iw_send_grab_credits(%u): credits=%u posted=%u\n",
366 wanted, avail, posted);
369 if (avail && !posted)
386 * the posted regardless of whether any send credits are
389 if (posted && (got || need_posted)) {
390 advertise = min_t(unsigned int, posted, max_posted);
423 void rds_iw_advertise_credits(struct rds_connection *conn, unsigned int posted)
427 if (posted == 0)
430 atomic_add(IB_SET_POST_CREDITS(posted), &ic->i_credits);
436 * advertising the newly posted buffer... ad inf)
511 u32 posted;
542 credit_alloc = rds_iw_send_grab_credits(ic, work_alloc, &posted, 0, RDS_MAX_ADV_CREDIT);
543 adv_credits += posted;
615 rds_iw_send_grab_credits(ic, 0, &posted, 1, RDS_MAX_ADV_CREDIT - adv_credits);
616 adv_credits += posted;