/osnet-11/usr/src/lib/libnsctl/common/ |
H A D | cache.c | 180 pid_t pid; local 197 if ((pid = fork()) == 0) { 222 return (pid != -1);
|
/osnet-11/usr/src/lib/libdiskmgt/common/ |
H A D | inuse_fs.c | 155 pid_t pid; local 159 switch ((pid = fork1())) { 178 (void) waitpid(pid, &loc, 0);
|
H A D | inuse_lu.c | 304 pid_t pid; local 308 switch ((pid = fork1())) { 328 (void) waitpid(pid, &loc, 0);
|
/osnet-11/usr/src/cmd/sendmail/libsm/ |
H A D | t-sem.c | 363 pid_t pid; local 369 if ((pid = fork()) < 0) 376 if (pid == 0)
|
/osnet-11/usr/src/cmd/hal/hald-runner/ |
H A D | main.c | 114 GPid pid; local 123 if (run_request_run(r, con, NULL, &pid)) { 124 pid64 = pid;
|
/osnet-11/usr/src/lib/libinstzones/common/ |
H A D | zones_exec.c | 150 pid_t pid; local 223 pid = vfork(); 225 if (pid == 0) { 254 } else if (pid == -1) { 321 resultPid = waitpid(pid, &status, 0L);
|
/osnet-11/usr/src/lib/fm/topo/modules/sun4v/chip/common/ |
H A D | chip_sun4v.c | 265 int pid; local 307 pid = mcmp->cpumap_pid; 309 (topo_instance_t)pid, sbuf, NULL, NULL, NULL); 313 pid, topo_mod_errmsg(mod)); 318 if ((asru = cpu_fmri_create(mod, pid, sbuf, 0)) != NULL) {
|
/osnet-11/usr/src/cmd/sendmail/src/ |
H A D | util.c | 563 ** 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...] |
/osnet-11/usr/src/lib/libvolmgt/common/ |
H A D | volmgt_on_private.c | 563 pid_t pid; /* forked proc's pid */ local 578 if ((pid = fork()) < 0) { 582 if (pid == 0) { 642 if (waitpid(pid, &rval, 0) == pid) {
|
/osnet-11/usr/src/lib/libdtrace_jni/java/src/org/opensolaris/os/dtrace/ |
H A D | LocalConsumer.java | 112 private native void _grabProcess(int pid) throws DTraceException; argument 136 private native String _lookupUserFunction(int pid, Number address); argument 1040 int pid; 1042 pid = _createProcess(command); 1044 return pid; 1048 grabProcess(int pid) throws DTraceException argument 1053 _grabProcess(pid); 1130 lookupUserFunction(int pid, int address) argument 1134 return _lookupUserFunction(pid, new Integer(address)); 1139 lookupUserFunction(int pid, lon argument [all...] |
/osnet-11/usr/src/lib/libidmap/common/ |
H A D | idmap_api.c | 755 * pid - UID or GID 764 idmap_rid_t *rid, uid_t *pid, char **winname, 783 if (pid) 784 *pid = UINT32_MAX; 861 if (pid) 862 *pid = mappings->mappings.mappings_val[iter->next].id2. 1157 * pid - POSIX UID if stat = 0 and is_user = 1 1164 int flag, uid_t *pid, int *is_user, idmap_stat *stat) 1166 return (idmap_getext_pidbysid(gh, sidprefix, rid, flag, pid, is_user, 1183 * pid 763 idmap_iter_next_mapping(idmap_iter_t *iter, char **sidprefix, idmap_rid_t *rid, uid_t *pid, char **winname, char **windomain, char **unixname, boolean_t *is_user, boolean_t *is_wuser, int *direction, idmap_info *info) argument 1163 idmap_get_pidbysid(idmap_get_handle_t *gh, char *sidprefix, idmap_rid_t rid, int flag, uid_t *pid, int *is_user, idmap_stat *stat) argument 1190 idmap_getext_pidbysid(idmap_get_handle_t *gh, char *sidprefix, idmap_rid_t rid, int flag, uid_t *pid, int *is_user, idmap_info *info, idmap_stat *stat) argument 1602 idmap_get_w2u_mapping( const char *sidprefix, idmap_rid_t *rid, const char *winname, const char *windomain, int flag, int *is_user, int *is_wuser, uid_t *pid, char **unixname, int *direction, idmap_info *info) argument 1706 idmap_get_u2w_mapping( uid_t *pid, const char *unixname, int flag, int is_user, int *is_wuser, char **sidprefix, idmap_rid_t *rid, char **winname, char **windomain, int *direction, idmap_info *info) argument 2173 idmap_getwinnamebypid(uid_t pid, int is_user, int flag, char **name, char **domain) argument [all...] |
/osnet-11/usr/src/cmd/perl/5.8.4/distrib/ |
H A D | util.c | 1809 register Pid_t pid; local 1826 while ((pid = PerlProc_fork()) < 0) { 1838 if (pid == 0) { 1897 SvIVX(sv) = pid; 1898 PL_forkprocess = pid; 1900 if (did_pipes && pid > 0) { 1920 pid2 = wait4pid(pid, &status, 0); 1942 register Pid_t pid; local 1964 while ((pid = PerlProc_fork()) < 0) { 1978 if (pid 2143 Pid_t pid; local 2372 Pid_t pid; local 2429 Perl_wait4pid(pTHX_ Pid_t pid, int *statusp, int flags) argument 2502 Perl_pidgone(pTHX_ Pid_t pid, int status) argument [all...] |
/osnet-11/usr/src/lib/libc/port/threads/ |
H A D | spawn.c | 282 pid_t pid; local 296 switch (pid = vforkx(forkflags(sap))) { 308 *pidp = pid; 381 pid_t pid; local 414 switch (pid = vforkx(forkflags(sap))) { 426 *pidp = pid;
|
/osnet-11/usr/src/lib/libslp/clib/ |
H A D | slp_utils.c | 277 long long pid = getpid(); local 278 pid *= UINT_MAX; 279 (void) seed48((unsigned short *) &pid);
|
/osnet-11/usr/src/lib/libc/port/regex/ |
H A D | wordexp.c | 88 pid_t pid; local 296 error = posix_spawn(&pid, path, &fact, &attr, 359 while (waitpid(pid, &status, 0) == -1) {
|
/osnet-11/usr/src/lib/libbsm/common/ |
H A D | adt_token.c | 482 getCharacteristics(struct auditpinfo_addr *info, pid_t *pid) argument 486 if (*pid == 0) { /* getpinfo for this pid */ 489 info->ap_pid = *pid; 518 pid_t pid; local 533 pid = ((union convert *)p_data)->tpid; 540 getCharacteristics(&info, &pid); 563 if (pid == 0) 564 pid = info.ap_pid; 567 au_to_process_ex(auid, euid, egid, ruid, rgid, pid, si [all...] |
/osnet-11/usr/src/lib/fm/topo/modules/sun4v/platform-cpu/common/ |
H A D | cpu.c | 400 int pid; local 433 pid = chip->cpus[i].cpumap_pid; 435 (topo_instance_t)pid, sbuf, NULL); 439 pid, topo_mod_errmsg(mod));
|
/osnet-11/usr/src/lib/libsysevent/ |
H A D | libsysevent.h | 75 void sysevent_get_pid(sysevent_t *ev, pid_t *pid);
|
H A D | llib-lsysevent | 65 void sysevent_get_pid(sysevent_t *ev, pid_t *pid);
|
/osnet-11/usr/src/lib/lvm/libmeta/common/ |
H A D | meta_setup.c | 408 pid_t pid; local 423 if ((pid = fork()) == -1) 425 else if (pid != 0) 426 return (pid);
|
/osnet-11/usr/src/lib/libproc/common/ |
H A D | Pcontrol.c | 75 * /proc/<pid>/as file: 188 pid_t pid; local 204 if ((pid = fork1()) == -1) { 210 if (pid == 0) { /* child process */ 244 P->pid = pid; 254 * Open the /proc/pid files. 257 procfs_path, (int)pid); 429 (void) kill(pid, SIGKILL); 505 * pid 515 Pgrab(pid_t pid, int flags, int *perr) argument [all...] |
/osnet-11/usr/src/cmd/perl/5.8.4/distrib/utils/ |
H A D | perlcc.PL | 549 my $pid = open(FD, "$command |"); 552 local($SIG{HUP}) = sub { kill 9, $pid; exit }; 553 local($SIG{INT}) = sub { kill 9, $pid; exit }; 570 eval { kill 'HUP', $pid };
|
/osnet-11/usr/src/cmd/sendmail/db/ |
H A D | db_int.h | 168 u_int32_t pid; /* Lock holder: 0 or process pid. */ member in struct:_db_mutex_t 172 u_int32_t pid; /* Lock holder: 0 or process pid. */
|
/osnet-11/usr/src/lib/libc/inc/ |
H A D | libc.h | 60 extern int kill(pid_t pid, int sig); 286 extern int _insert(pid_t pid, int fd);
|
/osnet-11/usr/src/lib/libc/port/gen/ |
H A D | ucred.c | 92 ucred_get(pid_t pid) argument 101 if (syscall(SYS_ucredsys, UCREDSYS_UCREDGET, pid, uc) != 0) {
|