Home
last modified time | relevance | path

Searched refs:BPF_F_WRONLY_PROG (Results 1 – 7 of 7) sorted by relevance

/Linux-v6.6/tools/testing/selftests/bpf/progs/
Dverifier_array_access.c28 __uint(map_flags, BPF_F_WRONLY_PROG);
/Linux-v6.6/include/linux/
Dbpf.h1736 BPF_F_WRONLY_PROG)
1748 u32 access_flags = map->map_flags & (BPF_F_RDONLY_PROG | BPF_F_WRONLY_PROG); in bpf_map_flags_to_cap()
1755 else if (access_flags & BPF_F_WRONLY_PROG) in bpf_map_flags_to_cap()
1763 return (access_flags & (BPF_F_RDONLY_PROG | BPF_F_WRONLY_PROG)) != in bpf_map_flags_access_ok()
1764 (BPF_F_RDONLY_PROG | BPF_F_WRONLY_PROG); in bpf_map_flags_access_ok()
/Linux-v6.6/tools/include/uapi/linux/
Dbpf.h1294 BPF_F_WRONLY_PROG = (1U << 8), enumerator
/Linux-v6.6/include/uapi/linux/
Dbpf.h1294 BPF_F_WRONLY_PROG = (1U << 8), enumerator
/Linux-v6.6/kernel/bpf/
Darraymap.c799 if (attr->map_flags & (BPF_F_RDONLY_PROG | BPF_F_WRONLY_PROG)) in fd_array_map_alloc_check()
Dsyscall.c1018 if (map->map_flags & (BPF_F_RDONLY_PROG | BPF_F_WRONLY_PROG)) { in map_check_btf()
/Linux-v6.6/tools/testing/selftests/bpf/
Dtest_verifier.c1173 BPF_F_WRONLY_PROG); in do_test_fixup()