/linux-2.6.39/fs/ocfs2/ |
D | dlmglue.c | 440 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/ |
D | mem_tx4927.c | 46 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/ |
D | ip_vs_wrr.c | 38 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/ |
D | verbs.c | 821 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()
|
D | cma.c | 2925 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/ |
D | hcp_if.h | 246 const struct ehca_mw *mw, 252 const struct ehca_mw *mw, 257 const struct ehca_mw *mw);
|
D | ehca_iverbs.h | 100 int ehca_bind_mw(struct ib_qp *qp, struct ib_mw *mw, 103 int ehca_dealloc_mw(struct ib_mw *mw);
|
D | hcp_if.c | 899 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()
|
D | ehca_mrmw.c | 732 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/ |
D | verbs.c | 1088 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, ¶m); in rpcrdma_register_memwin_external() 1684 seg->mr_rkey = seg->mr_chunk.rl_mw->r.mw->rkey; in rpcrdma_register_memwin_external() [all …]
|
D | xprt_rdma.h | 162 struct ib_mw *mw; member
|
/linux-2.6.39/include/rdma/ |
D | ib_verbs.h | 1127 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/ |
D | mem.c | 680 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()
|
D | iw_cxgb4.h | 700 int c4iw_bind_mw(struct ib_qp *qp, struct ib_mw *mw, 714 int c4iw_dealloc_mw(struct ib_mw *mw);
|
D | qp.c | 754 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/ |
D | iwch_provider.h | 331 struct ib_mw *mw,
|
D | iwch_qp.c | 529 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()
|
D | iwch_provider.c | 781 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/ |
D | bcmutils.c | 1018 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/ |
D | bcmutils.h | 618 extern u8 bcm_mw_to_qdbm(u16 mw);
|