Home
last modified time | relevance | path

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

/Linux-v6.1/tools/power/x86/turbostat/
Dturbostat.c209 int *fd_percpu; variable
640 fd = fd_percpu[cpu]; in get_msr_fd()
650 fd_percpu[cpu] = fd; in get_msr_fd()
2773 if (fd_percpu[i] != 0) in free_fd_percpu()
2774 close(fd_percpu[i]); in free_fd_percpu()
2777 free(fd_percpu); in free_fd_percpu()
6080 fd_percpu = calloc(topo.max_cpu_num + 1, sizeof(int)); in allocate_fd_percpu()
6081 if (fd_percpu == NULL) in allocate_fd_percpu()