Searched defs:adv_credits (Results 1 - 4 of 4) sorted by relevance

/net/rds/
H A Dib_send.c397 u32 wanted, u32 *adv_credits, int need_posted, int max_posted)
402 *adv_credits = 0;
445 *adv_credits = advertise;
540 u32 adv_credits = 0; local
575 adv_credits += posted;
639 * Update adv_credits since we reset the ACK_REQUIRED bit.
642 rds_ib_send_grab_credits(ic, 0, &posted, 1, RDS_MAX_ADV_CREDIT - adv_credits);
643 adv_credits += posted;
644 BUG_ON(adv_credits > 255);
711 if (ic->i_flowctl && adv_credits) {
396 rds_ib_send_grab_credits(struct rds_ib_connection *ic, u32 wanted, u32 *adv_credits, int need_posted, int max_posted) argument
[all...]
H A Diw_recv.c447 static void rds_iw_send_ack(struct rds_iw_connection *ic, unsigned int adv_credits) argument
459 hdr->h_credit = adv_credits;
518 unsigned int adv_credits; local
529 if (!rds_iw_send_grab_credits(ic, 1, &adv_credits, 0, RDS_MAX_ADV_CREDIT)) {
536 rds_iw_send_ack(ic, adv_credits);
H A Diw_send.c349 u32 wanted, u32 *adv_credits, int need_posted, int max_posted)
354 *adv_credits = 0;
397 *adv_credits = advertise;
511 u32 adv_credits = 0; local
543 adv_credits += posted;
615 * Update adv_credits since we reset the ACK_REQUIRED bit.
617 rds_iw_send_grab_credits(ic, 0, &posted, 1, RDS_MAX_ADV_CREDIT - adv_credits);
618 adv_credits += posted;
619 BUG_ON(adv_credits > 255);
709 if (adv_credits) {
348 rds_iw_send_grab_credits(struct rds_iw_connection *ic, u32 wanted, u32 *adv_credits, int need_posted, int max_posted) argument
[all...]
H A Dib_recv.c616 static void rds_ib_send_ack(struct rds_ib_connection *ic, unsigned int adv_credits) argument
628 hdr->h_credit = adv_credits;
687 unsigned int adv_credits; local
698 if (!rds_ib_send_grab_credits(ic, 1, &adv_credits, 0, RDS_MAX_ADV_CREDIT)) {
705 rds_ib_send_ack(ic, adv_credits);

Completed in 35 milliseconds