Home
last modified time | relevance | path

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

/linux-6.6.21/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-6.6.21/include/linux/
Dsocket.h443 extern struct file *do_accept(struct file *file, unsigned file_flags,
452 int addrlen, int file_flags);
/linux-6.6.21/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-6.6.21/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-6.6.21/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-6.6.21/io_uring/
Dnet.c1349 unsigned int file_flags = force_nonblock ? O_NONBLOCK : 0; in io_accept() local
1362 file = do_accept(req->file, file_flags, accept->addr, accept->addr_len, in io_accept()
1483 unsigned file_flags; in io_connect() local
1498 file_flags = force_nonblock ? O_NONBLOCK : 0; in io_connect()
1501 connect->addr_len, file_flags); in io_connect()
/linux-6.6.21/kernel/bpf/
Dsyscall.c2798 if (CHECK_ATTR(BPF_OBJ) || attr->file_flags & ~BPF_F_PATH_FD) in bpf_obj_pin()
2802 if (!(attr->file_flags & BPF_F_PATH_FD) && attr->path_fd) in bpf_obj_pin()
2805 path_fd = attr->file_flags & BPF_F_PATH_FD ? attr->path_fd : AT_FDCWD; in bpf_obj_pin()
2815 attr->file_flags & ~(BPF_OBJ_FLAG_MASK | BPF_F_PATH_FD)) in bpf_obj_get()
2819 if (!(attr->file_flags & BPF_F_PATH_FD) && attr->path_fd) in bpf_obj_get()
2822 path_fd = attr->file_flags & BPF_F_PATH_FD ? attr->path_fd : AT_FDCWD; in bpf_obj_get()
2824 attr->file_flags); in bpf_obj_get()
/linux-6.6.21/net/
Dsocket.c1897 struct file *do_accept(struct file *file, unsigned file_flags, in do_accept() argument
1933 err = ops->accept(sock, newsock, sock->file->f_flags | file_flags, in do_accept()
2036 int addrlen, int file_flags) in __sys_connect_file() argument
2053 addrlen, sock->file->f_flags | file_flags); in __sys_connect_file()
/linux-6.6.21/tools/include/uapi/linux/
Dbpf.h1460 __u32 file_flags; member
/linux-6.6.21/include/uapi/linux/
Dbpf.h1460 __u32 file_flags; member