Searched refs:log_buf_sz (Results 1 – 6 of 6) sorted by relevance
/tools/testing/selftests/bpf/ |
D | test_stub.c | 28 size_t log_buf_sz) in bpf_test_load_program() argument 43 return bpf_load_program_xattr(&load_attr, log_buf, log_buf_sz); in bpf_test_load_program()
|
/tools/lib/bpf/ |
D | bpf.c | 228 if (!load_attr->log_buf != !load_attr->log_buf_sz) in libbpf__bpf_prog_load() 254 attr.log_size = load_attr->log_buf_sz; in libbpf__bpf_prog_load() 323 attr.log_size = load_attr->log_buf_sz; in libbpf__bpf_prog_load() 336 char *log_buf, size_t log_buf_sz) in bpf_load_program_xattr() argument 340 if (!load_attr || !log_buf != !log_buf_sz) in bpf_load_program_xattr() 364 p.log_buf_sz = log_buf_sz; in bpf_load_program_xattr() 381 size_t log_buf_sz) in bpf_load_program() argument 394 return bpf_load_program_xattr(&load_attr, log_buf, log_buf_sz); in bpf_load_program() 399 __u32 kern_version, char *log_buf, size_t log_buf_sz, in bpf_verify_program() argument 411 attr.log_size = log_buf_sz; in bpf_verify_program()
|
D | bpf.h | 107 char *log_buf, size_t log_buf_sz); 111 char *log_buf, size_t log_buf_sz); 116 char *log_buf, size_t log_buf_sz,
|
D | libbpf_internal.h | 278 size_t log_buf_sz; member
|
D | libbpf.c | 6165 load_attr.log_buf_sz = log_buf_size; in load_program() 6218 load_attr.log_buf_sz = 0; in load_program()
|
/tools/bpf/bpftool/ |
D | prog.c | 1683 int log_buf_sz = (1u << 24) - 1; in try_loader() local 1691 ctx->log_size = log_buf_sz; in try_loader() 1692 log_buf = malloc(log_buf_sz); in try_loader()
|