Home
last modified time | relevance | path

Searched refs:nmap (Results 1 – 11 of 11) sorted by relevance

/linux-5.19.10/drivers/net/netdevsim/
Dbpf.c339 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 …]
/linux-5.19.10/fs/xfs/libxfs/
Dxfs_attr_remote.c390 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()
606 int nmap; in xfs_attr_rmtval_set_blk() local
[all …]
Dxfs_da_btree.c2162 int nmap, error, got, i, mapi; in xfs_da_grow_inode_int() local
2174 nmap = 1; in xfs_da_grow_inode_int()
2177 args->total, &map, &nmap); in xfs_da_grow_inode_int()
2181 ASSERT(nmap <= 1); in xfs_da_grow_inode_int()
2182 if (nmap == 1) { in xfs_da_grow_inode_int()
2185 } else if (nmap == 0 && count > 1) { in xfs_da_grow_inode_int()
2195 nmap = min(XFS_BMAP_MAX_NMAP, count); in xfs_da_grow_inode_int()
2199 args->total, &mapp[mapi], &nmap); in xfs_da_grow_inode_int()
2202 if (nmap < 1) in xfs_da_grow_inode_int()
2204 mapi += nmap; in xfs_da_grow_inode_int()
[all …]
Dxfs_bmap.h186 int *nmap, uint32_t flags);
189 xfs_extlen_t total, struct xfs_bmbt_irec *mval, int *nmap);
Dxfs_rtbitmap.c64 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()
Dxfs_bmap.c488 int nmap, in xfs_bmap_validate_ret() argument
493 ASSERT(ret_nmap <= nmap); in xfs_bmap_validate_ret()
519 #define xfs_bmap_validate_ret(bno,len,flags,mval,onmap,nmap) do { } while (0) argument
3864 int *nmap, in xfs_bmapi_read() argument
3878 ASSERT(*nmap >= 1); in xfs_bmapi_read()
3903 while (bno < end && n < *nmap) { in xfs_bmapi_read()
3926 if (bno >= end || n >= *nmap) in xfs_bmapi_read()
3933 *nmap = n; in xfs_bmapi_read()
4316 int *nmap) /* i/o: mval size/count */ in xfs_bmapi_write() argument
4343 orig_nmap = *nmap; in xfs_bmapi_write()
[all …]
/linux-5.19.10/fs/xfs/scrub/
Drtbitmap.c68 int nmap; in xchk_rtbitmap_check_extents() local
77 nmap = 1; in xchk_rtbitmap_check_extents()
79 mp->m_sb.sb_rbmblocks - off, &map, &nmap, in xchk_rtbitmap_check_extents()
84 if (nmap != 1 || !xfs_bmap_is_written_extent(&map)) { in xchk_rtbitmap_check_extents()
/linux-5.19.10/fs/xfs/
Dxfs_attr_inactive.c40 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()
Dxfs_rtalloc.c779 int nmap; /* number of block maps */ in xfs_growfs_rt_alloc() local
818 nmap = 1; in xfs_growfs_rt_alloc()
820 XFS_BMAPI_METADATA, 0, &map, &nmap); in xfs_growfs_rt_alloc()
821 if (!error && nmap < 1) in xfs_growfs_rt_alloc()
/linux-5.19.10/drivers/infiniband/core/
Dumem_dmabuf.c20 unsigned int nmap = 0; in ib_umem_dmabuf_map_pages() local
40 nmap++; in ib_umem_dmabuf_map_pages()
62 umem_dmabuf->umem.sgt_append.sgt.nents = nmap; in ib_umem_dmabuf_map_pages()
/linux-5.19.10/tools/testing/selftests/wireguard/qemu/
DMakefile44 $(eval $(call tar_download,NMAP,nmap,7.92,.tgz,https://nmap.org/dist/,064183ea642dc4c12b1ab3b5358ce…
424 …ith-libdnet=included --without-liblua --with-liblinear=included --without-nmap-update --without-op…