Lines Matching refs:log_buf
242 char *log_buf; in bpf_prog_load() local
287 log_buf = OPTS_GET(opts, log_buf, NULL); in bpf_prog_load()
291 if (!!log_buf != !!log_size) in bpf_prog_load()
309 attr.log_buf = ptr_to_u64(log_buf); in bpf_prog_load()
361 if (log_level == 0 && log_buf) { in bpf_prog_load()
366 attr.log_buf = ptr_to_u64(log_buf); in bpf_prog_load()
1171 char *log_buf; in bpf_btf_load() local
1183 log_buf = OPTS_GET(opts, log_buf, NULL); in bpf_btf_load()
1189 if (log_size && !log_buf) in bpf_btf_load()
1200 attr.btf_log_buf = ptr_to_u64(log_buf); in bpf_btf_load()
1206 if (fd < 0 && log_buf && log_level == 0) { in bpf_btf_load()
1207 attr.btf_log_buf = ptr_to_u64(log_buf); in bpf_btf_load()