Searched refs:pid (Results 501 - 525 of 920) sorted by relevance

<<21222324252627282930>>

/illumos-gate/usr/src/cmd/fs.d/autofs/
H A Dautod_main.c114 pid_t pid; local
186 pid = fork();
187 if (pid < 0) {
191 if (pid)
224 pid = fork1();
225 if (pid < 0) {
237 } else if (pid > 0) {
239 automountd_wait_for_cleanup(pid);
266 * establish our lock on the lock file and write our pid to it.
270 pid
1033 automountd_wait_for_cleanup(pid_t pid) argument
[all...]
/illumos-gate/usr/src/cmd/fs.d/
H A Dff.c327 int status, pid, ret; local
333 switch (pid = fork()) {
366 if (wait(&status) == pid) {
/illumos-gate/usr/src/cmd/script/
H A Dscript.c169 register int pid; local
172 while ((pid = wait(&status)) > 0)
173 if (pid == child)
/illumos-gate/usr/src/cmd/sendmail/libsm/
H A Dt-sem.c363 pid_t pid; local
369 if ((pid = fork()) < 0)
376 if (pid == 0)
/illumos-gate/usr/src/cmd/backup/lib/
H A Dmyrcmd.c72 pid_t pid; local
88 pid = getpid();
175 (void) fcntl(s, F_SETOWN, pid);
/illumos-gate/usr/src/cmd/fs.d/nfs/nfs4cbd/
H A Dnfs4cbd.c96 int pid; local
148 * establish our lock on the lock file and write our pid to it.
152 pid = _enter_daemon_lock(NFS4CBD);
153 switch (pid) {
/illumos-gate/usr/src/cmd/gcore/
H A Dgcore.c254 pid_t pid = Pstatus(P)->pr_pid; local
255 (void) core_get_process_path(path, sizeof (path), pid);
258 (void) core_get_process_content(&content, pid);
288 "[ -pgF ] [ -o filename ] [ -c content ] pid ...\n", pname);
/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/syseventd/modules/devfsadmd_mod/
H A Ddevfsadmd_mod.c89 pid_t pid; local
121 switch (pid = fork1()) {
146 w = waitpid(pid, &status, 0);
/illumos-gate/usr/src/uts/common/klm/
H A Dklmmod.c320 pid_t pid; local
332 pid = g->lockd_pid;
337 p = prfind(pid);
/illumos-gate/usr/src/cmd/format/
H A Dlabel.c501 get_disk_inquiry_prop(char *devpath, char **vid, char **pid, char **rid) argument
525 *pid = strdup(p);
528 if (*vid == NULL || *pid == NULL || *rid == NULL) {
530 free(*pid);
543 get_disk_inquiry_uscsi(int fd, char **vid, char **pid, char **rid) argument
551 *pid = strndup(inquiry.inq_pid, 16);
554 if (*vid == NULL || *pid == NULL || *rid == NULL) {
556 free(*pid);
589 get_disk_inquiry_devid(int fd, char **vid, char **pid, char **rid) argument
619 *pid
[all...]
/illumos-gate/usr/src/lib/libvolmgt/common/
H A Dvolmgt_on_private.c564 pid_t pid; /* forked proc's pid */ local
579 if ((pid = fork()) < 0) {
583 if (pid == 0) {
643 if (waitpid(pid, &rval, 0) == pid) {
/illumos-gate/usr/src/lib/libinstzones/common/
H A Dzones_exec.c151 pid_t pid; local
224 pid = vfork();
226 if (pid == 0) {
255 } else if (pid == -1) {
322 resultPid = waitpid(pid, &status, 0L);
/illumos-gate/usr/src/cmd/vscan/vscand/
H A Dvs_main.c343 pid_t pid; local
372 if ((pid = fork()) == -1) {
384 if (pid != 0) {
390 if (waitpid(pid, &status, 0) == pid && WIFEXITED(status))
/illumos-gate/usr/src/cmd/power/
H A Dsys-suspend.c155 pid_t pid; local
162 if ((pid = fork()) == 0) {
167 } else if (pid == -1) {
180 if ((rc = waitpid(pid, NULL, WNOHANG)) == pid) {
/illumos-gate/usr/src/cmd/rcm_daemon/common/
H A Dpool_rcm.c434 pool_get_info(rcm_handle_t *hdl, char *rsrcname, id_t pid, uint_t flag, argument
462 id_t pid, uint_t flags, char **reason, rcm_info_t **dependent_info)
470 pool_request_offline(rcm_handle_t *hdl, char *rsrcname, id_t pid, uint_t flag, argument
479 pool_notify_online(rcm_handle_t *hdl, char *rsrcname, id_t pid, uint_t flags, argument
487 pool_notify_remove(rcm_handle_t *hdl, char *rsrcname, id_t pid, argument
461 pool_notify_resume(rcm_handle_t *hdl, char *rsrcname, id_t pid, uint_t flags, char **reason, rcm_info_t **dependent_info) argument
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/
H A Din.rexecd.c171 pid_t pid; local
368 pid = fork();
369 if (pid == (pid_t)-1) {
374 if (pid) {
397 (void) killpg(pid, sig);
/illumos-gate/usr/src/cmd/devfsadm/
H A Dusb_link.c438 char *vid, *pid; local
450 /* get vid, pid and minor name strings */
452 pid = strtok_r(NULL, ".", &lasts);
455 if ((vid == NULL) || (pid == NULL) || (minor_name == NULL)) {
459 /* create regular expression contain vid and pid */
461 "^usb$/^%s\\.%s$/^([0-9]+)$", vid, pid);
482 vid, pid, buf, minor_name);
/illumos-gate/usr/src/cmd/sendmail/src/
H A Dutil.c563 ** LOG_SENDMAIL_PID -- record sendmail pid and command line.
586 /* write the pid to the log file for posterity */
596 "unable to write pid to %s: file in use by another process",
600 "unable to write pid to %s: %s",
619 ** Leave pid file open until process ends
629 ** CLOSE_SENDMAIL_PID -- close sendmail pid file
2016 ** pid of the process -- -1 if it failed.
2025 pid_t pid; local
2039 pid = fork();
2040 if (pid <
2686 pid_t pid; local
[all...]
/illumos-gate/usr/src/cmd/bnu/
H A Din.uucpd.c368 int pid, wtmp; local
373 while ((pid = wait(&status)) > 0) {
375 while ((pid = wait3(&status, WNOHANG, 0)) > 0) {
388 sprintf(ut.ut_line, "uucp%.4d", pid);
407 sprintf(utmp.ut_line, "uucp%.4d", pid);
/illumos-gate/usr/src/cmd/geniconvtbl/
H A Ditmcomp.c98 static void wait_child(pid_t pid);
108 pid_t pid; local
128 pid = fork();
129 switch (pid) {
137 wait_child(pid);
248 wait_child(pid_t pid) argument
253 (void) waitpid(pid, &stat_loc, 0);
461 pid_t pid; local
474 pid = fork();
475 if (pid
[all...]
/illumos-gate/usr/src/uts/sparc/dtrace/
H A Dfasttrap_isa.c277 fasttrap_return_common(struct regs *rp, uintptr_t pc, pid_t pid, argument
288 bucket = &fasttrap_tpoints.fth_table[FASTTRAP_TPOINTS_INDEX(pid, pc)];
291 if (pid == tp->ftt_pid && pc == tp->ftt_pc &&
417 pid_t pid; local
456 pid = p->p_pid;
459 bucket = &fasttrap_tpoints.fth_table[FASTTRAP_TPOINTS_INDEX(pid, pc)];
465 if (pid == tp->ftt_pid && pc == tp->ftt_pc &&
472 * been inserted without using the pid<pid> ioctl interface (see
997 fasttrap_return_common(rp, orig_pc, pid, fake_restor
1017 pid_t pid; local
[all...]
/illumos-gate/usr/src/lib/libdtrace_jni/java/src/org/opensolaris/os/dtrace/
H A DLocalConsumer.java110 private native void _grabProcess(int pid) throws DTraceException; argument
134 private native String _lookupUserFunction(int pid, Number address); argument
1038 int pid;
1040 pid = _createProcess(command);
1042 return pid;
1046 grabProcess(int pid) throws DTraceException argument
1051 _grabProcess(pid);
1128 lookupUserFunction(int pid, int address) argument
1132 return _lookupUserFunction(pid, new Integer(address));
1137 lookupUserFunction(int pid, lon argument
[all...]
/illumos-gate/usr/src/cmd/coreadm/
H A Dcoreadm.c111 " %s [ -p pattern ] [ -P content ] [ pid ... ]\n"), command);
321 pid_t pid; local
328 pid = strtol(*pidlist, &next, 10);
335 sizeof (process_path), pid) != 0 ||
336 core_get_process_content(&content, pid) != 0) {
349 pid = strtol(*pidlist, &next, 10);
358 proc_size, pid) != 0) {
365 &proc_content, pid) != 0) {
/illumos-gate/usr/src/cmd/cvcd/sparc/sun4u/starfire/
H A Dcvcd.c141 id_t pid, tsID; local
266 pid = getpid();
271 if (priocntl(P_PID, pid, PC_GETPARMS, (caddr_t)&pcparms) == -1L) {
284 "cvcd:: PID:", pid,
296 if (priocntl(P_PID, pid, PC_SETPARMS,
303 if (priocntl(P_PID, pid, PC_GETPARMS,
309 "cvcd:: PID:", pid,

Completed in 145 milliseconds

<<21222324252627282930>>