Searched refs:prog_stream_read (Results 1 – 4 of 4) sorted by relevance
1384 const size_t attr_sz = offsetofend(union bpf_attr, prog_stream_read); in bpf_prog_stream_read() 1392 attr.prog_stream_read.stream_buf = ptr_to_u64(buf); in bpf_prog_stream_read() 1393 attr.prog_stream_read.stream_buf_len = buf_len; in bpf_prog_stream_read() 1394 attr.prog_stream_read.stream_id = stream_id; in bpf_prog_stream_read() 1395 attr.prog_stream_read.prog_fd = prog_fd; in bpf_prog_stream_read()
6088 #define BPF_PROG_STREAM_READ_BY_FD_LAST_FIELD prog_stream_read.prog_fd6090 static int prog_stream_read(union bpf_attr *attr) in prog_stream_read() function6092 char __user *buf = u64_to_user_ptr(attr->prog_stream_read.stream_buf); in prog_stream_read()6093 u32 len = attr->prog_stream_read.stream_buf_len; in prog_stream_read()6100 prog = bpf_prog_get(attr->prog_stream_read.prog_fd); in prog_stream_read()6104 ret = bpf_prog_stream_read(prog, attr->prog_stream_read.stream_id, buf, len); in prog_stream_read()6247 err = prog_stream_read(&attr); in __sys_bpf()
1891 } prog_stream_read; member