/netbsd-6-1-5-RELEASE/usr.sbin/mlxctl/ |
H A D | extern.h | 37 extern const char *nlistf;
|
H A D | main.c | 55 const char *nlistf; variable
|
H A D | dklist.c | 181 if ((kd = kvm_openfiles(nlistf, memf, NULL, O_RDONLY, errbuf)) == NULL)
|
/netbsd-6-1-5-RELEASE/sbin/dmesg/ |
H A D | dmesg.c | 79 char *memf, *nlistf; local 84 memf = nlistf = NULL; 91 nlistf = optarg; 125 kd = kvm_open(nlistf, memf, NULL, O_RDONLY, "dmesg"); 131 errx(1, "%s: msgbufp not found", nlistf ? nlistf :
|
/netbsd-6-1-5-RELEASE/usr.bin/systat/ |
H A D | main.c | 73 char *nlistf = NULL; variable 118 nlistf = optarg; 174 if (nlistf != NULL || memf != NULL) 179 kd = kvm_openfiles(nlistf, memf, NULL, O_RDONLY, errbuf); 186 if (nlistf == NULL && memf == NULL) 190 if (nlistf) 191 errx(1, "%s: no namelist", nlistf);
|
/netbsd-6-1-5-RELEASE/usr.sbin/crash/ |
H A D | crash.c | 326 const char *nlistf, *memf; local 335 nlistf = _PATH_KSYMS; 350 nlistf = optarg; 367 kd = kvm_open(nlistf, memf, NULL, O_RDONLY, getprogname()); 371 fd = open(nlistf, O_RDONLY); 373 err(EXIT_FAILURE, "open `%s'", nlistf); 376 err(EXIT_FAILURE, "stat `%s'", nlistf); 386 err(EXIT_FAILURE, "read `%s'", nlistf); 395 err(EXIT_FAILURE, "mmap `%s'", nlistf);
|
/netbsd-6-1-5-RELEASE/usr.bin/nfsstat/ |
H A D | nfsstat.c | 116 char *memf, *nlistf; local 120 memf = nlistf = NULL; 128 nlistf = optarg; 153 nlistf = *argv; 159 if (nlistf || memf) { 160 if ((kd = kvm_openfiles(nlistf, memf, NULL, O_RDONLY, errbuf))
|
/netbsd-6-1-5-RELEASE/usr.sbin/lockstat/ |
H A D | main.c | 165 const char *nlistf, *outf; local 172 nlistf = NULL; 196 nlistf = optarg; 260 if (nlistf == NULL) { 262 nlistf = getbootfile(); 266 if ((nlfd = open(nlistf, O_RDONLY)) < 0) 268 nlistf);
|
/netbsd-6-1-5-RELEASE/bin/ps/ |
H A D | ps.c | 204 char *nlistf, *memf, *swapf, errbuf[_POSIX2_LINE_MAX]; local 224 memf = nlistf = swapf = NULL; 276 nlistf = optarg; 373 nlistf = *argv; 386 kd = kvm_openfiles(nlistf, memf, swapf, O_RDONLY, errbuf);
|
/netbsd-6-1-5-RELEASE/usr.bin/w/ |
H A D | w.c | 139 char *memf, *nlistf, *p, *x, *usrnp; local 166 memf = nlistf = NULL; 180 nlistf = optarg; 195 use_sysctl = (memf == NULL && nlistf == NULL); 197 if ((kd = kvm_openfiles(nlistf, memf, NULL,
|
/netbsd-6-1-5-RELEASE/usr.bin/netstat/ |
H A D | main.c | 356 static const char *nlistf = NULL, *memf = NULL; variable 365 if ((kvmd = prepare_kvmd(nlistf, memf, buf)) == NULL) 528 nlistf = optarg; 599 nlistf = *argv; 606 prepare(nlistf, memf, tp);
|
/netbsd-6-1-5-RELEASE/usr.sbin/iostat/ |
H A D | iostat.c | 95 char *nlistf, *memf; variable 157 nlistf = optarg;
|
/netbsd-6-1-5-RELEASE/usr.sbin/pstat/ |
H A D | pstat.c | 107 char *nlistf = NULL; variable 203 nlistf = optarg; 245 if (nlistf != NULL || memf != NULL) 250 use_sysctl = (nlistf == NULL && memf == NULL); 252 if ((kd = kvm_openfiles(nlistf, memf, NULL, O_RDONLY, buf)) == 0) 256 if (nlistf == NULL && memf == NULL)
|
/netbsd-6-1-5-RELEASE/usr.bin/fstat/ |
H A D | fstat.c | 187 char *memf, *nlistf; local 195 nlistf = memf = NULL; 205 nlistf = optarg; 261 if (nlistf != NULL || memf != NULL) 266 if ((kd = kvm_openfiles(nlistf, memf, NULL, O_RDONLY, buf)) == NULL) 270 if (nlistf == NULL && memf == NULL)
|
/netbsd-6-1-5-RELEASE/usr.bin/vmstat/ |
H A D | drvstats.c | 71 /* Kernel pointers: nlistf and memf defined in calling program. */ 73 extern char *nlistf; 356 if ((kd = kvm_openfiles(nlistf, memf, NULL, O_RDONLY,
|
H A D | vmstat.c | 329 char *nlistf, *memf; variable 350 memf = nlistf = NULL; 390 nlistf = optarg; 430 if (nlistf != NULL || memf != NULL) 435 kd = kvm_openfiles(nlistf, memf, NULL, O_RDONLY, kvm_errbuf); 437 if (nlistf != NULL || memf != NULL) { 442 if (nlistf == NULL && memf == NULL)
|
/netbsd-6-1-5-RELEASE/libexec/rpc.rstatd/ |
H A D | rstat_proc.c | 104 char *memf = NULL, *nlistf = NULL; variable
|