Searched refs:BPF_F_MMAPABLE (Results 1 – 25 of 30) sorted by relevance
12
| /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_mem_usage.c | 9 __uint(map_flags, BPF_F_MMAPABLE);
|
| H A D | arena_spin_lock.c | 12 __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 | arena_kfunc_jit.c | 19 __uint(map_flags, BPF_F_MMAPABLE);
|
| H A D | struct_ops_arena.c | 16 __uint(map_flags, BPF_F_MMAPABLE);
|
| H A D | verifier_zext.c | 12 __uint(map_flags, BPF_F_MMAPABLE | BPF_F_NO_USER_CONV);
|
| H A D | compute_live_registers.c | 18 __uint(map_flags, BPF_F_MMAPABLE);
|
| H A D | arena_kfunc.c | 14 __uint(map_flags, BPF_F_MMAPABLE);
|
| H A D | verifier_arena_large.c | 16 __uint(map_flags, BPF_F_MMAPABLE);
|
| H A D | stream.c | 23 __uint(map_flags, BPF_F_MMAPABLE);
|
| H A D | arena_atomics.c | 14 __uint(map_flags, BPF_F_MMAPABLE);
|
| H A D | verifier_arena.c | 23 __uint(map_flags, BPF_F_MMAPABLE);
|
| /linux/tools/testing/selftests/bpf/libarena/include/libarena/ |
| H A D | common.h | 31 __uint(map_flags, BPF_F_MMAPABLE);
|
| /linux/tools/testing/selftests/bpf/prog_tests/ |
| H A D | arena_direct_value.c | 27 map_opts.map_flags = BPF_F_MMAPABLE; in test_arena_direct_value_one_past_end()
|
| H A D | signed_loader.c | 1062 fd = make_excl_map(BPF_F_MMAPABLE, 4096); in freeze_writable_mmap() 1079 fd = make_excl_map(BPF_F_MMAPABLE, 4096); in no_writable_mmap_frozen()
|
| /linux/samples/bpf/ |
| H A D | xdp_sample.bpf.h | 21 __uint(map_flags, BPF_F_MMAPABLE);
|
| /linux/kernel/bpf/ |
| H A D | arraymap.c | 20 (BPF_F_NUMA_NODE | BPF_F_MMAPABLE | BPF_F_ACCESS_MASK | \ 67 attr->map_flags & (BPF_F_MMAPABLE | BPF_F_INNER_MAP)) in array_map_alloc_check() 123 if (attr->map_flags & BPF_F_MMAPABLE) { in array_map_alloc() 132 if (attr->map_flags & BPF_F_MMAPABLE) { in array_map_alloc() 530 if (array->map.map_flags & BPF_F_MMAPABLE) in array_map_free() 612 if (!(map->map_flags & BPF_F_MMAPABLE)) in array_map_mmap() 847 if (map->map_flags & BPF_F_MMAPABLE) { in array_map_mem_usage()
|
| H A D | arena.c | 279 !(attr->map_flags & BPF_F_MMAPABLE) || in arena_map_alloc() 281 (attr->map_flags & ~(BPF_F_SEGV_ON_FAULT | BPF_F_MMAPABLE | BPF_F_NO_USER_CONV))) in arena_map_alloc()
|
| /linux/Documentation/bpf/ |
| H A D | maps.rst | 49 .map_flags = BPF_F_MMAPABLE;
|
| /linux/tools/lib/bpf/ |
| H A D | libbpf_probes.c | 359 opts.map_flags = BPF_F_MMAPABLE; in probe_map_create()
|
| H A D | features.c | 214 .map_flags = BPF_F_MMAPABLE | (token_fd ? BPF_F_TOKEN_FD : 0), in probe_kern_array_mmap()
|
| /linux/tools/bpf/bpftool/Documentation/ |
| H A D | bpftool-map.rst | 80 e.g. 1024 for **BPF_F_MMAPABLE** (see bpf.h UAPI header for existing
|
12