Home
last modified time | relevance | path

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

/linux-2.6.39/fs/ocfs2/
Ddlmglue.c440 struct ocfs2_mask_waiter *mw, int ret) in ocfs2_update_lock_stats() argument
453 kt = ktime_sub(ktime_get(), mw->mw_lock_start); in ocfs2_update_lock_stats()
476 static inline void ocfs2_init_start_time(struct ocfs2_mask_waiter *mw) in ocfs2_init_start_time() argument
478 mw->mw_lock_start = ktime_get(); in ocfs2_init_start_time()
485 int level, struct ocfs2_mask_waiter *mw, int ret) in ocfs2_update_lock_stats() argument
491 static inline void ocfs2_init_start_time(struct ocfs2_mask_waiter *mw) in ocfs2_init_start_time() argument
804 struct ocfs2_mask_waiter *mw, *tmp; in lockres_set_flags() local
810 list_for_each_entry_safe(mw, tmp, &lockres->l_mask_waiters, mw_item) { in lockres_set_flags()
811 if ((lockres->l_flags & mw->mw_mask) != mw->mw_goal) in lockres_set_flags()
814 list_del_init(&mw->mw_item); in lockres_set_flags()
[all …]
/linux-2.6.39/arch/mips/txx9/generic/
Dmem_tx4927.c46 unsigned int mw = 0; in tx4927_process_sdccr() local
61 mw = 8 >> sdccr_mw; in tx4927_process_sdccr()
64 return rs * cs * mw * bs; in tx4927_process_sdccr()
/linux-2.6.39/net/netfilter/ipvs/
Dip_vs_wrr.c38 int mw; /* maximum weight */ member
94 mark->mw = ip_vs_wrr_max_weight(svc); in ip_vs_wrr_init_svc()
118 mark->mw = ip_vs_wrr_max_weight(svc); in ip_vs_wrr_update_svc()
120 if (mark->cw > mark->mw) in ip_vs_wrr_update_svc()
160 mark->cw = mark->mw; in ip_vs_wrr_schedule()
/linux-2.6.39/drivers/infiniband/core/
Dverbs.c821 struct ib_mw *mw; in ib_alloc_mw() local
826 mw = pd->device->alloc_mw(pd); in ib_alloc_mw()
827 if (!IS_ERR(mw)) { in ib_alloc_mw()
828 mw->device = pd->device; in ib_alloc_mw()
829 mw->pd = pd; in ib_alloc_mw()
830 mw->uobject = NULL; in ib_alloc_mw()
834 return mw; in ib_alloc_mw()
838 int ib_dealloc_mw(struct ib_mw *mw) in ib_dealloc_mw() argument
843 pd = mw->pd; in ib_dealloc_mw()
844 ret = mw->device->dealloc_mw(mw); in ib_dealloc_mw()
Dcma.c2925 struct iboe_mcast_work *mw = container_of(work, struct iboe_mcast_work, work); in iboe_mcast_work_handler() local
2926 struct cma_multicast *mc = mw->mc; in iboe_mcast_work_handler()
2932 kfree(mw); in iboe_mcast_work_handler()
/linux-2.6.39/drivers/infiniband/hw/ehca/
Dhcp_if.h246 const struct ehca_mw *mw,
252 const struct ehca_mw *mw,
257 const struct ehca_mw *mw);
Dehca_iverbs.h100 int ehca_bind_mw(struct ib_qp *qp, struct ib_mw *mw,
103 int ehca_dealloc_mw(struct ib_mw *mw);
Dhcp_if.c899 const struct ehca_mw *mw, in hipz_h_alloc_resource_mw() argument
918 const struct ehca_mw *mw, in hipz_h_query_mw() argument
926 mw->ipz_mw_handle.handle, /* r5 */ in hipz_h_query_mw()
934 const struct ehca_mw *mw) in hipz_h_free_resource_mw() argument
938 mw->ipz_mw_handle.handle, /* r5 */ in hipz_h_free_resource_mw()
Dehca_mrmw.c732 struct ib_mw *mw, in ehca_bind_mw() argument
743 int ehca_dealloc_mw(struct ib_mw *mw) in ehca_dealloc_mw() argument
747 container_of(mw->device, struct ehca_shca, ib_device); in ehca_dealloc_mw()
748 struct ehca_mw *e_mw = container_of(mw, struct ehca_mw, ib_mw); in ehca_dealloc_mw()
752 ehca_err(mw->device, "hipz_free_mw failed, h_ret=%lli shca=%p " in ehca_dealloc_mw()
754 h_ret, shca, mw, mw->rkey, shca->ipz_hca_handle.handle, in ehca_dealloc_mw()
/linux-2.6.39/net/sunrpc/xprtrdma/
Dverbs.c1088 r->r.mw = ib_alloc_mw(ia->ri_pd); in rpcrdma_buffer_create()
1089 if (IS_ERR(r->r.mw)) { in rpcrdma_buffer_create()
1090 rc = PTR_ERR(r->r.mw); in rpcrdma_buffer_create()
1220 rc = ib_dealloc_mw(r->r.mw); in rpcrdma_buffer_destroy()
1322 struct rpcrdma_mw **mw; in rpcrdma_buffer_put() local
1323 mw = &req->rl_segments[i].mr_chunk.rl_mw; in rpcrdma_buffer_put()
1324 list_add_tail(&(*mw)->mw_list, &buffers->rb_mws); in rpcrdma_buffer_put()
1325 *mw = NULL; in rpcrdma_buffer_put()
1676 rc = ib_bind_mw(ia->ri_id->qp, seg->mr_chunk.rl_mw->r.mw, &param); in rpcrdma_register_memwin_external()
1684 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
/linux-2.6.39/include/rdma/
Dib_verbs.h1127 struct ib_mw *mw,
1129 int (*dealloc_mw)(struct ib_mw *mw);
1986 struct ib_mw *mw, in ib_bind_mw() argument
1990 return mw->device->bind_mw ? in ib_bind_mw()
1991 mw->device->bind_mw(qp, mw, mw_bind) : in ib_bind_mw()
1999 int ib_dealloc_mw(struct ib_mw *mw);
/linux-2.6.39/drivers/infiniband/hw/cxgb4/
Dmem.c680 int c4iw_dealloc_mw(struct ib_mw *mw) in c4iw_dealloc_mw() argument
686 mhp = to_c4iw_mw(mw); in c4iw_dealloc_mw()
688 mmid = (mw->rkey) >> 8; in c4iw_dealloc_mw()
692 PDBG("%s ib_mw %p mmid 0x%x ptr %p\n", __func__, mw, mmid, mhp); in c4iw_dealloc_mw()
Diw_cxgb4.h700 int c4iw_bind_mw(struct ib_qp *qp, struct ib_mw *mw,
714 int c4iw_dealloc_mw(struct ib_mw *mw);
Dqp.c754 int c4iw_bind_mw(struct ib_qp *qp, struct ib_mw *mw, struct ib_mw_bind *mw_bind) in c4iw_bind_mw() argument
/linux-2.6.39/drivers/infiniband/hw/cxgb3/
Diwch_provider.h331 struct ib_mw *mw,
Diwch_qp.c529 struct ib_mw *mw, in iwch_bind_mw() argument
547 mhp = to_iwch_mw(mw); in iwch_bind_mw()
563 mw, mw_bind); in iwch_bind_mw()
579 wqe->bind.mw_stag = cpu_to_be32(mw->rkey); in iwch_bind_mw()
Diwch_provider.c781 static int iwch_dealloc_mw(struct ib_mw *mw) in iwch_dealloc_mw() argument
787 mhp = to_iwch_mw(mw); in iwch_dealloc_mw()
789 mmid = (mw->rkey) >> 8; in iwch_dealloc_mw()
793 PDBG("%s ib_mw %p mmid 0x%x ptr %p\n", __func__, mw, mmid, mhp); in iwch_dealloc_mw()
/linux-2.6.39/drivers/staging/brcm80211/util/
Dbcmutils.c1018 u8 bcm_mw_to_qdbm(u16 mw) in bcm_mw_to_qdbm() argument
1022 uint mw_uint = mw; in bcm_mw_to_qdbm()
/linux-2.6.39/drivers/staging/brcm80211/include/
Dbcmutils.h618 extern u8 bcm_mw_to_qdbm(u16 mw);