Home
last modified time | relevance | path

Searched refs:bpf_map__map_flags (Results 1 – 8 of 8) sorted by relevance

/linux-6.12.1/tools/testing/selftests/bpf/prog_tests/
Dskeleton.c134 ASSERT_EQ(bpf_map__map_flags(skel->maps.data_non_mmapable), 0, "non_mmap_flags"); in test_skeleton()
/linux-6.12.1/tools/lib/bpf/
Dlibbpf.map183 bpf_map__map_flags;
Dlibbpf.h1023 LIBBPF_API __u32 bpf_map__map_flags(const struct bpf_map *map);
Dlibbpf.c10113 __u32 bpf_map__map_flags(const struct bpf_map *map) in bpf_map__map_flags() function
/linux-6.12.1/tools/testing/selftests/bpf/benchs/
Dbench_htab_mem.c185 bpf_map__set_map_flags(map, bpf_map__map_flags(map) & ~BPF_F_NO_PREALLOC); in htab_mem_setup()
/linux-6.12.1/tools/bpf/bpftool/
Dstruct_ops.c560 if (!(bpf_map__map_flags(map) & BPF_F_LINK)) { in do_register()
Dgen.c266 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()
801 if (bpf_map__map_flags(map) & BPF_F_RDONLY_PROG) in gen_trace()
/linux-6.12.1/tools/testing/selftests/bpf/
Dtest_loader.c781 flags = bpf_map__map_flags(map); in is_unpriv_capable_map()