Home
last modified time | relevance | path

Searched refs:pid (Results 151 – 175 of 575) sorted by relevance

12345678910>>...23

/dragonfly/contrib/gdb-7/gdb/
H A Dgdbthread.h290 struct thread_info *first_thread_of_process (int pid);
293 extern struct thread_info *any_thread_of_process (int pid);
297 extern struct thread_info *any_live_thread_of_process (int pid);
392 int pid);
H A Di386dfly-nat.c44 pid_t pid = ptid_get_pid (ptid); in i386dfly_resume() local
47 if (pid == -1) in i386dfly_resume()
51 pid = ptid_get_pid (inferior_ptid); in i386dfly_resume()
80 if (ptrace (request, pid, (caddr_t) 1, in i386dfly_resume()
/dragonfly/lib/libc/gen/
H A Dposix_spawn.c191 do_posix_spawn(pid_t *pid, const char *path, in do_posix_spawn() argument
221 if (pid != NULL) in do_posix_spawn()
222 *pid = p; in do_posix_spawn()
228 posix_spawn(pid_t * __restrict pid, const char * __restrict path, in posix_spawn() argument
233 return do_posix_spawn(pid, path, fa, sa, argv, envp, 0); in posix_spawn()
237 posix_spawnp(pid_t * __restrict pid, const char * __restrict path, in posix_spawnp() argument
242 return do_posix_spawn(pid, path, fa, sa, argv, envp, 1); in posix_spawnp()
/dragonfly/contrib/bmake/
H A Djob.c606 signo, job->pid); in JobCondPassSig()
607 KILLPG(job->pid, signo); in JobCondPassSig()
724 if (job->status == status && job->pid == pid) in JobFindPid()
1537 job->pid = cpid; in JobExec()
2047 pid, status); in JobReapChild()
2599 if (job->pid != 0) { in JobInterrupt()
2602 signo, job->pid); in JobInterrupt()
2603 KILLPG(job->pid, signo); in JobInterrupt()
2686 KILLPG(job->pid, SIGINT); in Job_AbortAll()
2711 job->pid); in JobRestartJobs()
[all …]
H A Dwait.h75 # define waitpid(pid, statusp, flags) wait4(pid, statusp, flags, (char *)0) argument
78 # define waitpid(pid, statusp, flags) wait3(statusp, flags, (char *)0) argument
/dragonfly/bin/kill/
H A Dkill.c62 pid_t pid; in main() local
136 pid = (pid_t)pidl; in main()
137 if (!**argv || *ep || pid != pidl) in main()
139 ret = kill(pid, numsig); in main()
/dragonfly/usr.sbin/usbconfig/
H A Dusbconfig.c56 uint16_t pid; member
163 uint16_t vid, uint16_t pid, uint16_t lorev, uint16_t hirev, in be_dev_remove_quirk() argument
172 q.pid = pid; in be_dev_remove_quirk()
186 uint16_t vid, uint16_t pid, uint16_t lorev, uint16_t hirev, in be_dev_add_quirk() argument
195 q.pid = pid; in be_dev_add_quirk()
343 opt->vid, opt->pid, opt->lo_rev, opt->hi_rev, opt->quirkname); in flush_command()
348 opt->vid, opt->pid, opt->lo_rev, opt->hi_rev, opt->quirkname); in flush_command()
579 opt->pid = num_id(argv[n + 2], "Product ID"); in main()
594 opt->pid = num_id(argv[n + 2], "Product ID"); in main()
/dragonfly/contrib/gdb-7/gdb/common/
H A Dagent.c160 gdb_connect_sync_socket (int pid) in gdb_connect_sync_socket() argument
167 res = xsnprintf (path, UNIX_PATH_MAX, "%s/gdb_ust%d", P_tmpdir, pid); in gdb_connect_sync_socket()
211 agent_run_command (int pid, const char *cmd, int len) in agent_run_command() argument
215 ptid_t ptid = ptid_build (pid, tid, 0); in agent_run_command()
246 fd = gdb_connect_sync_socket (pid); in agent_run_command()
/dragonfly/sbin/svc/
H A Dexecute.c61 pid_t pid; in execute_init() local
101 pid = 0; in execute_init()
111 pid = fork(); in execute_init()
114 if (pid != 0) { in execute_init()
119 if (pid < 0) { in execute_init()
264 pid = wait3(&status, 0, NULL); in execute_init()
267 pid = wait3(&status, WNOHANG, NULL); in execute_init()
271 if (pid > 0) { in execute_init()
272 if (pid == DirectPid) { in execute_init()
275 cmd->label, pid); in execute_init()
[all …]
/dragonfly/usr.bin/tip/
H A Dcmds.c177 kill(pid, SIGIOT); in xfer()
262 kill(pid, SIGIOT); in transfer()
402 kill(pid, SIGIOT); /* put TIPOUT into a wait state */ in transmit()
585 kill(pid, SIGIOT); /* put TIPOUT into a wait state */ in pipeout()
732 kill(pid, SIGEMT); in setscript()
768 kill(pid, SIGTERM); in tipabort()
867 kill(pid, SIGSYS); in variable()
954 int pid, l; in expand() local
967 if ((pid = vfork()) == 0) { in expand()
980 if (pid == -1) { in expand()
[all …]
/dragonfly/test/sysperf/
H A Dmutex1.c18 pid_t pid; in main() local
51 if ((pid = fork()) == 0) { in main()
72 kill(pid, 9); in main()
H A Dmutex2.c18 pid_t pid; in main() local
47 if ((pid = fork()) == 0) { in main()
66 kill(pid, 9); in main()
H A Dmutex3.c57 pid_t pid; in main() local
88 if ((pid = fork()) == 0) { in main()
107 kill(pid, 9); in main()
H A Dmutex4.c48 pid_t pid; in main() local
78 if ((pid = fork()) == 0) { in main()
99 kill(pid, 9); in main()
/dragonfly/share/examples/libusb20/
H A Dbulk.c158 unsigned int vid = UINT_MAX, pid = UINT_MAX; /* impossible VID:PID */ in main() local
173 pid = strtol(optarg, NULL, 0); in main()
187 if (vid != UINT_MAX || pid != UINT_MAX) in main()
237 if (ddp->idVendor == vid && ddp->idProduct == pid) in main()
/dragonfly/tools/tools/netrate/udpecho/
H A Dudpecho.c94 pid_t pid; in main() local
96 pid = fork(); in main()
97 if (pid == 0) in main()
99 else if (pid < 0) in main()
/dragonfly/test/stress/stress2/misc/
H A Dfpu.sh91 pid_t pid;
96 if ((pid = fork()) == 0)
100 kill(pid, SIGHUP);
H A Ddatamove.sh181 pid_t pid;
193 pid = fork();
195 if (pid == 0)
201 if (pid == -1)
/dragonfly/usr.sbin/inetd/
H A Dinetd.c296 pid_t pid; in main() local
453 pid = getpid(); in main()
620 pid = 0; in main()
654 pid = fork(); in main()
656 if (pid < 0) { in main()
666 if (pid) { in main()
668 addchild(sep, pid); in main()
671 if (pid == 0) { in main()
877 pid_t pid; in reapchild() local
882 if (pid <= 0) in reapchild()
[all …]
/dragonfly/lib/libutil/
H A Dpty.c90 int master, slave, pid; in forkpty() local
94 switch (pid = fork()) { in forkpty()
111 return (pid); in forkpty()
/dragonfly/sbin/startslip/
H A Dstartslip.c115 pid_t pid; in main() local
212 pid = lpid; in main()
213 if (pid == lpid && pid > 0) in main()
214 kill(pid, SIGTERM); in main()
276 pid = getpid(); in main()
277 printd("restart: pid %ld: ", (long)pid); in main()
279 fprintf(pfd, "%ld\n", (long)pid); in main()
/dragonfly/contrib/dialog/
H A Dui_getc.c612 int pid; in dlg_killall_bg() local
618 if ((pid = fork()) != 0) { in dlg_killall_bg()
619 _exit(pid > 0 ? DLG_EXIT_OK : DLG_EXIT_ERROR); in dlg_killall_bg()
621 if ((pid = fork()) != 0) { in dlg_killall_bg()
628 if (pid > 0) { /* parent */ in dlg_killall_bg()
629 fprintf(stderr, "%d\n", pid); in dlg_killall_bg()
634 while (-1 == waitpid(pid, &wstatus, 0)) { in dlg_killall_bg()
646 while (wait(&wstatus) != pid) /* do nothing */ in dlg_killall_bg()
/dragonfly/test/stress/stress2/testcases/tcp/
H A Dtcp.c166 pid_t pid; in test() local
168 if ((pid = fork()) == 0) { in test()
172 } else if (pid > 0) { in test()
174 kill(pid, SIGINT); in test()
/dragonfly/initrd/oinit/
H A Doinit.c105 pid_t pid, wpid; in runcom() local
110 if ((pid = fork()) == 0) { in runcom()
132 } while (wpid != pid); in runcom()
/dragonfly/contrib/dhcpcd/src/
H A Dprivsep-root.c286 pid_t pid; in ps_root_run_script() local
296 if (pid == -1) in ps_root_run_script()
300 while (waitpid(pid, &status, 0) == -1) { in ps_root_run_script()
762 pid_t pid; in ps_root_signalcb() local
770 psp = ps_findprocesspid(ctx, pid); in ps_root_signalcb()
786 name, pid, WEXITSTATUS(status)); in ps_root_signalcb()
795 name, pid); in ps_root_signalcb()
893 pid_t pid; in ps_root_start() local
916 if (pid == 0) { in ps_root_start()
925 } else if (pid == -1) in ps_root_start()
[all …]

12345678910>>...23