Searched refs:bpf_prog_stream_read (Results 1 – 8 of 8) sorted by relevance
| /linux/tools/testing/selftests/bpf/prog_tests/ |
| H A D | stream.c | 37 ASSERT_LT(bpf_prog_stream_read(0, BPF_STREAM_STDOUT, buf, sizeof(buf), &ropts), 0, "error"); 41 ASSERT_LT(bpf_prog_stream_read(prog_fd, 0, buf, sizeof(buf), &ropts), 0, "error"); 45 ASSERT_LT(bpf_prog_stream_read(prog_fd, BPF_STREAM_STDOUT, NULL, sizeof(buf), NULL), 0, "error"); 49 ret = bpf_prog_stream_read(prog_fd, BPF_STREAM_STDOUT, buf, 2, NULL); in match_regex() 51 ret = bpf_prog_stream_read(prog_fd, BPF_STREAM_STDOUT, buf, 2, NULL); in match_regex() 53 ret = bpf_prog_stream_read(prog_fd, BPF_STREAM_STDOUT, buf, 1, &ropts); in match_regex() 55 ret = bpf_prog_stream_read(prog_fd, BPF_STREAM_STDERR, buf, 1, &ropts); in match_regex() 77 ret = bpf_prog_stream_read(prog_fd, BPF_STREAM_STDERR, buf, sizeof(buf), &ropts); in test_stream_errors()
|
| /linux/tools/lib/bpf/ |
| H A D | libbpf.map | 440 bpf_prog_stream_read;
|
| H A D | bpf.h | 721 * @brief **bpf_prog_stream_read** reads data from the BPF stream of a given BPF 733 LIBBPF_API int bpf_prog_stream_read(int prog_fd, __u32 stream_id, void *buf, __u32 buf_len,
|
| H A D | bpf.c | 1381 int bpf_prog_stream_read(int prog_fd, __u32 stream_id, void *buf, __u32 buf_len, in bpf_prog_stream_read() 1379 int bpf_prog_stream_read(int prog_fd, __u32 stream_id, void *buf, __u32 buf_len, bpf_prog_stream_read() function
|
| /linux/kernel/bpf/ |
| H A D | stream.c | 342 int bpf_prog_stream_read(struct bpf_prog *prog, enum bpf_stream_id stream_id, void __user *buf, int… in bpf_prog_stream_read() function
|
| H A D | syscall.c | 6104 ret = bpf_prog_stream_read(prog, attr->prog_stream_read.stream_id, buf, len); in prog_stream_read()
|
| /linux/tools/bpf/bpftool/ |
| H A D | prog.c | 1132 ret = bpf_prog_stream_read(prog_fd, stream_id, buf, sizeof(buf), NULL); in prog_tracelog_stream()
|
| /linux/include/linux/ |
| H A D | bpf.h | 3717 int bpf_prog_stream_read(struct bpf_prog *prog, enum bpf_stream_id stream_id, void __user *buf, int…
|