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

/freebsd-10-stable/sys/dev/ntb/
H A Dntb_transport.c332 struct ntb_transport_mw *mw; local
371 mw = &nt->mw_vec[i];
373 rc = ntb_mw_get_range(dev, i, &mw->phys_addr, &mw->vbase,
374 &mw->phys_size, &mw->xlat_align, &mw->xlat_align_size,
375 &mw->addr_limit);
379 mw->buff_size = 0;
380 mw
511 struct ntb_transport_mw *mw; local
1119 struct ntb_transport_mw *mw = &nt->mw_vec[num_mw]; local
1179 struct ntb_transport_mw *mw = &nt->mw_vec[num_mw]; local
1195 struct ntb_transport_mw *mw; local
[all...]
H A Dntb.c65 int i, mw, mwu, mwt, spad, spadu, spadt, db, dbu, dbt; local
91 mw = (p && p[0] != 0) ? strtol(p, NULL, 10) : mwt - mwu;
96 if (mw > mwt - mwu || spad > spadt - spadu || db > dbt - dbu) {
103 nc->mwcnt = mw;
120 if (mw > 0) {
122 if (mw > 1)
123 printf("-%d", mwu + mw - 1);
138 mwu += mw;
/freebsd-10-stable/contrib/libstdc++/libsupc++/
H A Dguard.cc167 mutex_wrapper mw; local
170 mw.unlock = false;
/freebsd-10-stable/sys/ofed/drivers/net/mlx4/
H A Dmr.c654 struct mlx4_mw *mw)
662 mw->key = hw_index_to_key(index);
663 mw->pd = pd;
664 mw->type = type;
665 mw->enabled = MLX4_MPT_DISABLED;
671 int mlx4_mw_enable(struct mlx4_dev *dev, struct mlx4_mw *mw) argument
677 err = mlx4_mpt_alloc_icm(dev, key_to_hw_index(mw->key));
693 mpt_entry->key = cpu_to_be32(key_to_hw_index(mw->key));
694 mpt_entry->pd_flags = cpu_to_be32(mw->pd);
695 if (mw
653 mlx4_mw_alloc(struct mlx4_dev *dev, u32 pd, enum mlx4_mw_type type, struct mlx4_mw *mw) argument
723 mlx4_mw_free(struct mlx4_dev *dev, struct mlx4_mw *mw) argument
[all...]
/freebsd-10-stable/usr.bin/ncal/
H A Dncal.c569 #define MW(mw, me) ((mw) + me)
594 int mw; local
600 mw = jd_flag ? MONTH_WIDTH_B_J : MONTH_WIDTH_B;
635 printf("%s\n", center(t, s, mpl * mw));
643 mw, wcenter(ws, year[i].name, mw));
647 wprintf(L"%-*ls ", mw, wcenter(ws1, ws, mw));
665 MW(mw, yea
682 int mw; local
[all...]
/freebsd-10-stable/sys/ofed/drivers/infiniband/core/
H A Dverbs.c920 struct ib_mw *mw; local
925 mw = pd->device->alloc_mw(pd);
926 if (!IS_ERR(mw)) {
927 mw->device = pd->device;
928 mw->pd = pd;
929 mw->uobject = NULL;
933 return mw;
937 int ib_dealloc_mw(struct ib_mw *mw) argument
942 pd = mw->pd;
943 ret = mw
[all...]
H A Dcma.c3157 struct iboe_mcast_work *mw = container_of(work, struct iboe_mcast_work, work); local
3158 struct cma_multicast *mc = mw->mc;
3164 kfree(mw);
/freebsd-10-stable/contrib/amd/amq/
H A Damq.c100 int mw = strlen(mt->mt_mountinfo); local
103 if (mw > *mwid)
104 *mwid = mw;
219 int mw = strlen(mi->mi_mountinfo); local
222 if (mw > *mwid)
223 *mwid = mw;
/freebsd-10-stable/sys/contrib/rdma/krping/
H A Dkrping.c182 struct ib_mw *mw; member in struct:krping_cb
634 cb->mw = ib_alloc_mw(cb->pd);
635 if (IS_ERR(cb->mw)) {
637 ret = PTR_ERR(cb->mw);
640 DEBUG_LOG(cb, "mw rkey 0x%x\n", cb->mw->rkey);
708 if (cb->mw && !IS_ERR(cb->mw))
709 ib_dealloc_mw(cb->mw);
743 if (cb->mw)
[all...]
/freebsd-10-stable/contrib/groff/src/preproc/tbl/
H A Dtable.cpp156 virtual int divert(int ncols, const string *mw, int *sep);
294 void do_divert(int alphabetic, int ncols, const string *mw, int *sep);
298 int divert(int ncols, const string *mw, int *sep);
327 int divert(int ncols, const string *mw, int *sep);
654 int block_entry::divert(int ncols, const string *mw, int *sep) argument
656 do_divert(0, ncols, mw, sep);
660 void block_entry::do_divert(int alphabetic, int ncols, const string *mw, argument
669 if (mw[i].empty())
679 printfs("(n;%1)", mw[j]);
775 int alphabetic_block_entry::divert(int ncols, const string *mw, in argument
[all...]
/freebsd-10-stable/sys/dev/cxgb/ulp/iw_cxgb/
H A Diw_cxgb_provider.h334 struct ib_mw *mw,
H A Diw_cxgb_qp.c514 struct ib_mw *mw,
531 mhp = to_iwch_mw(mw);
546 CTR4(KTR_IW_CXGB, "%s: idx 0x%0x, mw 0x%p, mw_bind 0x%p", __FUNCTION__, idx,
547 mw, mw_bind);
563 wqe->bind.mw_stag = htobe32(mw->rkey);
513 iwch_bind_mw(struct ib_qp *qp, struct ib_mw *mw, struct ib_mw_bind *mw_bind) argument
H A Diw_cxgb_provider.c709 static int iwch_dealloc_mw(struct ib_mw *mw) argument
715 mhp = to_iwch_mw(mw);
717 mmid = (mw->rkey) >> 8;
721 CTR4(KTR_IW_CXGB, "%s ib_mw %p mmid 0x%x ptr %p", __FUNCTION__, mw, mmid, mhp);
/freebsd-10-stable/sys/dev/cxgbe/iw_cxgbe/
H A Dmem.c723 int c4iw_dealloc_mw(struct ib_mw *mw) argument
729 mhp = to_c4iw_mw(mw);
731 mmid = (mw->rkey) >> 8;
735 CTR4(KTR_IW_CXGBE, "%s ib_mw %p mmid 0x%x ptr %p", __func__, mw, mmid,
H A Diw_cxgbe.h878 int c4iw_bind_mw(struct ib_qp *qp, struct ib_mw *mw,
892 int c4iw_dealloc_mw(struct ib_mw *mw);
H A Dqp.c818 int c4iw_bind_mw(struct ib_qp *qp, struct ib_mw *mw, struct ib_mw_bind *mw_bind) argument
/freebsd-10-stable/sys/ofed/include/rdma/
H A Dib_verbs.h1365 struct ib_mw *mw,
1367 int (*dealloc_mw)(struct ib_mw *mw);
2557 * @mw: The memory window to bind.
2562 struct ib_mw *mw,
2566 return mw->device->bind_mw ?
2567 mw->device->bind_mw(qp, mw, mw_bind) :
2573 * @mw: The memory window to deallocate.
2575 int ib_dealloc_mw(struct ib_mw *mw);
2561 ib_bind_mw(struct ib_qp *qp, struct ib_mw *mw, struct ib_mw_bind *mw_bind) argument
/freebsd-10-stable/sys/dev/cxgbe/
H A Dt4_main.c1322 struct memwin *mw = &sc->memwin[i]; local
1324 if (rw_initialized(&mw->mw_lock))
1325 rw_destroy(&mw->mw_lock);
2250 struct memwin *mw; local
2273 for (i = 0, mw = &sc->memwin[0]; i < NUM_MEMWIN; i++, mw_init++, mw++) {
2274 rw_init(&mw->mw_lock, "memory window access");
2275 mw->mw_base = mw_init->base;
2276 mw->mw_aperture = mw_init->aperture;
2277 mw
2300 struct memwin *mw; local
2324 struct memwin *mw; local
[all...]
/freebsd-10-stable/contrib/ofed/libibverbs/include/infiniband/
H A Dverbs.h703 int (*bind_mw)(struct ibv_qp *qp, struct ibv_mw *mw,
705 int (*dealloc_mw)(struct ibv_mw *mw);
/freebsd-10-stable/sys/ofed/include/linux/mlx4/
H A Ddevice.h1035 struct mlx4_mw *mw);
1036 void mlx4_mw_free(struct mlx4_dev *dev, struct mlx4_mw *mw);
1037 int mlx4_mw_enable(struct mlx4_dev *dev, struct mlx4_mw *mw);
/freebsd-10-stable/sys/dev/ntb/ntb_hw/
H A Dntb_hw.c319 static inline enum ntb_bar intel_ntb_mw_to_bar(struct ntb_softc *, unsigned mw);
740 intel_ntb_mw_to_bar(struct ntb_softc *ntb, unsigned mw) argument
743 KASSERT(mw < ntb->mw_count,
744 ("%s: mw:%u > count:%u", __func__, mw, (unsigned)ntb->mw_count));
745 KASSERT(ntb->reg->mw_bar[mw] != 0, ("invalid mw"));
747 return (ntb->reg->mw_bar[mw]);
916 print_map_success(ntb, bar, "mw");
1533 intel_ntb_printf(2, "Setting up MSIX mw id
[all...]
/freebsd-10-stable/contrib/gdb/
H A Dlibtool.m4745 AC_CHECK_LIB(mw, _mwvalidcheckl, LIBM="-lmw")

Completed in 432 milliseconds