/freebsd-10.0-release/sbin/dmesg/ |
H A D | dmesg.c | 79 char *bp, *ep, *memf, *nextp, *nlistf, *p, *q, *visbp; local 89 memf = nlistf = NULL; 102 nlistf = optarg; 128 kd = kvm_open(nlistf, memf, NULL, O_RDONLY, "dmesg"); 135 nlistf ? nlistf : "namelist");
|
/freebsd-10.0-release/usr.bin/procstat/ |
H A D | procstat.c | 123 char *nlistf, *memf; local 127 memf = nlistf = NULL; 138 nlistf = optarg; 237 prstat = procstat_open_kvm(nlistf, memf);
|
/freebsd-10.0-release/usr.bin/fstat/ |
H A D | fuser.c | 167 char *ep, *nlistf, *memf; local 172 nlistf = NULL; 187 nlistf = optarg; 242 procstat = procstat_open_kvm(nlistf, memf);
|
H A D | fstat.c | 76 static char *memf, *nlistf; variable 108 nlistf = memf = NULL; 118 nlistf = optarg; 169 procstat = procstat_open_kvm(nlistf, memf);
|
/freebsd-10.0-release/tools/tools/umastat/ |
H A D | umastat.c | 288 char *memf, *nlistf; local 292 memf = nlistf = NULL; 299 nlistf = optarg; 310 if (nlistf != NULL && memf == NULL) 313 kvm = kvm_openfiles(nlistf, memf, NULL, 0, errbuf);
|
/freebsd-10.0-release/usr.bin/netstat/ |
H A D | main.c | 309 static char *nlistf = NULL, *memf = NULL; variable 431 nlistf = optarg; 499 nlistf = *argv; 510 live = (nlistf == NULL && memf == NULL); 695 kvmd = kvm_openfiles(nlistf, memf, NULL, O_RDONLY, errbuf); 704 if (nlistf) 705 errx(1, "%s: kvm_nlist: %s", nlistf, 712 if (nlistf) 713 errx(1, "%s: no namelist", nlistf);
|
/freebsd-10.0-release/usr.bin/w/ |
H A D | w.c | 136 const char *memf, *nlistf, *p; local 157 nlistf = NULL; 175 nlistf = optarg; 203 if ((kd = kvm_openfiles(nlistf, memf, NULL, O_RDONLY, errbuf)) == NULL)
|
/freebsd-10.0-release/usr.sbin/pstat/ |
H A D | pstat.c | 100 static char *nlistf; variable 160 nlistf = optarg; 187 kd = kvm_openfiles(nlistf, memf, NULL, O_RDONLY, buf);
|
/freebsd-10.0-release/usr.sbin/iostat/ |
H A D | iostat.c | 173 char *memf = NULL, *nlistf = NULL; local 224 nlistf = optarg; 261 if (nlistf != NULL || memf != NULL) { 262 kd = kvm_openfiles(nlistf, memf, NULL, O_RDONLY, errbuf);
|
/freebsd-10.0-release/usr.bin/nfsstat/ |
H A D | nfsstat.c | 108 char *memf, *nlistf; local 116 memf = nlistf = NULL; 144 nlistf = optarg; 187 nlistf = *argv; 196 if (run_v4 == 0 && (nlistf != NULL || memf != NULL)) { 199 if ((kd = kvm_openfiles(nlistf, memf, NULL, O_RDONLY,
|
/freebsd-10.0-release/bin/ps/ |
H A D | ps.c | 178 const char *nlistf, *memf, *fmtstr, *str; local 218 nlistf = NULL; 298 nlistf = optarg; 436 kd = kvm_openfiles(nlistf, memf, NULL, O_RDONLY, errbuf);
|
/freebsd-10.0-release/lib/libprocstat/ |
H A D | libprocstat.h | 217 struct procstat *procstat_open_kvm(const char *nlistf, const char *memf);
|
H A D | libprocstat.c | 209 procstat_open_kvm(const char *nlistf, const char *memf) argument 220 kd = kvm_openfiles(nlistf, memf, NULL, O_RDONLY, buf);
|
/freebsd-10.0-release/usr.bin/vmstat/ |
H A D | vmstat.c | 177 char *memf, *nlistf; local 180 memf = nlistf = NULL; 214 nlistf = optarg; 257 kd = kvm_openfiles(nlistf, memf, NULL, O_RDONLY, errbuf);
|