Searched defs:pid (Results 76 - 100 of 617) sorted by relevance

1234567891011>>

/illumos-gate/usr/src/cmd/sendmail/libsm/
H A Dclock.c401 pid_t pid; local
410 pid = ev->ev_pid;
415 if (pid != getpid())
H A Dt-shm.c241 pid_t pid; local
244 if ((pid = fork()) < 0)
251 if (pid == 0)
/illumos-gate/usr/src/cmd/sgs/crle/common/
H A Ddepend.c133 int fildes[2], pid; local
161 if ((pid = fork()) == -1) {
168 if (pid) {
227 while (wait(&status) != pid)
/illumos-gate/usr/src/cmd/bnu/
H A Dutility.c67 #define EFORMAT "%sERROR (%.9s) pid: %ld (%s) %s %s (%d) [FILE: %s, LINE: %d]\n"
75 pid_t pid; local
86 pid = getpid();
89 Progname, (long) pid, timeStamp(), s1, s2, i1, file, line);
/illumos-gate/usr/src/cmd/hal/hald-runner/
H A Dmain.c140 GPid pid; local
160 if (run_request_run(r, con, NULL, &pid)) {
161 gint64 ppid = pid;
/illumos-gate/usr/src/cmd/sgs/rtld/common/
H A Ddebug.c47 static int dbg_add_pid; /* True to add pid to debug file name */
48 static pid_t pid; variable
86 pid = getpid();
118 MSG_ORIG(MSG_DBG_FILE), dbg_file, pid);
255 pid);
/illumos-gate/usr/src/cmd/latencytop/common/
H A Dklog.c39 static GHashTable *proc_table = NULL; /* pid -> char * */
182 lt_klog_log(int level, pid_t pid, char *stack, argument
196 LT_INT_TO_POINTER(pid));
199 psargs = lt_get_proc_field(pid, LT_FIELD_PSARGS);
202 psargs = lt_get_proc_field(pid, LT_FIELD_FNAME);
210 LT_INT_TO_POINTER(pid), psargs);
215 (void) snprintf(str, str_len, "%ld, \"%s\"", pid, stack);
/illumos-gate/usr/src/cmd/syslogd/
H A Dconf.c47 pid_t pid; local
57 if ((pid = fork1()) == -1) {
64 if (pid == 0) {
93 *pidp = pid;
104 close_conf_pipe(FILE *fp, pid_t pid) argument
108 while (waitpid(pid, &status, 0) == -1) {
152 pid_t pid; local
157 if ((fp = open_conf_pipe(cmd, argv, &pid)) == NULL)
183 close_conf_pipe(fp, pid);
187 close_conf_pipe(fp, pid);
[all...]
/illumos-gate/usr/src/cmd/tcpd/
H A Dsafe_finger.c152 int pid; local
176 switch (pid = fork()) {
195 return (pid);
/illumos-gate/usr/src/cmd/tsol/plabel/
H A Dplabel.c112 char pid[11]; /* 32 bit pids go to 4294967295 plus a NUL */ local
114 (void) sprintf(pid, "%d", (int)getpid());
115 rc = look(pid);
220 gettext(" %s [pid ...] \n"), cmd);
222 gettext(" %s -s [pid ...] \n"), cmd);
224 gettext(" %s -S [pid ...] \n"), cmd);
/illumos-gate/usr/src/cmd/uadmin/
H A Duadmin.c398 pid_t pid; local
400 if ((pid = fork()) == 0) {
405 } else if (pid == -1) {
418 if ((rc = waitpid(pid, NULL, WNOHANG)) == pid) {
/illumos-gate/usr/src/tools/ctf/ctfstrip/
H A Dctfstrip.c117 pid_t pid; local
129 if ((rc = posix_spawn(&pid, MCS, NULL, &attr,
135 waitpid(pid, &stat, 0);
/illumos-gate/usr/src/test/os-tests/tests/sigqueue/
H A Dsigqueue_queue_size.c79 pid_t pid; local
101 pid = getpid();
124 error = sigqueue(pid, SIGQUEUE_SIGNAL, value);
134 error = sigqueue(pid, SIGQUEUE_SIGNAL, value);
/illumos-gate/usr/src/uts/common/syscall/
H A Ducredsys.c128 ucred_get(pid_t pid, void *ubuf) argument
136 if (pid == P_MYID || pid == curproc->p_pid) {
139 pid = curproc->p_pid;
143 if (pid < 0)
150 p = prfind(pid);
173 uc = cred2ucred(pcr, pid, NULL, CRED());
/illumos-gate/usr/src/lib/libproc/common/
H A Dproc_get_info.c54 proc_get_cred(pid_t pid, prcred_t *credp, int ngroups) argument
63 procfs_path, (int)pid);
73 proc_get_secflags(pid_t pid, prsecflags_t **psf) argument
83 procfs_path, (int)pid);
103 proc_get_priv(pid_t pid) argument
111 procfs_path, (int)pid);
132 proc_get_ldt(pid_t pid, struct ssd *pldt, int nldt) argument
141 procfs_path, (int)pid);
165 proc_get_psinfo(pid_t pid, psinfo_t *psp) argument
172 procfs_path, (int)pid);
182 proc_get_status(pid_t pid, pstatus_t *psp) argument
205 proc_get_auxv(pid_t pid, auxv_t *pauxv, int naux) argument
[all...]
/illumos-gate/usr/src/lib/print/libpapi-lpd/common/
H A Dlpd-misc.c129 pid_t pid; local
180 switch (pid = fork()) {
192 while ((waitpid(pid, &status, 0) < 0) && (errno == EINTR));
/illumos-gate/usr/src/lib/libdiskmgt/common/
H A Dinuse_lu.c310 pid_t pid; local
314 switch ((pid = fork1())) {
334 (void) waitpid(pid, &loc, 0);
/illumos-gate/usr/src/lib/libdscfg/common/
H A Dcfg_lockdmsg.c70 if ((message_buf.pid = getpid()) != socket_pid)
219 *pidp = message_buf.pid;
258 * from the lock daemon and enter pid into lock file so that the daemon
281 int pid = 0x12345678; local
296 if (fscanf(fp, "%d\n", &pid) != 1) {
301 if (kill((pid_t)pid, 0) != 0)
/illumos-gate/usr/src/lib/libdtrace_jni/java/src/org/opensolaris/os/dtrace/
H A DProcessState.java36 * Consumer#grabProcess(int pid)}.
123 * @param pid non-negative target process ID
140 ProcessState(int pid, State processState, argument
145 processID = pid;
157 * @see #ProcessState(int pid, State processState, int
164 ProcessState(int pid, String processStateName, argument
169 processID = pid;
182 throw new IllegalArgumentException("pid is negative");
346 buf.append("[pid = ");
H A DUserSymbolRecord.java85 UserSymbolRecord(int pid, long addressValue) argument
87 value = new Value(pid, addressValue);
98 * @param pid non-negative user process ID
107 UserSymbolRecord(int pid, String lookupValue, long addressValue) argument
109 value = new Value(pid, addressValue);
125 * @return non-negative pid
135 * by {@link Consumer#lookupUserFunction(int pid, long address)}.
252 int pid = s.readInt();
256 value = new Value(pid, addressValue);
332 * @param pid no
338 Value(int pid, long addressValue) argument
[all...]
/illumos-gate/usr/src/lib/libstmf/common/
H A Dlibstmf_impl.h63 char pid[16]; member in struct:_diskResource
/illumos-gate/usr/src/lib/libtnfctl/
H A Dopen.c43 static tnfctl_errcode_t attach_pid(pid_t pid, prb_proc_ctl_t **proc_pp);
131 tnfctl_pid_open(pid_t pid, tnfctl_handle_t **ret_val) argument
139 prexstat = attach_pid(pid, &proc_p);
376 attach_pid(pid_t pid, prb_proc_ctl_t **proc_pp) argument
381 if (getpid() == pid)
384 /* check if pid is valid */
385 if ((kill(pid, 0) == -1) && errno == ESRCH) {
389 prbstat = prb_proc_open(pid, proc_pp);
429 int pid; local
433 pid
[all...]
/illumos-gate/usr/src/lib/libtnfprobe/
H A Dtnf_trace.h73 long pid; member in struct:__anon4134
81 pid_t pid; member in struct:__anon4135
/illumos-gate/usr/src/lib/libnsctl/common/
H A Dcache.c181 pid_t pid; local
198 if ((pid = fork()) == 0) {
223 return (pid != -1);
/illumos-gate/usr/src/lib/libnsl/saf/
H A Ddoconfig.c379 pid_t pid; /* pid of child proc */ local
380 pid_t rpid; /* returned pid from wait */
446 if ((pid = fork()) < 0) {
450 if (pid) {
454 while (rpid != pid)

Completed in 65 milliseconds

1234567891011>>