/kernel/linux/linux-5.10/drivers/net/netdevsim/ |
H A 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 in nsim_map_alloc_elem() 373 struct nsim_bpf_bound_map *nmap = offmap->dev_priv; nsim_map_get_next_key() local 403 struct nsim_bpf_bound_map *nmap = offmap->dev_priv; nsim_map_lookup_elem() local 421 struct nsim_bpf_bound_map *nmap = offmap->dev_priv; nsim_map_update_elem() local 460 struct nsim_bpf_bound_map *nmap = offmap->dev_priv; nsim_map_delete_elem() local 490 struct nsim_bpf_bound_map *nmap; nsim_bpf_map_alloc() local 539 struct nsim_bpf_bound_map *nmap = offmap->dev_priv; nsim_bpf_map_free() local [all...] |
/kernel/linux/linux-6.6/drivers/net/netdevsim/ |
H A 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 in nsim_map_alloc_elem() 369 struct nsim_bpf_bound_map *nmap = offmap->dev_priv; nsim_map_get_next_key() local 399 struct nsim_bpf_bound_map *nmap = offmap->dev_priv; nsim_map_lookup_elem() local 417 struct nsim_bpf_bound_map *nmap = offmap->dev_priv; nsim_map_update_elem() local 456 struct nsim_bpf_bound_map *nmap = offmap->dev_priv; nsim_map_delete_elem() local 486 struct nsim_bpf_bound_map *nmap; nsim_bpf_map_alloc() local 535 struct nsim_bpf_bound_map *nmap = offmap->dev_priv; nsim_bpf_map_free() local [all...] |
/kernel/linux/linux-5.10/fs/xfs/libxfs/ |
H A 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 649 int nmap; xfs_attr_rmtval_invalidate() local [all...] |
H A 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() 2595 int nmap = 1; xfs_da_get_buf() local 2632 int nmap = 1; xfs_da_read_buf() local 2670 int nmap; xfs_da_reada_buf() local [all...] |
H A D | xfs_bmap.h | 205 int *nmap, int flags); 208 xfs_extlen_t total, struct xfs_bmbt_irec *mval, int *nmap);
|
H A 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()
|
H A D | xfs_bmap.c | 487 int nmap, in xfs_bmap_validate_ret() 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) 3870 int *nmap, in xfs_bmapi_read() 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() 4338 int orig_nmap; /* original value of *nmap */ in xfs_bmapi_write() 482 xfs_bmap_validate_ret( xfs_fileoff_t bno, xfs_filblks_t len, int flags, xfs_bmbt_irec_t *mval, int nmap, int ret_nmap) xfs_bmap_validate_ret() argument 3865 xfs_bmapi_read( struct xfs_inode *ip, xfs_fileoff_t bno, xfs_filblks_t len, struct xfs_bmbt_irec *mval, int *nmap, int flags) xfs_bmapi_read() argument 4309 xfs_bmapi_write( struct xfs_trans *tp, struct xfs_inode *ip, xfs_fileoff_t bno, xfs_filblks_t len, int flags, xfs_extlen_t total, struct xfs_bmbt_irec *mval, int *nmap) xfs_bmapi_write() argument [all...] |
/kernel/linux/linux-6.6/fs/xfs/libxfs/ |
H A 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 652 int nmap; xfs_attr_rmtval_invalidate() local [all...] |
H A 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() 2607 int nmap = 1; xfs_da_get_buf() local 2644 int nmap = 1; xfs_da_read_buf() local 2682 int nmap; xfs_da_reada_buf() local [all...] |
H A D | xfs_bmap.h | 189 int *nmap, uint32_t flags); 192 xfs_extlen_t total, struct xfs_bmbt_irec *mval, int *nmap);
|
H A 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()
|
H A D | xfs_bmap.c | 488 int nmap, in xfs_bmap_validate_ret() 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) 3870 int *nmap, in xfs_bmapi_read() 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() 4343 int orig_nmap; /* original value of *nmap */ in xfs_bmapi_write() 483 xfs_bmap_validate_ret( xfs_fileoff_t bno, xfs_filblks_t len, uint32_t flags, xfs_bmbt_irec_t *mval, int nmap, int ret_nmap) xfs_bmap_validate_ret() argument 3865 xfs_bmapi_read( struct xfs_inode *ip, xfs_fileoff_t bno, xfs_filblks_t len, struct xfs_bmbt_irec *mval, int *nmap, uint32_t flags) xfs_bmapi_read() argument 4314 xfs_bmapi_write( struct xfs_trans *tp, struct xfs_inode *ip, xfs_fileoff_t bno, xfs_filblks_t len, uint32_t flags, xfs_extlen_t total, struct xfs_bmbt_irec *mval, int *nmap) xfs_bmapi_write() argument [all...] |
/kernel/linux/linux-6.6/fs/xfs/scrub/ |
H A 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()
|
H A 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()
|
/kernel/linux/linux-5.10/drivers/infiniband/core/ |
H A 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/ |
H A 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-6.6/fs/xfs/ |
H A 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()
|
H A D | xfs_rtalloc.c | 800 int nmap; /* number of block maps */ in xfs_growfs_rt_alloc() local 839 nmap = 1; in xfs_growfs_rt_alloc() 841 XFS_BMAPI_METADATA, 0, &map, &nmap); in xfs_growfs_rt_alloc() 842 if (!error && nmap < 1) in xfs_growfs_rt_alloc()
|
/kernel/linux/linux-5.10/include/rdma/ |
H A 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/fs/xfs/ |
H A 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()
|
H A 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-6.6/drivers/infiniband/core/ |
H A 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()
|
/kernel/linux/linux-5.10/drivers/infiniband/hw/mlx5/ |
H A 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/ |
H A D | Makefile | 49 $(eval $(call tar_download,NMAP,nmap,7.80,.tar.bz2,https://nmap.org/dist/,fcfa5a0e42099e12e4bf7a68ebe6fde05553383a682e816a7ec9256ab4773faa)) 362 cd $(NMAP_PATH) && ./configure --prefix=/ $(CROSS_COMPILE_FLAG) --enable-static --disable-shared --without-ndiff --without-zenmap --without-nping --with-libpcap=included --with-libpcre=included --with-libdnet=included --without-liblua --with-liblinear=included --without-nmap-update --without-openssl --with-pcap=linux --without-libssh
|
/kernel/linux/linux-6.6/tools/testing/selftests/wireguard/qemu/ |
H A D | Makefile | 44 $(eval $(call tar_download,NMAP,nmap,7.92,.tgz,https://nmap.org/dist/,064183ea642dc4c12b1ab3b5358ce1cef7d2e7e11ffa2849f16d339f5b717117)) 441 cd $(NMAP_PATH) && ./configure --prefix=/ $(CROSS_COMPILE_FLAG) --enable-static --disable-shared --without-ndiff --without-zenmap --without-nping --with-libpcap=included --with-libpcre=included --with-libdnet=included --without-liblua --with-liblinear=included --without-nmap-update --without-openssl --with-pcap=linux --without-libssh
|