Lines Matching refs:pf_fd
49 int pf_fd; member
63 if (pfh == NULL || pfh->pf_fd == -1) in pidfile_verify()
68 if (fstat(pfh->pf_fd, &sb) == -1) in pidfile_verify()
213 pfh->pf_fd = fd; in pidfile_open()
246 fd = pfh->pf_fd; in pidfile_write()
280 if (close(pfh->pf_fd) == -1) in pidfile_close()
304 if (funlinkat(pfh->pf_dirfd, pfh->pf_filename, pfh->pf_fd, 0) == -1) { in _pidfile_remove()
309 if (close(pfh->pf_fd) == -1 && error == 0) in _pidfile_remove()
316 pfh->pf_fd = -1; in _pidfile_remove()
335 if (pfh == NULL || pfh->pf_fd == -1) { in pidfile_fileno()
339 return (pfh->pf_fd); in pidfile_fileno()