/kernel/linux/linux-5.10/drivers/net/netdevsim/ |
D | bpf.c | 339 struct nsim_bpf_bound_map *nmap = offmap->dev_priv; in nsim_map_key_find() local 342 for (i = 0; i < ARRAY_SIZE(nmap->entry); i++) in nsim_map_key_find() 343 if (nsim_map_key_match(&offmap->map, &nmap->entry[i], key)) in nsim_map_key_find() 352 struct nsim_bpf_bound_map *nmap = offmap->dev_priv; in nsim_map_alloc_elem() local 354 nmap->entry[idx].key = kmalloc(offmap->map.key_size, in nsim_map_alloc_elem() 356 if (!nmap->entry[idx].key) in nsim_map_alloc_elem() 358 nmap->entry[idx].value = kmalloc(offmap->map.value_size, in nsim_map_alloc_elem() 360 if (!nmap->entry[idx].value) { in nsim_map_alloc_elem() 361 kfree(nmap->entry[idx].key); in nsim_map_alloc_elem() 362 nmap->entry[idx].key = NULL; in nsim_map_alloc_elem() [all …]
|
/kernel/linux/linux-5.10/fs/xfs/libxfs/ |
D | xfs_attr_remote.c | 390 int nmap; in xfs_attr_rmtval_get() local 403 nmap = ATTR_RMTVALUE_MAPSIZE; in xfs_attr_rmtval_get() 405 blkcnt, map, &nmap, in xfs_attr_rmtval_get() 409 ASSERT(nmap >= 1); in xfs_attr_rmtval_get() 411 for (i = 0; (i < nmap) && (valuelen > 0); i++) { in xfs_attr_rmtval_get() 482 int nmap; in xfs_attr_rmtval_set_value() local 502 nmap = 1; in xfs_attr_rmtval_set_value() 504 blkcnt, &map, &nmap, in xfs_attr_rmtval_set_value() 508 ASSERT(nmap == 1); in xfs_attr_rmtval_set_value() 576 int nmap; in xfs_attr_rmtval_set() local [all …]
|
D | xfs_da_btree.c | 2150 int nmap, error, got, i, mapi; in xfs_da_grow_inode_int() local 2162 nmap = 1; in xfs_da_grow_inode_int() 2165 args->total, &map, &nmap); in xfs_da_grow_inode_int() 2169 ASSERT(nmap <= 1); in xfs_da_grow_inode_int() 2170 if (nmap == 1) { in xfs_da_grow_inode_int() 2173 } else if (nmap == 0 && count > 1) { in xfs_da_grow_inode_int() 2183 nmap = min(XFS_BMAP_MAX_NMAP, count); in xfs_da_grow_inode_int() 2187 args->total, &mapp[mapi], &nmap); in xfs_da_grow_inode_int() 2190 if (nmap < 1) in xfs_da_grow_inode_int() 2192 mapi += nmap; in xfs_da_grow_inode_int() [all …]
|
D | xfs_bmap.h | 205 int *nmap, int flags); 208 xfs_extlen_t total, struct xfs_bmbt_irec *mval, int *nmap);
|
D | xfs_rtbitmap.c | 64 int nmap = 1; in xfs_rtbuf_get() local 69 error = xfs_bmapi_read(ip, block, 1, &map, &nmap, 0); in xfs_rtbuf_get() 73 if (XFS_IS_CORRUPT(mp, nmap == 0 || !xfs_bmap_is_written_extent(&map))) in xfs_rtbuf_get()
|
D | xfs_bmap.c | 487 int nmap, in xfs_bmap_validate_ret() argument 492 ASSERT(ret_nmap <= nmap); in xfs_bmap_validate_ret() 518 #define xfs_bmap_validate_ret(bno,len,flags,mval,onmap,nmap) do { } while (0) argument 3870 int *nmap, in xfs_bmapi_read() argument 3884 ASSERT(*nmap >= 1); in xfs_bmapi_read() 3911 while (bno < end && n < *nmap) { in xfs_bmapi_read() 3934 if (bno >= end || n >= *nmap) in xfs_bmapi_read() 3941 *nmap = n; in xfs_bmapi_read() 4317 int *nmap) /* i/o: mval size/count */ in xfs_bmapi_write() argument 4344 orig_nmap = *nmap; in xfs_bmapi_write() [all …]
|
/kernel/linux/linux-5.10/drivers/infiniband/core/ |
D | umem.c | 52 if (umem->nmap > 0) in __ib_umem_release() 108 for_each_sg(umem->sg_head.sgl, sg, umem->nmap, i) { in ib_umem_find_best_pgsz() 118 if (i != (umem->nmap - 1)) in ib_umem_find_best_pgsz() 238 umem->nmap = in ib_umem_get() 242 if (!umem->nmap) { in ib_umem_get()
|
/kernel/linux/linux-5.10/fs/xfs/scrub/ |
D | rtbitmap.c | 70 int nmap; in xchk_rtbitmap_check_extents() local 79 nmap = 1; in xchk_rtbitmap_check_extents() 81 mp->m_sb.sb_rbmblocks - off, &map, &nmap, in xchk_rtbitmap_check_extents() 86 if (nmap != 1 || !xfs_bmap_is_written_extent(&map)) { in xchk_rtbitmap_check_extents()
|
/kernel/linux/linux-5.10/fs/xfs/ |
D | xfs_attr_inactive.c | 40 int nmap; in xfs_attr3_rmt_stale() local 51 nmap = 1; in xfs_attr3_rmt_stale() 53 &map, &nmap, XFS_BMAPI_ATTRFORK); in xfs_attr3_rmt_stale() 56 if (XFS_IS_CORRUPT(dp->i_mount, nmap != 1)) in xfs_attr3_rmt_stale()
|
D | xfs_rtalloc.c | 779 int nmap; /* number of block maps */ in xfs_growfs_rt_alloc() local 810 nmap = 1; in xfs_growfs_rt_alloc() 812 XFS_BMAPI_METADATA, 0, &map, &nmap); in xfs_growfs_rt_alloc() 813 if (!error && nmap < 1) in xfs_growfs_rt_alloc()
|
/kernel/linux/linux-5.10/include/rdma/ |
D | ib_umem.h | 27 int nmap; member 54 __rdma_block_iter_start(biter, umem->sg_head.sgl, umem->nmap, pgsz); in __rdma_umem_block_iter_start()
|
/kernel/linux/linux-5.10/drivers/infiniband/hw/mlx5/ |
D | mem.c | 66 for_each_sg(umem->sg_head.sgl, sg, umem->nmap, entry) { in mlx5_ib_cont_pages() 131 for_each_sg(umem->sg_head.sgl, sg, umem->nmap, entry) { in __mlx5_ib_populate_pas()
|
/kernel/linux/linux-5.10/tools/testing/selftests/wireguard/qemu/ |
D | Makefile | 49 $(eval $(call tar_download,NMAP,nmap,7.80,.tar.bz2,https://nmap.org/dist/,fcfa5a0e42099e12e4bf7a68e… 362 …ith-libdnet=included --without-liblua --with-liblinear=included --without-nmap-update --without-op…
|
/kernel/linux/linux-5.10/drivers/infiniband/hw/mlx4/ |
D | mr.c | 203 for_each_sg(umem->sg_head.sgl, sg, umem->nmap, i) { in mlx4_ib_umem_write_mtt() 276 for_each_sg(umem->sg_head.sgl, sg, umem->nmap, i) { in mlx4_ib_umem_calc_optimal_mtt_size()
|
/kernel/linux/linux-5.10/drivers/infiniband/sw/rxe/ |
D | rxe_mr.c | 166 for_each_sg_page(umem->sg_head.sgl, &sg_iter, umem->nmap, 0) { in rxe_mem_init_user()
|
/kernel/linux/linux-5.10/drivers/infiniband/sw/rdmavt/ |
D | mr.c | 412 for_each_sg_page (umem->sg_head.sgl, &sg_iter, umem->nmap, 0) { in rvt_reg_user_mr()
|