nmap 51 drivers/infiniband/core/umem.c if (umem->nmap > 0) nmap 164 drivers/infiniband/core/umem.c for_each_sg(umem->sg_head.sgl, sg, umem->nmap, i) { nmap 174 drivers/infiniband/core/umem.c if (i != (umem->nmap - 1)) nmap 300 drivers/infiniband/core/umem.c umem->nmap = ib_dma_map_sg_attrs(context->device, nmap 306 drivers/infiniband/core/umem.c if (!umem->nmap) { nmap 353 drivers/infiniband/core/umem.c for_each_sg(umem->sg_head.sgl, sg, umem->nmap, i) nmap 865 drivers/infiniband/hw/bnxt_re/ib_verbs.c qplib_qp->sq.sg_info.nmap = umem->nmap; nmap 878 drivers/infiniband/hw/bnxt_re/ib_verbs.c qplib_qp->rq.sg_info.nmap = umem->nmap; nmap 1332 drivers/infiniband/hw/bnxt_re/ib_verbs.c qplib_srq->sg_info.nmap = umem->nmap; nmap 2575 drivers/infiniband/hw/bnxt_re/ib_verbs.c cq->qplib_cq.sg_info.nmap = cq->umem->nmap; nmap 3494 drivers/infiniband/hw/bnxt_re/ib_verbs.c rdma_for_each_block(umem->sg_head.sgl, &biter, umem->nmap, page_size) nmap 196 drivers/infiniband/hw/bnxt_re/qplib_res.c maps = sg_info->nmap; nmap 228 drivers/infiniband/hw/bnxt_re/qplib_res.h u32 nmap; nmap 477 drivers/infiniband/hw/cxgb3/iwch_provider.c for_each_sg_dma_page(mhp->umem->sg_head.sgl, &sg_iter, mhp->umem->nmap, 0) { nmap 565 drivers/infiniband/hw/cxgb4/mem.c for_each_sg_dma_page(mhp->umem->sg_head.sgl, &sg_iter, mhp->umem->nmap, 0) { nmap 1058 drivers/infiniband/hw/efa/efa_verbs.c rdma_for_each_block(umem->sg_head.sgl, &biter, umem->nmap, nmap 280 drivers/infiniband/hw/hns/hns_roce_alloc.c rdma_for_each_block(umem->sg_head.sgl, &biter, umem->nmap, nmap 1890 drivers/infiniband/hw/hns/hns_roce_hw_v1.c for_each_sg_dma_page(mr->umem->sg_head.sgl, &sg_iter, mr->umem->nmap, 0) { nmap 2241 drivers/infiniband/hw/hns/hns_roce_hw_v2.c for_each_sg_dma_page(mr->umem->sg_head.sgl, &sg_iter, mr->umem->nmap, 0) { nmap 1060 drivers/infiniband/hw/hns/hns_roce_mr.c for_each_sg_dma_page(umem->sg_head.sgl, &sg_iter, umem->nmap, 0) { nmap 1103 drivers/infiniband/hw/hns/hns_roce_mr.c for_each_sg_dma_page(umem->sg_head.sgl, &sg_iter, umem->nmap, 0) { nmap 1326 drivers/infiniband/hw/i40iw/i40iw_verbs.c rdma_for_each_block(region->sg_head.sgl, &biter, region->nmap, nmap 203 drivers/infiniband/hw/mlx4/mr.c for_each_sg(umem->sg_head.sgl, sg, umem->nmap, i) { nmap 274 drivers/infiniband/hw/mlx4/mr.c for_each_sg(umem->sg_head.sgl, sg, umem->nmap, i) { nmap 65 drivers/infiniband/hw/mlx5/mem.c for_each_sg(umem->sg_head.sgl, sg, umem->nmap, entry) { nmap 155 drivers/infiniband/hw/mlx5/mem.c for_each_sg(umem->sg_head.sgl, sg, umem->nmap, entry) { nmap 909 drivers/infiniband/hw/mthca/mthca_provider.c for_each_sg_dma_page(mr->umem->sg_head.sgl, &sg_iter, mr->umem->nmap, 0) { nmap 837 drivers/infiniband/hw/ocrdma/ocrdma_verbs.c for_each_sg_dma_page (umem->sg_head.sgl, &sg_iter, umem->nmap, 0) { nmap 633 drivers/infiniband/hw/qedr/verbs.c for_each_sg_dma_page (umem->sg_head.sgl, &sg_iter, umem->nmap, 0) { nmap 192 drivers/infiniband/hw/vmw_pvrdma/pvrdma_misc.c for_each_sg_dma_page(umem->sg_head.sgl, &sg_iter, umem->nmap, 0) { nmap 415 drivers/infiniband/sw/rdmavt/mr.c for_each_sg_page (umem->sg_head.sgl, &sg_iter, umem->nmap, 0) { nmap 200 drivers/infiniband/sw/rxe/rxe_mr.c for_each_sg_page(umem->sg_head.sgl, &sg_iter, umem->nmap, 0) { nmap 335 drivers/net/netdevsim/bpf.c struct nsim_bpf_bound_map *nmap = offmap->dev_priv; nmap 338 drivers/net/netdevsim/bpf.c for (i = 0; i < ARRAY_SIZE(nmap->entry); i++) nmap 339 drivers/net/netdevsim/bpf.c if (nsim_map_key_match(&offmap->map, &nmap->entry[i], key)) nmap 348 drivers/net/netdevsim/bpf.c struct nsim_bpf_bound_map *nmap = offmap->dev_priv; nmap 350 drivers/net/netdevsim/bpf.c nmap->entry[idx].key = kmalloc(offmap->map.key_size, GFP_USER); nmap 351 drivers/net/netdevsim/bpf.c if (!nmap->entry[idx].key) nmap 353 drivers/net/netdevsim/bpf.c nmap->entry[idx].value = kmalloc(offmap->map.value_size, GFP_USER); nmap 354 drivers/net/netdevsim/bpf.c if (!nmap->entry[idx].value) { nmap 355 drivers/net/netdevsim/bpf.c kfree(nmap->entry[idx].key); nmap 356 drivers/net/netdevsim/bpf.c nmap->entry[idx].key = NULL; nmap 367 drivers/net/netdevsim/bpf.c struct nsim_bpf_bound_map *nmap = offmap->dev_priv; nmap 370 drivers/net/netdevsim/bpf.c mutex_lock(&nmap->mutex); nmap 379 drivers/net/netdevsim/bpf.c for (; idx < ARRAY_SIZE(nmap->entry); idx++) { nmap 380 drivers/net/netdevsim/bpf.c if (nmap->entry[idx].key) { nmap 381 drivers/net/netdevsim/bpf.c memcpy(next_key, nmap->entry[idx].key, nmap 387 drivers/net/netdevsim/bpf.c mutex_unlock(&nmap->mutex); nmap 389 drivers/net/netdevsim/bpf.c if (idx == ARRAY_SIZE(nmap->entry)) nmap 397 drivers/net/netdevsim/bpf.c struct nsim_bpf_bound_map *nmap = offmap->dev_priv; nmap 400 drivers/net/netdevsim/bpf.c mutex_lock(&nmap->mutex); nmap 404 drivers/net/netdevsim/bpf.c memcpy(value, nmap->entry[idx].value, offmap->map.value_size); nmap 406 drivers/net/netdevsim/bpf.c mutex_unlock(&nmap->mutex); nmap 415 drivers/net/netdevsim/bpf.c struct nsim_bpf_bound_map *nmap = offmap->dev_priv; nmap 418 drivers/net/netdevsim/bpf.c mutex_lock(&nmap->mutex); nmap 431 drivers/net/netdevsim/bpf.c for (idx = 0; idx < ARRAY_SIZE(nmap->entry); idx++) nmap 432 drivers/net/netdevsim/bpf.c if (!nmap->entry[idx].key) nmap 434 drivers/net/netdevsim/bpf.c if (idx == ARRAY_SIZE(nmap->entry)) { nmap 444 drivers/net/netdevsim/bpf.c memcpy(nmap->entry[idx].key, key, offmap->map.key_size); nmap 445 drivers/net/netdevsim/bpf.c memcpy(nmap->entry[idx].value, value, offmap->map.value_size); nmap 447 drivers/net/netdevsim/bpf.c mutex_unlock(&nmap->mutex); nmap 454 drivers/net/netdevsim/bpf.c struct nsim_bpf_bound_map *nmap = offmap->dev_priv; nmap 460 drivers/net/netdevsim/bpf.c mutex_lock(&nmap->mutex); nmap 464 drivers/net/netdevsim/bpf.c kfree(nmap->entry[idx].key); nmap 465 drivers/net/netdevsim/bpf.c kfree(nmap->entry[idx].value); nmap 466 drivers/net/netdevsim/bpf.c memset(&nmap->entry[idx], 0, sizeof(nmap->entry[idx])); nmap 469 drivers/net/netdevsim/bpf.c mutex_unlock(&nmap->mutex); nmap 484 drivers/net/netdevsim/bpf.c struct nsim_bpf_bound_map *nmap; nmap 495 drivers/net/netdevsim/bpf.c nmap = kzalloc(sizeof(*nmap), GFP_USER); nmap 496 drivers/net/netdevsim/bpf.c if (!nmap) nmap 499 drivers/net/netdevsim/bpf.c offmap->dev_priv = nmap; nmap 500 drivers/net/netdevsim/bpf.c nmap->ns = ns; nmap 501 drivers/net/netdevsim/bpf.c nmap->map = offmap; nmap 502 drivers/net/netdevsim/bpf.c mutex_init(&nmap->mutex); nmap 505 drivers/net/netdevsim/bpf.c for (i = 0; i < ARRAY_SIZE(nmap->entry); i++) { nmap 511 drivers/net/netdevsim/bpf.c key = nmap->entry[i].key; nmap 517 drivers/net/netdevsim/bpf.c list_add_tail(&nmap->l, &ns->nsim_dev->bpf_bound_maps); nmap 523 drivers/net/netdevsim/bpf.c kfree(nmap->entry[i].key); nmap 524 drivers/net/netdevsim/bpf.c kfree(nmap->entry[i].value); nmap 526 drivers/net/netdevsim/bpf.c kfree(nmap); nmap 532 drivers/net/netdevsim/bpf.c struct nsim_bpf_bound_map *nmap = offmap->dev_priv; nmap 535 drivers/net/netdevsim/bpf.c for (i = 0; i < ARRAY_SIZE(nmap->entry); i++) { nmap 536 drivers/net/netdevsim/bpf.c kfree(nmap->entry[i].key); nmap 537 drivers/net/netdevsim/bpf.c kfree(nmap->entry[i].value); nmap 539 drivers/net/netdevsim/bpf.c list_del_init(&nmap->l); nmap 540 drivers/net/netdevsim/bpf.c mutex_destroy(&nmap->mutex); nmap 541 drivers/net/netdevsim/bpf.c kfree(nmap); nmap 374 fs/xfs/libxfs/xfs_attr_remote.c int nmap; nmap 387 fs/xfs/libxfs/xfs_attr_remote.c nmap = ATTR_RMTVALUE_MAPSIZE; nmap 389 fs/xfs/libxfs/xfs_attr_remote.c blkcnt, map, &nmap, nmap 393 fs/xfs/libxfs/xfs_attr_remote.c ASSERT(nmap >= 1); nmap 395 fs/xfs/libxfs/xfs_attr_remote.c for (i = 0; (i < nmap) && (valuelen > 0); i++) { nmap 442 fs/xfs/libxfs/xfs_attr_remote.c int nmap; nmap 479 fs/xfs/libxfs/xfs_attr_remote.c nmap = 1; nmap 482 fs/xfs/libxfs/xfs_attr_remote.c &nmap); nmap 489 fs/xfs/libxfs/xfs_attr_remote.c ASSERT(nmap == 1); nmap 519 fs/xfs/libxfs/xfs_attr_remote.c nmap = 1; nmap 521 fs/xfs/libxfs/xfs_attr_remote.c blkcnt, &map, &nmap, nmap 525 fs/xfs/libxfs/xfs_attr_remote.c ASSERT(nmap == 1); nmap 580 fs/xfs/libxfs/xfs_attr_remote.c int nmap; nmap 585 fs/xfs/libxfs/xfs_attr_remote.c nmap = 1; nmap 587 fs/xfs/libxfs/xfs_attr_remote.c blkcnt, &map, &nmap, XFS_BMAPI_ATTRFORK); nmap 590 fs/xfs/libxfs/xfs_attr_remote.c ASSERT(nmap == 1); nmap 487 fs/xfs/libxfs/xfs_bmap.c int nmap, nmap 492 fs/xfs/libxfs/xfs_bmap.c ASSERT(ret_nmap <= nmap); nmap 518 fs/xfs/libxfs/xfs_bmap.c #define xfs_bmap_validate_ret(bno,len,flags,mval,onmap,nmap) do { } while (0) nmap 3799 fs/xfs/libxfs/xfs_bmap.c int *nmap, nmap 3813 fs/xfs/libxfs/xfs_bmap.c ASSERT(*nmap >= 1); nmap 3839 fs/xfs/libxfs/xfs_bmap.c *nmap = 1; nmap 3867 fs/xfs/libxfs/xfs_bmap.c while (bno < end && n < *nmap) { nmap 3890 fs/xfs/libxfs/xfs_bmap.c if (bno >= end || n >= *nmap) nmap 3897 fs/xfs/libxfs/xfs_bmap.c *nmap = n; nmap 4264 fs/xfs/libxfs/xfs_bmap.c int *nmap) /* i/o: mval size/count */ nmap 4291 fs/xfs/libxfs/xfs_bmap.c orig_nmap = *nmap; nmap 4295 fs/xfs/libxfs/xfs_bmap.c ASSERT(*nmap >= 1); nmap 4296 fs/xfs/libxfs/xfs_bmap.c ASSERT(*nmap <= XFS_BMAP_MAX_NMAP); nmap 4345 fs/xfs/libxfs/xfs_bmap.c while (bno < end && n < *nmap) { nmap 4422 fs/xfs/libxfs/xfs_bmap.c if (bno >= end || n >= *nmap || bma.nallocs >= *nmap) nmap 4430 fs/xfs/libxfs/xfs_bmap.c *nmap = n; nmap 4442 fs/xfs/libxfs/xfs_bmap.c orig_nmap, *nmap); nmap 200 fs/xfs/libxfs/xfs_bmap.h int *nmap, int flags); nmap 203 fs/xfs/libxfs/xfs_bmap.h xfs_extlen_t total, struct xfs_bmbt_irec *mval, int *nmap); nmap 2070 fs/xfs/libxfs/xfs_da_btree.c int nmap, error, got, i, mapi; nmap 2082 fs/xfs/libxfs/xfs_da_btree.c nmap = 1; nmap 2085 fs/xfs/libxfs/xfs_da_btree.c args->total, &map, &nmap); nmap 2089 fs/xfs/libxfs/xfs_da_btree.c ASSERT(nmap <= 1); nmap 2090 fs/xfs/libxfs/xfs_da_btree.c if (nmap == 1) { nmap 2093 fs/xfs/libxfs/xfs_da_btree.c } else if (nmap == 0 && count > 1) { nmap 2103 fs/xfs/libxfs/xfs_da_btree.c nmap = min(XFS_BMAP_MAX_NMAP, count); nmap 2107 fs/xfs/libxfs/xfs_da_btree.c args->total, &mapp[mapi], &nmap); nmap 2110 fs/xfs/libxfs/xfs_da_btree.c if (nmap < 1) nmap 2112 fs/xfs/libxfs/xfs_da_btree.c mapi += nmap; nmap 2438 fs/xfs/libxfs/xfs_da_btree.c int nmap, nmap 2446 fs/xfs/libxfs/xfs_da_btree.c for (i = 0, off = bno; i < nmap; i++) { nmap 2602 fs/xfs/libxfs/xfs_da_btree.c int nmap; nmap 2607 fs/xfs/libxfs/xfs_da_btree.c nmap = 1; nmap 2609 fs/xfs/libxfs/xfs_da_btree.c &mapp, &nmap); nmap 2618 fs/xfs/libxfs/xfs_da_btree.c mapp, nmap, 0); nmap 2651 fs/xfs/libxfs/xfs_da_btree.c int nmap; nmap 2656 fs/xfs/libxfs/xfs_da_btree.c nmap = 1; nmap 2658 fs/xfs/libxfs/xfs_da_btree.c &mapp, &nmap); nmap 2668 fs/xfs/libxfs/xfs_da_btree.c mapp, nmap, 0, &bp, ops); nmap 2697 fs/xfs/libxfs/xfs_da_btree.c int nmap; nmap 2701 fs/xfs/libxfs/xfs_da_btree.c nmap = 1; nmap 2703 fs/xfs/libxfs/xfs_da_btree.c &mapp, &nmap); nmap 2712 fs/xfs/libxfs/xfs_da_btree.c xfs_buf_readahead_map(dp->i_mount->m_ddev_targp, mapp, nmap, ops); nmap 64 fs/xfs/libxfs/xfs_rtbitmap.c int nmap = 1; nmap 69 fs/xfs/libxfs/xfs_rtbitmap.c error = xfs_bmapi_read(ip, block, 1, &map, &nmap, XFS_DATA_FORK); nmap 73 fs/xfs/libxfs/xfs_rtbitmap.c if (nmap == 0 || !xfs_bmap_is_real_extent(&map)) nmap 43 fs/xfs/xfs_attr_inactive.c int nmap; nmap 56 fs/xfs/xfs_attr_inactive.c nmap = 1; nmap 58 fs/xfs/xfs_attr_inactive.c &map, &nmap, XFS_BMAPI_ATTRFORK); nmap 62 fs/xfs/xfs_attr_inactive.c ASSERT(nmap == 1); nmap 768 fs/xfs/xfs_rtalloc.c int nmap; /* number of block maps */ nmap 793 fs/xfs/xfs_rtalloc.c nmap = 1; nmap 796 fs/xfs/xfs_rtalloc.c &nmap); nmap 797 fs/xfs/xfs_rtalloc.c if (!error && nmap < 1) nmap 53 include/rdma/ib_umem.h int nmap;