Searched refs:BPF_F_RDONLY_PROG (Results 1 – 12 of 12) sorted by relevance
12 __uint(map_flags, BPF_F_MMAPABLE | BPF_F_RDONLY_PROG);
20 __uint(map_flags, BPF_F_RDONLY_PROG);
1780 BPF_F_RDONLY_PROG | \1794 u32 access_flags = map->map_flags & (BPF_F_RDONLY_PROG | BPF_F_WRONLY_PROG); in bpf_map_flags_to_cap()1799 if (access_flags & BPF_F_RDONLY_PROG) in bpf_map_flags_to_cap()1809 return (access_flags & (BPF_F_RDONLY_PROG | BPF_F_WRONLY_PROG)) != in bpf_map_flags_access_ok()1810 (BPF_F_RDONLY_PROG | BPF_F_WRONLY_PROG); in bpf_map_flags_access_ok()
127 attr->map_flags |= BPF_F_RDONLY_PROG; in dev_map_init_map()
802 if (attr->map_flags & (BPF_F_RDONLY_PROG | BPF_F_WRONLY_PROG)) in fd_array_map_alloc_check()
905 if (map->map_flags & BPF_F_RDONLY_PROG) { in bpf_map_mmap()1047 if (map->map_flags & (BPF_F_RDONLY_PROG | BPF_F_WRONLY_PROG)) { in map_check_btf()
6238 return (map->map_flags & BPF_F_RDONLY_PROG) && in bpf_map_is_rdonly()9775 if ((map->map_flags & BPF_F_RDONLY_PROG) && in record_func_map()
768 if (bpf_map__map_flags(map) & BPF_F_RDONLY_PROG) in gen_trace()
1310 BPF_F_RDONLY_PROG = (1U << 7), enumerator
1163 BPF_F_RDONLY_PROG); in do_test_fixup()
1665 ? BPF_F_RDONLY_PROG : 0; in bpf_object__init_internal_map()13134 if (map->def.map_flags & BPF_F_RDONLY_PROG) in bpf_object__load_skeleton()