/freebsd/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/lib/libutil/ |
H A D | pidfile.c | 47 struct pidfh { struct 56 static int _pidfile_remove(struct pidfh *pfh, int freeit); argument 59 pidfile_verify(const struct pidfh *pfh) in pidfile_verify() 121 struct pidfh * 125 struct pidfh *pfh; in pidfile_open() 230 pidfile_write(struct pidfh *pfh) in pidfile_write() 270 pidfile_close(struct pidfh *pfh) in pidfile_close() 294 _pidfile_remove(struct pidfh *pfh, int freeit) in _pidfile_remove() 325 pidfile_remove(struct pidfh *pfh) in pidfile_remove() 332 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/usr.sbin/autofs/ |
H A D | automountd.c | 434 struct pidfh *pidfh; in main_automountd() local 483 pidfh = pidfile_open(pidfile_path, 0600, &otherpid); in main_automountd() 484 if (pidfh == NULL) { in main_automountd() 508 pidfile_remove(pidfh); in main_automountd() 515 pidfile_write(pidfh); in main_automountd() 558 pidfile_close(pidfh); in main_automountd() 562 pidfile_close(pidfh); in main_automountd()
|
H A D | autounmountd.c | 264 struct pidfh *pidfh; in main_autounmountd() local 302 pidfh = pidfile_open(pidfile_path, 0600, &otherpid); in main_autounmountd() 303 if (pidfh == NULL) { in main_autounmountd() 315 pidfile_remove(pidfh); in main_autounmountd() 320 pidfile_write(pidfh); in main_autounmountd()
|
/freebsd/lib/libutil/tests/ |
H A D | pidfile_test.c | 61 struct pidfh *pf; in test_pidfile_uncontested() 87 struct pidfh *pf1, *pf2; in test_pidfile_self() 127 struct pidfh *pf = NULL; in common_test_pidfile_child() 270 struct pidfh *pfh; in test_pidfile_relative()
|
/freebsd/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/usr.sbin/iscsid/ |
H A D | iscsid.c | 695 struct pidfh *pidfh; in main() local 729 pidfh = pidfile_open(pidfile_path, 0600, &otherpid); in main() 730 if (pidfh == NULL) { in main() 753 pidfile_remove(pidfh); in main() 758 pidfile_write(pidfh); in main() 801 pidfile_close(pidfh); in main()
|
/freebsd/tools/build/cross-build/include/linux/ |
H A D | libutil.h | 44 struct pidfh;
|
/freebsd/usr.sbin/cron/cron/ |
H A D | globals.h | 63 XTRN struct pidfh *pfh;
|
H A D | cron.c | 49 struct pidfh *pfh;
|
/freebsd/usr.sbin/daemon/ |
H A D | daemon.c | 82 struct pidfh *parent_pidfh; 83 struct pidfh *child_pidfh; 119 static int pidfile_truncate(struct pidfh *); 920 pidfile_truncate(struct pidfh *pfh) in pidfile_truncate()
|
/freebsd/usr.sbin/bluetooth/btpand/ |
H A D | btpand.h | 110 struct pidfh *pfh;
|
/freebsd/sys/contrib/openzfs/lib/libshare/os/freebsd/ |
H A D | nfs.c | 205 struct pidfh *pfh; in nfs_commit_shares()
|
/freebsd/contrib/openbsm/bin/auditdistd/ |
H A D | auditdistd.h | 275 extern struct pidfh *pfh;
|
H A D | auditdistd.c | 89 struct pidfh *pfh;
|
/freebsd/sbin/dhclient/ |
H A D | dhcpd.h | 371 extern struct pidfh *pidfile;
|
/freebsd/usr.sbin/ctld/ |
H A D | ctld.h | 213 struct pidfh *conf_pidfh;
|
/freebsd/tools/tools/net80211/wlanwds/ |
H A D | wlanwds.c | 111 struct pidfh *pfh = NULL; in main()
|
/freebsd/usr.sbin/watchdogd/ |
H A D | watchdogd.c | 121 struct pidfh *pfh; in main()
|
/freebsd/usr.sbin/rpc.tlsclntd/ |
H A D | rpc.tlsclntd.c | 87 static struct pidfh *rpctls_pfh = NULL;
|
/freebsd/sbin/hastd/ |
H A D | hastd.c | 71 struct pidfh *pfh; 486 struct pidfh *newpfh; in hastd_reload()
|
/freebsd/usr.sbin/uhsoctl/ |
H A D | uhsoctl.c | 109 struct pidfh *pfh; 1288 struct pidfh *pfh; in daemonize()
|
/freebsd/usr.sbin/nscd/ |
H A D | nscd.c | 598 struct pidfh *pidfile; in main()
|