Home
last modified time | relevance | path

Searched refs:file_flags (Results 1 – 12 of 12) sorted by relevance

/Linux-v6.6/tools/testing/selftests/bpf/prog_tests/
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()
/Linux-v6.6/include/linux/
Dsocket.h442 extern struct file *do_accept(struct file *file, unsigned file_flags,
451 int addrlen, int file_flags);
/Linux-v6.6/tools/lib/bpf/
Dbpf.h290 __u32 file_flags; member
304 __u32 file_flags; member
Dbpf.c587 attr.file_flags = OPTS_GET(opts, file_flags, 0); in bpf_obj_pin_opts()
616 attr.file_flags = OPTS_GET(opts, file_flags, 0); in bpf_obj_get_opts()
/Linux-v6.6/tools/perf/trace/beauty/include/linux/
Dsocket.h442 extern struct file *do_accept(struct file *file, unsigned file_flags,
451 int addrlen, int file_flags);
/Linux-v6.6/drivers/net/wireless/ath/ath10k/
Dbmi.h198 __le32 file_flags; member
Dhw.c1031 if (hdr->file_flags != 0) { in ath10k_hw_diag_fast_download()
1034 hdr->file_flags); in ath10k_hw_diag_fast_download()
/Linux-v6.6/io_uring/
Dnet.c1327 unsigned int file_flags = force_nonblock ? O_NONBLOCK : 0; in io_accept() local
1340 file = do_accept(req->file, file_flags, accept->addr, accept->addr_len, in io_accept()
1460 unsigned file_flags; in io_connect() local
1485 file_flags = force_nonblock ? O_NONBLOCK : 0; in io_connect()
1488 connect->addr_len, file_flags); in io_connect()
/Linux-v6.6/kernel/bpf/
Dsyscall.c2766 if (CHECK_ATTR(BPF_OBJ) || attr->file_flags & ~BPF_F_PATH_FD) in bpf_obj_pin()
2770 if (!(attr->file_flags & BPF_F_PATH_FD) && attr->path_fd) in bpf_obj_pin()
2773 path_fd = attr->file_flags & BPF_F_PATH_FD ? attr->path_fd : AT_FDCWD; in bpf_obj_pin()
2783 attr->file_flags & ~(BPF_OBJ_FLAG_MASK | BPF_F_PATH_FD)) in bpf_obj_get()
2787 if (!(attr->file_flags & BPF_F_PATH_FD) && attr->path_fd) in bpf_obj_get()
2790 path_fd = attr->file_flags & BPF_F_PATH_FD ? attr->path_fd : AT_FDCWD; in bpf_obj_get()
2792 attr->file_flags); in bpf_obj_get()
/Linux-v6.6/net/
Dsocket.c1895 struct file *do_accept(struct file *file, unsigned file_flags, in do_accept() argument
1931 err = ops->accept(sock, newsock, sock->file->f_flags | file_flags, in do_accept()
2034 int addrlen, int file_flags) in __sys_connect_file() argument
2051 addrlen, sock->file->f_flags | file_flags); in __sys_connect_file()
/Linux-v6.6/tools/include/uapi/linux/
Dbpf.h1460 __u32 file_flags; member
/Linux-v6.6/include/uapi/linux/
Dbpf.h1460 __u32 file_flags; member