Home
last modified time | relevance | path

Searched refs:pidfile (Results 1 – 19 of 19) sorted by relevance

/xen/tools/console/daemon/
A Dmain.c118 char *pidfile = NULL; in main() local
152 pidfile = strdup(optarg); in main()
202 daemonize(pidfile ? pidfile : XEN_RUN_DIR "/xenconsoled.pid"); in main()
212 free(pidfile); in main()
A Dutils.c46 void daemonize(const char *pidfile) in daemonize() argument
84 fd = open(pidfile, O_RDWR | O_CREAT, S_IRUSR|S_IWUSR); in daemonize()
A Dutils.h31 void daemonize(const char *pidfile);
/xen/tools/xenstore/
A Dxenstored_posix.c30 void write_pidfile(const char *pidfile) in write_pidfile() argument
36 fd = open(pidfile, O_RDWR | O_CREAT, 0600); in write_pidfile()
38 barf_perror("Opening pid file %s", pidfile); in write_pidfile()
46 barf_perror("Writing pid file %s", pidfile); in write_pidfile()
A Dxenstored_minios.c23 void write_pidfile(const char *pidfile) in write_pidfile() argument
A Dxenstored_core.h212 void write_pidfile(const char *pidfile);
A Dxenstored_core.c1993 const char *pidfile = NULL; in main() local
2007 pidfile = optarg; in main()
2067 if (pidfile) in main()
2068 write_pidfile(pidfile); in main()
/xen/tools/ocaml/xenstored/
A Dparse_arg.ml24 pidfile: string option; (* old xenstored compatibility *) RecordField
32 let pidfile = ref "" and tracefile = ref "" (* old xenstored compatibility *)
53 ("--pid-file", Arg.Set_string pidfile, ""); (* for compatibility *)
67 pidfile = if !pidfile <> "" then Some !pidfile else None;
A Dxenstored.ml91 let pidfile = ref default_pidfile in
123 ("pid-file", Config.Set_string pidfile);
135 !pidfile
234 let pidfile =
242 Unixext.mkdir_rec (Filename.dirname pidfile) 0o755
261 (try Unixext.pidfile_write pidfile with _ -> ());
264 begin match cf.pidfile with
265 | Some pidfile -> Unixext.pidfile_write pidfile
A Dstdext.ml115 (** write a pidfile file *)
/xen/tools/xenbackendd/
A Dxenbackendd.c63 const char *pidfile = NULL; variable
174 pidfile = optarg; in main()
185 if (pidfile == NULL) in main()
186 pidfile = PID_FILE; in main()
204 pidfile_f = fopen(pidfile, "w"); in main()
207 pidfile, strerror(errno)); in main()
/xen/tools/xl/
A Dxl_utils.c251 int do_daemonize(char *name, const char *pidfile) in do_daemonize() argument
288 if (pidfile) { in do_daemonize()
289 int fd = open(pidfile, O_RDWR | O_CREAT, S_IRUSR|S_IWUSR); in do_daemonize()
A Dxl_misc.c180 const char *pidfile = NULL; in main_devd() local
192 pidfile = optarg; in main_devd()
197 ret = do_daemonize("xldevd", pidfile); in main_devd()
A Dxl_utils.h146 int do_daemonize(char *name, const char *pidfile);
/xen/tools/hotplug/NetBSD/rc.d/
A Dxendriverdomain.in33 ${sbindir}/xl devd --pidfile=$XLDEVD_PIDFILE ${XLDEVD_ARGS}
/xen/tools/hotplug/FreeBSD/rc.d/
A Dxendriverdomain.in30 PATH="${bindir}:${sbindir}:$PATH" ${sbindir}/xl devd --pidfile ${XLDEVD_PIDFILE} ${XLDEVD_ARGS}
/xen/tools/hotplug/Linux/init.d/
A Dxendriverdomain.in52 ${sbindir}/xl devd --pidfile=$XLDEVD_PIDFILE $XLDEVD_ARGS
A Dxencommons.in75 -pidfile $QEMU_PIDFILE
/xen/tools/hotplug/Linux/systemd/
A Dxen-qemu-dom0-disk-backend.service.in18 -pidfile @XEN_RUN_DIR@/qemu-dom0.pid

Completed in 19 milliseconds