| /freebsd-14.2/contrib/openbsm/compat/ |
| H A D | pidfile.h | 44 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.2/lib/libutil/ |
| H A D | pidfile.c | 48 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()
|
| H A D | libutil.h | 83 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.2/usr.sbin/autofs/ |
| H A D | automountd.c | 435 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()
|
| H A D | autounmountd.c | 265 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.2/lib/libutil/tests/ |
| H A D | pidfile_test.c | 62 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.2/cddl/usr.sbin/zfsd/ |
| H A D | zfsd.h | 60 struct pidfh; 201 static pidfh *s_pidFH;
|
| H A D | zfsd.cc | 95 pidfh *ZfsDaemon::s_pidFH;
|
| /freebsd-14.2/usr.sbin/iscsid/ |
| H A D | iscsid.c | 696 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.2/sbin/hastd/ |
| H A D | hastd.h | 43 extern struct pidfh *pfh;
|
| H A D | hastd.c | 72 struct pidfh *pfh; 487 struct pidfh *newpfh; in hastd_reload()
|
| /freebsd-14.2/tools/build/cross-build/include/linux/ |
| H A D | libutil.h | 45 struct pidfh;
|
| /freebsd-14.2/usr.sbin/cron/cron/ |
| H A D | globals.h | 66 XTRN struct pidfh *pfh;
|
| H A D | cron.c | 49 struct pidfh *pfh;
|
| /freebsd-14.2/sys/contrib/openzfs/lib/libshare/os/freebsd/ |
| H A D | nfs.c | 175 struct pidfh *pfh; in nfs_commit_shares()
|
| /freebsd-14.2/usr.sbin/bluetooth/btpand/ |
| H A D | btpand.h | 110 struct pidfh *pfh;
|
| /freebsd-14.2/contrib/openbsm/bin/auditdistd/ |
| H A D | auditdistd.h | 275 extern struct pidfh *pfh;
|
| H A D | auditdistd.c | 89 struct pidfh *pfh;
|
| /freebsd-14.2/usr.sbin/daemon/ |
| H A D | daemon.c | 77 struct pidfh *parent_pidfh; 78 struct pidfh *child_pidfh;
|
| /freebsd-14.2/sbin/dhclient/ |
| H A D | dhcpd.h | 372 extern struct pidfh *pidfile;
|
| /freebsd-14.2/usr.sbin/ctld/ |
| H A D | ctld.h | 222 struct pidfh *conf_pidfh;
|
| /freebsd-14.2/usr.sbin/watchdogd/ |
| H A D | watchdogd.c | 121 struct pidfh *pfh; in main()
|
| /freebsd-14.2/usr.sbin/rpc.tlsclntd/ |
| H A D | rpc.tlsclntd.c | 91 static struct pidfh *rpctls_pfh = NULL;
|
| /freebsd-14.2/usr.sbin/powerd/ |
| H A D | powerd.c | 490 struct pidfh *pfh = NULL;
|
| /freebsd-14.2/usr.sbin/uhsoctl/ |
| H A D | uhsoctl.c | 109 struct pidfh *pfh; 1290 struct pidfh *pfh; in daemonize()
|