Searched refs:mw (Results 1 - 2 of 2) sorted by relevance

/net/netfilter/ipvs/
H A Dip_vs_wrr.c33 * - mw: maximum weight
36 * As result, all weights are in the [di..mw] range with a step=di.
38 * First, we start with cw = mw and select dests with weight >= cw.
40 * Last pass should be with cw = di. We have mw/di passes in total:
52 * So, we modify how mw is calculated, now it is reduced with (di - 1),
68 int mw; /* maximum weight */ member in struct:ip_vs_wrr_mark
124 mark->mw = ip_vs_wrr_max_weight(svc) - (mark->di - 1);
125 mark->cw = mark->mw;
151 mark->mw = ip_vs_wrr_max_weight(svc) - (mark->di - 1);
152 if (mark->cw > mark->mw || !mar
[all...]
/net/sunrpc/xprtrdma/
H A Dverbs.c1346 /* "*mw" can be NULL when rpcrdma_buffer_get_mrs() fails, leaving
1350 rpcrdma_buffer_put_mr(struct rpcrdma_mw **mw, struct rpcrdma_buffer *buf) argument
1352 if (*mw) {
1353 list_add_tail(&(*mw)->mw_list, &buf->rb_mws);
1354 *mw = NULL;
1358 /* Cycle mw's back in reverse order, and "spin" them.
1718 struct rpcrdma_mw *mw = seg1->mr_chunk.rl_mw; local
1719 struct rpcrdma_frmr *frmr = &mw->r.frmr;
1751 __func__, mw, i);
1756 fastreg_wr.wr_id = (unsigned long)(void *)mw;
[all...]

Completed in 76 milliseconds