/freebsd-12-stable/sbin/dmesg/ |
H A D | dmesg.c | 81 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 D | fuser.c | 169 char *ep, *nlistf, *memf; local 174 nlistf = NULL; 189 nlistf = optarg; 244 procstat = procstat_open_kvm(nlistf, memf);
|
H A D | fstat.c | 82 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 D | umastat.c | 289 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 D | main.c | 202 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 D | procstat.c | 290 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 D | w.c | 144 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 D | pstat.c | 102 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 D | iostat.c | 184 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 D | libprocstat.h | 229 struct procstat *procstat_open_kvm(const char *nlistf, const char *memf);
|
H A D | libprocstat.c | 216 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 D | nfsstat.c | 154 char *memf, *nlistf; local 161 memf = nlistf = NULL; 196 nlistf = optarg; 247 nlistf = *argv;
|
/freebsd-12-stable/bin/ps/ |
H A D | ps.c | 185 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 D | vmstat.c | 216 char *bp, *buf, *memf, *nlistf; local 223 memf = nlistf = NULL; 262 nlistf = optarg; 303 kd = kvm_openfiles(nlistf, memf, NULL, O_RDONLY, errbuf);
|