| /linux/drivers/net/netdevsim/ |
| H A D | bpf.c | 342 struct nsim_bpf_bound_map *nmap = offmap->dev_priv; in nsim_map_key_find() local 345 for (i = 0; i < ARRAY_SIZE(nmap->entry); i++) in nsim_map_key_find() 346 if (nsim_map_key_match(&offmap->map, &nmap->entry[i], key)) in nsim_map_key_find() 355 struct nsim_bpf_bound_map *nmap = offmap->dev_priv; in nsim_map_alloc_elem() local 357 nmap->entry[idx].key = kmalloc(offmap->map.key_size, in nsim_map_alloc_elem() 359 if (!nmap->entry[idx].key) in nsim_map_alloc_elem() 361 nmap->entry[idx].value = kmalloc(offmap->map.value_size, in nsim_map_alloc_elem() 363 if (!nmap->entry[idx].value) { in nsim_map_alloc_elem() 364 kfree(nmap->entry[idx].key); in nsim_map_alloc_elem() 365 nmap->entry[idx].key = NULL; in nsim_map_alloc_elem() [all …]
|
| /linux/fs/xfs/ |
| H A 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/fs/xfs/scrub/ |
| H A D | rtbitmap.c | 166 int nmap = 1; in xchk_rtbitmap_check_extents() local 173 error = xfs_bmapi_read(ip, off, endoff - off, &map, &nmap, in xchk_rtbitmap_check_extents() 178 if (nmap != 1 || !xfs_bmap_is_written_extent(&map)) { in xchk_rtbitmap_check_extents()
|
| H A D | rtsummary.c | 252 int nmap = 1; in xchk_rtsum_compare() local 260 error = xfs_bmapi_read(ip, off, endoff - off, &map, &nmap, in xchk_rtsum_compare() 265 if (nmap != 1 || !xfs_bmap_is_written_extent(&map)) { in xchk_rtsum_compare()
|
| H A 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()
|
| H A D | dir_repair.c | 965 int nmap; in xrep_dir_recover() local 974 nmap = 1; in xrep_dir_recover() 976 &got, &nmap, 0); in xrep_dir_recover() 979 if (nmap != 1) in xrep_dir_recover()
|
| /linux/fs/xfs/libxfs/ |
| H A D | xfs_da_btree.c | 2333 int nmap, error, got, i, mapi = 1; in xfs_da_grow_inode_int() local 2345 nmap = 1; in xfs_da_grow_inode_int() 2348 args->total, &map, &nmap); in xfs_da_grow_inode_int() 2361 nmap = min(XFS_BMAP_MAX_NMAP, c); in xfs_da_grow_inode_int() 2364 args->total, &mapp[mapi], &nmap); in xfs_da_grow_inode_int() 2367 mapi += nmap; in xfs_da_grow_inode_int() 2814 int nmap = 1; in xfs_da_get_buf() local 2818 error = xfs_dabuf_map(dp, bno, 0, whichfork, &mapp, &nmap); in xfs_da_get_buf() 2819 if (error || nmap == 0) in xfs_da_get_buf() 2822 error = xfs_trans_get_buf_map(tp, mp->m_ddev_targp, mapp, nmap, 0, &bp); in xfs_da_get_buf() [all …]
|
| /linux/drivers/infiniband/core/ |
| H A 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/tools/testing/selftests/wireguard/qemu/ |
| H A D | Makefile | 44 $(eval $(call tar_download,NMAP,nmap,7.92,.tgz,https://nmap.org/dist/,064183ea642dc4c12b1ab3b5358ce1cef7d2e7e11ffa2849f16d339f5b717117)) 442 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
|