Home
last modified time | relevance | path

Searched refs:BPF_F_PATH_FD (Results 1 – 4 of 4) sorted by relevance

/openbmc/linux/tools/testing/selftests/bpf/prog_tests/
H A Dbpf_obj_pinning.c80 pin_opts.file_flags = BPF_F_PATH_FD; in bpf_obj_pinning_detached()
87 get_opts.file_flags = BPF_F_PATH_FD; in bpf_obj_pinning_detached()
147 pin_opts.file_flags = BPF_F_PATH_FD; in validate_pin()
212 get_opts.file_flags = BPF_F_PATH_FD; in validate_get()
/openbmc/linux/kernel/bpf/
H A Dsyscall.c2801 if (CHECK_ATTR(BPF_OBJ) || attr->file_flags & ~BPF_F_PATH_FD) in bpf_obj_pin()
2805 if (!(attr->file_flags & BPF_F_PATH_FD) && attr->path_fd) in bpf_obj_pin()
2808 path_fd = attr->file_flags & BPF_F_PATH_FD ? attr->path_fd : AT_FDCWD; in bpf_obj_pin()
2818 attr->file_flags & ~(BPF_OBJ_FLAG_MASK | BPF_F_PATH_FD)) in bpf_obj_get()
2822 if (!(attr->file_flags & BPF_F_PATH_FD) && attr->path_fd) in bpf_obj_get()
2825 path_fd = attr->file_flags & BPF_F_PATH_FD ? attr->path_fd : AT_FDCWD; in bpf_obj_get()
/openbmc/linux/tools/include/uapi/linux/
H A Dbpf.h1329 BPF_F_PATH_FD = (1U << 14), enumerator
/openbmc/linux/include/uapi/linux/
H A Dbpf.h1329 BPF_F_PATH_FD = (1U << 14), enumerator