Searched refs:BPF_F_MMAPABLE (Results 1 – 17 of 17) sorted by relevance
/linux/tools/testing/selftests/bpf/progs/ |
H A D | test_mmap.c | 12 __uint(map_flags, BPF_F_MMAPABLE | BPF_F_RDONLY_PROG); 19 __uint(map_flags, BPF_F_MMAPABLE);
|
H A D | arena_htab.c | 12 __uint(map_flags, BPF_F_MMAPABLE);
|
H A D | mmap_inner_array.c | 13 __uint(map_flags, BPF_F_MMAPABLE);
|
H A D | arena_list.c | 12 __uint(map_flags, BPF_F_MMAPABLE);
|
H A D | verifier_arena.c | 14 __uint(map_flags, BPF_F_MMAPABLE);
|
H A D | arena_atomics.c | 12 __uint(map_flags, BPF_F_MMAPABLE);
|
/linux/kernel/bpf/ |
H A D | arraymap.c | 19 (BPF_F_NUMA_NODE | BPF_F_MMAPABLE | BPF_F_ACCESS_MASK | \ 66 attr->map_flags & (BPF_F_MMAPABLE | BPF_F_INNER_MAP)) in array_map_alloc_check() 122 if (attr->map_flags & BPF_F_MMAPABLE) { in array_map_alloc() 131 if (attr->map_flags & BPF_F_MMAPABLE) { in array_map_alloc() 478 if (array->map.map_flags & BPF_F_MMAPABLE) in array_map_free() 565 if (!(map->map_flags & BPF_F_MMAPABLE)) in array_map_mmap() 774 if (map->map_flags & BPF_F_MMAPABLE) { in array_map_mem_usage()
|
H A D | arena.c | 108 !(attr->map_flags & BPF_F_MMAPABLE) || in arena_map_alloc() 110 (attr->map_flags & ~(BPF_F_SEGV_ON_FAULT | BPF_F_MMAPABLE | BPF_F_NO_USER_CONV))) in arena_map_alloc()
|
/linux/samples/bpf/ |
H A D | xdp_sample.bpf.h | 21 __uint(map_flags, BPF_F_MMAPABLE);
|
/linux/Documentation/bpf/ |
H A D | map_array.rst | 22 setting the flag ``BPF_F_MMAPABLE``. The map definition is page-aligned and 156 LIBBPF_OPTS(bpf_map_create_opts, opts, .map_flags = BPF_F_MMAPABLE);
|
H A D | maps.rst | 49 .map_flags = BPF_F_MMAPABLE;
|
/linux/tools/lib/bpf/ |
H A D | libbpf_probes.c | 346 opts.map_flags = BPF_F_MMAPABLE; in probe_map_create()
|
H A D | libbpf.c | 1962 def->map_flags |= BPF_F_MMAPABLE; in bpf_object__init_internal_map() 5168 if (map->def.map_flags & BPF_F_MMAPABLE) { in bpf_object__populate_internal_map() 8126 m->def.map_flags &= ~BPF_F_MMAPABLE; in bpf_object__sanitize_maps()
|
/linux/tools/bpf/bpftool/Documentation/ |
H A D | bpftool-map.rst | 79 e.g. 1024 for **BPF_F_MMAPABLE** (see bpf.h UAPI header for existing
|
/linux/tools/bpf/bpftool/ |
H A D | gen.c | 266 if (!bpf_map__is_internal(map) || !(bpf_map__map_flags(map) & BPF_F_MMAPABLE)) in is_mmapable_map() 672 (bpf_map__map_flags(map) & BPF_F_MMAPABLE)) in codegen_destroy()
|
/linux/include/uapi/linux/ |
H A D | bpf.h | 1391 BPF_F_MMAPABLE = (1U << 10), enumerator
|
/linux/tools/include/uapi/linux/ |
H A D | bpf.h | 1391 BPF_F_MMAPABLE = (1U << 10), enumerator
|