Searched refs:memf (Results 1 - 16 of 16) sorted by relevance

/freebsd-13-stable/sbin/dmesg/
H A Ddmesg.c81 char *bp, *ep, *memf, *nextp, *nlistf, *p, *q, *visbp; local
91 memf = nlistf = NULL;
101 memf = optarg;
114 if (memf == NULL) {
137 kd = kvm_open(nlistf, memf, NULL, O_RDONLY, "dmesg");
/freebsd-13-stable/usr.sbin/trpt/
H A Dtrpt.c94 static int aflag, kflag, memf, follow, sflag; 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)) !=
289 (void)klseek(memf, (off_t)nl[N_TCP_DEBX].n_value, L_SET);
290 if (read(memf, (char *)&tcp_debx, sizeof(tcp_debx)) !=
294 (void)klseek(memf, (off_t)nl[N_TCP_DEBUG].n_value, L_SET);
295 if (read(memf, (cha
[all...]
/freebsd-13-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.c82 static char *memf, *nlistf; variable
114 nlistf = memf = NULL;
121 memf = optarg;
177 if (memf != NULL)
178 procstat = procstat_open_kvm(nlistf, memf);
/freebsd-13-stable/usr.bin/bluetooth/btsockstat/
H A Dbtsockstat.c72 static kvm_t * kopen (char const *memf);
113 char *memf = NULL; local
122 memf = optarg;
160 if (memf != NULL)
164 kvmd = kopen(memf);
584 kopen(char const *memf) argument
589 kvmd = kvm_openfiles(NULL, memf, NULL, O_RDONLY, errbuf);
/freebsd-13-stable/tools/tools/umastat/
H A Dumastat.c289 char *memf, *nlistf; local
293 memf = nlistf = NULL;
297 memf = optarg;
311 if (nlistf != NULL && memf == NULL)
314 kvm = kvm_openfiles(nlistf, memf, NULL, 0, errbuf);
/freebsd-13-stable/usr.bin/procstat/
H A Dprocstat.c292 char *dummy, *nlistf, *memf; local
300 memf = nlistf = NULL;
373 memf = optarg;
456 if (memf != NULL)
457 prstat = procstat_open_kvm(nlistf, memf);
/freebsd-13-stable/usr.bin/w/
H A Dw.c144 const char *memf, *nlistf, *p, *save_p; local
167 memf = _PATH_DEVNULL;
182 memf = optarg;
205 if ((kd = kvm_openfiles(nlistf, memf, NULL, O_RDONLY, errbuf)) == NULL)
/freebsd-13-stable/usr.sbin/pstat/
H A Dpstat.c105 static char *memf; variable
161 memf = optarg;
188 if (memf != NULL) {
189 kd = kvm_openfiles(nlistf, memf, NULL, O_RDONLY, buf);
/freebsd-13-stable/usr.bin/netstat/
H A Dmain.c202 static char *nlistf = NULL, *memf = NULL; variable
347 memf = optarg;
434 memf = *argv;
443 live = (nlistf == NULL && memf == NULL);
708 kvmd = kvm_openfiles(nlistf, memf, NULL, O_RDONLY, errbuf);
/freebsd-13-stable/usr.sbin/iostat/
H A Diostat.c184 char *memf = NULL, *nlistf = NULL; local
226 memf = optarg;
273 if (nlistf != NULL || memf != NULL) {
274 kd = kvm_openfiles(nlistf, memf, NULL, O_RDONLY, errbuf);
/freebsd-13-stable/lib/libprocstat/
H A Dlibprocstat.h230 struct procstat *procstat_open_kvm(const char *nlistf, const char *memf);
H A Dlibprocstat.c217 procstat_open_kvm(const char *nlistf, const char *memf) argument
228 kd = kvm_openfiles(nlistf, memf, NULL, O_RDONLY, buf);
/freebsd-13-stable/usr.bin/vmstat/
H A Dvmstat.c216 char *bp, *buf, *memf, *nlistf; local
223 memf = nlistf = NULL;
256 memf = optarg;
302 if (memf != NULL) {
303 kd = kvm_openfiles(nlistf, memf, NULL, O_RDONLY, errbuf);
/freebsd-13-stable/bin/ps/
H A Dps.c185 const char *nlistf, *memf, *str; local
241 memf = _PATH_DEVNULL;
326 memf = optarg;
469 kd = kvm_openfiles(nlistf, memf, NULL, O_RDONLY, errbuf);
/freebsd-13-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 115 milliseconds