Searched refs:procdir (Results 1 - 8 of 8) sorted by relevance

/illumos-gate/usr/src/uts/common/os/
H A Dpid.c96 static union procent *procdir; variable in typeref:union:procent
211 pidp->pid_prslot = pep - procdir;
260 procdir[pidp->pid_prslot].pe_next = procentfree;
261 procentfree = &procdir[pidp->pid_prslot];
336 p = procdir[pidp->pid_prslot].pe_proc;
533 procdir = kmem_alloc(sizeof (union procent) * v.v_proc, KM_SLEEP);
540 procdir[0].pe_proc = proc_sched;
542 procentfree = &procdir[1];
544 procdir[i].pe_next = &procdir[
[all...]
/illumos-gate/usr/src/lib/libproc/common/
H A Dproc_arg.c428 DIR *procdir; local
446 if ((procdir = opendir(procfs_path)) == NULL)
448 while (dirent = readdir(procdir)) {
506 (void) closedir(procdir);
/illumos-gate/usr/src/cmd/priocntl/
H A Dsubr.c58 static char *procdir = "/proc"; variable
334 if ((dirp = opendir(procdir)) == NULL)
336 basenm, procdir);
343 procdir, dentp->d_name);
H A Dpriocntl.c82 static char *procdir = "/proc"; variable
547 if ((dirp = opendir(procdir)) == NULL)
549 cmdpath, procdir);
556 procdir, dentp->d_name);
813 if ((dirp = opendir(procdir)) == NULL)
815 cmdpath, procdir);
822 procdir, dentp->d_name);
/illumos-gate/usr/src/cmd/ps/
H A Ducbps.c130 static char *procdir = "/proc"; /* standard /proc directory */ variable
388 if ((dirp = opendir(procdir)) == NULL) {
390 procdir);
394 (void) strcpy(psname, procdir);
H A Dps.c289 static char *procdir = "/proc"; /* standard /proc directory */ variable
743 "%s/self/psinfo", procdir);
906 if ((dirp = opendir(procdir)) == NULL) {
909 procdir);
938 pdlen = snprintf(pname, sizeof (pname), "%s/%s/", procdir, pid_name);
/illumos-gate/usr/src/cmd/prstat/
H A Dprstat.c897 prstat_scandir(DIR *procdir) argument
922 for (rewinddir(procdir); (direntp = readdir(procdir)); ) {
1372 DIR *procdir; local
1578 if ((procdir = opendir("/proc")) == NULL)
1627 prstat_scandir(procdir);
/illumos-gate/usr/src/cmd/mdb/common/modules/mdb_ks/
H A Dmdb_ks.c556 uintptr_t paddr, pidhash, procdir; local
565 if (mdb_readvar(&procdir, "procdir") == -1)
581 if (mdb_vread(&procp, sizeof (procp), procdir +

Completed in 83 milliseconds