HomeSort by: relevance | last modified time | path
    Searched defs:nlistf (Results 1 - 12 of 12) sorted by relevancy

  /src/usr.sbin/mlxctl/
main.c 55 const char *nlistf; variable in typeref:typename:const char *
  /src/sbin/dmesg/
dmesg.c 154 char *memf, *nlistf; local in function:main
179 memf = nlistf = NULL;
189 nlistf = optarg;
227 kd = kvm_open(nlistf, memf, NULL, O_RDONLY, "dmesg");
233 errx(1, "%s: msgbufp not found", nlistf ? nlistf :
  /src/usr.bin/nfsstat/
nfsstat.c 116 char *memf, *nlistf; local in function:main
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))
  /src/usr.bin/systat/
main.c 66 char *nlistf = NULL; variable in typeref:typename:char *
115 nlistf = optarg;
177 if (nlistf != NULL || memf != NULL)
182 kd = kvm_openfiles(nlistf, memf, NULL, O_RDONLY, errbuf);
187 if (nlistf == NULL && memf == NULL)
  /src/usr.sbin/crash/
crash.c 347 const char *nlistf, *memf; local in function:main
356 nlistf = _PATH_KSYMS;
372 nlistf = optarg;
392 kd = kvm_open(nlistf, memf, NULL, flags, getprogname());
396 fd = open(nlistf, O_RDONLY);
398 err(EXIT_FAILURE, "open `%s'", nlistf);
401 err(EXIT_FAILURE, "stat `%s'", nlistf);
411 err(EXIT_FAILURE, "read `%s'", nlistf);
420 err(EXIT_FAILURE, "mmap `%s'", nlistf);
  /src/usr.bin/w/
w.c 138 char *memf, *nlistf, *usrnp; local in function:main
165 memf = nlistf = NULL;
182 nlistf = optarg;
197 use_sysctl = (memf == NULL && nlistf == NULL);
199 if ((kd = kvm_openfiles(nlistf, memf, NULL,
  /src/usr.sbin/lockstat/
main.c 172 const char *nlistf, *outf; local in function:main
179 nlistf = NULL;
203 nlistf = optarg;
270 if (nlistf == NULL) {
272 nlistf = getbootfile();
276 if ((nlfd = open(nlistf, O_RDONLY)) < 0)
278 nlistf);
  /src/bin/ps/
ps.c 212 char *nlistf, *memf, *swapf, errbuf[_POSIX2_LINE_MAX]; local in function:main
232 memf = nlistf = swapf = NULL;
299 nlistf = optarg;
396 nlistf = *argv;
409 kd = kvm_openfiles(nlistf, memf, swapf, O_RDONLY, errbuf);
  /src/usr.sbin/pstat/
pstat.c 110 char *nlistf = NULL; variable in typeref:typename:char *
205 nlistf = optarg;
247 if (nlistf != NULL || memf != NULL)
252 use_sysctl = (nlistf == NULL && memf == NULL);
254 if ((kd = kvm_openfiles(nlistf, memf, NULL, O_RDONLY, buf)) == 0)
258 if (nlistf == NULL && memf == NULL)
  /src/usr.bin/netstat/
main.c 327 static const char *nlistf = NULL, *memf = NULL; variable in typeref:typename:const char *
336 if ((kvmd = prepare_kvmd(nlistf, memf, buf)) == NULL)
480 nlistf = optarg;
551 nlistf = *argv;
558 prepare(nlistf, memf, tp);
  /src/usr.bin/fstat/
fstat.c 192 char *memf, *nlistf; local in function:main
200 nlistf = memf = NULL;
210 nlistf = optarg;
276 if (nlistf != NULL || memf != NULL)
281 if ((kd = kvm_openfiles(nlistf, memf, NULL, O_RDONLY, buf)) == NULL)
285 if (nlistf == NULL && memf == NULL)
  /src/usr.bin/vmstat/
vmstat.c 323 char *nlistf, *memf; variable in typeref:typename:char *
345 memf = nlistf = NULL;
385 nlistf = optarg;
425 kd = kvm_openfiles(nlistf, memf, NULL, O_RDONLY, errbuf);

Completed in 19 milliseconds