Home
last modified time | relevance | path

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

/Linux-v6.1/tools/power/x86/intel-speed-select/
Disst-daemon.c116 static int pid_file_handle; variable
189 pid_file_handle = open(pidfile, O_RDWR | O_CREAT, 0600);
190 if (pid_file_handle == -1) {
196 if (lockf(pid_file_handle, F_TLOCK, 0) == -1) {
198 if (flock(pid_file_handle, LOCK_EX|LOCK_NB) < 0) {
205 ret = write(pid_file_handle, str, strlen(str));