Searched defs:pid (Results 476 - 500 of 617) sorted by relevance

<<11121314151617181920>>

/illumos-gate/usr/src/lib/libpool/common/
H A Dpool.c206 * pool_get_resource_binding() returns the binding for a pid to the supplied
210 pool_get_resource_binding(const char *sz_type, pid_t pid) argument
231 result = conf->pc_prov->pc_get_resource_binding(conf, type, pid);
238 * pool_get_binding() returns the binding for a pid to a pool. If a
242 pool_get_binding(pid_t pid) argument
256 result = conf->pc_prov->pc_get_binding(conf, pid);
/illumos-gate/usr/src/lib/libc/port/threads/
H A Dscalls.c155 pid_t pid; local
168 pid = __forkx(flags);
169 if (pid == 0) { /* child */
170 udp->pid = getpid();
173 return (pid);
234 pid = __forkx(flags);
236 if (pid == 0) { /* child */
247 udp->pid = getpid();
268 return (pid);
292 pid_t pid; local
1062 sigqueue(pid_t pid, int signo, const union sigval value) argument
[all...]
/illumos-gate/usr/src/cmd/vi/port/
H A Dex.h254 var pid_t pid; /* Process id of child */ variable
/illumos-gate/usr/src/cmd/zlogin/
H A Dzlogin.c530 pid_t pid; local
536 if ((pid = waitpid(child_pid, &status, WNOHANG|WNOWAIT)) != -1) {
537 if (pid == child_pid &&
546 (void) waitpid(pid, &status, WNOHANG);
/illumos-gate/usr/src/cmd/pools/poold/com/sun/solaris/service/pools/
H A DPoolInternal.java152 public final static native String pool_get_binding(int pid); argument
154 String type, int pid);
153 pool_get_resource_binding( String type, int pid) argument
/illumos-gate/usr/src/cmd/prstat/
H A Dprstat.c625 list_add_lwp(list_t *list, pid_t pid, id_t lwpid) argument
637 lwp->li_info.pr_pid = pid;
639 lwpid_add(lwp, pid, lwpid);
768 lwp_update(lwp_info_t *lwp, pid_t pid, id_t lwpid, struct prusage *usage) argument
772 if (!lwpid_is_active(pid, lwpid)) {
806 (void) lwpid_set_active(pid, lwpid);
869 pid_t pid = psinfo->pr_pid; local
872 if ((lwp = lwpid_get(pid, lwpid)) == NULL)
873 lwp = list_add_lwp(&lwps, pid, lwpid);
883 pid_t pid local
900 pid_t pid; local
[all...]
/illumos-gate/usr/src/cmd/rcm_daemon/common/
H A Drcm_script.c754 (long)x->pid);
766 if (x->pid > 1) {
769 "killing script_name = %s pid = %ld\n",
770 x->script_name, x->pid);
773 (void) kill(-(x->pid), SIGKILL);
788 script_ps_state_file_add_entry(pid_t pid, char *script_name) argument
797 x->pid = pid;
806 * Remove the state element entry corresponding to pid from the
810 script_ps_state_file_remove_entry(pid_t pid) argument
1140 kill_pid(pid_t pid) argument
1606 script_get_info(rcm_handle_t *hdl, char *resource_name, pid_t pid, uint_t flag, char **info, char **error, nvlist_t *props, rcm_info_t **dependent_info) argument
1876 script_request_offline(rcm_handle_t *hdl, char *resource_name, pid_t pid, uint_t flag, char **info, rcm_info_t **dependent_info) argument
1923 script_notify_online(rcm_handle_t *hdl, char *resource_name, pid_t pid, uint_t flag, char **info, rcm_info_t **dependent_info) argument
1958 script_notify_remove(rcm_handle_t *hdl, char *resource_name, pid_t pid, uint_t flag, char **info, rcm_info_t **dependent_info) argument
1993 script_request_suspend(rcm_handle_t *hdl, char *resource_name, pid_t pid, timespec_t *interval, uint_t flag, char **info, rcm_info_t **dependent_info) argument
2061 script_notify_resume(rcm_handle_t *hdl, char *resource_name, pid_t pid, uint_t flag, char **info, rcm_info_t **dependent_info) argument
2398 script_request_capacity_change(rcm_handle_t *hdl, char *resource_name, pid_t pid, uint_t flag, nvlist_t *capacity_info, char **info, rcm_info_t **dependent_info) argument
2447 script_notify_capacity_change(rcm_handle_t *hdl, char *resource_name, pid_t pid, uint_t flag, nvlist_t *capacity_info, char **info, rcm_info_t **dependent_info) argument
[all...]
/illumos-gate/usr/src/cmd/rmformat/
H A Drmf_misc.c1021 pid_t pid; /* forked proc's pid */ local
1030 pid = fork();
1035 if (pid < 0) {
1040 if (pid == 0) {
1059 if (waitpid(pid, &rval, 0) == pid) {
1073 int pid, rval; local
1078 pid = fork();
1084 if (pid <
[all...]
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/pppd/
H A Dmain.c96 static char pidfilename[MAXPATHLEN]; /* name of pid file */
97 static char linkpidfile[MAXPATHLEN]; /* name of linkname pid file */
201 pid_t pid; member in struct:subprocess
931 * Delete pid file before disestablishing ppp. Otherwise it
933 * we delete its pid file.
938 warn("unable to delete pid file %s: %m", pidfilename);
993 warn("unable to delete pid file %s: %m", pidfilename);
1141 create_pidfile(); /* write pid to file */
1152 pid_t pid; local
1157 if ((pid
1896 pid_t pid; local
2028 pid_t pid; local
2157 pid_t pid; local
[all...]
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/
H A Drcp.c1063 int status, pid, w; local
1085 if ((pid = vfork()) < 0) {
1091 } else if (pid == 0) {
1130 while ((w = wait(&status)) != pid && w != -1)
/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/inetd/
H A Dinetd.c1285 add_method_ids(instance_t *ins, pid_t pid, ctid_t cid, instance_method_t mthd) argument
1291 if (add_rep_val(ins->start_pids, (int64_t)pid) == 0) {
1296 if (add_rep_val(ins->non_start_pid, (int64_t)pid) == 0) {
1308 remove_method_ids(instance_t *inst, pid_t pid, ctid_t cid, argument
1315 remove_rep_val(inst->start_pids, (int64_t)pid);
1319 remove_rep_val(inst->non_start_pid, (int64_t)pid);
1468 pid_t pid = (pid_t)rv->val; local
1475 remove_rep_val(inst->start_pids, pid);
1484 /* synch the repository pid list to remove any terminated pids */
/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/wanboot/wanboot-cgi/
H A Dwanboot-cgi.c197 pid_t pid; local
203 if ((pid = getpid()) < 0 || (secs = time(NULL)) < 0 ||
205 prefix, net, cid, pid, secs)) < 0 || chars > sizeof (path) ||
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/
H A Din.rlogind.c352 static pid_t pid; variable
1137 pid = fork();
1138 if (pid < 0)
1140 if (pid == 0) {
1519 if (up->ut_pid == pid) {
/illumos-gate/usr/src/cmd/diff/
H A Ddiff.c1641 pid_t pid; local
1649 pid = fork();
1650 if (pid == (pid_t)-1)
1653 if (pid == 0) {
1664 pid = fork();
1665 if (pid == (pid_t)-1)
1668 if (pid == 0) {
1684 while (wait(&diffstatus) != pid)
/illumos-gate/usr/src/cmd/mdb/common/modules/genunix/
H A Dgcore.c811 mdb_pid_t pid; local
820 if (mdb_ctf_vread(&pid, "struct pid", "mdb_pid_t", p->p_pidp, 0) ==
824 pc->pc_pid = pid.pid_id;
827 if (mdb_ctf_vread(&pid, "struct pid", "mdb_pid_t", p->p_pgidp, 0) ==
831 pc->pc_pgid = pid.pid_id;
837 if (mdb_ctf_vread(&pid, "struct pid", "mdb_pid_t", sess.s_sidp, 0) ==
841 pc->pc_sid = pid
1173 struct pid pid; local
2003 mdb_pid_t pid; local
[all...]
/illumos-gate/usr/src/cmd/mdb/common/modules/mdb_ks/
H A Dmdb_ks.c553 mdb_pid2proc(pid_t pid, proc_t *proc) argument
557 struct pid pidp;
568 hash = pid & (pid_hashsz - 1);
578 if (pidp.pid_id == pid) {
1388 struct pid pid; local
1392 mdb_vread(&pid, sizeof (pid), (uintptr_t)p.p_pidp) == sizeof (pid))
1393 return (pid
1466 pid_t pid = -1; local
[all...]
/illumos-gate/usr/src/cmd/modload/
H A Ddrvsubr.c1171 pid_t pid; local
1177 if ((pid = fork()) == 0) {
1181 } else if (pid == -1) {
1189 waitstat = waitpid(pid, (int *)&stat_loc, 0);
/illumos-gate/usr/src/cmd/dtrace/
H A Ddtrace.c121 "[-o output] [-p pid] [-s script] [-U name]\n\t"
752 int pid = Pstatus(P)->pr_pid; local
756 notice("pid %d: %s\n", pid, msg);
771 notice("pid %d terminated by %s\n", pid,
775 notice("pid %d exited with status %d\n",
776 pid, WEXITSTATUS(prp->pr_wstat));
778 notice("pid %d has exited\n", pid);
1173 pid_t pid; local
[all...]
/illumos-gate/usr/src/cmd/fm/modules/common/eversholt/
H A Dplatform.c992 pid_t pid; local
1014 if ((pid = fork()) < 0) {
1016 } else if (pid) {
1024 if (waitpid(pid, &wstat, 0) < 0)
/illumos-gate/usr/src/cmd/sendmail/src/
H A Ddeliver.c78 pid_t pid; local
636 pid = fork();
637 if (pid < 0)
649 else if (pid > 0)
673 (void) waitfor(pid);
702 pid = fork();
703 if (pid > 0)
715 if (pid < 0)
1062 ** Modifies the ==> LOCAL <== variable 'pid', leaving:
1063 ** pid o
1108 register pid_t pid = -1; local
1310 volatile pid_t pid = -1; local
5105 register pid_t pid = -1; local
[all...]
H A Dmain.c104 char *CommandLineArgs; /* command line args for pid file */
126 #define PIDLEN 6 /* pid length for computing SyslogPrefixLen */
2175 pid_t pid = -1; local
2191 if (Verbose || foregroundqueue || (pid = fork()) <= 0)
2200 if (pid == 0)
2426 ** Write the pid to file
2427 ** XXX Overwrites sendmail.pid
2489 "persistent queue runner=%d died, pid=%ld, signal=%d",
2520 ** Write the pid to file
2521 ** XXX Overwrites sendmail.pid
2941 pid_t pid; local
[all...]
/illumos-gate/usr/src/cmd/sgs/elfedit/common/
H A Delfedit.c2555 pid_t pid; local
2560 pid = fork();
2561 switch (pid) {
2590 if (waitpid(pid, &statloc, 0) != pid) {
/illumos-gate/usr/src/cmd/backup/dump/
H A Ddumptape.c99 pid_t sl_slavepid; /* slave pid; used by killall() */
142 static pid_t master; /* pid of master, for sending error signals */
144 static pid_t writepid; /* pid of tape writer */
146 static pid_t archivepid; /* pid of output archiver */
403 pid_t pid; local
455 if ((pid = fork()) < 0) {
461 if (pid > 0) {
466 return (pid);
475 msg(gettext("Archiver has pid = %ld\n"), (long)getpid());
553 pid_t pid; local
[all...]
/illumos-gate/usr/src/cmd/bnu/
H A Duustat.c1003 pid_t pid, list[MAXLOCKS]; local
1027 pid = strtol(alpid, (char **) NULL, 10);
1030 printf("%ld\n", (long) pid);
1032 if (list[i] == pid)
1035 list[i] = pid;
1302 char rectype[5], time[MAXDATE+1], pid[10],wmachine[10]; local
1357 rectype, time, pid, wmachine, role, remote, device, netid,
1364 DEBUG(9, "READPERF: pid = %s\n",pid);
/illumos-gate/usr/src/cmd/fs.d/ufs/fsck/
H A Dfsck.h348 int pid; /* fsck's process id (put in lockfs comment) */ variable

Completed in 201 milliseconds

<<11121314151617181920>>