Home
last modified time | relevance | path

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

/Linux-v4.19/tools/power/x86/turbostat/
Dturbostat.c50 int *fd_percpu; variable
359 fd = fd_percpu[cpu]; in get_msr_fd()
369 fd_percpu[cpu] = fd; in get_msr_fd()
2381 if (fd_percpu[i] != 0) in free_fd_percpu()
2382 close(fd_percpu[i]); in free_fd_percpu()
2385 free(fd_percpu); in free_fd_percpu()
4963 fd_percpu = calloc(topo.max_cpu_num + 1, sizeof(int)); in allocate_fd_percpu()
4964 if (fd_percpu == NULL) in allocate_fd_percpu()