Searched refs:pid (Results 151 - 175 of 960) sorted by relevance

1234567891011>>

/opensolaris-onvv-gate/usr/src/cmd/dtrace/test/tst/common/aggs/
H A Dtst.goodkey.d47 @counts[execname, pid, id, tid, arg0, vtimestamp ] = count();
/opensolaris-onvv-gate/usr/src/cmd/dtrace/test/tst/common/drops/
H A Ddrp.DTRACEDROP_STKSTROVERFLOW.d44 /progenyof($pid) && execname == "java"/
/opensolaris-onvv-gate/usr/src/cmd/dtrace/test/tst/common/pid/
H A Dtst.main.ksh48 pid\$target::main:entry
/opensolaris-onvv-gate/usr/src/cmd/dtrace/test/tst/common/raise/
H A Dtst.raise1.d47 /pid == $1/
H A Dtst.raise2.d47 /pid == $1/
H A Dtst.raise3.d47 /pid == $1/
/opensolaris-onvv-gate/usr/src/cmd/dtrace/test/tst/common/usdt/
H A Dtst.andpid.ksh37 pid\$target::mutex_lock_impl:
/opensolaris-onvv-gate/usr/src/cmd/dtrace/test/tst/common/ustack/
H A Dtst.depth.ksh44 pid\$target:::entry,
45 pid\$target:::return,
46 pid\$target:a.out::,
49 /pid == \$target/
/opensolaris-onvv-gate/usr/src/cmd/perl/5.8.4/distrib/ext/IO/lib/IO/
H A DPipe.pm47 my $pid = $do_spawn ? 0 : fork();
49 if($pid) { # Parent
50 return $pid;
52 elsif(defined $pid) { # Child or spawn
74 $pid = eval { system 1, @_ }; # 1 == P_NOWAIT
79 croak "IO::Pipe: Cannot spawn-NOWAIT: $err" if not $pid or $pid < 0;
80 return $pid;
101 my $pid;
102 $pid
[all...]
/opensolaris-onvv-gate/usr/src/cmd/prstat/
H A Dprtable.c227 lwpid_add(lwp_info_t *lwp, pid_t pid, id_t lwpid) argument
230 int hash = pid % PLWP_TBL_SZ;
232 elm->l_pid = pid;
240 lwpid_del(pid_t pid, id_t lwpid) argument
243 int hash = pid % PLWP_TBL_SZ;
249 if ((elm->l_pid == pid) && (elm->l_lwpid == lwpid)) {
264 lwpid_getptr(pid_t pid, id_t lwpid) argument
266 plwp_t *elm = plwp_tbl[pid % PLWP_TBL_SZ];
268 if ((elm->l_pid == pid) && (elm->l_lwpid == lwpid))
277 lwpid_get(pid_t pid, id_ argument
287 lwpid_pidcheck(pid_t pid) argument
301 lwpid_is_active(pid_t pid, id_t lwpid) argument
311 lwpid_set_active(pid_t pid, id_t lwpid) argument
[all...]
/opensolaris-onvv-gate/usr/src/cmd/ptools/preap/
H A Dpreap.c54 open_usage(pid_t pid, int *perr) argument
60 (void) snprintf(path, sizeof (path), "/proc/%d/usage", (int)pid);
79 proc_usage(pid_t pid, prusage_t *pup, int *perr) argument
85 if ((fd = open_usage(pid, perr)) != -1) {
101 * Force the parent process (ppid) to wait for its child process (pid).
110 pid_t pid, ppid; local
115 * get the specified pid and the psinfo struct
117 if ((pid = proc_arg_psinfo(arg, PR_ARG_PIDS, &psinfo, &gret)) == -1) {
125 command, (int)pid);
136 (int)pid);
194 print_exit_status(pid_t pid, int wstat) argument
259 pid_t pid; local
[all...]
/opensolaris-onvv-gate/usr/src/cmd/ssh/include/
H A Daltprivsep.h52 void altprivsep_record_login(pid_t pid, const char *ttyname);
53 void altprivsep_record_logout(pid_t pid);
/opensolaris-onvv-gate/usr/src/lib/libdscfg/common/
H A Dcfg_lockd.h46 pid_t pid; member in struct:lock_msg
51 #define CFG_PIDFILE "/var/tmp/.cfglockd.pid"
60 void cfg_writepid(int segment, pid_t pid);
/opensolaris-onvv-gate/usr/src/lib/libproc/common/
H A DPisprocdir.c46 procfs_path, (int)Pr->pid, dir);
49 procfs_path, (int)Pr->pid, dir);
/opensolaris-onvv-gate/usr/src/cmd/utmpd/
H A Dutmpd.c114 pid_t pd_pid; /* pid to add or remove */
127 pid_t pl_pid; /* pid to watch for */
164 static int proc_to_fd(); /* Takes a pid and returns an fd for its proc */
174 static int proc_is_alive(pid_t pid); /* Check if a process is alive */
353 pid_t pid; local
396 (void) pread(WTMPXfd, (void *)&pid, sizeof (pid), 0);
474 dprintf(("Poll Err = %d pid = %d i = %d\n", \
477 pid = pidtable[i].pl_pid; /* Save pid fo
[all...]
/opensolaris-onvv-gate/usr/src/cmd/perl/5.8.4/distrib/t/op/
H A Dfork.t112 print "pid $$ failed to fork\n";
287 if ($pid = fork) {
288 waitpid($pid,0);
300 if ($pid = fork) {
301 waitpid($pid,0);
321 if ($pid = fork) {
333 if (eval q{$pid = fork}) {
362 my $pid = fork();
363 die "fork() failed: $!" unless defined $pid;
364 close($pid
[all...]
/opensolaris-onvv-gate/usr/src/cmd/latencytop/common/
H A Dlatencytop.d43 #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 !
[all...]
/opensolaris-onvv-gate/usr/src/cmd/psrset/
H A Dpsrset.c107 grab_proc(id_t pid) argument
112 if ((Pr = Pgrab(pid, 0, &ret)) == NULL) {
114 (int)pid, Pgrab_error(ret));
131 bind_err(psetid_t pset, id_t pid, id_t lwpid, int err) argument
149 warn(gettext("cannot %s pid %d"), msg, pid);
151 warn(gettext("cannot %s lwpid %d/%d"), msg, pid, lwpid);
190 query_out(id_t pid, id_t lwpid, psetid_t pset) argument
196 (void) snprintf(pidstr, 20, "%d", pid);
199 (void) snprintf(pidstr, 20, "%d/%d", pid, lwpi
248 bind_out(id_t pid, id_t lwpid, psetid_t old, psetid_t new) argument
279 bind_lwp(id_t pid, id_t lwpid, psetid_t pset) argument
484 id_t pid = psinfo->pr_pid; local
506 id_t pid = psinfo->pr_pid; local
558 do_lwps(id_t pid, const char *range, psetid_t pset) argument
635 id_t pid; local
[all...]
/opensolaris-onvv-gate/usr/src/cmd/dtrace/test/tst/common/proc/
H A Dtst.create.ksh39 /args[0]->pr_ppid == $child && pid == $child/
/opensolaris-onvv-gate/usr/src/cmd/lms/tools/
H A Ddaemonize.cpp68 pid_t pid, sid, parent; local
85 pid = fork();
86 if (pid < 0) {
92 if (pid > 0) {
/opensolaris-onvv-gate/usr/src/cmd/ssh/sshd/
H A Dbsmaudit.h38 void audit_sshd_login(adt_session_data_t **ah, pid_t pid);
/opensolaris-onvv-gate/usr/src/lib/libbc/libc/gen/4.2/
H A Dsystem.c46 pid_t pid, w; local
86 if ((pid = vfork()) == 0) {
90 if (pid == -1) {
95 w = waitpid(pid, &status, 0);
/opensolaris-onvv-gate/usr/src/lib/libbc/libc/gen/sys5/
H A Dsystem.c46 pid_t pid, w; local
84 if ((pid = vfork()) == 0) {
88 if (pid == -1) {
93 w = waitpid(pid, &status, 0);
/opensolaris-onvv-gate/usr/src/lib/libresolv2/common/bsd/
H A Dmktemp.c96 u_int pid; local
98 pid = getpid();
101 *trv = (pid % 10) + '0';
102 pid /= 10;
/opensolaris-onvv-gate/usr/src/cmd/fs.d/smbclnt/smbiod-svc/
H A Dsmbiod-svc.c63 pid_t pid; member in struct:_child
81 child_find_by_pid(pid_t pid) argument
87 if (cp->pid == pid)
139 int pid, st; local
148 if ((pid = fork1()) == -1) {
160 if (pid != 0) {
165 if (waitpid(pid, &st, 0) == pid && WIFEXITED(st))
415 int pid, f local
514 pid_t pid; local
546 child_gone(uid_t uid, pid_t pid, int status) argument
[all...]

Completed in 509 milliseconds

1234567891011>>