Home
last modified time | relevance | path

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

/linux-6.12.1/tools/testing/selftests/bpf/benchs/
Dbench_ringbufs.c468 struct perf_cpu_buf **cpu_bufs; member
/linux-6.12.1/tools/lib/bpf/
Dlibbpf.c13100 struct perf_cpu_buf **cpu_bufs; member
13129 if (pb->cpu_bufs) { in perf_buffer__free()
13131 struct perf_cpu_buf *cpu_buf = pb->cpu_bufs[i]; in perf_buffer__free()
13139 free(pb->cpu_bufs); in perf_buffer__free()
13337 pb->cpu_bufs = calloc(pb->cpu_cnt, sizeof(*pb->cpu_bufs)); in __perf_buffer__new()
13338 if (!pb->cpu_bufs) { in __perf_buffer__new()
13369 pb->cpu_bufs[j] = cpu_buf; in __perf_buffer__new()
13510 cpu_buf = pb->cpu_bufs[buf_idx]; in perf_buffer__buffer_fd()
13524 cpu_buf = pb->cpu_bufs[buf_idx]; in perf_buffer__buffer()
13548 cpu_buf = pb->cpu_bufs[buf_idx]; in perf_buffer__consume_buffer()
[all …]