Home
last modified time | relevance | path

Searched refs:mw (Results 1 – 3 of 3) sorted by relevance

/net/netfilter/ipvs/
Dip_vs_wrr.c68 int mw; /* maximum weight */ member
124 mark->mw = ip_vs_wrr_max_weight(svc) - (mark->di - 1); in ip_vs_wrr_init_svc()
125 mark->cw = mark->mw; in ip_vs_wrr_init_svc()
151 mark->mw = ip_vs_wrr_max_weight(svc) - (mark->di - 1); in ip_vs_wrr_dest_changed()
152 if (mark->cw > mark->mw || !mark->cw) in ip_vs_wrr_dest_changed()
153 mark->cw = mark->mw; in ip_vs_wrr_dest_changed()
176 if (mark->mw == 0) in ip_vs_wrr_schedule()
192 mark->cw = mark->mw; in ip_vs_wrr_schedule()
/net/sunrpc/xprtrdma/
Dverbs.c1089 r->r.mw = ib_alloc_mw(ia->ri_pd, IB_MW_TYPE_1); in rpcrdma_buffer_create()
1090 if (IS_ERR(r->r.mw)) { in rpcrdma_buffer_create()
1091 rc = PTR_ERR(r->r.mw); in rpcrdma_buffer_create()
1221 rc = ib_dealloc_mw(r->r.mw); in rpcrdma_buffer_destroy()
1323 struct rpcrdma_mw **mw; in rpcrdma_buffer_put() local
1324 mw = &req->rl_segments[i].mr_chunk.rl_mw; in rpcrdma_buffer_put()
1325 list_add_tail(&(*mw)->mw_list, &buffers->rb_mws); in rpcrdma_buffer_put()
1326 *mw = NULL; in rpcrdma_buffer_put()
1684 rc = ib_bind_mw(ia->ri_id->qp, seg->mr_chunk.rl_mw->r.mw, &param); in rpcrdma_register_memwin_external()
1692 seg->mr_rkey = seg->mr_chunk.rl_mw->r.mw->rkey; in rpcrdma_register_memwin_external()
[all …]
Dxprt_rdma.h162 struct ib_mw *mw; member