/Linux-v6.6/drivers/net/netdevsim/ |
D | bpf.c | 335 struct nsim_bpf_bound_map *nmap = offmap->dev_priv; in nsim_map_key_find() local 338 for (i = 0; i < ARRAY_SIZE(nmap->entry); i++) in nsim_map_key_find() 339 if (nsim_map_key_match(&offmap->map, &nmap->entry[i], key)) in nsim_map_key_find() 348 struct nsim_bpf_bound_map *nmap = offmap->dev_priv; in nsim_map_alloc_elem() local 350 nmap->entry[idx].key = kmalloc(offmap->map.key_size, in nsim_map_alloc_elem() 352 if (!nmap->entry[idx].key) in nsim_map_alloc_elem() 354 nmap->entry[idx].value = kmalloc(offmap->map.value_size, in nsim_map_alloc_elem() 356 if (!nmap->entry[idx].value) { in nsim_map_alloc_elem() 357 kfree(nmap->entry[idx].key); in nsim_map_alloc_elem() 358 nmap->entry[idx].key = NULL; in nsim_map_alloc_elem() [all …]
|
/Linux-v6.6/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() 611 int nmap; in xfs_attr_rmtval_set_blk() local [all …]
|
D | xfs_da_btree.c | 2162 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() 2196 nmap = min(XFS_BMAP_MAX_NMAP, c); 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 …]
|
D | xfs_bmap.h | 189 int *nmap, uint32_t flags); 192 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 | 488 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 3870 int *nmap, in xfs_bmapi_read() argument 3884 ASSERT(*nmap >= 1); in xfs_bmapi_read() 3909 while (bno < end && n < *nmap) { in xfs_bmapi_read() 3932 if (bno >= end || n >= *nmap) in xfs_bmapi_read() 3939 *nmap = n; in xfs_bmapi_read() 4322 int *nmap) /* i/o: mval size/count */ in xfs_bmapi_write() argument 4349 orig_nmap = *nmap; in xfs_bmapi_write() [all …]
|
/Linux-v6.6/fs/xfs/scrub/ |
D | rtbitmap.c | 69 int nmap; in xchk_rtbitmap_check_extents() local 78 nmap = 1; in xchk_rtbitmap_check_extents() 80 mp->m_sb.sb_rbmblocks - off, &map, &nmap, in xchk_rtbitmap_check_extents() 85 if (nmap != 1 || !xfs_bmap_is_written_extent(&map)) { in xchk_rtbitmap_check_extents()
|
D | rtsummary.c | 185 int nmap; in xchk_rtsum_compare() local 196 nmap = 1; in xchk_rtsum_compare() 197 error = xfs_bmapi_read(mp->m_rsumip, off, 1, &map, &nmap, in xchk_rtsum_compare() 202 if (nmap != 1 || !xfs_bmap_is_written_extent(&map)) { in xchk_rtsum_compare()
|
/Linux-v6.6/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 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-v6.6/drivers/infiniband/core/ |
D | umem_dmabuf.c | 20 unsigned int nmap = 0; in ib_umem_dmabuf_map_pages() local 41 nmap++; in ib_umem_dmabuf_map_pages() 63 umem_dmabuf->umem.sgt_append.sgt.nents = nmap; in ib_umem_dmabuf_map_pages()
|
/Linux-v6.6/tools/testing/selftests/wireguard/qemu/ |
D | Makefile | 44 $(eval $(call tar_download,NMAP,nmap,7.92,.tgz,https://nmap.org/dist/,064183ea642dc4c12b1ab3b5358ce… 441 …ith-libdnet=included --without-liblua --with-liblinear=included --without-nmap-update --without-op…
|