Home
last modified time | relevance | path

Searched refs:BPF_LOG_BUF_SIZE (Results 1 – 16 of 16) sorted by relevance

/Linux-v5.10/samples/bpf/
Dsock_example.c33 char bpf_log_buf[BPF_LOG_BUF_SIZE];
64 "GPL", 0, bpf_log_buf, BPF_LOG_BUF_SIZE); in test_sock()
Dtest_cgrp2_attach.c40 char bpf_log_buf[BPF_LOG_BUF_SIZE];
76 bpf_log_buf, BPF_LOG_BUF_SIZE); in prog_load()
Dfds_example.c33 char bpf_log_buf[BPF_LOG_BUF_SIZE];
72 bpf_log_buf, BPF_LOG_BUF_SIZE); in bpf_prog_create()
Dbpf_load.h31 extern char bpf_log_buf[BPF_LOG_BUF_SIZE];
Dtest_cgrp2_sock.c28 char bpf_log_buf[BPF_LOG_BUF_SIZE];
119 "GPL", 0, bpf_log_buf, BPF_LOG_BUF_SIZE); in prog_load()
Dbpf_load.c35 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/
Dcgroup_attach_autodetach.c9 static char bpf_log_buf[BPF_LOG_BUF_SIZE];
21 bpf_log_buf, BPF_LOG_BUF_SIZE); in prog_load()
Dcgroup_attach_override.c11 static char bpf_log_buf[BPF_LOG_BUF_SIZE];
23 bpf_log_buf, BPF_LOG_BUF_SIZE); in prog_load()
Dcgroup_attach_multi.c9 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/
Dtest_cgroup_storage.c12 char bpf_log_buf[BPF_LOG_BUF_SIZE];
71 bpf_log_buf, BPF_LOG_BUF_SIZE); in main()
Dtest_sock.c23 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()
Dtest_sysctl.c25 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()
Dtest_sock_addr.c58 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/
Dbpf.h104 #define BPF_LOG_BUF_SIZE (UINT32_MAX >> 8) /* verifier maximum in kernels <= 5.1 */ macro
Dbtf.c1119 log_buf_size = max((__u32)BPF_LOG_BUF_SIZE, in btf__load()
Dlibbpf.c6710 log_buf_size = max((size_t)BPF_LOG_BUF_SIZE, in load_program()