Home
last modified time | relevance | path

Searched refs:pid (Results 1 – 25 of 37) sorted by relevance

12

/xen/tools/libxl/
A Dlibxl_fork.c454 pid_t pid = ch->pid; in childproc_reaped_ours() local
456 ch->pid = -1; in childproc_reaped_ours()
466 if (ch->pid == pid) in childproc_reaped()
568 if (pid == 0 || pid == -1 /* ECHILD */) in sigchld_selfpipe_handler()
606 pid_t pid = in libxl__ev_child_fork() local
616 if (!pid) { in libxl__ev_child_fork()
626 ch->pid = pid; in libxl__ev_child_fork()
629 rc = pid; in libxl__ev_child_fork()
695 pid_t pid = ch->pid; in libxl__ev_child_kill_deregister() local
699 new_ch->ch.pid = pid; in libxl__ev_child_kill_deregister()
[all …]
A Dlibxl_exec.c121 " exited status zero", what, (unsigned long)pid); in libxl_report_child_exitstatus()
128 " fatal signal %s%s", what, (unsigned long)pid, in libxl_report_child_exitstatus()
132 " fatal signal number %d%s", what, (unsigned long)pid, in libxl_report_child_exitstatus()
136 " wait status 0x%x", what, (unsigned long)pid, status); in libxl_report_child_exitstatus()
147 r = libxl__xs_printf(gc, XBT_NULL, spawn->pidpath, "%d", pid); in libxl__spawn_record_pid()
262 pid_t pid, int status);
363 pid_t child = ss->mid.pid; in spawn_detach()
412 pid_t pid, int status) in spawn_middle_death() argument
434 ss->what, (unsigned long)pid); in spawn_middle_death()
437 ss->what, (unsigned long)pid, status); in spawn_middle_death()
[all …]
A Dlibxl_aoutils.c449 pid_t pid = -1; in libxl__openptys() local
466 if (pid == -1) { in libxl__openptys()
471 if (!pid) { in libxl__openptys()
541 if (kill(aes->child.pid, SIGKILL)) { in async_exec_timeout()
575 pid_t pid; in libxl__async_exec_start() local
597 if (pid == -1) { in libxl__async_exec_start()
602 if (!pid) { in libxl__async_exec_start()
624 int r = kill(pid, sig); in libxl__kill()
634 int ret, pid; in libxl__kill_xs_path() local
642 pid = atoi(xs_pid); in libxl__kill_xs_path()
[all …]
A Dlibxl_convert_callout.c28 pid_t pid, int status);
68 pid_t pid = libxl__ev_child_fork(gc, &chs->child, helper_exited); in libxl__convert_legacy_stream() local
69 if (!pid) { in libxl__convert_legacy_stream()
131 libxl__kill(gc, chs->child.pid, SIGTERM, "conversion helper"); in libxl__conversion_helper_abort()
146 pid_t pid, int status) in helper_exited() argument
154 "conversion helper", pid, status); in helper_exited()
A Dlibxl_colo.h25 int pid = -1; \
28 pid = libxl__ev_child_fork(gc, child, callback); \
29 if (pid == -1) { \
34 if (!pid) { \
A Dlibxl_save_callout.c39 pid_t pid, int status);
210 pid_t pid = libxl__ev_child_fork(gc, &shs->child, helper_exited); in run_helper() local
211 if (!pid) { in run_helper()
262 libxl__kill(gc, shs->child.pid, SIGKILL, "save/restore helper"); in helper_failed()
278 libxl__kill(gc, shs->child.pid, SIGTERM, "save/restore helper"); in helper_stop()
321 pid_t pid, int status) in helper_exited() argument
333 libxl_report_child_exitstatus(CTX, XTL_ERROR, what, pid, status); in helper_exited()
A Dlibxl_bootloader.c39 pid_t pid, int status);
301 r = kill(bl->child.pid, SIGTERM); in bootloader_stop()
303 rc ? "after failure, " : "", (unsigned long)bl->child.pid); in bootloader_stop()
561 pid_t pid = libxl__ev_child_fork(gc, &bl->child, bootloader_finished); in bootloader_gotptys() local
562 if (pid == -1) { in bootloader_gotptys()
567 if (!pid) { in bootloader_gotptys()
636 pid_t pid, int status) in bootloader_finished() argument
651 pid, status); in bootloader_finished()
A Dlibxl_internal.c621 pid_t pid, int status);
642 pid_t pid; in ev_lock_prepare_fork() local
675 pid = libxl__ev_child_fork(gc, &lock->child, ev_lock_child_callback); in ev_lock_prepare_fork()
676 if (pid < 0) in ev_lock_prepare_fork()
678 if (!pid) { in ev_lock_prepare_fork()
711 pid_t pid, int status) in ev_lock_child_callback() argument
725 pid, status); in ev_lock_child_callback()
A Dlibxl_remus_disk_drbd.c159 pid_t pid, int status);
204 pid_t pid, int status) in checkpoint_async_call_done() argument
/xen/tools/hotplug/Linux/init.d/
A Dxencommons.in29 XENCONSOLED_PIDFILE=@XEN_RUN_DIR@/xenconsoled.pid
30 QEMU_PIDFILE=@XEN_RUN_DIR@/qemu-dom0.pid
70 ${sbindir}/xenconsoled --pid-file=$XENCONSOLED_PIDFILE $XENCONSOLED_ARGS
79 if read 2>/dev/null <$XENCONSOLED_PIDFILE pid; then
80 kill $pid
81 while kill -9 $pid >/dev/null 2>&1; do sleep 1; done
86 if read 2>/dev/null <$QEMU_PIDFILE pid; then
87 kill $pid
88 while kill -9 $pid >/dev/null 2>&1; do sleep 1; done
100 test -f @XEN_RUN_DIR@/xenstored.pid
A Dxendriverdomain.in27 XLDEVD_PIDFILE=@XEN_RUN_DIR@/xldevd.pid
56 if read 2>/dev/null <$XLDEVD_PIDFILE pid; then
57 kill $pid
58 while kill -9 $pid >/dev/null 2>&1; do sleep 1; done
/xen/tools/xl/
A Dxl.c256 assert(!ch->pid); in xl_fork()
260 ch->pid = fork(); in xl_fork()
261 if (ch->pid == -1) { in xl_fork()
266 if (!ch->pid) { in xl_fork()
269 children[i].pid = 0; in xl_fork()
272 return ch->pid; in xl_fork()
278 pid_t got = ch->pid; in xl_waitpid()
282 ch->pid = 0; in xl_waitpid()
290 ch->pid = 0; in xl_waitpid()
299 return ch->pid; in xl_child_pid()
[all …]
A Dxl_utils.c290 char *pid = NULL; in do_daemonize() local
297 if (asprintf(&pid, "%ld\n", (long)getpid()) == -1) { in do_daemonize()
302 if (write(fd, pid, strlen(pid)) < 0) { in do_daemonize()
312 free(pid); in do_daemonize()
A Dxl.h236 pid_t pid; /* 0: not in use */ member
259 xlchildnum child, pid_t pid, int status);
/xen/tools/console/daemon/
A Dutils.c48 pid_t pid; in daemonize() local
54 if ((pid = fork()) > 0) { in daemonize()
56 } else if (pid == -1) { in daemonize()
62 if ((pid = fork()) > 0) { in daemonize()
64 } else if (pid == -1) { in daemonize()
/xen/tools/xenstore/
A Dxenstored_posix.c54 pid_t pid; in daemonize() local
57 if ((pid = fork()) < 0) in daemonize()
59 if (pid != 0) in daemonize()
66 if ((pid = fork()) < 0) in daemonize()
68 if (pid != 0) in daemonize()
A Dxenstored_solaris.c78 pid_t pid; in cred() local
86 pid = ucred_getpid(ucred); in cred()
89 return (pid); in cred()
/xen/tools/hotplug/Linux/
A Dblock-tap74 pid=*)
75 pid=$(remove_label $param "pid=")
83 if [ -z "$pid" ] || [ -z "$minor" ]; then
100 do_or_die tap-ctl destroy -p ${pid} -m ${minor} > /dev/null
A Dlaunch-xenstore.in23 test -f @XEN_RUN_DIR@/xenstored.pid
65 $XENSTORED --pid-file @XEN_RUN_DIR@/xenstored.pid $XENSTORED_ARGS
/xen/tools/console/testsuite/
A Dprocpipe.c49 pid_t pid; in exec() local
51 pid = fork(); in exec()
52 if (pid == 0) { in exec()
61 return pid; in exec()
/xen/tools/hotplug/Linux/systemd/
A Dxen-qemu-dom0-disk-backend.service.in11 PIDFile=@XEN_RUN_DIR@/qemu-dom0.pid
18 -pidfile @XEN_RUN_DIR@/qemu-dom0.pid
/xen/tools/xenpmd/
A Dxenpmd.c483 pid_t pid; in daemonize() local
485 if ( (pid = fork()) < 0 ) in daemonize()
488 if ( pid != 0 ) in daemonize()
493 if ( (pid = fork()) < 0 ) in daemonize()
496 if ( pid != 0 ) in daemonize()
/xen/tools/ocaml/xenstored/
A Doxenstored.conf.in3 # Where the pid file is stored
4 pid-file = @XEN_RUN_DIR@/xenstored.pid
/xen/tools/debugger/gdbsx/
A DREADME79 printf "%p %-9d%s\n", $task_entry, $task_entry->pid, $task_entry->comm
83 if ($task_entry->pid) != 0
84 printf "%p %-9d%s\n", $task_entry, $task_entry->pid, $task_entry->comm
/xen/tools/xentrace/
A Dxenalyze.c79 int pid; member
1815 int pid; member
6765 p->pid, prev->p->pid); in vcpu_prev_update()
7157 p->pid, p2->pid, lag, in sched_runstate_process()
7172 v->runstate.last_oldstate.pid = p->pid; in sched_runstate_process()
9504 int pid; in progress_init() local
9550 int pid; in progress_finish() local
9647 ri->cpu = p->pid; in __fill_in_record_info()
9689 int i=p->pid; in pcpu_string_draw()
9767 && record_order[i+1]->pid < last->pid ) in record_order_bubble()
[all …]

Completed in 48 milliseconds

12