Home
last modified time | relevance | path

Searched refs:pidfh (Results 1 – 25 of 38) sorted by relevance

12

/freebsd-14-stable/contrib/openbsm/compat/
HDpidfile.h44 struct pidfh { struct
51 static int _pidfile_remove(struct pidfh *pfh, int freeit); argument
54 pidfile_verify(const struct pidfh *pfh) in pidfile_verify()
96 static struct pidfh *
99 struct pidfh *pfh; in pidfile_open()
186 pidfile_write(struct pidfh *pfh) in pidfile_write()
226 pidfile_close(struct pidfh *pfh) in pidfile_close()
247 _pidfile_remove(struct pidfh *pfh, int freeit) in _pidfile_remove()
275 pidfile_remove(struct pidfh *pfh) in pidfile_remove()
283 pidfile_fileno(const struct pidfh *pfh)
/freebsd-14-stable/lib/libutil/
HDpidfile.c48 struct pidfh { struct
57 static int _pidfile_remove(struct pidfh *pfh, int freeit); argument
60 pidfile_verify(const struct pidfh *pfh) in pidfile_verify()
122 struct pidfh *
126 struct pidfh *pfh; in pidfile_open()
231 pidfile_write(struct pidfh *pfh) in pidfile_write()
271 pidfile_close(struct pidfh *pfh) in pidfile_close()
295 _pidfile_remove(struct pidfh *pfh, int freeit) in _pidfile_remove()
326 pidfile_remove(struct pidfh *pfh) in pidfile_remove()
333 pidfile_fileno(const struct pidfh *pfh) in pidfile_fileno()
HDlibutil.h83 struct pidfh;
121 int pidfile_close(struct pidfh *_pfh);
122 int pidfile_fileno(const struct pidfh *_pfh);
124 struct pidfh *
126 int pidfile_remove(struct pidfh *_pfh);
127 int pidfile_write(struct pidfh *_pfh);
/freebsd-14-stable/usr.sbin/autofs/
HDautomountd.c435 struct pidfh *pidfh; in main_automountd() local
484 pidfh = pidfile_open(pidfile_path, 0600, &otherpid); in main_automountd()
485 if (pidfh == NULL) { in main_automountd()
509 pidfile_remove(pidfh); in main_automountd()
516 pidfile_write(pidfh); in main_automountd()
559 pidfile_close(pidfh); in main_automountd()
563 pidfile_close(pidfh); in main_automountd()
HDautounmountd.c265 struct pidfh *pidfh; in main_autounmountd() local
303 pidfh = pidfile_open(pidfile_path, 0600, &otherpid); in main_autounmountd()
304 if (pidfh == NULL) { in main_autounmountd()
316 pidfile_remove(pidfh); in main_autounmountd()
321 pidfile_write(pidfh); in main_autounmountd()
/freebsd-14-stable/lib/libutil/tests/
HDpidfile_test.c62 struct pidfh *pf; in test_pidfile_uncontested()
88 struct pidfh *pf1, *pf2; in test_pidfile_self()
128 struct pidfh *pf = NULL; in common_test_pidfile_child()
271 struct pidfh *pfh; in test_pidfile_relative()
/freebsd-14-stable/usr.sbin/iscsid/
HDiscsid.c696 struct pidfh *pidfh; in main() local
730 pidfh = pidfile_open(pidfile_path, 0600, &otherpid); in main()
731 if (pidfh == NULL) { in main()
754 pidfile_remove(pidfh); in main()
759 pidfile_write(pidfh); in main()
802 pidfile_close(pidfh); in main()
/freebsd-14-stable/sbin/hastd/
HDhastd.h43 extern struct pidfh *pfh;
HDhastd.c72 struct pidfh *pfh;
487 struct pidfh *newpfh; in hastd_reload()
/freebsd-14-stable/tools/build/cross-build/include/linux/
HDlibutil.h45 struct pidfh;
/freebsd-14-stable/usr.sbin/daemon/
HDdaemon.c77 struct pidfh *parent_pidfh;
78 struct pidfh *child_pidfh;
110 static int pidfile_truncate(struct pidfh *);
885 pidfile_truncate(struct pidfh *pfh) in pidfile_truncate()
/freebsd-14-stable/usr.sbin/cron/cron/
HDglobals.h66 XTRN struct pidfh *pfh;
HDcron.c49 struct pidfh *pfh;
/freebsd-14-stable/sys/contrib/openzfs/lib/libshare/os/freebsd/
HDnfs.c174 struct pidfh *pfh; in nfs_commit_shares()
/freebsd-14-stable/usr.sbin/bluetooth/btpand/
HDbtpand.h110 struct pidfh *pfh;
/freebsd-14-stable/contrib/openbsm/bin/auditdistd/
HDauditdistd.h275 extern struct pidfh *pfh;
HDauditdistd.c89 struct pidfh *pfh;
/freebsd-14-stable/sbin/dhclient/
HDdhcpd.h372 extern struct pidfh *pidfile;
/freebsd-14-stable/usr.sbin/ctld/
HDctld.h222 struct pidfh *conf_pidfh;
/freebsd-14-stable/usr.sbin/watchdogd/
HDwatchdogd.c121 struct pidfh *pfh; in main()
/freebsd-14-stable/usr.sbin/rpc.tlsclntd/
HDrpc.tlsclntd.c91 static struct pidfh *rpctls_pfh = NULL;
/freebsd-14-stable/usr.sbin/powerd/
HDpowerd.c490 struct pidfh *pfh = NULL;
/freebsd-14-stable/usr.sbin/uhsoctl/
HDuhsoctl.c109 struct pidfh *pfh;
1290 struct pidfh *pfh; in daemonize()
/freebsd-14-stable/usr.sbin/nscd/
HDnscd.c599 struct pidfh *pidfile; in main()
/freebsd-14-stable/usr.sbin/route6d/
HDroute6d.c284 FILE *pidfh; in main() local
428 if ((pidfh = fopen(pidfile, "w")) != NULL) { in main()
429 fprintf(pidfh, "%d\n", pid); in main()
430 fclose(pidfh); in main()

12