Searched refs:bpf_map__map_flags (Results 1 – 8 of 8) sorted by relevance
134 ASSERT_EQ(bpf_map__map_flags(skel->maps.data_non_mmapable), 0, "non_mmap_flags"); in test_skeleton()
183 bpf_map__map_flags;
1023 LIBBPF_API __u32 bpf_map__map_flags(const struct bpf_map *map);
10113 __u32 bpf_map__map_flags(const struct bpf_map *map) in bpf_map__map_flags() function
185 bpf_map__set_map_flags(map, bpf_map__map_flags(map) & ~BPF_F_NO_PREALLOC); in htab_mem_setup()
560 if (!(bpf_map__map_flags(map) & BPF_F_LINK)) { in do_register()
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()801 if (bpf_map__map_flags(map) & BPF_F_RDONLY_PROG) in gen_trace()
781 flags = bpf_map__map_flags(map); in is_unpriv_capable_map()