Home
last modified time | relevance | path

Searched refs:cpu_bufs (Results 1 – 2 of 2) sorted by relevance

/linux-6.6.21/tools/testing/selftests/bpf/benchs/
Dbench_ringbufs.c468 struct perf_cpu_buf **cpu_bufs; member
/linux-6.6.21/tools/lib/bpf/
Dlibbpf.c12325 struct perf_cpu_buf **cpu_bufs; member
12354 if (pb->cpu_bufs) { in perf_buffer__free()
12356 struct perf_cpu_buf *cpu_buf = pb->cpu_bufs[i]; in perf_buffer__free()
12364 free(pb->cpu_bufs); in perf_buffer__free()
12562 pb->cpu_bufs = calloc(pb->cpu_cnt, sizeof(*pb->cpu_bufs)); in __perf_buffer__new()
12563 if (!pb->cpu_bufs) { in __perf_buffer__new()
12594 pb->cpu_bufs[j] = cpu_buf; in __perf_buffer__new()
12735 cpu_buf = pb->cpu_bufs[buf_idx]; in perf_buffer__buffer_fd()
12749 cpu_buf = pb->cpu_bufs[buf_idx]; in perf_buffer__buffer()
12773 cpu_buf = pb->cpu_bufs[buf_idx]; in perf_buffer__consume_buffer()
[all …]