Home
last modified time | relevance | path

Searched refs:cpu_cnt (Results 1 - 2 of 2) sorted by relevance

/third_party/libbpf/src/
H A Dlibbpf.c12820 int cpu_cnt; member
12845 int cpu_cnt; /* number of allocated CPU buffers */ member
12873 for (i = 0; i < pb->cpu_cnt; i++) {
12993 p.cpu_cnt = OPTS_GET(opts, cpu_cnt, 0);
13062 if (p->cpu_cnt > 0) {
13063 pb->cpu_cnt = p->cpu_cnt;
13065 pb->cpu_cnt = libbpf_num_possible_cpus();
13066 if (pb->cpu_cnt <
[all...]
H A Dlibbpf.h1500 /* if cpu_cnt == 0, open all on all possible CPUs (up to the number of
1503 int cpu_cnt; member
1504 /* if cpu_cnt > 0, cpus is an array of CPUs to open ring buffers on */
1506 /* if cpu_cnt > 0, map_keys specify map keys to set per-CPU FDs for */

Completed in 20 milliseconds