Home
last modified time | relevance | path

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

/openbmc/linux/tools/power/x86/turbostat/
H A Dturbostat.c211 int *fd_percpu; variable
643 fd = fd_percpu[cpu]; in get_msr_fd()
653 fd_percpu[cpu] = fd; in get_msr_fd()
2777 if (fd_percpu[i] != 0) in free_fd_percpu()
2778 close(fd_percpu[i]); in free_fd_percpu()
2781 free(fd_percpu); in free_fd_percpu()
6091 fd_percpu = calloc(topo.max_cpu_num + 1, sizeof(int)); in allocate_fd_percpu()
6092 if (fd_percpu == NULL) in allocate_fd_percpu()