/titanic_41/usr/src/lib/libshell/common/tests/ |
H A D | sun_solaris_cr_6687139_command_substitution_exec_redirection_allocation_loop.sh | 67 integer childpid 83 childpid=$! 87 if isvalidpid ${childpid} ; then 90 kill -STOP ${childpid} 95 pstack ${childpid} 96 kill -KILL ${childpid} 100 wait ${childpid} 117 childpid=$! 121 if isvalidpid ${childpid} ; then 124 kill -STOP ${childpid} [all …]
|
H A D | sun_solaris_cr_6800929_large_command_substitution_hang.sh | 143 (( childpid=$! )) 146 isvalidpid ${childpid} || break 150 if isvalidpid ${childpid} ; then 151 err_exit "${currtst.name}: child (pid=${childpid}) still busy, filesize=${testfilesize}." 152 kill -KILL ${childpid} 2>/dev/null 168 (( childpid=$! )) 170 if isvalidpid ${childpid} ; then 171 err_exit "test2a: child (pid=${childpid}) still busy." 172 kill -KILL ${childpid} 2>/dev/null 179 (( childpid=$! )) [all …]
|
H A D | sun_solaris_command_substitution.sh | 100 (( childpid=$! )) 103 isvalidpid ${childpid} || break 107 if isvalidpid ${childpid} ; then 108 err_exit "${currtst.name}: child (pid=${childpid}) still busy, filesize=${testfilesize}." 109 kill -KILL ${childpid} 2>/dev/null 270 (( childpid=$! )) 273 isvalidpid ${childpid} || break 277 if isvalidpid ${childpid} ; then 278 err_exit "${currtst.name}: child (pid=${childpid}) still busy." 279 kill -KILL ${childpid} 2>/dev/null
|
/titanic_41/usr/src/lib/libtnfctl/ |
H A D | prb_child.c | 69 pid_t childpid; in prb_child_create() local 82 childpid = fork(); in prb_child_create() 83 if (childpid == (pid_t) - 1) { in prb_child_create() 87 if (childpid == 0) { in prb_child_create() 197 prbstat = sync_child(childpid, smp, ret_val); in prb_child_create() 222 sync_child(int childpid, volatile shmem_msg_t *smp, prb_proc_ctl_t **proc_pp) in sync_child() argument 229 prbstat = prb_proc_open(childpid, proc_pp); in sync_child() 280 tempstat = prb_proc_reopen(childpid, proc_pp); in sync_child()
|
/titanic_41/usr/src/lib/libast/common/comp/ |
H A D | execve.c | 36 static pid_t childpid; 41 kill(childpid, sig); 54 if ((childpid = spawnve(path, argv, arge)) < 0) 58 while (waitpid(childpid, &status, 0) == -1)
|
/titanic_41/usr/src/lib/libdhcpagent/common/ |
H A D | dhcpagent_util.c | 126 pid_t childpid; in dhcp_start_agent() local 153 childpid = fork(); in dhcp_start_agent() 158 switch (childpid) { in dhcp_start_agent() 171 (void) waitpid(childpid, NULL, 0); in dhcp_start_agent()
|
/titanic_41/usr/src/tools/cscope-fast/ |
H A D | exec.c | 52 pid_t childpid; /* child's process ID */ variable 119 childpid = p; in myfork() 147 childpid = 0; in join()
|
H A D | global.h | 149 extern pid_t childpid; /* child's process ID */
|
H A D | main.c | 1589 if (childpid) { in timedout()
|
/titanic_41/usr/src/lib/libshell/common/scripts/ |
H A D | multifollow.sh | 102 integer childpid=-1 114 files[${numfiles}].childpid=$!
|
/titanic_41/usr/src/cmd/rmt/ |
H A D | rmt.c | 111 static pid_t childpid[MAXCHILD]; variable 414 (void) kill(childpid[--children], SIGKILL); in main() 415 while (wait(NULL) != childpid[children]) in main() 447 (childpid[children] = fork()) > 0) in main() 448 next = childpid[children++]; in main()
|
/titanic_41/usr/src/cmd/backup/dump/ |
H A D | dumptape.c | 1380 pid_t childpid; in otape() local 1407 childpid = fork(); in otape() 1408 if (childpid < 0) { in otape() 1414 if (childpid != 0) { in otape() 1429 tapeno+1, (long)parentpid, (long)childpid); in otape() 1433 if (waitproc == childpid) in otape() 1437 (long)parentpid, (long)childpid, (long)waitproc); in otape() 1441 (long)childpid, WTERMSIG(status), in otape() 1451 "Child %ld finishes X_FINOK\n"), (long)childpid); in otape() 1456 "Child %ld finishes X_ABORT\n"), (long)childpid); in otape() [all …]
|
/titanic_41/usr/src/cmd/rpcgen/ |
H A D | rpc_util.h | 134 extern pid_t childpid;
|
H A D | rpc_scan.c | 164 (void) waitpid(childpid, &stat, in get_token()
|
H A D | rpc_main.c | 145 pid_t childpid; variable 324 switch (childpid = fork()) { in open_input()
|
/titanic_41/usr/src/cmd/dlmgmtd/ |
H A D | dlmgmt_db.c | 198 pid_t childpid; in dlmgmt_zfop() local 227 childpid = fork(); in dlmgmt_zfop() 228 switch (childpid) { in dlmgmt_zfop() 252 if (waitid(P_PID, childpid, &info, WEXITED) == -1) { in dlmgmt_zfop() 262 zfarg.zfarg_inglobalzone = (zoneid == GLOBAL_ZONEID || childpid != 0); in dlmgmt_zfop()
|
/titanic_41/usr/src/cmd/truss/ |
H A D | main.c | 2390 pid_t childpid = 0; in control() local 2398 if ((childpid = fork()) == -1) { in control() 2409 if (childpid != 0) { in control() 2414 while (gps->fork_pid != childpid) in control() 2422 childpid = getpid(); in control() 2440 gps->fork_pid = childpid; in control() 2452 gps->fork_pid = childpid; in control()
|
/titanic_41/usr/src/cmd/init/ |
H A D | init.c | 2456 pid_t childpid; in efork() local 2480 while ((childpid = fork()) == FAILURE) { in efork() 2498 if (childpid != 0) { in efork() 2530 process->p_pid = childpid; in efork()
|