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

/freebsd-11-stable/sbin/dmesg/
H A Ddmesg.c79 char *bp, *ep, *memf, *nextp, *nlistf, *p, *q, *visbp; local
89 memf = nlistf = NULL;
102 nlistf = optarg;
135 kd = kvm_open(nlistf, memf, NULL, O_RDONLY, "dmesg");
142 nlistf ? nlistf : "namelist");
/freebsd-11-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.c76 static char *memf, *nlistf; variable
108 nlistf = memf = NULL;
118 nlistf = optarg;
169 procstat = procstat_open_kvm(nlistf, memf);
/freebsd-11-stable/usr.bin/procstat/
H A Dprocstat.c161 char *nlistf, *memf; local
166 memf = nlistf = NULL;
184 nlistf = optarg;
309 prstat = procstat_open_kvm(nlistf, memf);
/freebsd-11-stable/tools/tools/umastat/
H A Dumastat.c293 char *memf, *nlistf; local
297 memf = nlistf = NULL;
304 nlistf = optarg;
315 if (nlistf != NULL && memf == NULL)
318 kvm = kvm_openfiles(nlistf, memf, NULL, 0, errbuf);
/freebsd-11-stable/usr.bin/netstat/
H A Dmain.c200 static char *nlistf = NULL, *memf = NULL; variable
340 nlistf = optarg;
410 nlistf = *argv;
421 live = (nlistf == NULL && memf == NULL);
671 kvmd = kvm_openfiles(nlistf, memf, NULL, O_RDONLY, errbuf);
697 if (nlistf)
698 xo_errx(1, "%s: kvm_nlist: %s", nlistf,
/freebsd-11-stable/usr.bin/w/
H A Dw.c139 const char *memf, *nlistf, *p, *save_p; local
163 nlistf = NULL;
180 nlistf = optarg;
200 if ((kd = kvm_openfiles(nlistf, memf, NULL, O_RDONLY, errbuf)) == NULL)
/freebsd-11-stable/usr.sbin/pstat/
H A Dpstat.c100 static char *nlistf; variable
160 nlistf = optarg;
185 kd = kvm_openfiles(nlistf, memf, NULL, O_RDONLY, buf);
/freebsd-11-stable/usr.sbin/iostat/
H A Diostat.c182 char *memf = NULL, *nlistf = NULL; local
234 nlistf = optarg;
271 if (nlistf != NULL || memf != NULL) {
272 kd = kvm_openfiles(nlistf, memf, NULL, O_RDONLY, errbuf);
/freebsd-11-stable/lib/libprocstat/
H A Dlibprocstat.h225 struct procstat *procstat_open_kvm(const char *nlistf, const char *memf);
H A Dlibprocstat.c211 procstat_open_kvm(const char *nlistf, const char *memf) argument
222 kd = kvm_openfiles(nlistf, memf, NULL, O_RDONLY, buf);
/freebsd-11-stable/usr.bin/nfsstat/
H A Dnfsstat.c151 char *memf, *nlistf; local
158 memf = nlistf = NULL;
186 nlistf = optarg;
234 nlistf = *argv;
/freebsd-11-stable/usr.bin/vmstat/
H A Dvmstat.c162 char *bp, *buf, *memf, *nlistf; local
168 memf = nlistf = NULL;
207 nlistf = optarg;
248 kd = kvm_openfiles(nlistf, memf, NULL, O_RDONLY, errbuf);
/freebsd-11-stable/bin/ps/
H A Dps.c183 const char *nlistf, *memf, *str; local
226 nlistf = NULL;
316 nlistf = optarg;
453 kd = kvm_openfiles(nlistf, memf, NULL, O_RDONLY, errbuf);

Completed in 1209 milliseconds