Home
last modified time | relevance | path

Searched refs:log_buf_sz (Results 1 – 6 of 6) sorted by relevance

/tools/testing/selftests/bpf/
Dtest_stub.c28 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/
Dbpf.c228 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()
Dbpf.h107 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,
Dlibbpf_internal.h278 size_t log_buf_sz; member
Dlibbpf.c6165 load_attr.log_buf_sz = log_buf_size; in load_program()
6218 load_attr.log_buf_sz = 0; in load_program()
/tools/bpf/bpftool/
Dprog.c1683 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()