Searched refs:BPF_LOG_BUF_SIZE (Results 1 – 16 of 16) sorted by relevance
/Linux-v5.10/samples/bpf/ |
D | sock_example.c | 33 char bpf_log_buf[BPF_LOG_BUF_SIZE]; 64 "GPL", 0, bpf_log_buf, BPF_LOG_BUF_SIZE); in test_sock()
|
D | test_cgrp2_attach.c | 40 char bpf_log_buf[BPF_LOG_BUF_SIZE]; 76 bpf_log_buf, BPF_LOG_BUF_SIZE); in prog_load()
|
D | fds_example.c | 33 char bpf_log_buf[BPF_LOG_BUF_SIZE]; 72 bpf_log_buf, BPF_LOG_BUF_SIZE); in bpf_prog_create()
|
D | bpf_load.h | 31 extern char bpf_log_buf[BPF_LOG_BUF_SIZE];
|
D | test_cgrp2_sock.c | 28 char bpf_log_buf[BPF_LOG_BUF_SIZE]; 119 "GPL", 0, bpf_log_buf, BPF_LOG_BUF_SIZE); in prog_load()
|
D | bpf_load.c | 35 char bpf_log_buf[BPF_LOG_BUF_SIZE]; 132 bpf_log_buf, BPF_LOG_BUF_SIZE); in load_and_attach()
|
/Linux-v5.10/tools/testing/selftests/bpf/prog_tests/ |
D | cgroup_attach_autodetach.c | 9 static char bpf_log_buf[BPF_LOG_BUF_SIZE]; 21 bpf_log_buf, BPF_LOG_BUF_SIZE); in prog_load()
|
D | cgroup_attach_override.c | 11 static char bpf_log_buf[BPF_LOG_BUF_SIZE]; 23 bpf_log_buf, BPF_LOG_BUF_SIZE); in prog_load()
|
D | cgroup_attach_multi.c | 9 static char bpf_log_buf[BPF_LOG_BUF_SIZE]; 71 bpf_log_buf, BPF_LOG_BUF_SIZE); in prog_load_cnt()
|
/Linux-v5.10/tools/testing/selftests/bpf/ |
D | test_cgroup_storage.c | 12 char bpf_log_buf[BPF_LOG_BUF_SIZE]; 71 bpf_log_buf, BPF_LOG_BUF_SIZE); in main()
|
D | test_sock.c | 23 char bpf_log_buf[BPF_LOG_BUF_SIZE]; 342 ret = bpf_load_program_xattr(&attr, bpf_log_buf, BPF_LOG_BUF_SIZE); in load_sock_prog()
|
D | test_sysctl.c | 25 char bpf_log_buf[BPF_LOG_BUF_SIZE]; 1468 ret = bpf_load_program_xattr(&attr, bpf_log_buf, BPF_LOG_BUF_SIZE); in load_sysctl_prog_insns()
|
D | test_sock_addr.c | 58 char bpf_log_buf[BPF_LOG_BUF_SIZE]; 654 ret = bpf_load_program_xattr(&load_attr, bpf_log_buf, BPF_LOG_BUF_SIZE); in load_insns()
|
/Linux-v5.10/tools/lib/bpf/ |
D | bpf.h | 104 #define BPF_LOG_BUF_SIZE (UINT32_MAX >> 8) /* verifier maximum in kernels <= 5.1 */ macro
|
D | btf.c | 1119 log_buf_size = max((__u32)BPF_LOG_BUF_SIZE, in btf__load()
|
D | libbpf.c | 6710 log_buf_size = max((size_t)BPF_LOG_BUF_SIZE, in load_program()
|