/freebsd-11-stable/sbin/dmesg/ |
H A D | dmesg.c | 79 char *bp, *ep, *memf, *nextp, *nlistf, *p, *q, *visbp; local 89 memf = nlistf = NULL; 99 memf = optarg; 112 if (memf == NULL) { 135 kd = kvm_open(nlistf, memf, NULL, O_RDONLY, "dmesg");
|
/freebsd-11-stable/usr.sbin/trpt/ |
H A D | trpt.c | 90 static int aflag, kflag, memf, follow, sflag, tflag; variable 159 if ((memf = open(core, O_RDONLY)) < 0) 165 (void)klseek(memf, (off_t)nl[N_TCP_DEBX].n_value, L_SET); 166 if (read(memf, (char *)&tcp_debx, sizeof(tcp_debx)) != 169 (void)klseek(memf, (off_t)nl[N_TCP_DEBUG].n_value, L_SET); 170 if (read(memf, (char *)tcp_debug, sizeof(tcp_debug)) != 288 (void)klseek(memf, (off_t)nl[N_TCP_DEBX].n_value, L_SET); 289 if (read(memf, (char *)&tcp_debx, sizeof(tcp_debx)) != 293 (void)klseek(memf, (off_t)nl[N_TCP_DEBUG].n_value, L_SET); 294 if (read(memf, (cha [all...] |
/freebsd-11-stable/usr.bin/fstat/ |
H A D | fuser.c | 169 char *ep, *nlistf, *memf; local 175 memf = NULL; 192 memf = optarg; 243 if (memf != NULL) 244 procstat = procstat_open_kvm(nlistf, memf);
|
H A D | fstat.c | 76 static char *memf, *nlistf; variable 108 nlistf = memf = NULL; 115 memf = optarg; 168 if (memf != NULL) 169 procstat = procstat_open_kvm(nlistf, memf);
|
/freebsd-11-stable/usr.bin/procstat/ |
H A D | procstat.c | 161 char *nlistf, *memf; local 166 memf = nlistf = NULL; 181 memf = optarg; 308 if (memf != NULL) 309 prstat = procstat_open_kvm(nlistf, memf);
|
/freebsd-11-stable/usr.bin/bluetooth/btsockstat/ |
H A D | btsockstat.c | 71 static kvm_t * kopen (char const *memf); 112 char *memf = NULL; local 121 memf = optarg; 159 if (memf != NULL) 163 kvmd = kopen(memf); 583 kopen(char const *memf) argument 588 kvmd = kvm_openfiles(NULL, memf, NULL, O_RDONLY, errbuf);
|
/freebsd-11-stable/tools/tools/umastat/ |
H A D | umastat.c | 293 char *memf, *nlistf; local 297 memf = nlistf = NULL; 301 memf = optarg; 315 if (nlistf != NULL && memf == NULL) 318 kvm = kvm_openfiles(nlistf, memf, NULL, 0, errbuf);
|
/freebsd-11-stable/usr.sbin/pstat/ |
H A D | pstat.c | 101 static char *memf; variable 157 memf = optarg; 184 if (memf != NULL) { 185 kd = kvm_openfiles(nlistf, memf, NULL, O_RDONLY, buf);
|
/freebsd-11-stable/usr.bin/w/ |
H A D | w.c | 139 const char *memf, *nlistf, *p, *save_p; local 162 memf = _PATH_DEVNULL; 177 memf = optarg; 200 if ((kd = kvm_openfiles(nlistf, memf, NULL, O_RDONLY, errbuf)) == NULL)
|
/freebsd-11-stable/usr.bin/netstat/ |
H A D | main.c | 200 static char *nlistf = NULL, *memf = NULL; variable 334 memf = optarg; 412 memf = *argv; 421 live = (nlistf == NULL && memf == NULL); 671 kvmd = kvm_openfiles(nlistf, memf, NULL, O_RDONLY, errbuf);
|
/freebsd-11-stable/usr.sbin/iostat/ |
H A D | iostat.c | 182 char *memf = NULL, *nlistf = NULL; local 224 memf = optarg; 271 if (nlistf != NULL || memf != NULL) { 272 kd = kvm_openfiles(nlistf, memf, NULL, O_RDONLY, errbuf);
|
/freebsd-11-stable/lib/libprocstat/ |
H A D | libprocstat.h | 225 struct procstat *procstat_open_kvm(const char *nlistf, const char *memf);
|
H A D | libprocstat.c | 211 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/vmstat/ |
H A D | vmstat.c | 162 char *bp, *buf, *memf, *nlistf; local 168 memf = nlistf = NULL; 201 memf = optarg; 247 if (memf != NULL) { 248 kd = kvm_openfiles(nlistf, memf, NULL, O_RDONLY, errbuf);
|
/freebsd-11-stable/usr.bin/nfsstat/ |
H A D | nfsstat.c | 151 char *memf, *nlistf; local 158 memf = nlistf = NULL; 162 memf = optarg; 236 memf = *argv;
|
/freebsd-11-stable/bin/ps/ |
H A D | ps.c | 183 const char *nlistf, *memf, *str; local 225 memf = _PATH_DEVNULL; 310 memf = optarg; 453 kd = kvm_openfiles(nlistf, memf, NULL, O_RDONLY, errbuf);
|
/freebsd-11-stable/contrib/ipfilter/tools/ |
H A D | ipfstat.c | 200 char *memf = NULL; local 238 memf = optarg; 269 if (kern != NULL || memf != NULL) { 277 if (openkmem(kern, memf) == -1)
|