/freebsd-11-stable/sys/dev/ntb/ntb_hw/ |
H A D | ntb_hw_plx.c | 173 struct ntb_plx_mw_info *mw; local 180 mw = &sc->mw_info[sc->b2b_mw]; 181 if (mw->mw_64bit) { 183 val64 = 0x2000000000000000 * mw->mw_bar | 0x4; 188 val = 0x20000000 * mw->mw_bar; 194 mw = &sc->mw_info[i]; 195 if (mw->mw_64bit) { 196 val64 = 0x2000000000000000 * mw->mw_bar; 197 NTX_WRITE(sc, 0xc3c + (mw->mw_bar - 2) * 4, val64); 198 NTX_WRITE(sc, 0xc3c + (mw 322 struct ntb_plx_mw_info *mw; local 476 struct ntb_plx_mw_info *mw; local 599 struct ntb_plx_mw_info *mw; local 666 struct ntb_plx_mw_info *mw; local 757 struct ntb_plx_mw_info *mw; local 784 struct ntb_plx_mw_info *mw; local 799 struct ntb_plx_mw_info *mw; local 978 struct ntb_plx_mw_info *mw; local [all...] |
/freebsd-11-stable/sys/dev/ntb/ |
H A D | ntb_transport.c | 334 struct ntb_transport_mw *mw; local 370 mw = &nt->mw_vec[i]; 372 rc = ntb_mw_get_range(dev, i, &mw->phys_addr, &mw->vbase, 373 &mw->phys_size, &mw->xlat_align, &mw->xlat_align_size, 374 &mw->addr_limit); 378 mw->buff_size = 0; 379 mw 551 struct ntb_transport_mw *mw; local 1180 struct ntb_transport_mw *mw = &nt->mw_vec[num_mw]; local 1247 struct ntb_transport_mw *mw = &nt->mw_vec[num_mw]; local 1265 struct ntb_transport_mw *mw; local [all...] |
H A D | ntb.c | 66 int i, mw, mwu, mwt, spad, spadu, spadt, db, dbu, dbt; local 92 mw = (p && p[0] != 0) ? strtol(p, NULL, 10) : mwt - mwu; 97 if (mw > mwt - mwu || spad > spadt - spadu || db > dbt - dbu) { 105 nc->mwcnt = mw; 123 if (mw > 0) { 125 if (mw > 1) 126 printf("-%d", mwu + mw - 1); 141 mwu += mw; 187 printf(" mw %d", nc->mwoff);
|
/freebsd-11-stable/sys/ofed/include/rdma/ |
H A D | ib_verbs_compat.h | 262 struct ib_mw *mw; member in struct:ib_send_wr_compat::__anon8320::__anon8324::__anon8327 472 struct ib_mw *mw; local 477 mw = pd->device->alloc_mw(pd, type, NULL); 478 if (!IS_ERR(mw)) { 479 mw->device = pd->device; 480 mw->pd = pd; 481 mw->uobject = NULL; 482 mw->type = type; 485 return (mw); 490 struct ib_mw *mw, 489 ib_bind_mw(struct ib_qp *qp, struct ib_mw *mw, struct ib_mw_bind *mw_bind) argument 497 ib_dealloc_mw(struct ib_mw *mw) argument [all...] |
/freebsd-11-stable/contrib/libstdc++/libsupc++/ |
H A D | guard.cc | 167 mutex_wrapper mw; local 170 mw.unlock = false;
|
/freebsd-11-stable/contrib/mdocml/ |
H A D | out.c | 256 const struct tbl_opts *opts, const struct tbl_dat *dp, size_t mw) 273 tblcalc_literal(tbl, col, dp, mw); 287 const struct tbl_dat *dp, size_t mw) 297 str = mw ? mandoc_strdup(dp->string) : dp->string; 300 end = mw ? strchr(beg, ' ') : NULL; 307 if (mw && lsz && lsz + 1 + wsz <= mw) 314 if (mw) 255 tblcalc_data(struct rofftbl *tbl, struct roffcol *col, const struct tbl_opts *opts, const struct tbl_dat *dp, size_t mw) argument 286 tblcalc_literal(struct rofftbl *tbl, struct roffcol *col, const struct tbl_dat *dp, size_t mw) argument
|
/freebsd-11-stable/sys/dev/mlx4/mlx4_ib/ |
H A D | mlx4_ib_mr.c | 347 struct mlx4_ib_mw *mw; local 350 mw = kmalloc(sizeof(*mw), GFP_KERNEL); 351 if (!mw) 355 to_mlx4_type(type), &mw->mmw); 359 err = mlx4_mw_enable(dev->dev, &mw->mmw); 363 mw->ibmw.rkey = mw->mmw.key; 365 return &mw->ibmw; 368 mlx4_mw_free(dev->dev, &mw 378 struct mlx4_ib_mw *mw = to_mmw(ibmw); local [all...] |
/freebsd-11-stable/usr.bin/ncal/ |
H A D | ncal.c | 571 #define MW(mw, me) ((mw) + me) 596 int mw; local 602 mw = jd_flag ? MONTH_WIDTH_B_J : MONTH_WIDTH_B; 637 printf("%s\n", center(t, s, mpl * mw)); 645 mw, wcenter(ws, year[i].name, mw)); 649 wprintf(L"%-*ls ", mw, wcenter(ws1, ws, mw)); 667 MW(mw, yea 684 int mw; local [all...] |
/freebsd-11-stable/sys/dev/mlx4/mlx4_core/ |
H A D | mlx4_mr.c | 821 struct mlx4_mw *mw) 835 mw->key = hw_index_to_key(index); 836 mw->pd = pd; 837 mw->type = type; 838 mw->enabled = MLX4_MPT_DISABLED; 844 int mlx4_mw_enable(struct mlx4_dev *dev, struct mlx4_mw *mw) argument 850 err = mlx4_mpt_alloc_icm(dev, key_to_hw_index(mw->key), GFP_KERNEL); 864 mpt_entry->key = cpu_to_be32(key_to_hw_index(mw->key)); 865 mpt_entry->pd_flags = cpu_to_be32(mw->pd); 866 if (mw 820 mlx4_mw_alloc(struct mlx4_dev *dev, u32 pd, enum mlx4_mw_type type, struct mlx4_mw *mw) argument 894 mlx4_mw_free(struct mlx4_dev *dev, struct mlx4_mw *mw) argument [all...] |
/freebsd-11-stable/contrib/ofed/libmlx4/ |
H A D | verbs.c | 318 struct ibv_mw *mw; local 323 mw = calloc(1, sizeof(*mw)); 324 if (!mw) 327 ret = ibv_cmd_alloc_mw(pd, type, mw, &cmd, sizeof(cmd), 331 free(mw); 335 return mw; 338 int mlx4_dealloc_mw(struct ibv_mw *mw) argument 343 ret = ibv_cmd_dealloc_mw(mw, &cmd, sizeof(cmd)); 347 free(mw); 351 mlx4_bind_mw(struct ibv_qp *qp, struct ibv_mw *mw, struct ibv_mw_bind *mw_bind) argument [all...] |
H A D | mlx4.h | 380 int mlx4_dealloc_mw(struct ibv_mw *mw); 381 int mlx4_bind_mw(struct ibv_qp *qp, struct ibv_mw *mw,
|
/freebsd-11-stable/contrib/ofed/libibverbs/ |
H A D | verbs.h | 973 struct ibv_mw *mw; member in struct:ibv_send_wr::__anon3487::__anon3488 1420 int (*bind_mw)(struct ibv_qp *qp, struct ibv_mw *mw, 1422 int (*dealloc_mw)(struct ibv_mw *mw); 1772 struct ibv_mw *mw; local 1779 mw = pd->context->ops.alloc_mw(pd, type); 1780 return mw; 1786 static inline int ibv_dealloc_mw(struct ibv_mw *mw) argument 1788 return mw->context->ops.dealloc_mw(mw); 1805 static inline int ibv_bind_mw(struct ibv_qp *qp, struct ibv_mw *mw, argument [all...] |
H A D | driver.h | 180 struct ibv_mw *mw, struct ibv_alloc_mw *cmd, 183 int ibv_cmd_dealloc_mw(struct ibv_mw *mw,
|
H A D | cmd.c | 429 struct ibv_mw *mw, struct ibv_alloc_mw *cmd, 443 mw->context = pd->context; 444 mw->pd = pd; 445 mw->rkey = resp->rkey; 446 mw->handle = resp->mw_handle; 447 mw->type = type; 452 int ibv_cmd_dealloc_mw(struct ibv_mw *mw, argument 456 cmd->mw_handle = mw->handle; 459 if (write(mw->context->cmd_fd, cmd, cmd_size) != cmd_size) 428 ibv_cmd_alloc_mw(struct ibv_pd *pd, enum ibv_mw_type type, struct ibv_mw *mw, struct ibv_alloc_mw *cmd, size_t cmd_size, struct ibv_alloc_mw_resp *resp, size_t resp_size) argument
|
/freebsd-11-stable/contrib/amd/amq/ |
H A D | amq.c | 100 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-11-stable/contrib/ofed/libmlx5/ |
H A D | qp.c | 729 ctrl->imm = htobe32(wr->bind_mw.mw->rkey); 730 err = set_bind_wr(qp, wr->bind_mw.mw->type, 774 ctrl->imm = htobe32(wr->bind_mw.mw->rkey); 775 err = set_bind_wr(qp, wr->bind_mw.mw->type, 974 if (wr->bind_mw.mw->type == IBV_MW_TYPE_1) 982 if (wr->bind_mw.bind_info.mr->pd != wr->bind_mw.mw->pd) 990 int mlx5_bind_mw(struct ibv_qp *qp, struct ibv_mw *mw, argument 1014 if (mw->pd != bind_info->mr->pd) { 1025 wr.bind_mw.mw = mw; [all...] |
H A D | verbs.c | 221 struct ibv_mw *mw; local 226 mw = malloc(sizeof(*mw)); 227 if (!mw) 230 memset(mw, 0, sizeof(*mw)); 232 ret = ibv_cmd_alloc_mw(pd, type, mw, &cmd, sizeof(cmd), &resp, 235 free(mw); 239 return mw; 242 int mlx5_dealloc_mw(struct ibv_mw *mw) argument [all...] |
/freebsd-11-stable/sys/dev/mlx5/mlx5_ib/ |
H A D | mlx5_ib_mr.c | 1590 struct mlx5_ib_mw *mw = NULL; local 1615 mw = kzalloc(sizeof(*mw), GFP_KERNEL); 1617 if (!mw || !in) { 1633 err = mlx5_core_create_mkey(dev->mdev, &mw->mmkey, in, inlen); 1637 mw->ibmw.rkey = mw->mmkey.key; 1644 mlx5_core_destroy_mkey(dev->mdev, &mw->mmkey); 1650 return &mw->ibmw; 1653 kfree(mw); 1658 mlx5_ib_dealloc_mw(struct ib_mw *mw) argument [all...] |
/freebsd-11-stable/sys/ofed/drivers/infiniband/core/ |
H A D | ib_uverbs_main.c | 149 int uverbs_dealloc_mw(struct ib_mw *mw) argument 151 struct ib_pd *pd = mw->pd; 154 ret = mw->device->dealloc_mw(mw); 248 struct ib_mw *mw = uobj->object; local 251 uverbs_dealloc_mw(mw);
|
H A D | uverbs.h | 222 int uverbs_dealloc_mw(struct ib_mw *mw);
|
/freebsd-11-stable/contrib/groff/src/preproc/tbl/ |
H A D | table.cpp | 156 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-11-stable/sys/dev/cxgb/ulp/iw_cxgb/ |
H A D | iw_cxgb_provider.h | 334 struct ib_mw *mw,
|
/freebsd-11-stable/sys/dev/cxgbe/iw_cxgbe/ |
H A D | mem.c | 590 int c4iw_dealloc_mw(struct ib_mw *mw) argument 596 mhp = to_c4iw_mw(mw); 598 mmid = (mw->rkey) >> 8; 602 CTR4(KTR_IW_CXGBE, "%s ib_mw %p mmid 0x%x ptr %p", __func__, mw, mmid,
|
/freebsd-11-stable/sys/dev/cxgbe/ |
H A D | t4_main.c | 1568 struct memwin *mw = &sc->memwin[i]; local 1570 if (rw_initialized(&mw->mw_lock)) 1571 rw_destroy(&mw->mw_lock); 2671 struct memwin *mw; local 2694 for (i = 0, mw = &sc->memwin[0]; i < NUM_MEMWIN; i++, mw_init++, mw++) { 2695 rw_init(&mw->mw_lock, "memory window access"); 2696 mw->mw_base = mw_init->base; 2697 mw->mw_aperture = mw_init->aperture; 2698 mw 2721 struct memwin *mw; local 2745 struct memwin *mw; local [all...] |
/freebsd-11-stable/sys/contrib/rdma/krping_compat/ |
H A D | krping.c | 186 struct ib_mw *mw; member in struct:krping_cb 644 cb->mw = ib_alloc_mw(cb->pd,IB_MW_TYPE_1); 645 if (IS_ERR(cb->mw)) { 647 ret = PTR_ERR(cb->mw); 650 DEBUG_LOG(cb, "mw rkey 0x%x\n", cb->mw->rkey); 721 if (cb->mw && !IS_ERR(cb->mw)) 722 ib_dealloc_mw(cb->mw); 756 if (cb->mw) [all...] |