Searched refs:nlistf (Results 1 - 14 of 14) sorted by relevance

/freebsd-12-stable/sbin/dmesg/
H A Ddmesg.c81 char *bp, *ep, *memf, *nextp, *nlistf, *p, *q, *visbp; local
91 memf = nlistf = NULL;
104 nlistf = optarg;
137 kd = kvm_open(nlistf, memf, NULL, O_RDONLY, "dmesg");
144 nlistf ? nlistf : "namelist");
/freebsd-12-stable/usr.bin/fstat/
H A Dfuser.c169 char *ep, *nlistf, *memf; local
174 nlistf = NULL;
189 nlistf = optarg;
244 procstat = procstat_open_kvm(nlistf, memf);
H A Dfstat.c82 static char *memf, *nlistf; variable
114 nlistf = memf = NULL;
124 nlistf = optarg;
178 procstat = procstat_open_kvm(nlistf, memf);
/freebsd-12-stable/tools/tools/umastat/
H A Dumastat.c289 char *memf, *nlistf; local
293 memf = nlistf = NULL;
300 nlistf = optarg;
311 if (nlistf != NULL && memf == NULL)
314 kvm = kvm_openfiles(nlistf, memf, NULL, 0, errbuf);
/freebsd-12-stable/usr.bin/netstat/
H A Dmain.c202 static char *nlistf = NULL, *memf = NULL; variable
351 nlistf = optarg;
424 nlistf = *argv;
435 live = (nlistf == NULL && memf == NULL);
684 kvmd = kvm_openfiles(nlistf, memf, NULL, O_RDONLY, errbuf);
710 if (nlistf)
711 xo_errx(1, "%s: kvm_nlist: %s", nlistf,
/freebsd-12-stable/usr.bin/procstat/
H A Dprocstat.c290 char *dummy, *nlistf, *memf; local
298 memf = nlistf = NULL;
374 nlistf = optarg;
455 prstat = procstat_open_kvm(nlistf, memf);
/freebsd-12-stable/usr.bin/w/
H A Dw.c144 const char *memf, *nlistf, *p, *save_p; local
168 nlistf = NULL;
185 nlistf = optarg;
205 if ((kd = kvm_openfiles(nlistf, memf, NULL, O_RDONLY, errbuf)) == NULL)
/freebsd-12-stable/usr.sbin/pstat/
H A Dpstat.c102 static char *nlistf; variable
162 nlistf = optarg;
187 kd = kvm_openfiles(nlistf, memf, NULL, O_RDONLY, buf);
/freebsd-12-stable/usr.sbin/iostat/
H A Diostat.c184 char *memf = NULL, *nlistf = NULL; local
236 nlistf = optarg;
273 if (nlistf != NULL || memf != NULL) {
274 kd = kvm_openfiles(nlistf, memf, NULL, O_RDONLY, errbuf);
/freebsd-12-stable/lib/libprocstat/
H A Dlibprocstat.h229 struct procstat *procstat_open_kvm(const char *nlistf, const char *memf);
H A Dlibprocstat.c216 procstat_open_kvm(const char *nlistf, const char *memf) argument
227 kd = kvm_openfiles(nlistf, memf, NULL, O_RDONLY, buf);
/freebsd-12-stable/usr.bin/nfsstat/
H A Dnfsstat.c154 char *memf, *nlistf; local
161 memf = nlistf = NULL;
196 nlistf = optarg;
247 nlistf = *argv;
/freebsd-12-stable/bin/ps/
H A Dps.c185 const char *nlistf, *memf, *str; local
242 nlistf = NULL;
332 nlistf = optarg;
469 kd = kvm_openfiles(nlistf, memf, NULL, O_RDONLY, errbuf);
/freebsd-12-stable/usr.bin/vmstat/
H A Dvmstat.c216 char *bp, *buf, *memf, *nlistf; local
223 memf = nlistf = NULL;
262 nlistf = optarg;
303 kd = kvm_openfiles(nlistf, memf, NULL, O_RDONLY, errbuf);

Completed in 212 milliseconds