/linux-6.12.1/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-6.12.1/fs/xfs/libxfs/ |
D | xfs_attr_remote.c | 405 int nmap; in xfs_attr_rmtval_get() local 418 nmap = ATTR_RMTVALUE_MAPSIZE; in xfs_attr_rmtval_get() 420 blkcnt, map, &nmap, in xfs_attr_rmtval_get() 424 ASSERT(nmap >= 1); in xfs_attr_rmtval_get() 426 for (i = 0; (i < nmap) && (valuelen > 0); i++) { in xfs_attr_rmtval_get() 498 int nmap; in xfs_attr_rmtval_set_value() local 518 nmap = 1; in xfs_attr_rmtval_set_value() 520 blkcnt, &map, &nmap, in xfs_attr_rmtval_set_value() 524 ASSERT(nmap == 1); in xfs_attr_rmtval_set_value() 629 int nmap; in xfs_attr_rmtval_set_blk() local [all …]
|
D | xfs_da_btree.c | 2302 int nmap, error, got, i, mapi = 1; in xfs_da_grow_inode_int() local 2314 nmap = 1; in xfs_da_grow_inode_int() 2317 args->total, &map, &nmap); in xfs_da_grow_inode_int() 2330 nmap = min(XFS_BMAP_MAX_NMAP, c); in xfs_da_grow_inode_int() 2333 args->total, &mapp[mapi], &nmap); in xfs_da_grow_inode_int() 2336 mapi += nmap; in xfs_da_grow_inode_int() 2787 int nmap = 1; in xfs_da_get_buf() local 2791 error = xfs_dabuf_map(dp, bno, 0, whichfork, &mapp, &nmap); in xfs_da_get_buf() 2792 if (error || nmap == 0) in xfs_da_get_buf() 2795 error = xfs_trans_get_buf_map(tp, mp->m_ddev_targp, mapp, nmap, 0, &bp); in xfs_da_get_buf() [all …]
|
D | xfs_bmap.h | 198 int *nmap, uint32_t flags); 201 xfs_extlen_t total, struct xfs_bmbt_irec *mval, int *nmap);
|
D | xfs_rtbitmap.c | 87 int nmap = 1; in xfs_rtbuf_get() local 117 error = xfs_bmapi_read(ip, block, 1, &map, &nmap, 0); in xfs_rtbuf_get() 121 if (XFS_IS_CORRUPT(mp, nmap == 0 || !xfs_bmap_is_written_extent(&map))) { in xfs_rtbuf_get() 1232 int nmap = 1; in xfs_rtfile_alloc_blocks() local 1249 XFS_BMAPI_METADATA, 0, map, &nmap); in xfs_rtfile_alloc_blocks()
|
D | xfs_bmap.c | 515 int nmap, in xfs_bmap_validate_ret() argument 520 ASSERT(ret_nmap <= nmap); in xfs_bmap_validate_ret() 546 #define xfs_bmap_validate_ret(bno,len,flags,mval,onmap,nmap) do { } while (0) argument 3932 int *nmap, in xfs_bmapi_read() argument 3946 ASSERT(*nmap >= 1); in xfs_bmapi_read() 3975 while (bno < end && n < *nmap) { in xfs_bmapi_read() 3998 if (bno >= end || n >= *nmap) in xfs_bmapi_read() 4005 *nmap = n; in xfs_bmapi_read() 4394 int *nmap) /* i/o: mval size/count */ in xfs_bmapi_write() argument 4421 orig_nmap = *nmap; in xfs_bmapi_write() [all …]
|
/linux-6.12.1/fs/xfs/ |
D | xfs_attr_inactive.c | 41 int nmap; in xfs_attr3_rmt_stale() local 52 nmap = 1; in xfs_attr3_rmt_stale() 54 &map, &nmap, XFS_BMAPI_ATTRFORK); in xfs_attr3_rmt_stale() 57 if (XFS_IS_CORRUPT(dp->i_mount, nmap != 1)) in xfs_attr3_rmt_stale()
|
/linux-6.12.1/fs/xfs/scrub/ |
D | rtbitmap.c | 114 int nmap = 1; in xchk_rtbitmap_check_extents() local 121 error = xfs_bmapi_read(ip, off, endoff - off, &map, &nmap, in xchk_rtbitmap_check_extents() 126 if (nmap != 1 || !xfs_bmap_is_written_extent(&map)) { in xchk_rtbitmap_check_extents()
|
D | rtsummary.c | 245 int nmap = 1; in xchk_rtsum_compare() local 253 error = xfs_bmapi_read(ip, off, endoff - off, &map, &nmap, in xchk_rtsum_compare() 258 if (nmap != 1 || !xfs_bmap_is_written_extent(&map)) { in xchk_rtsum_compare()
|
D | quota_repair.c | 432 int nmap = 1; in xrep_quota_data_fork() local 441 XFS_BMAPI_CONVERT, 0, &nrec, &nmap); in xrep_quota_data_fork()
|
D | attr_repair.c | 890 int nmap; in xrep_xattr_recover() local 901 nmap = 1; in xrep_xattr_recover() 903 &got, &nmap, XFS_BMAPI_ATTRFORK); in xrep_xattr_recover() 906 if (nmap != 1) in xrep_xattr_recover()
|
D | dir_repair.c | 955 int nmap; in xrep_dir_recover() local 964 nmap = 1; in xrep_dir_recover() 966 &got, &nmap, 0); in xrep_dir_recover() 969 if (nmap != 1) in xrep_dir_recover()
|
/linux-6.12.1/drivers/infiniband/core/ |
D | umem_dmabuf.c | 20 unsigned int nmap = 0; in ib_umem_dmabuf_map_pages() local 44 nmap++; in ib_umem_dmabuf_map_pages() 66 umem_dmabuf->umem.sgt_append.sgt.nents = nmap; in ib_umem_dmabuf_map_pages()
|
/linux-6.12.1/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…
|