Searched refs:memf (Results 1 - 17 of 17) 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;
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 Dtrpt.c90 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 Dfuser.c169 char *ep, *nlistf, *memf; local
175 memf = NULL;
192 memf = optarg;
243 if (memf != NULL)
244 procstat = procstat_open_kvm(nlistf, memf);
H A Dfstat.c76 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 Dprocstat.c161 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 Dbtsockstat.c71 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 Dumastat.c293 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 Dpstat.c101 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 Dw.c139 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 Dmain.c200 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 Diostat.c182 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 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/vmstat/
H A Dvmstat.c162 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 Dnfsstat.c151 char *memf, *nlistf; local
158 memf = nlistf = NULL;
162 memf = optarg;
236 memf = *argv;
/freebsd-11-stable/bin/ps/
H A Dps.c183 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 Dipfstat.c200 char *memf = NULL; local
238 memf = optarg;
269 if (kern != NULL || memf != NULL) {
277 if (openkmem(kern, memf) == -1)

Completed in 150 milliseconds