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

/freebsd-10-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) {
131 kd = kvm_open(nlistf, memf, NULL, O_RDONLY, "dmesg");
/freebsd-10-stable/usr.sbin/trpt/
H A Dtrpt.c90 static int aflag, kflag, memf, follow, sflag, tflag; variable
158 if ((memf = open(core, O_RDONLY)) < 0)
163 (void)klseek(memf, (off_t)nl[N_TCP_DEBX].n_value, L_SET);
164 if (read(memf, (char *)&tcp_debx, sizeof(tcp_debx)) !=
167 (void)klseek(memf, (off_t)nl[N_TCP_DEBUG].n_value, L_SET);
168 if (read(memf, (char *)tcp_debug, sizeof(tcp_debug)) !=
286 (void)klseek(memf, (off_t)nl[N_TCP_DEBX].n_value, L_SET);
287 if (read(memf, (char *)&tcp_debx, sizeof(tcp_debx)) !=
291 (void)klseek(memf, (off_t)nl[N_TCP_DEBUG].n_value, L_SET);
292 if (read(memf, (cha
[all...]
/freebsd-10-stable/usr.bin/fstat/
H A Dfuser.c167 char *ep, *nlistf, *memf; local
173 memf = NULL;
190 memf = optarg;
241 if (memf != NULL)
242 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-10-stable/usr.bin/procstat/
H A Dprocstat.c144 char *nlistf, *memf; local
148 memf = nlistf = NULL;
160 memf = optarg;
268 if (memf != NULL)
269 prstat = procstat_open_kvm(nlistf, memf);
/freebsd-10-stable/usr.bin/bluetooth/btsockstat/
H A Dbtsockstat.c69 static kvm_t * kopen (char const *memf);
110 char *memf = NULL; local
119 memf = optarg;
157 if (memf != NULL)
161 kvmd = kopen(memf);
581 kopen(char const *memf) argument
586 kvmd = kvm_openfiles(NULL, memf, NULL, O_RDONLY, errbuf);
/freebsd-10-stable/tools/tools/umastat/
H A Dumastat.c294 char *memf, *nlistf; local
298 memf = nlistf = NULL;
302 memf = optarg;
316 if (nlistf != NULL && memf == NULL)
319 kvm = kvm_openfiles(nlistf, memf, NULL, 0, errbuf);
/freebsd-10-stable/usr.bin/w/
H A Dw.c136 const char *memf, *nlistf, *p; local
155 memf = _PATH_DEVNULL;
170 memf = optarg;
193 if ((kd = kvm_openfiles(nlistf, memf, NULL, O_RDONLY, errbuf)) == NULL)
/freebsd-10-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-10-stable/usr.bin/netstat/
H A Dmain.c312 static char *nlistf = NULL, *memf = NULL; variable
443 memf = optarg;
522 memf = *argv;
531 live = (nlistf == NULL && memf == NULL);
739 kvmd = kvm_openfiles(nlistf, memf, NULL, O_RDONLY, errbuf);
/freebsd-10-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-10-stable/usr.bin/nfsstat/
H A Dnfsstat.c108 char *memf, *nlistf; local
116 memf = nlistf = NULL;
120 memf = optarg;
189 memf = *argv;
196 if (run_v4 == 0 && (nlistf != NULL || memf != NULL)) {
199 if ((kd = kvm_openfiles(nlistf, memf, NULL, O_RDONLY,
/freebsd-10-stable/lib/libprocstat/
H A Dlibprocstat.h217 struct procstat *procstat_open_kvm(const char *nlistf, const char *memf);
H A Dlibprocstat.c209 procstat_open_kvm(const char *nlistf, const char *memf) argument
220 kd = kvm_openfiles(nlistf, memf, NULL, O_RDONLY, buf);
/freebsd-10-stable/bin/ps/
H A Dps.c182 const char *nlistf, *memf, *fmtstr, *str; local
222 memf = _PATH_DEVNULL;
302 memf = optarg;
446 kd = kvm_openfiles(nlistf, memf, NULL, O_RDONLY, errbuf);
/freebsd-10-stable/usr.bin/vmstat/
H A Dvmstat.c180 char *memf, *nlistf; local
183 memf = nlistf = NULL;
211 memf = optarg;
262 if (memf != NULL) {
263 kd = kvm_openfiles(nlistf, memf, NULL, O_RDONLY, errbuf);
/freebsd-10-stable/contrib/ipfilter/tools/
H A Dipfstat.c230 char *memf = NULL; local
268 memf = optarg;
299 if (kern != NULL || memf != NULL) {
307 if (openkmem(kern, memf) == -1)

Completed in 298 milliseconds