Searched refs:pid (Results 401 - 425 of 447) sorted by relevance

<<1112131415161718

/osnet-11/usr/src/lib/lvm/libmeta/common/
H A Dmeta_mn_handlers.c66 pid_t pid; /* process id */ local
136 pid = fork1();
137 if (pid == (pid_t)-1) {
146 } else if (pid == (pid_t)0) {
245 while (waitpid(pid, &stat_loc, 0) < 0) {
/osnet-11/usr/src/cmd/sendmail/src/
H A Ddaemon.c184 /* write the pid to file, command line args to syslog */
209 register pid_t pid; local
620 pid = 0;
636 pid = fork();
637 if (pid < 0)
652 if (pid == 0)
900 proc_list_add(pid, status, PROC_CONTROL, 0, -1, NULL);
907 proc_list_add(pid, status, PROC_DAEMON, 0, -1,
3136 /* close locked pid file */
H A Dusersmtp.c726 pid_t pid; local
758 pid = prog_open(argv, &fd, CurEnv);
759 if (pid < 0)
768 pid = -1;
816 if (pid > 0)
817 (void) waitfor(pid);
H A Dconf.c2643 ** pid -- process id to wait for.
2646 ** status of pid.
2647 ** -1 if pid never shows up.
2654 waitfor(pid)
2655 pid_t pid;
2666 } while ((i >= 0 || errno == EINTR) && i != pid);
2678 ** pid
2735 pid_t pid; local
2741 while ((pid = waitpid(-1, &status, WNOHANG)) > 0)
2750 while ((pid
[all...]
/osnet-11/usr/src/lib/libproc/common/
H A DPsyscall.c126 procfs_path, (int)P->pid);
H A DPzone.c803 procfs_path, (int)P->pid, mptr->map_pmap.pr_mapname);
/osnet-11/usr/src/lib/libshell/common/include/
H A Ddefs.h129 pid_t pid; member in struct:shared
/osnet-11/usr/src/lib/libnsl/rpc/
H A Dti_opts.c232 lcred->pid = ucred_getpid(uc);
H A Dsvc_door.c728 lcred->pid = dc.dc_pid;
/osnet-11/usr/src/lib/libpool/common/
H A Dpool.c203 * pool_get_resource_binding() returns the binding for a pid to the supplied
207 pool_get_resource_binding(const char *sz_type, pid_t pid) argument
228 result = conf->pc_prov->pc_get_resource_binding(conf, type, pid);
235 * pool_get_binding() returns the binding for a pid to a pool. If a
239 pool_get_binding(pid_t pid) argument
253 result = conf->pc_prov->pc_get_binding(conf, pid);
/osnet-11/usr/src/lib/libdtrace/common/
H A Ddt_aggregate.c267 uint64_t pid = data[0]; local
275 if ((P = dt_proc_grab(dtp, pid, PGRAB_RDONLY | PGRAB_FORCE, 0)) == NULL)
290 uint64_t pid = data[0]; local
298 if ((P = dt_proc_grab(dtp, pid, PGRAB_RDONLY | PGRAB_FORCE, 0)) == NULL)
H A Ddt_cc.c1437 * Both kernel and pid based providers are allowed to have names
1439 * a pid and that we may need to dynamically create probes for
1596 pid_t pid; local
1663 if ((pid = fork1()) == -1) {
1670 if (pid == 0) {
1677 (int)pid);
1678 } while (waitpid(pid, &wstat, 0) == -1 && errno == EINTR);
/osnet-11/usr/src/lib/libc/inc/
H A Dthr_uberdata.h895 pid_t pid; /* the current process's pid */ member in struct:uberdata
1106 int pid; member in struct:uberdata32
/osnet-11/usr/src/lib/libshell/common/sh/
H A Dinit.c718 int pid; local
719 if(sh_isstate(SH_INIT) && (cp=shp->lastarg) && *cp=='*' && (pid=strtol(cp+1,&cp,10)) && *cp=='*')
720 nv_putval(np,(pid==shp->gd->ppid?cp+1:0),0);
1199 shgd->pid = getpid();
1806 d = (shp->gd->pid&RANDMASK);
/osnet-11/usr/src/lib/libdscfg/common/
H A Dcfg.c1998 * Returns: TRUE and sets lock and pid if the lock is held, FALSE otherwise.
2001 cfg_get_lock(CFGFILE *cfg, CFGLOCK *lock, pid_t *pid) argument
2013 switch (cfg_lockedby(pid)) {
2027 *pid = getpid();
2033 *pid = getpid();
2053 *pid = lk.l_pid;
/osnet-11/usr/src/lib/krb5/kadm5/srv/
H A Dsvr_principal.c1340 pid_t pid = fork (); local
1341 if (pid == -1) {
1345 } else if (pid == 0) {
1372 kill (pid, SIGKILL);
1377 waitpid (pid, &status, 0);
/osnet-11/usr/src/lib/libstmf/common/
H A Dstmf.c1775 bcopy(disk->pid, sbdLu->slu_pid, sizeof (disk->pid));
2928 bcopy(sbdProps->slp_pid, diskLu->pid, sizeof (diskLu->pid));
3390 if (*propLen <= sizeof (diskLu->pid)) {
3393 bcopy(diskLu->pid, propVal, sizeof (diskLu->pid));
3394 propVal[sizeof (diskLu->pid)] = 0;
3600 sizeof (diskLu->pid)) {
3603 (void) strncpy(diskLu->pid, propVa
[all...]
/osnet-11/usr/src/lib/libproc/sparcv9/
H A DPisadep.c185 (int)gqp->gq_proc->pid, (int)psp->pr_lwpid);
/osnet-11/usr/src/lib/libsldap/common/
H A Dns_internal.h584 pid_t pid; /* process id */ member in struct:connection
/osnet-11/usr/src/lib/libpicltree/
H A Dpicltree.c588 pid_t pid = GET_PID(hdl); local
593 if ((pid != picld_pid) || (hash_val >= picl_hdl_hi) ||
607 pid_t pid = GET_PID(hdl); local
612 if ((pid != picld_pid) || (hash_val >= ptree_hdl_hi) ||
/osnet-11/usr/src/grub/grub2/grub-core/bus/usb/
H A Duhci.c539 td = grub_uhci_transaction (u, transfer->endpoint & 15, tr->pid,
/osnet-11/usr/src/cmd/hal/addons/cpufreq/
H A Daddon-cpufreq.c583 int pid; local
/osnet-11/usr/src/cmd/perl/5.8.4/distrib/ext/POSIX/
H A DPOSIX.xs1481 setpgid(pid, pgid)
1482 pid_t pid
/osnet-11/usr/src/lib/libzfs/common/
H A Dlibzfs_util.c740 pid_t pid; local
748 status = posix_spawn(&pid, command, NULL, NULL, argv, NULL);
755 if (waitpid(pid, &status, 0) != pid || !WIFEXITED(status) ||
/osnet-11/usr/src/lib/libzpool/common/sys/
H A Dzfs_context.h223 #define newproc(f, a, cid, pri, ctp, pid) (ENOSYS)

Completed in 143 milliseconds

<<1112131415161718