/illumos-gate/usr/src/uts/common/xen/io/ |
H A D | evtchn_dev.c | 98 pid_t pid; /* last pid to bind to this event channel. */ member in struct:evtsoftdata 294 u->pid = ddi_get_pid();
|
/illumos-gate/usr/src/cmd/make/include/mk/ |
H A D | defs.h | 122 pid_t pid; member in struct:_Running
|
/illumos-gate/usr/src/cmd/mdb/common/mdb/ |
H A D | mdb_typedef.c | 469 mdb_ctf_id_t id, aid, tid, pid; local 503 &pid) != 0) { 509 tid = pid;
|
/illumos-gate/usr/src/uts/common/io/ |
H A D | tty_pty.c | 1078 gsignal(int pid, int sig) argument 1089 setprocset(&set, POP_AND, P_PGID, -pid, P_ALL, P_MYID);
|
/illumos-gate/usr/src/uts/common/fs/smbsrv/ |
H A D | smb2_dispatch.c | 993 uint32_t pid, tid; local 1008 &pid, /* l */ 1021 sr->smb2_async_id = pid | 1024 sr->smb_pid = pid; 1035 uint64_t pid_tid_aid; /* pid+tid, or async id */
|
H A D | smb_ofile.c | 478 uint16_t pid) 490 if (of->f_opened_by_pid == pid) { 476 smb_ofile_close_all_by_pid( smb_tree_t *tree, uint16_t pid) argument
|
/illumos-gate/usr/src/cmd/format/ |
H A D | label.c | 501 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/cmd/idmap/idmapd/ |
H A D | idmapd.c | 213 pid_t pid; local 223 if ((pid = fork1()) < 0) 225 if (pid != 0) { 235 (void) wait4(pid, &status, 0, NULL);
|
/illumos-gate/usr/src/cmd/smbsrv/smbd/ |
H A D | smbd_main.c | 244 pid_t pid; local 275 if ((pid = fork()) == -1) { 289 if (pid != 0) { 295 if (waitpid(pid, &status, 0) == pid && WIFEXITED(status)) 447 smbd_report("pid %d stop for debugger attach", smbd.s_pid); 450 smbd_report("smbd starting, pid %d", smbd.s_pid); 683 * If the door has already been opened by another process (non-zero pid 706 smbd_report("already running: pid %ld\n", info.di_target);
|
/illumos-gate/usr/src/cmd/zoneadmd/ |
H A D | zcons.c | 509 * tolerates being called with pid=NULL, for times when you want to "eat" 513 get_client_ident(int clifd, pid_t *pid, char *locale, size_t locale_len, argument 522 if (pid == NULL) { 555 * IDENT <pid> <locale> <disconnect flag> 562 *pid = strtoll(bufp, &bufp, 10); 577 accept_client(int servfd, pid_t *pid, char *locale, size_t locale_len, argument 588 if (get_client_ident(connfd, pid, locale, locale_len, 709 * its "identity"; this consists of the string 'IDENT <pid> <locale>'.
|
/illumos-gate/usr/src/cmd/pbind/ |
H A D | pbind.c | 100 query_out(id_t pid, id_t lwpid, processorid_t cpu) argument 106 (void) snprintf(pidstr, 20, "%d", (int)pid); 109 (void) snprintf(pidstr, 20, "%d/%d", (int)pid, (int)lwpid); 125 bind_err(processorid_t cpu, id_t pid, id_t lwpid, int err) argument 141 warn(gettext("cannot %s pid %d: %s\n"), msg, 142 (int)pid, strerror(err)); 145 (int)pid, (int)lwpid, strerror(err)); 152 bind_out(id_t pid, id_t lwpid, processorid_t old, processorid_t new) argument 158 (void) snprintf(pidstr, 20, "%d", (int)pid); 161 (void) snprintf(pidstr, 20, "%d/%d", (int)pid, (in 183 grab_proc(id_t pid) argument 218 bind_lwp(struct ps_prochandle *Pr, id_t pid, id_t lwpid, processorid_t cpu) argument 237 do_lwps(id_t pid, const char *range, processorid_t cpu) argument 313 id_t pid = psinfo->pr_pid; local 335 id_t pid = psinfo->pr_pid; local 400 id_t pid; local [all...] |
/illumos-gate/usr/src/uts/common/syscall/ |
H A D | utssys.c | 288 * Check if this pid has an NBMAND lock or share reservation 290 * set by this pid. Return 1 if there is an NBMAND lock else 294 proc_has_nbmand_on_vp(vnode_t *vp, pid_t pid, locklist_t *llp) argument 308 return (proc_has_nbmand_share_on_vp(vp, pid)); 353 pid_t pid = pidlist[pidx]; local 360 prp = sprlock(pid); 385 * Snapshot nbmand locks for pid 605 fu_data->fud_user[pcnt].fu_pid = pid;
|
/illumos-gate/usr/src/cmd/fs.d/nfs/nfsd/ |
H A D | nfsd.c | 144 int pid; local 437 * establish our lock on the lock file and write our pid to it. 441 pid = _enter_daemon_lock(NFSD); 442 switch (pid) {
|
/illumos-gate/usr/src/test/os-tests/tests/file-locking/ |
H A D | runtests.c | 58 static int flock_wait(pid_t pid); 85 flock_kill(pid_t pid) argument 87 while (kill(pid, SIGKILL) == -1) { 106 assert_write_locked_by(lockinfo_t *lf, pid_t pid) argument 114 VERIFY3_IMPL(fl.l_pid, ==, pid, pid_t); 120 VERIFY3_IMPL(fl.l_pid, ==, pid, pid_t); 126 VERIFY3_IMPL(fl.l_pid, ==, pid, pid_t); 132 VERIFY3_IMPL(fl.l_pid, ==, pid, pid_t); 137 assert_read_locked_by(lockinfo_t *lf, pid_t pid) argument 145 VERIFY3_IMPL(fl.l_pid, ==, pid, pid_ 274 flock_run(lock_style_t style, boolean_t is_exclusive, lockinfo_t *lf, pid_t *pid, int fds[]) argument 307 flock_wait(pid_t pid) argument 330 flock_cleanup_child(pid_t pid, int fds[]) argument 342 pid_t pid; local [all...] |
/illumos-gate/usr/src/lib/lvm/libmeta/common/ |
H A D | meta_trans.c | 1472 pid_t pid; local 1502 switch (pid = fork()) { 1527 if (waitpid(pid, &lock_exit, 0) != pid) {
|
/illumos-gate/usr/src/lib/cfgadm_plugins/usb/common/ |
H A D | cfga_configfile.c | 725 add_entry(char *selection, int vid, int pid, int cfgndx, char *srno, argument 752 cfgrec.idProduct = pid;
|
/illumos-gate/usr/src/lib/fm/libfmnotify/common/ |
H A D | libfmnotify.c | 117 pid_t pid; local 119 if ((pid = fork()) < 0) 121 else if (pid > 0)
|
/illumos-gate/usr/src/lib/fm/libldom/sparc/ |
H A D | ldom.c | 237 * search the machine description for a "pid" entry (physical cpuid) and 240 * if the pid property does not exist in a cpu node, assume pid = id. 251 uint64_t pval, pid, id; local 281 /* if pid does not exist, assume pid=id */ 282 if (md_get_prop_val(mdp, listp[i], "pid", &pval) < 0) 284 pid = pval; 286 if (pid == (uint64_t)cpuid) {
|
/illumos-gate/usr/src/lib/libshell/common/sh/ |
H A D | subshell.c | 192 pid_t pid; local 200 if(pid = sh_fork(FSHOWME,NIL(int*))) 205 sp->subpid = pid; 446 void sh_subjobcheck(pid_t pid) argument 451 if(sp->cpid==pid)
|
/illumos-gate/usr/src/lib/libsldap/common/ |
H A D | ns_connmgmt.h | 150 pid_t pid; /* process creates the connection */ member in struct:ns_conn_mt 216 pid_t pid; /* process creates the conn_mgmt */ member in struct:ns_conn_mgmt
|
/illumos-gate/usr/src/lib/libdtrace/common/ |
H A D | dt_pid.c | 118 pid_t pid; local 120 pid = Pstatus(pp->dpp_pr)->pr_pid; 122 dt_dprintf("creating probe pid%d:%s:%s:%s\n", (int)pid, pp->dpp_obj, 133 ftp->ftps_pid = pid; 590 "failed to instantiate probes for pid %d: %s", 606 pid_t pid; local 621 pid = strtol(last, &end, 10); 623 if (errno != 0 || end == last || end[0] != '\0' || pid <= 0) { 625 "'%s' does not contain a valid pid", pd 638 pid_t pid; local 717 pid_t pid; local [all...] |
H A D | dt_proc.c | 154 dt_dprintf("pid %d: spurious breakpoint wakeup for %lx\n", 159 dt_dprintf("pid %d: hit breakpoint at %lx (%lu)\n", 263 dt_dprintf("pid %d: breakpoint at %s()\n", (int)dpr->dpr_pid, fname); 274 dt_dprintf("pid %d: failed to get %s event message: %s\n", 279 dt_dprintf("pid %d: rtld event %s type=%d state %d\n", 311 dt_dprintf("pid %d: failed to get event address for %s: %s\n", 317 dt_dprintf("pid %d: event %s has unexpected type %d\n", 353 dt_dprintf("pid %d: failed to enable rtld events: %s\n", 365 dt_dprintf("pid %d: failed to find a.out`main: %s\n", 458 * PCWSTOP directive directly to the underlying /proc/<pid>/ct 471 int pid = dpr->dpr_pid; local 674 pid_t pid = Pstatus(P)->pr_pid; local 834 int pid = dpr->dpr_pid; local 903 dt_proc_grab(dtrace_hdl_t *dtp, pid_t pid, int flags, int nomonitor) argument 1126 dtrace_proc_grab(dtrace_hdl_t *dtp, pid_t pid, int flags) argument [all...] |
H A D | dt_subr.c | 871 dtrace_uaddr2str(dtrace_hdl_t *dtp, pid_t pid, argument 879 if (pid != 0) 880 P = dt_proc_grab(dtp, pid, PGRAB_RDONLY | PGRAB_FORCE, 0);
|
/illumos-gate/usr/src/lib/libsocket/inet/ |
H A D | rcmd.c | 103 pid_t pid; local 135 pid = getpid(); 217 (void) fcntl(s, F_SETOWN, pid);
|
/illumos-gate/usr/src/lib/libnsl/rpc/ |
H A D | key_call.c | 768 pid_t pid; /* process-id at moment of creation */ member in struct:key_call_private 817 * if pid has changed, destroy client and rebuild 821 (!check_rdev(kcp) || kcp->pid != getpid() || stale)) { 848 kcp->pid = getpid();
|