Searched refs:wf (Results 1 - 21 of 21) sorted by relevance

/freebsd-11.0-release/tools/tools/mwl/mwlstats/
H A Dmain.c66 struct mwlstatfoo *wf; local
69 wf = mwlstats_new("mwl0", S_DEFAULT);
73 wf->setifname(wf, optarg);
76 wf->print_fields(wf, stdout);
79 wf->setfmt(wf, optarg);
99 wf->print_header(wf, stdou
[all...]
H A Dmwlstats.c256 struct mwlstatfoo_p *wf = (struct mwlstatfoo_p *) wf0; local
258 strncpy(wf->ifr.ifr_name, ifname, sizeof (wf->ifr.ifr_name));
262 mwl_collect(struct mwlstatfoo_p *wf, struct mwl_stats *stats) argument
264 wf->ifr.ifr_data = (caddr_t) stats;
265 if (ioctl(wf->s, SIOCGMVSTATS, &wf->ifr) < 0)
266 err(1, "%s: ioctl: %s", __func__, wf->ifr.ifr_name);
272 struct mwlstatfoo_p *wf = (struct mwlstatfoo_p *) sf; local
274 mwl_collect(wf,
280 struct mwlstatfoo_p *wf = (struct mwlstatfoo_p *) sf; local
288 struct mwlstatfoo_p *wf = (struct mwlstatfoo_p *) sf; local
307 struct mwlstatfoo_p *wf = (struct mwlstatfoo_p *) sf; local
413 struct mwlstatfoo_p *wf = (struct mwlstatfoo_p *) sf; local
517 struct mwlstatfoo_p *wf = (struct mwlstatfoo_p *) sf; local
549 struct mwlstatfoo_p *wf; local
[all...]
/freebsd-11.0-release/tools/tools/ath/athaggrstats/
H A Dmain.c86 struct athaggrstatfoo *wf; local
93 wf = athaggrstats_new(ifname, getfmt("default"));
100 wf->setifname(wf, optarg);
103 wf->print_fields(wf, stdout);
106 wf->setfmt(wf, getfmt(optarg));
109 wf->zerostats(wf);
[all...]
H A Dathaggrstats.c164 struct athaggrstatfoo_p *wf = (struct athaggrstatfoo_p *) wf0; local
166 strncpy(wf->ifr.ifr_name, ifname, sizeof (wf->ifr.ifr_name));
173 struct athaggrstatfoo_p *wf = (struct athaggrstatfoo_p *) wf0;
175 if (ioctl(wf->s, SIOCZATHSTATS, &wf->ifr) < 0)
176 err(-1, wf->ifr.ifr_name);
181 ath_collect(struct athaggrstatfoo_p *wf, struct ath_tx_aggr_stats *stats) argument
183 wf->ifr.ifr_data = (caddr_t) stats;
184 if (ioctl(wf
191 struct athaggrstatfoo_p *wf = (struct athaggrstatfoo_p *) sf; local
199 struct athaggrstatfoo_p *wf = (struct athaggrstatfoo_p *) sf; local
207 struct athaggrstatfoo_p *wf = (struct athaggrstatfoo_p *) sf; local
226 struct athaggrstatfoo_p *wf = (struct athaggrstatfoo_p *) sf; local
282 struct athaggrstatfoo_p *wf = (struct athaggrstatfoo_p *) sf; local
338 struct athaggrstatfoo_p *wf = (struct athaggrstatfoo_p *) sf; local
373 struct athaggrstatfoo_p *wf; local
[all...]
/freebsd-11.0-release/tools/tools/ath/athstats/
H A Dmain.c91 struct athstatfoo *wf; local
98 wf = athstats_new(ifname, getfmt("default"));
105 wf->setifname(wf, optarg);
108 wf->print_fields(wf, stdout);
111 wf->setfmt(wf, getfmt(optarg));
114 wf->zerostats(wf);
[all...]
H A Dathstats.c457 struct athstatfoo_p *wf = (struct athstatfoo_p *) wf0; local
459 ath_driver_req_close(&wf->req);
460 (void) ath_driver_req_open(&wf->req, ifname);
462 strncpy(wf->atd.ad_name, ifname, sizeof (wf->atd.ad_name));
463 wf->optstats |= ATHSTATS_ANI;
470 struct athstatfoo_p *wf = (struct athstatfoo_p *) wf0; local
472 if (ath_driver_req_zero_stats(&wf->req) < 0)
477 ath_collect(struct athstatfoo_p *wf, struct _athstats *stats) argument
480 if (ath_driver_req_fetch_stats(&wf
507 struct athstatfoo_p *wf = (struct athstatfoo_p *) sf; local
515 struct athstatfoo_p *wf = (struct athstatfoo_p *) sf; local
523 struct athstatfoo_p *wf = (struct athstatfoo_p *) sf; local
542 struct athstatfoo_p *wf = (struct athstatfoo_p *) sf; local
788 struct athstatfoo_p *wf = (struct athstatfoo_p *) sf; local
1033 struct athstatfoo_p *wf = (struct athstatfoo_p *) sf; local
1069 struct athstatfoo_p *wf; local
[all...]
/freebsd-11.0-release/tools/tools/npe/npestats/
H A Dmain.c73 struct npestatfoo *wf; local
80 wf = npestats_new(ifname, getfmt("default"));
87 wf->setifname(wf, optarg);
90 wf->print_fields(wf, stdout);
93 wf->setfmt(wf, getfmt(optarg));
114 wf->print_header(wf, stdou
[all...]
H A Dnpestats.c136 struct npestatfoo_p *wf = (struct npestatfoo_p *) wf0; local
139 snprintf(wf->oid, sizeof(wf->oid), "dev.npe.%s.stats", ifname+3);
141 if (sysctlnametomib(wf->oid, wf->mib, &len) < 0)
142 err(1, "sysctlnametomib: %s", wf->oid);
146 npe_collect(struct npestatfoo_p *wf, struct npestats *stats) argument
149 if (sysctl(wf->mib, 4, stats, &len, NULL, 0) < 0)
150 err(1, "sysctl: %s", wf->oid);
156 struct npestatfoo_p *wf local
164 struct npestatfoo_p *wf = (struct npestatfoo_p *) sf; local
172 struct npestatfoo_p *wf = (struct npestatfoo_p *) sf; local
180 struct npestatfoo_p *wf = (struct npestatfoo_p *) sf; local
216 struct npestatfoo_p *wf = (struct npestatfoo_p *) sf; local
254 struct npestatfoo_p *wf; local
[all...]
/freebsd-11.0-release/lib/libbsdstat/
H A Dbsdstat.h92 static void _t##_setfmt(struct _t *wf, const char *fmt0) \
93 { wf->base.setfmt(&wf->base, fmt0); } \
94 static void _t##_collect_cur(struct _t *wf) \
95 { wf->base.collect_cur(&wf->base); } \
96 static void _t##_collect_tot(struct _t *wf) \
97 { wf->base.collect_tot(&wf->base); } \
98 static void _t##_update_tot(struct _t *wf) \
[all...]
/freebsd-11.0-release/tools/tools/net80211/wlanstats/
H A Dmain.c167 struct wlanstatfoo *wf; local
177 wf = wlanstats_new(ifname, getfmt("default"));
187 wf->setifname(wf, optarg);
190 wf->print_fields(wf, stdout);
199 wf->setfmt(wf, getfmt(optarg));
210 mode = wf->getopmode(wf);
[all...]
H A Dwlanstats.c405 struct wlanstatfoo_p *wf = (struct wlanstatfoo_p *) wf0; local
407 strncpy(wf->ifr.ifr_name, ifname, sizeof (wf->ifr.ifr_name));
408 strncpy(wf->ireq.i_name, ifname, sizeof (wf->ireq.i_name));
414 struct wlanstatfoo_p *wf = (struct wlanstatfoo_p *) wf0; local
416 return wf->ifr.ifr_name;
422 struct wlanstatfoo_p *wf = (struct wlanstatfoo_p *) wf0; local
424 if (wf->opmode == -1) {
428 strlcpy(ifmr.ifm_name, wf
447 getlladdr(struct wlanstatfoo_p *wf) argument
467 getbssid(struct wlanstatfoo_p *wf) argument
479 struct wlanstatfoo_p *wf = (struct wlanstatfoo_p *) wf0; local
509 wlan_collect(struct wlanstatfoo_p *wf, struct ieee80211_stats *stats, struct ieee80211req_sta_stats *nstats) argument
538 struct wlanstatfoo_p *wf = (struct wlanstatfoo_p *) sf; local
546 struct wlanstatfoo_p *wf = (struct wlanstatfoo_p *) sf; local
554 struct wlanstatfoo_p *wf = (struct wlanstatfoo_p *) sf; local
632 wlan_getinfo(struct wlanstatfoo_p *wf, int s, char b[], size_t bs) argument
673 struct wlanstatfoo_p *wf = (struct wlanstatfoo_p *) sf; local
838 struct wlanstatfoo_p *wf = (struct wlanstatfoo_p *) sf; local
1003 struct wlanstatfoo_p *wf; local
[all...]
/freebsd-11.0-release/contrib/expat/tests/
H A Dxmltest.sh121 for xmldir in ibm/not-wf/P* \
122 ibm/not-wf/p28a \
123 ibm/not-wf/misc \
124 xmltest/not-wf/ext-sa \
125 xmltest/not-wf/not-sa \
126 xmltest/not-wf/sa \
127 sun/not-wf ; do
/freebsd-11.0-release/release/picobsd/tinyware/msh/
H A Dsh4.c45 char **wf; local
50 wf = NULL;
55 for (wf = ap; *wf; wf++) {
56 if (isassign(*wf))
57 expand(*wf, &wb, f & ~DOGLOB);
/freebsd-11.0-release/usr.bin/newkey/
H A Dupdate.c242 FILE *wf; local
271 wf = fopen(tmpname, "w");
272 if (wf == NULL) {
284 fprintf(wf, "%s %s\n", key, data);
293 fputs(line, wf);
305 fprintf(wf, "%s %s\n", key, data);
309 fclose(wf);
/freebsd-11.0-release/usr.sbin/rpc.ypupdated/
H A Dupdate.c239 FILE *wf; local
268 wf = fopen(tmpname, "w");
269 if (wf == NULL) {
281 fprintf(wf, "%s %s\n", key, data);
290 fputs(line, wf);
302 fprintf(wf, "%s %s\n", key, data);
306 fclose(wf);
/freebsd-11.0-release/usr.bin/jot/tests/
H A Dregress.sh47 REGRESSION_TEST(`wf', `jot -w "a%.1fb" 10')
H A DMakefile52 ${PACKAGE}FILES+= regress.wf.out
/freebsd-11.0-release/sys/geom/
H A Dgeom_event.c189 int wf; local
197 wf = pp->flags & G_PF_WITHER;
219 if (LIST_EMPTY(&pp->consumers) && wf)
222 pp->flags |= wf;
/freebsd-11.0-release/contrib/llvm/include/llvm/ADT/
H A DHashing.h237 uint64_t wf = a + z; local
239 uint64_t r = shift_mix((vf + ws) * k2 + (wf + vs) * k0);
/freebsd-11.0-release/sys/kern/
H A Dsys_pipe.c405 struct file *rf, *wf; local
433 error = falloc_caps(td, &wf, &fd, flags, fcaps2);
441 /* An extra reference on `wf' has been held for us by falloc_caps(). */
442 finit(wf, fflags, DTYPE_PIPE, wpipe, &pipeops);
443 fdrop(wf, td);
/freebsd-11.0-release/usr.sbin/extattr/tests/
H A Dextattr_test.sh357 case `df -T . | tail -n 1 | cut -wf 2` in

Completed in 257 milliseconds