/titanic_44/usr/src/cmd/smbsrv/dtrace/ |
H A D | msrpc.d | 171 pid$target::ndr_svc_bind:entry, 172 pid$target::ndr_svc_bind:return, 173 pid$target::ndr_svc_request:entry, 174 pid$target::ndr_svc_request:return 178 pid$target::smb_trace:entry, 179 pid$target::ndo_trace:entry 187 pid$target::lsarpc_s_CloseHandle:entry, 188 pid$target::lsarpc_s_QuerySecurityObject:entry, 189 pid$target::lsarpc_s_EnumAccounts:entry, 190 pid$target::lsarpc_s_EnumTrustedDomain:entry, [all …]
|
/titanic_44/usr/src/cmd/smbsrv/fksmbd/ |
H A D | Watch-all.d | 30 pid$target:fksmbd::entry, 31 pid$target:libfksmbsrv.so.1::entry, 32 pid$target:libmlsvc.so.1::entry, 33 pid$target:libmlrpc.so.1::entry, 34 pid$target:libsmbns.so.1::entry, 35 pid$target:libsmb.so.1::entry 43 pid$target:fksmbd::entry, 44 pid$target:libfksmbsrv.so.1::entry, 45 pid$target:libmlsvc.so.1::entry, 46 pid$target:libmlrpc.so.1::entry, [all …]
|
H A D | Watch-pipesvc.d | 24 pid$target:fksmbd:pipesvc_worker:entry 28 pid$target:fksmbd:pipesvc_worker:return 33 pid$target:fksmbd::entry, 34 pid$target:libfksmbsrv.so.1::entry, 35 pid$target:libmlsvc.so.1::entry, 36 pid$target:libmlrpc.so.1::entry, 37 pid$target:libsmbns.so.1::entry, 38 pid$target:libsmb.so.1::entry 47 pid$target:fksmbd::return, 48 pid$target:libfksmbsrv.so.1::return, [all …]
|
/titanic_44/usr/src/cmd/vscan/vscand/ |
H A D | vscan.d | 338 pid$target::vs_svc_init:entry 343 pid$target::vs_svc_init:return 348 pid$target::vs_door_scan_req:entry, 349 pid$target::vs_svc_scan_file:entry, 350 pid$target::vs_svc_queue_scan_req:entry, 351 pid$target::vs_svc_async_scan:entry, 352 pid$target::vs_eng_scanstamp_current:entry, 353 pid$target::vs_icap_scan_file:entry 357 pid$target::vs_svc_queue_scan_req:return, 358 pid$target::vs_svc_async_scan:return [all …]
|
/titanic_44/usr/src/cmd/dtrace/test/tst/common/uctf/ |
H A D | tst.printtype.ksh | 38 pid=$! 41 pid$pid::ff_getgameid:entry 44 print(*(pid$pid\`$t *)(copyin(arg0, sizeof (pid$pid\`$t)))); 49 pid$pid::ff_getpartysize:entry 52 print(*(pid$pid\`$t *)(copyin(arg0, sizeof (pid$pid\`$t)))); 57 pid$pid::ff_getsummons:entry 60 print(*(pid$pid\`$t *)(copyin(arg0, sizeof (pid$pid\`$t)))); 67 kill -9 $pid
|
H A D | tst.chasestrings.ksh | 39 pid=$! 42 pid$pid::has_princess:entry 45 this->t = (pid$pid\`$t *)(copyin(arg0, sizeof (pid$pid\`$t))); 52 pid$pid::has_dungeons:entry 55 this->t = (pid$pid\`$t *)(copyin(arg0, sizeof (pid$pid\`$t))); 62 pid$pid::has_villain:entry 65 this->t = (pid$pid\`$t *)(copyin(arg0, sizeof (pid$pid\`$t))); 74 kill -9 $pid
|
H A D | tst.printtypetarg.ksh | 39 pid=$! 41 $dtrace -p $pid -qs /dev/stdin <<EOF 42 pid\$target::ff_getgameid:entry 45 print(*(pid\`$t *)(copyin(arg0, sizeof (pid\`$t)))); 50 pid\$target::ff_getpartysize:entry 53 print(*(pid\`$t *)(copyin(arg0, sizeof (pid\`$t)))); 58 pid\$target::ff_getsummons:entry 61 print(*(pid\`$t *)(copyin(arg0, sizeof (pid\`$t)))); 68 kill -9 $pid
|
H A D | tst.pidprint.ksh | 38 pid=$! 41 pid$pid::ff_getgameid:entry 49 pid$pid::ff_getpartysize:entry 57 pid$pid::ff_getsummons:entry 67 kill -9 $pid
|
/titanic_44/usr/src/cmd/dtrace/test/cmd/scripts/ |
H A D | dtest.pl | 142 if (-f "$opt_d/$pid.core") { 143 print README "; see $pid.core\n"; 151 if (-f "$opt_d/$pid.out") { 152 rename("$opt_d/$pid.out", "$opt_d/failure.$n/$pid.out"); 156 if (-f "$opt_d/$pid.err") { 157 rename("$opt_d/$pid.err", "$opt_d/failure.$n/$pid.err"); 161 if (-f "$opt_d/$pid.core") { 162 rename("$opt_d/$pid.core", "$opt_d/failure.$n/$pid.core"); 327 if (($pid = fork()) == -1) { 332 if ($pid == 0) { [all …]
|
/titanic_44/usr/src/lib/libast/common/comp/ |
H A D | spawnveg.c | 51 pid_t pid; 65 if (err = posix_spawn(&pid, path, NiL, &attr, argv, envv ? envv : environ)) 69 if (waitpid(pid, &err, WNOHANG|WNOWAIT) == pid && EXIT_STATUS(err) == 127) 71 while (waitpid(pid, NiL, 0) == -1 && errno == EINTR); 74 pid = -1; 77 return pid; 160 pid_t pid; 198 pid = vfork(); 200 pid = fork(); 203 if (pid == -1) [all …]
|
H A D | waitpid.c | 46 waitpid(pid_t pid, int* status, int flags) 48 return(wait4(pid, status, flags, NiL)); 93 pid_t pid; 97 waitpid(pid_t pid, int* status, int flags) 117 if (zp->pid >= 0 && (zp->pid == pid || pid <= 0)) 122 pid = zp->pid; 124 return(pid); 127 if (pid > 0 && kill(pid, 0) < 0) return(-1); 183 if (pid <= 0 || p == pid) 189 zp->pid = p;
|
/titanic_44/usr/src/cmd/pbind/ |
H A D | pbind.c | 100 query_out(id_t pid, id_t lwpid, processorid_t cpu) in query_out() argument 106 (void) snprintf(pidstr, 20, "%d", (int)pid); in query_out() 109 (void) snprintf(pidstr, 20, "%d/%d", (int)pid, (int)lwpid); in query_out() 125 bind_err(processorid_t cpu, id_t pid, id_t lwpid, int err) in bind_err() argument 142 (int)pid, strerror(err)); in bind_err() 145 (int)pid, (int)lwpid, strerror(err)); in bind_err() 152 bind_out(id_t pid, id_t lwpid, processorid_t old, processorid_t new) in bind_out() argument 158 (void) snprintf(pidstr, 20, "%d", (int)pid); in bind_out() 161 (void) snprintf(pidstr, 20, "%d/%d", (int)pid, (int)lwpid); in bind_out() 183 grab_proc(id_t pid) in grab_proc() argument [all …]
|
/titanic_44/usr/src/cmd/rcm_daemon/common/ |
H A D | rcm_impl.c | 59 common_resource_op(int cmd, char *rsrcname, pid_t pid, uint_t flag, int seq_num, in common_resource_op() argument 110 notify_resource_remove(char **rsrcnames, pid_t pid, uint_t flag, int seq_num, in notify_resource_remove() argument 121 pid, flag, seq_num); in notify_resource_remove() 127 error = dr_req_update(rsrcnames[i], pid, flag, in notify_resource_remove() 134 error = common_resource_op(CMD_REMOVE, rsrcnames[i], pid, flag, in notify_resource_remove() 153 notify_resource_resume(char **rsrcnames, pid_t pid, uint_t flag, int seq_num, in notify_resource_resume() argument 168 if (get_resource_state(rsrcnames[i], pid, &state_info) || in notify_resource_resume() 177 rsrcnames[i], pid, flag, seq_num); in notify_resource_resume() 182 error = dr_req_update(rsrcnames[i], pid, flag, in notify_resource_resume() 189 error = common_resource_op(CMD_RESUME, rsrcnames[i], pid, flag, in notify_resource_resume() [all …]
|
/titanic_44/usr/src/lib/libc/port/stdio/ |
H A D | popen.c | 60 pid_t pid; member 91 pid_t pid; in popen() local 180 error = posix_spawn_pipe_np(&pid, &fd, cmd, *mode != 'r', &fact, &attr); in popen() 190 _insert_nolock(pid, myfd, node); in popen() 212 pid_t pid; in pclose() local 215 pid = _delete(fileno(ptr)); in pclose() 220 if (pid <= 0) { in pclose() 236 if (waitpid(pid, &status, WNOHANG) == pid) in pclose() 238 cleanup((void *)(uintptr_t)pid); in pclose() 243 pthread_cleanup_push(cleanup, (void *)(uintptr_t)pid); in pclose() [all …]
|
/titanic_44/usr/src/cmd/ldapcachemgr/ |
H A D | cachemgr_change.c | 48 pid_t pid; member 53 pid_t pid; /* main nscd pid */ member 76 static void cleanup_thread_by_pid(pid_t pid); 116 waiting_list_add(chg_info_t *info, pid_t pid, thread_t tid, in waiting_list_add() argument 127 pid, tid); in waiting_list_add() 131 wl->pid = pid; in waiting_list_add() 202 waiting_list_set_cleanup(chg_info_t *info, pid_t pid) in waiting_list_set_cleanup() argument 207 if (wl->pid == pid) { in waiting_list_set_cleanup() 271 if (chg_main_nscd.pid != 0) { in chg_get_statusChange() 272 if (nscd_pid != chg_main_nscd.pid) { in chg_get_statusChange() [all …]
|
/titanic_44/usr/src/cmd/latencytop/common/ |
H A D | latencytop.d | 43 #define TRACE_FILTER / pid == 0 || pid == TRACE_PID / 44 #define TRACE_FILTER_COND(a) / (pid == 0 || pid == TRACE_PID) && (a) / 46 #define TRACE_FILTER / pid == 0 || curpsinfo->pr_pgid == TRACE_PGID / 48 / (pid == 0 || curpsinfo->pr_pgid == TRACE_PGID) && (a) / 55 #define TRACE_FILTER / pid == TRACE_PID / 56 #define TRACE_FILTER_COND(a) / (pid == TRACE_PID) && (a) / 61 #define TRACE_FILTER / pid != 0 / 62 #define TRACE_FILTER_COND(a) / (pid != 0) && (a) / 198 @lt_call_count[pid, tid, stack(), this->cause, 200 @lt_call_sum[pid, tid, stack(), this->cause, [all …]
|
/titanic_44/usr/src/lib/libshell/common/tests/ |
H A D | coprocess.sh | 183 pid=$! 190 kill $pid 208 pid=$! 213 wait $pid 221 pid=$! 224 kill $pid 225 wait $pid 2> /dev/null 233 pid=$! 240 kill $pid 241 wait $pid 2> /dev/null [all …]
|
/titanic_44/usr/src/cmd/ptools/preap/ |
H A D | preap.c | 54 open_usage(pid_t pid, int *perr) in open_usage() argument 60 (void) snprintf(path, sizeof (path), "/proc/%d/usage", (int)pid); in open_usage() 79 proc_usage(pid_t pid, prusage_t *pup, int *perr) in proc_usage() argument 85 if ((fd = open_usage(pid, perr)) != -1) { in proc_usage() 110 pid_t pid, ppid; in reap() local 117 if ((pid = proc_arg_psinfo(arg, PR_ARG_PIDS, &psinfo, &gret)) == -1) { in reap() 125 command, (int)pid); in reap() 136 (int)pid); in reap() 140 if (proc_usage(pid, &usage, &gret) == 0) { in reap() 144 command, (int)pid, Pgrab_error(gret)); in reap() [all …]
|
/titanic_44/usr/src/cmd/fs.d/smbclnt/smbiod-svc/ |
H A D | smbiod-svc.c | 63 pid_t pid; member 81 child_find_by_pid(pid_t pid) in child_find_by_pid() argument 87 if (cp->pid == pid) in child_find_by_pid() 139 int pid, st; in daemonize_init() local 148 if ((pid = fork1()) == -1) { in daemonize_init() 160 if (pid != 0) { in daemonize_init() 165 if (waitpid(pid, &st, 0) == pid && WIFEXITED(st)) in daemonize_init() 415 int pid, fd = -1; in cmd_start() local 437 cp->pid = 0; /* update below */ in cmd_start() 461 if ((pid = fork1()) == -1) { in cmd_start() [all …]
|
/titanic_44/usr/src/lib/libbc/libc/gen/common/ |
H A D | popen.c | 36 register int myside, hisside, pid; local 44 for (pid = 0; pid < nfiles; pid++) 45 popen_pid[pid] = -1; 51 if ((pid = vfork()) == 0) { 69 if (pid == -1) { 74 popen_pid[myside] = pid; 84 int pid, status, omask; local 94 while ((pid = waitpid(child, &status, 0)) != child && pid != -1) 97 return (pid == -1 ? -1 : status);
|
/titanic_44/usr/src/uts/common/os/ |
H A D | pid.c | 56 struct pid pid0 = { 71 #define HASHPID(pid) (pidhash[((pid)&(pid_hashsz-1))]) argument 93 static struct pid **pidhash; 99 static struct pid * 100 pid_lookup(pid_t pid) in pid_lookup() argument 102 struct pid *pidp; in pid_lookup() 106 for (pidp = HASHPID(pid); pidp; pidp = pidp->pid_link) { in pid_lookup() 107 if (pidp->pid_id == pid) { in pid_lookup() 160 pid_allocate(proc_t *prp, pid_t pid, int flags) in pid_allocate() argument 162 struct pid *pidp; in pid_allocate() [all …]
|
/titanic_44/usr/src/lib/libgen/common/ |
H A D | p2open.c | 47 extern int _insert(pid_t pid, int fd); 74 pid_t pid; in __p2open() local 87 if ((pid = fork()) == 0) { in __p2open() 99 if (pid == (pid_t)-1) in __p2open() 101 (void) _insert(pid, tocmd[1]); in __p2open() 102 (void) _insert(pid, fromcmd[0]); in __p2open() 116 pid_t pid, r; in __p2close() local 128 pid = _delete(fds[0]); in __p2close() 129 if (pid != _delete(fds[1])) in __p2close() 132 if (pid == (pid_t)-1) in __p2close() [all …]
|
/titanic_44/usr/src/cmd/mdb/common/mdb/ |
H A D | mdb_shell.c | 86 pid_t pid; in mdb_shell_exec() local 91 if ((pid = vfork()) == -1) in mdb_shell_exec() 94 if (pid == 0) { in mdb_shell_exec() 104 mdb_dprintf(MDB_DBG_SHELL, "waiting for PID %d\n", (int)pid); in mdb_shell_exec() 105 } while (waitpid(pid, &status, 0) == -1 && errno == EINTR); in mdb_shell_exec() 107 mdb_dprintf(MDB_DBG_SHELL, "waitpid %d -> 0x%x\n", (int)pid, status); in mdb_shell_exec() 138 pid_t pid = (pid_t)(intptr_t)io->io_data; in shellio_close() local 142 mdb_dprintf(MDB_DBG_SHELL, "waiting for PID %d\n", (int)pid); in shellio_close() 143 } while (waitpid(pid, &status, 0) == -1 && errno == EINTR); in shellio_close() 145 mdb_dprintf(MDB_DBG_SHELL, "waitpid %d -> 0x%x\n", (int)pid, status); in shellio_close() [all …]
|
/titanic_44/usr/src/cmd/dtrace/test/tst/common/safety/ |
H A D | tst.copyin2.d | 46 /pid == $pid/ 52 /pid == $pid/ 58 /pid == $pid && size > (1 << MAX_BITS)/ 64 /pid == $pid/
|
/titanic_44/usr/src/cmd/svc/startd/ |
H A D | fork.c | 104 pid_t pid; in fork_mount() local 108 for (pid = fork1(); pid == -1; pid = fork1()) { in fork_mount() 115 if (pid != 0) { in fork_mount() 116 (void) waitpid(pid, &status, 0); in fork_mount() 146 pid_t pid; in fork_common() local 183 for (pid = fork1(); pid == -1; pid = fork1()) { in fork_common() 205 if (pid != 0 && (errno = contract_latest(ctidp)) != 0) in fork_common() 210 return (pid); in fork_common() 245 pid_t pid; in fork_sulogin() local 247 pid = fork_common("sulogin", SVC_SULOGIN_FMRI, in fork_sulogin() [all …]
|