/linux/tools/testing/selftests/mm/ |
H A D | hugetlb_madv_vs_map.c | 57 void *map_extra(void *unused) in map_extra() function 110 pthread_create(&thread3, NULL, map_extra, NULL); in main()
|
/linux/tools/testing/selftests/bpf/progs/ |
H A D | arena_list.c | 15 __ulong(map_extra, 0x1ull << 32); /* start of mmap() region */ 17 __ulong(map_extra, 0x1ull << 44); /* start of mmap() region */
|
H A D | verifier_arena.c | 17 __ulong(map_extra, (1ull << 32) | (~0u - __PAGE_SIZE * 2 + 1)); /* start of mmap() region */ 19 __ulong(map_extra, (1ull << 44) | (~0u - __PAGE_SIZE * 2 + 1)); /* start of mmap() region */
|
H A D | arena_atomics.c | 15 __ulong(map_extra, 0x1ull << 32); /* start of mmap() region */ 17 __ulong(map_extra, 0x1ull << 44); /* start of mmap() region */
|
H A D | bloom_filter_map.c | 23 __uint(map_extra, 5);
|
H A D | bloom_filter_bench.c | 31 __uint(map_extra, 3);
|
/linux/kernel/bpf/ |
H A D | bloom_filter.c | 108 (attr->map_extra & ~0xF)) in bloom_map_alloc() 111 nr_hash_funcs = attr->map_extra; in bloom_map_alloc()
|
H A D | arena.c | 108 if (attr->map_extra & ~PAGE_MASK) in arena_map_alloc() 116 if ((attr->map_extra >> 32) != ((attr->map_extra + vm_range - 1) >> 32)) in arena_map_alloc() 129 arena->user_vm_start = attr->map_extra; in arena_map_alloc()
|
H A D | syscall.c | 347 map->map_extra = attr->map_extra; in bpf_map_init_from_attr() 884 (unsigned long long)map->map_extra, in bpf_map_show_fdinfo() 1235 attr->map_extra != 0) in map_create() 4846 info.map_extra = map->map_extra; in bpf_map_get_info_by_fd()
|
/linux/Documentation/bpf/ |
H A D | map_bloom_filter.rst | 38 the lower 4 bits of ``map_extra`` in ``union bpf_attr`` at map creation 120 __uint(map_extra, 3); 150 .map_extra = 3); /* number of hashes */
|
/linux/tools/lib/bpf/ |
H A D | libbpf_probes.c | 345 opts.map_extra = 0; /* can mmap() at any address */ in probe_map_create()
|
H A D | skel_internal.h | 225 const size_t attr_sz = offsetofend(union bpf_attr, map_extra); in skel_map_create()
|
H A D | gen_loader.c | 454 int attr_size = offsetofend(union bpf_attr, map_extra); in bpf_gen__map_create() 464 attr.map_extra = map_attr->map_extra; in bpf_gen__map_create()
|
H A D | bpf.h | 50 __u64 map_extra; member
|
H A D | libbpf.c | 574 __u64 map_extra; member 2709 __u64 map_extra; in parse_btf_map_def() local 2713 map_def->map_extra = map_extra; in parse_btf_map_def() 2776 map->map_extra = def->map_extra; in fill_map_from_def() 2807 (unsigned long long)def->map_extra); in fill_map_from_def() 4886 map->map_extra = info.map_extra; in bpf_map__reuse_fd() 5049 map_info.map_extra == map->map_extra); in map_is_reuse_compat() 5148 create_attr.map_extra = map->map_extra; in bpf_object__create_map() 5444 map->mmaped = mmap((void *)(long)map->map_extra, in bpf_object__create_maps() 10128 return map->map_extra; in bpf_map__map_extra() [all …]
|
H A D | libbpf_internal.h | 278 __u64 map_extra; member
|
H A D | bpf.c | 201 attr.map_extra = OPTS_GET(opts, map_extra, 0); in bpf_map_create()
|
H A D | libbpf.h | 1056 LIBBPF_API int bpf_map__set_map_extra(struct bpf_map *map, __u64 map_extra);
|
/linux/include/uapi/linux/ |
H A D | bpf.h | 1492 __u64 map_extra; member 6610 __u64 map_extra; member
|
/linux/tools/include/uapi/linux/ |
H A D | bpf.h | 1492 __u64 map_extra; member 6610 __u64 map_extra; member
|
/linux/include/linux/ |
H A D | bpf.h | 269 u64 map_extra; /* any per-map-type extra fields */ member
|