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

12

/freebsd-10.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 Dstatfoo.h91 static void _t##_setfmt(struct _t *wf, const char *fmt0) \
92 { wf->base.setfmt(&wf->base, fmt0); } \
93 static void _t##_collect_cur(struct _t *wf) \
94 { wf->base.collect_cur(&wf->base); } \
95 static void _t##_collect_tot(struct _t *wf) \
96 { wf->base.collect_tot(&wf->base); } \
97 static void _t##_update_tot(struct _t *wf) \
[all...]
H A Dmwlstats.c254 struct mwlstatfoo_p *wf = (struct mwlstatfoo_p *) wf0; local
256 strncpy(wf->ifr.ifr_name, ifname, sizeof (wf->ifr.ifr_name));
260 mwl_collect(struct mwlstatfoo_p *wf, struct mwl_stats *stats) argument
262 wf->ifr.ifr_data = (caddr_t) stats;
263 if (ioctl(wf->s, SIOCGMVSTATS, &wf->ifr) < 0)
264 err(1, wf->ifr.ifr_name);
270 struct mwlstatfoo_p *wf = (struct mwlstatfoo_p *) sf; local
272 mwl_collect(wf,
278 struct mwlstatfoo_p *wf = (struct mwlstatfoo_p *) sf; local
286 struct mwlstatfoo_p *wf = (struct mwlstatfoo_p *) sf; local
305 struct mwlstatfoo_p *wf = (struct mwlstatfoo_p *) sf; local
411 struct mwlstatfoo_p *wf = (struct mwlstatfoo_p *) sf; local
515 struct mwlstatfoo_p *wf = (struct mwlstatfoo_p *) sf; local
548 struct mwlstatfoo_p *wf; local
[all...]
/freebsd-10.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 Dstatfoo.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...]
H A Dathaggrstats.c162 struct athaggrstatfoo_p *wf = (struct athaggrstatfoo_p *) wf0; local
164 strncpy(wf->ifr.ifr_name, ifname, sizeof (wf->ifr.ifr_name));
171 struct athaggrstatfoo_p *wf = (struct athaggrstatfoo_p *) wf0;
173 if (ioctl(wf->s, SIOCZATHSTATS, &wf->ifr) < 0)
174 err(-1, wf->ifr.ifr_name);
179 ath_collect(struct athaggrstatfoo_p *wf, struct ath_tx_aggr_stats *stats) argument
181 wf->ifr.ifr_data = (caddr_t) stats;
182 if (ioctl(wf
189 struct athaggrstatfoo_p *wf = (struct athaggrstatfoo_p *) sf; local
197 struct athaggrstatfoo_p *wf = (struct athaggrstatfoo_p *) sf; local
205 struct athaggrstatfoo_p *wf = (struct athaggrstatfoo_p *) sf; local
224 struct athaggrstatfoo_p *wf = (struct athaggrstatfoo_p *) sf; local
280 struct athaggrstatfoo_p *wf = (struct athaggrstatfoo_p *) sf; local
336 struct athaggrstatfoo_p *wf = (struct athaggrstatfoo_p *) sf; local
372 struct athaggrstatfoo_p *wf; local
[all...]
/freebsd-10.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 Dstatfoo.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...]
H A Dathstats.c481 struct athstatfoo_p *wf = (struct athstatfoo_p *) wf0; local
483 strncpy(wf->ifr.ifr_name, ifname, sizeof (wf->ifr.ifr_name));
485 strncpy(wf->atd.ad_name, ifname, sizeof (wf->atd.ad_name));
486 wf->optstats |= ATHSTATS_ANI;
493 struct athstatfoo_p *wf = (struct athstatfoo_p *) wf0; local
495 if (ioctl(wf->s, SIOCZATHSTATS, &wf->ifr) < 0)
496 err(-1, "ioctl: %s", wf
500 ath_collect(struct athstatfoo_p *wf, struct _athstats *stats) argument
526 struct athstatfoo_p *wf = (struct athstatfoo_p *) sf; local
534 struct athstatfoo_p *wf = (struct athstatfoo_p *) sf; local
542 struct athstatfoo_p *wf = (struct athstatfoo_p *) sf; local
561 struct athstatfoo_p *wf = (struct athstatfoo_p *) sf; local
807 struct athstatfoo_p *wf = (struct athstatfoo_p *) sf; local
1050 struct athstatfoo_p *wf = (struct athstatfoo_p *) sf; local
1087 struct athstatfoo_p *wf; local
[all...]
/freebsd-10.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 Dstatfoo.h91 static void _t##_setfmt(struct _t *wf, const char *fmt0) \
92 { wf->base.setfmt(&wf->base, fmt0); } \
93 static void _t##_collect_cur(struct _t *wf) \
94 { wf->base.collect_cur(&wf->base); } \
95 static void _t##_collect_tot(struct _t *wf) \
96 { wf->base.collect_tot(&wf->base); } \
97 static void _t##_update_tot(struct _t *wf) \
[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
255 struct npestatfoo_p *wf; local
[all...]
/freebsd-10.0-release/tools/tools/net80211/wlanstats/
H A Dstatfoo.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...]
H A Dmain.c159 struct wlanstatfoo *wf; local
169 wf = wlanstats_new(ifname, getfmt("default"));
176 wf->setifname(wf, optarg);
179 wf->print_fields(wf, stdout);
188 wf->setfmt(wf, getfmt(optarg));
198 mode = wf->getopmode(wf);
[all...]
H A Dwlanstats.c403 struct wlanstatfoo_p *wf = (struct wlanstatfoo_p *) wf0; local
405 strncpy(wf->ifr.ifr_name, ifname, sizeof (wf->ifr.ifr_name));
406 strncpy(wf->ireq.i_name, ifname, sizeof (wf->ireq.i_name));
412 struct wlanstatfoo_p *wf = (struct wlanstatfoo_p *) wf0; local
414 return wf->ifr.ifr_name;
420 struct wlanstatfoo_p *wf = (struct wlanstatfoo_p *) wf0; local
422 if (wf->opmode == -1) {
426 strlcpy(ifmr.ifm_name, wf
445 getlladdr(struct wlanstatfoo_p *wf) argument
465 getbssid(struct wlanstatfoo_p *wf) argument
477 struct wlanstatfoo_p *wf = (struct wlanstatfoo_p *) wf0; local
507 wlan_collect(struct wlanstatfoo_p *wf, struct ieee80211_stats *stats, struct ieee80211req_sta_stats *nstats) argument
536 struct wlanstatfoo_p *wf = (struct wlanstatfoo_p *) sf; local
544 struct wlanstatfoo_p *wf = (struct wlanstatfoo_p *) sf; local
552 struct wlanstatfoo_p *wf = (struct wlanstatfoo_p *) sf; local
634 wlan_getinfo(struct wlanstatfoo_p *wf, int s, char b[], size_t bs) argument
674 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-10.0-release/contrib/expat/tests/
H A Dxmltest.sh119 for xmldir in ibm/not-wf/P* \
120 ibm/not-wf/p28a \
121 ibm/not-wf/misc \
122 xmltest/not-wf/ext-sa \
123 xmltest/not-wf/not-sa \
124 xmltest/not-wf/sa \
125 sun/not-wf ; do
/freebsd-10.0-release/contrib/lukemftpd/src/
H A Dlogwtmp.c76 const char *wf = _PATH_WTMP; local
77 if ((fd = open(wf, O_WRONLY|O_APPEND, 0)) == -1)
78 syslog(LOG_ERR, "Cannot open `%s' (%m)", wf);
112 const char *wf = _PATH_WTMPX; local
113 if ((fd = open(wf, O_WRONLY|O_APPEND, 0)) == -1)
114 syslog(LOG_ERR, "Cannot open `%s' (%m)", wf);
/freebsd-10.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-10.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-10.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-10.0-release/tools/regression/usr.bin/jot/
H A Dregress.sh47 REGRESSION_TEST(`wf', `jot -w "a%.1fb" 10')
/freebsd-10.0-release/sys/geom/
H A Dgeom_event.c190 int wf; local
198 wf = pp->flags & G_PF_WITHER;
212 if (LIST_EMPTY(&pp->consumers) && wf)
215 pp->flags |= wf;
/freebsd-10.0-release/sys/kern/
H A Dsys_pipe.c416 struct file *rf, *wf; local
447 error = falloc(td, &wf, &fd, flags);
455 /* An extra reference on `wf' has been held for us by falloc(). */
456 finit(wf, fflags, DTYPE_PIPE, wpipe, &pipeops);
457 fdrop(wf, td);
/freebsd-10.0-release/contrib/llvm/include/llvm/ADT/
H A DHashing.h242 uint64_t wf = a + z; local
244 uint64_t r = shift_mix((vf + ws) * k2 + (wf + vs) * k0);
/freebsd-10.0-release/sys/dev/cxgbe/firmware/
H A Dt4fw-1.9.12.0.bin.uu2642 0DAAAAgwAAAMNAAACNAAAAAAAIkUOwAACDSQAAAAMAAA/wf//wVdSoAgA7mIABgAAAA4AAAgCSRQ

Completed in 148 milliseconds

12