Home
last modified time | relevance | path

Searched refs:pidfile (Results 1 - 3 of 3) sorted by relevance

/kernel/linux/linux-6.6/tools/power/x86/intel-speed-select/
H A Disst-daemon.c146 static void daemonize(char *rundir, char *pidfile) argument
202 pid_file_handle = open(pidfile, O_RDWR | O_CREAT, 0600);
/kernel/linux/linux-5.10/kernel/
H A Dfork.c1891 struct file *pidfile = NULL; in copy_process() local
2185 pidfile = anon_inode_getfile("[pidfd]", &pidfd_fops, pid, in copy_process()
2187 if (IS_ERR(pidfile)) { in copy_process()
2189 retval = PTR_ERR(pidfile); in copy_process()
2192 get_pid(pid); /* held by pidfile now */ in copy_process()
2355 if (pidfile) in copy_process()
2356 fd_install(pidfd, pidfile); in copy_process()
2376 fput(pidfile); in copy_process()
/kernel/linux/linux-6.6/kernel/
H A Dfork.c2263 struct file *pidfile = NULL; in copy_process() local
2546 retval = __pidfd_prepare(pid, O_RDWR | O_CLOEXEC, &pidfile); in copy_process()
2735 if (pidfile) in copy_process()
2736 fd_install(pidfd, pidfile); in copy_process()
2758 fput(pidfile); in copy_process()

Completed in 8 milliseconds