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

/freebsd-9.3-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-9.3-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.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 Dathstats.c440 struct athstatfoo_p *wf = (struct athstatfoo_p *) wf0; local
442 strncpy(wf->ifr.ifr_name, ifname, sizeof (wf->ifr.ifr_name));
444 strncpy(wf->atd.ad_name, ifname, sizeof (wf->atd.ad_name));
445 wf->optstats |= ATHSTATS_ANI;
452 struct athstatfoo_p *wf = (struct athstatfoo_p *) wf0; local
454 if (ioctl(wf->s, SIOCZATHSTATS, &wf->ifr) < 0)
455 err(-1, wf
459 ath_collect(struct athstatfoo_p *wf, struct _athstats *stats) argument
485 struct athstatfoo_p *wf = (struct athstatfoo_p *) sf; local
493 struct athstatfoo_p *wf = (struct athstatfoo_p *) sf; local
501 struct athstatfoo_p *wf = (struct athstatfoo_p *) sf; local
520 struct athstatfoo_p *wf = (struct athstatfoo_p *) sf; local
741 struct athstatfoo_p *wf = (struct athstatfoo_p *) sf; local
961 struct athstatfoo_p *wf = (struct athstatfoo_p *) sf; local
998 struct athstatfoo_p *wf; local
[all...]
/freebsd-9.3-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-9.3-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.c158 struct wlanstatfoo *wf; local
168 wf = wlanstats_new(ifname, getfmt("default"));
175 wf->setifname(wf, optarg);
178 wf->print_fields(wf, stdout);
187 wf->setfmt(wf, getfmt(optarg));
197 mode = wf->getopmode(wf);
[all...]
H A Dwlanstats.c395 struct wlanstatfoo_p *wf = (struct wlanstatfoo_p *) wf0; local
397 strncpy(wf->ifr.ifr_name, ifname, sizeof (wf->ifr.ifr_name));
398 strncpy(wf->ireq.i_name, ifname, sizeof (wf->ireq.i_name));
404 struct wlanstatfoo_p *wf = (struct wlanstatfoo_p *) wf0; local
406 return wf->ifr.ifr_name;
412 struct wlanstatfoo_p *wf = (struct wlanstatfoo_p *) wf0; local
414 if (wf->opmode == -1) {
418 strlcpy(ifmr.ifm_name, wf
437 getlladdr(struct wlanstatfoo_p *wf) argument
457 getbssid(struct wlanstatfoo_p *wf) argument
469 struct wlanstatfoo_p *wf = (struct wlanstatfoo_p *) wf0; local
499 wlan_collect(struct wlanstatfoo_p *wf, struct ieee80211_stats *stats, struct ieee80211req_sta_stats *nstats) argument
528 struct wlanstatfoo_p *wf = (struct wlanstatfoo_p *) sf; local
536 struct wlanstatfoo_p *wf = (struct wlanstatfoo_p *) sf; local
544 struct wlanstatfoo_p *wf = (struct wlanstatfoo_p *) sf; local
626 wlan_getinfo(struct wlanstatfoo_p *wf, int s, char b[], size_t bs) argument
666 struct wlanstatfoo_p *wf = (struct wlanstatfoo_p *) sf; local
826 struct wlanstatfoo_p *wf = (struct wlanstatfoo_p *) sf; local
987 struct wlanstatfoo_p *wf; local
[all...]
/freebsd-9.3-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-9.3-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-9.3-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-9.3-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-9.3-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-9.3-release/tools/regression/usr.bin/jot/
H A Dregress.sh47 REGRESSION_TEST(`wf', `jot -w "a%.1fb" 10')
/freebsd-9.3-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-9.3-release/sys/kern/
H A Dsys_pipe.c338 struct file *rf, *wf; local
390 error = falloc(td, &wf, &fd, flags);
398 /* An extra reference on `wf' has been held for us by falloc(). */
399 finit(wf, fflags, DTYPE_PIPE, wpipe, &pipeops);
400 fdrop(wf, td);
/freebsd-9.3-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);

Completed in 283 milliseconds