Searched defs:pid (Results 551 - 575 of 617) sorted by relevance

<<2122232425

/illumos-gate/usr/src/cmd/sendmail/src/
H A Dconf.c2645 ** pid -- process id to wait for.
2648 ** status of pid.
2649 ** -1 if pid never shows up.
2656 waitfor(pid)
2657 pid_t pid;
2668 } while ((i >= 0 || errno == EINTR) && i != pid);
2680 ** pid
2737 pid_t pid; local
2743 while ((pid = waitpid(-1, &status, WNOHANG)) > 0)
2752 while ((pid
[all...]
H A Dreadcf.c937 pid_t pid; local
1104 pid = prog_open(argv, &fd, CurEnv);
1105 if (pid < 0)
1113 pid = -1;
1161 if (pid > 0)
1162 (void) waitfor(pid);
H A Dmap.c597 ** CLOSEMAPS -- close all open maps opened by the current pid.
613 ** MAP_CLOSE -- close a map opened by the current pid.
6317 auto pid_t pid; local
6349 pid = prog_open(argv, &fd, CurEnv);
6350 if (pid < 0)
6396 status = waitfor(pid);
7838 sm_dprintf("socket_map_close(%s), pid=%ld\n", map->map_file,
H A Dqueue.c201 ** pid -- pid of owner, should be a unique id to avoid misinterpretations
1932 pid_t pid; local
1937 pid = dofork();
1938 if (pid == -1)
1951 if (pid != 0)
1957 proc_list_add(pid, "Queue runner", PROC_QUEUE,
2096 "runqueue %s, pid=%d, forkflag=%d",
2135 pid_t pid; local
2173 pid
3555 register pid_t pid; local
3741 register pid_t pid; local
5361 pid_t pid = queuenextid(); local
[all...]
/illumos-gate/usr/src/cmd/avs/rdc/
H A Dsndradm.c1729 int pid; local
3306 pid = fork();
3307 if (pid == -1) { /* error forking */
3314 if (pid > 0) /* parent process */
/illumos-gate/usr/src/uts/common/inet/ip/
H A Dicmp.c130 sin6_t *sin6, cred_t *cr, pid_t pid, ip_xmit_attr_t *ixa);
625 pid_t pid; local
633 cr = msg_getcred(mp, &pid);
674 error = rawip_do_connect(connp, sa, len, cr, pid);
717 cred_t *cr, pid_t pid)
860 connp->conn_cpid = pid;
863 ixa->ixa_cpid = pid;
3013 icmp_output_hdrincl(conn_t *connp, mblk_t *mp, cred_t *cr, pid_t pid) argument
3048 ixa->ixa_cpid = pid;
3333 mblk_t *tudr_mp, struct nmsghdr *msg, cred_t *cr, pid_t pid)
716 rawip_do_connect(conn_t *connp, const struct sockaddr *sa, socklen_t len, cred_t *cr, pid_t pid) argument
3332 icmp_output_ancillary(conn_t *connp, sin_t *sin, sin6_t *sin6, mblk_t *mp, mblk_t *tudr_mp, struct nmsghdr *msg, cred_t *cr, pid_t pid) argument
3651 icmp_output_connected(conn_t *connp, mblk_t *mp, cred_t *cr, pid_t pid) argument
3811 icmp_output_lastdst(conn_t *connp, mblk_t *mp, cred_t *cr, pid_t pid, ip_xmit_attr_t *ixa) argument
4134 pid_t pid; local
4375 icmp_output_newdst(conn_t *connp, mblk_t *data_mp, sin_t *sin, sin6_t *sin6, cred_t *cr, pid_t pid, ip_xmit_attr_t *ixa) argument
5189 pid_t pid = curproc->p_pid; local
5633 pid_t pid = curproc->p_pid; local
[all...]
H A Dipsecah.c537 ah_register_out(uint32_t sequence, uint32_t pid, uint_t serial, argument
665 * Assume caller has sufficient sequence/pid number info. If it's one
669 samsg->sadb_msg_pid = pid;
H A Dipsecesp.c3005 esp_register_out(uint32_t sequence, uint32_t pid, uint_t serial, argument
3189 * Assume caller has sufficient sequence/pid number info. If it's one
3193 samsg->sadb_msg_pid = pid;
/illumos-gate/usr/src/uts/common/inet/
H A Dkstatcom.h431 kstat_named_t pid; member in struct:tcpConnEntry_named_kstat
/illumos-gate/usr/src/uts/common/inet/udp/
H A Dudp.c163 pid_t pid);
165 pid_t pid, ip_xmit_attr_t *ixa);
625 pid_t pid; local
633 cr = msg_getcred(mp, &pid);
682 error = udp_do_connect(connp, sa, len, cr, pid);
2602 mblk_t *tudr_mp, struct nmsghdr *msg, cred_t *cr, pid_t pid)
2636 ixa->ixa_cpid = pid;
2905 udp_output_connected(conn_t *connp, mblk_t *mp, cred_t *cr, pid_t pid) argument
2926 ixa->ixa_cpid = pid;
3045 udp_output_lastdst(conn_t *connp, mblk_t *mp, cred_t *cr, pid_t pid, argument
2601 udp_output_ancillary(conn_t *connp, sin_t *sin, sin6_t *sin6, mblk_t *mp, mblk_t *tudr_mp, struct nmsghdr *msg, cred_t *cr, pid_t pid) argument
3383 pid_t pid; local
3676 udp_output_newdst(conn_t *connp, mblk_t *data_mp, sin_t *sin, sin6_t *sin6, ushort_t ipversion, cred_t *cr, pid_t pid, ip_xmit_attr_t *ixa) argument
5524 udp_do_connect(conn_t *connp, const struct sockaddr *sa, socklen_t len, cred_t *cr, pid_t pid) argument
5832 pid_t pid = curproc->p_pid; local
5911 pid_t pid = curproc->p_pid; local
[all...]
/illumos-gate/usr/src/uts/common/sys/usb/scsa2usb/
H A Dscsa2usb.h263 int pid; /* product id */ member in struct:scsa2usb_ov
/illumos-gate/usr/src/uts/common/sys/nxge/
H A Dnxge_common.h505 uint8_t pid; member in struct:nxge_usr_l3_cls
/illumos-gate/usr/src/uts/common/io/fibre-channel/fca/emlxs/
H A Demlxs_dfc.c7471 uint32_t pid; local
7477 pid = dfc->data2;
7481 "%s: %s. pid=%d enable=%d", emlxs_dfc_xlate(dfc->cmd),
7482 emlxs_dfc_event_xlate(event), pid, enable);
7497 "%s: %s. Invalid event. pid=%d enable=%d",
7499 pid, enable);
7511 /* Make sure this pid/event is not already registered */
7516 if (dfc_event->pid == pid &&
7527 if (!dfc_event->pid
7720 uint32_t pid; local
9945 uint32_t event, pid, enable; local
10050 uint32_t event, pid, sleep, i; local
[all...]
/illumos-gate/usr/src/uts/common/os/
H A Dstreamio.c4607 struct pid *pidp;
4689 struct pid *pidp;
4713 struct pid *pidp;
4714 pid_t pid; local
4721 pid = ss.ss_pid;
4729 error = kill(pid, 0);
4735 if (pid == 0)
4737 else if (pid < 0)
4738 proc = pgfind(-pid);
4740 proc = prfind(pid);
4852 pid_t pid; local
[all...]
H A Ddumpsubr.c1428 dump_process(pid_t pid) argument
1430 proc_t *p = sprlock(pid);
2777 * Determine which pid is to be dumped. If we're panicking, we
/illumos-gate/usr/src/uts/common/c2/
H A Daudit_event.c1513 pid_t pid; local
1518 long pid; member in struct:a
1522 pid = (pid_t)uap->pid;
1526 if (pid > 0) {
1528 if (((p = prfind(pid)) == (struct proc *)0) ||
1531 au_uwrite(au_to_arg32(1, "process", (uint32_t)pid));
1545 au_uwrite(au_to_arg32(1, "process", (uint32_t)pid));
1553 au_uwrite(au_to_process(uid, gid, ruid, rgid, pid,
1562 au_uwrite(au_to_arg32(1, "process", (uint32_t)pid));
2059 long pid; member in struct:a
2103 pid_t pid; local
2110 long pid; member in struct:a
4879 long pid; member in struct:a
4886 pid_t pid; local
5021 pid_t pid; local
5210 pid_t pid; local
[all...]
/illumos-gate/usr/src/uts/common/fs/proc/
H A Dprvnops.c109 * Contents of a /proc/<pid> directory.
176 * Contents of a /proc/<pid>/lwp/<lwpid> directory.
246 * If we are opening a file in the /proc/pid/fd directory,
599 pr_read_piddir, /* /proc/<pid> (old /proc read()) */
600 pr_read_as, /* /proc/<pid>/as */
601 pr_read_inval, /* /proc/<pid>/ctl */
602 pr_read_status, /* /proc/<pid>/status */
603 pr_read_lstatus, /* /proc/<pid>/lstatus */
604 pr_read_psinfo, /* /proc/<pid>/psinfo */
605 pr_read_lpsinfo, /* /proc/<pid>/lpsinf
3474 pid_t pid; local
4763 uint_t pid; local
[all...]
/illumos-gate/usr/src/lib/libproc/common/
H A DPcontrol.c113 procfs_path, (int)P->pid);
146 procfs_path, (int)P->pid);
177 return (proc_get_cred(P->pid, pcrp, ngroups));
184 return (proc_get_secflags(P->pid, psf));
193 pp = proc_get_priv(P->pid);
206 if (proc_get_psinfo(P->pid, psinfo) == -1)
255 * previous information about the /proc/<pid>/object/a.out file.
281 "%s/%d/path/a.out", procfs_path, (int)P->pid);
293 "%s/%d/object/a.out", procfs_path, (int)P->pid);
304 "%s/%d/path/cwd", procfs_path, (int)P->pid);
439 pid_t pid; local
766 Pgrab(pid_t pid, int flags, int *perr) argument
3930 Pgrab_ops(pid_t pid, void *data, const ps_ops_t *ops, int flags) argument
[all...]
/illumos-gate/usr/src/lib/libzfs/common/
H A Dlibzfs_dataset.c2770 uid_t pid; local
2782 stat = idmap_getuidbywinname(cp, NULL, flag, &pid);
2785 stat = idmap_get_sidbyuid(gh, pid, flag, &numericsid,
2788 stat = idmap_getgidbywinname(cp, NULL, flag, &pid);
2791 stat = idmap_get_sidbygid(gh, pid, flag, &numericsid,
/illumos-gate/usr/src/uts/common/sys/
H A Dproc.h172 struct pid *p_pidp; /* process ID info */
173 struct pid *p_pgidp; /* process group ID info */
328 pid_t p_ancpid; /* ancestor pid, used by exacct */
403 struct pid { struct
411 struct pid *pid_link;
438 extern struct pid pid0; /* p0's pid */
459 #define CLDWAITPID 0x0008 /* only waitid(P_PID, pid) can reap the child */
636 extern int pid_rele(struct pid *);
638 extern void proc_entry_free(struct pid *);
[all...]
/illumos-gate/usr/src/lib/libsldap/common/
H A Dns_internal.h576 pid_t pid; /* process id */ member in struct:connection
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/
H A Din.telnetd.c2333 pid_t pid; local
2341 pid = fork();
2342 if (pid == -1) {
2346 if (pid == 0) {
2731 pid_t pid; variable
3100 if ((pid = fork()) < 0)
3102 if (pid)
4484 if (up->ut_pid == pid) {
/illumos-gate/usr/src/cmd/cron/
H A Dcron.c150 #define PIDERR "unexpected pid returned %d (ignored)"
235 pid_t pid; member in struct:runinfo
246 pid_t pid; member in struct:miscpid
250 static pid_t cron_pid; /* own pid */
483 msg("*** cron started *** pid = %d", cron_pid);
2320 rp->pid = rfork;
2624 pid_t pid; local
2629 pid = waitpid((pid_t)-1, &prc, WNOHANG);
2630 if (pid <= 0)
2634 "wait returned %x for process %d\n", prc, pid);
2892 rinfo_get(pid_t pid) argument
3507 miscpid_insert(pid_t pid) argument
3518 miscpid_delete(pid_t pid) argument
3591 contract_abandon_latest(pid_t pid) argument
[all...]
/illumos-gate/usr/src/cmd/init/
H A Dinit.c49 * zone's init (pid 1 in the global zone) what to do by sending it a signal;
395 pid_t pd_pid; /* pid to add or remove */
405 pid_t pl_pid; /* pid to watch for */
406 int pl_dflag; /* Flag indicating SIGCLD from this pid */
650 (void) fprintf(stderr, "could not get pid for init\n");
1889 * killproc() creates a child which kills the process specified by pid.
1892 killproc(pid_t pid) argument
1913 (void) kill(pid, SIGTERM);
1915 (void) kill(pid, SIGKILL);
2363 childeath_single(pid_t pid, in argument
2425 pid_t pid; local
2763 clearent(pid_t pid, short status) argument
3754 pid_t pid; local
4369 pid_t pid; local
[all...]
/illumos-gate/usr/src/uts/common/io/drm/
H A Ddrm.h392 unsigned long pid; /**< Process ID */ member in struct:drm_client

Completed in 349 milliseconds

<<2122232425