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

12

/freebsd-current/tools/tools/mwl/mwlstats/
H A Dmain.c64 struct mwlstatfoo *wf; local
67 wf = mwlstats_new("mwl0", S_DEFAULT);
71 wf->setifname(wf, optarg);
74 wf->print_fields(wf, stdout);
77 wf->setfmt(wf, optarg);
97 wf->print_header(wf, stdou
[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, "%s: ioctl: %s", __func__, 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
547 struct mwlstatfoo_p *wf; local
[all...]
/freebsd-current/tools/tools/ath/athaggrstats/
H A Dmain.c84 struct athaggrstatfoo *wf; local
91 wf = athaggrstats_new(ifname, getfmt("default"));
98 wf->setifname(wf, optarg);
101 wf->print_fields(wf, stdout);
104 wf->setfmt(wf, getfmt(optarg));
107 wf->zerostats(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
371 struct athaggrstatfoo_p *wf; local
[all...]
/freebsd-current/tools/tools/ath/athstats/
H A Dmain.c92 struct athstatfoo *wf; local
99 wf = athstats_new(ifname, getfmt("default"));
106 wf->setifname(wf, optarg);
109 wf->print_fields(wf, stdout);
112 wf->setfmt(wf, getfmt(optarg));
115 wf->zerostats(wf);
[all...]
H A Dathstats.c467 struct athstatfoo_p *wf = (struct athstatfoo_p *) wf0; local
469 ath_driver_req_close(&wf->req);
470 (void) ath_driver_req_open(&wf->req, ifname);
472 strncpy(wf->atd.ad_name, ifname, sizeof (wf->atd.ad_name));
473 wf->optstats |= ATHSTATS_ANI;
480 struct athstatfoo_p *wf = (struct athstatfoo_p *) wf0; local
482 if (ath_driver_req_zero_stats(&wf->req) < 0)
487 ath_collect(struct athstatfoo_p *wf, struct _athstats *stats) argument
490 if (ath_driver_req_fetch_stats(&wf
517 struct athstatfoo_p *wf = (struct athstatfoo_p *) sf; local
525 struct athstatfoo_p *wf = (struct athstatfoo_p *) sf; local
533 struct athstatfoo_p *wf = (struct athstatfoo_p *) sf; local
552 struct athstatfoo_p *wf = (struct athstatfoo_p *) sf; local
806 struct athstatfoo_p *wf = (struct athstatfoo_p *) sf; local
1059 struct athstatfoo_p *wf = (struct athstatfoo_p *) sf; local
1095 struct athstatfoo_p *wf; local
[all...]
/freebsd-current/tools/tools/npe/npestats/
H A Dmain.c71 struct npestatfoo *wf; local
78 wf = npestats_new(ifname, getfmt("default"));
85 wf->setifname(wf, optarg);
88 wf->print_fields(wf, stdout);
91 wf->setfmt(wf, getfmt(optarg));
112 wf->print_header(wf, stdou
[all...]
H A Dnpestats.c134 struct npestatfoo_p *wf = (struct npestatfoo_p *) wf0; local
137 snprintf(wf->oid, sizeof(wf->oid), "dev.npe.%s.stats", ifname+3);
139 if (sysctlnametomib(wf->oid, wf->mib, &len) < 0)
140 err(1, "sysctlnametomib: %s", wf->oid);
144 npe_collect(struct npestatfoo_p *wf, struct npestats *stats) argument
147 if (sysctl(wf->mib, 4, stats, &len, NULL, 0) < 0)
148 err(1, "sysctl: %s", wf->oid);
154 struct npestatfoo_p *wf local
162 struct npestatfoo_p *wf = (struct npestatfoo_p *) sf; local
170 struct npestatfoo_p *wf = (struct npestatfoo_p *) sf; local
178 struct npestatfoo_p *wf = (struct npestatfoo_p *) sf; local
214 struct npestatfoo_p *wf = (struct npestatfoo_p *) sf; local
252 struct npestatfoo_p *wf; local
[all...]
/freebsd-current/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-current/tools/tools/net80211/wlanstats/
H A Dmain.c167 struct wlanstatfoo *wf; local
179 wf = wlanstats_new(ifname, getfmt("default"));
195 wf->setifname(wf, optarg);
198 wf->print_fields(wf, stdout);
207 wf->setfmt(wf, getfmt(optarg));
218 mode = wf->getopmode(wf);
[all...]
H A Dwlanstats.c407 struct wlanstatfoo_p *wf = (struct wlanstatfoo_p *) wf0; local
409 strncpy(wf->ifr.ifr_name, ifname, sizeof (wf->ifr.ifr_name));
410 strncpy(wf->ireq.i_name, ifname, sizeof (wf->ireq.i_name));
416 struct wlanstatfoo_p *wf = (struct wlanstatfoo_p *) wf0; local
418 return wf->ifr.ifr_name;
424 struct wlanstatfoo_p *wf = (struct wlanstatfoo_p *) wf0; local
426 if (wf->opmode == -1) {
430 strlcpy(ifmr.ifm_name, wf
449 getlladdr(struct wlanstatfoo_p *wf) argument
469 getbssid(struct wlanstatfoo_p *wf) argument
481 struct wlanstatfoo_p *wf = (struct wlanstatfoo_p *) wf0; local
511 wlan_collect(struct wlanstatfoo_p *wf, struct ieee80211_stats *stats, struct ieee80211req_sta_stats *nstats) argument
540 struct wlanstatfoo_p *wf = (struct wlanstatfoo_p *) sf; local
548 struct wlanstatfoo_p *wf = (struct wlanstatfoo_p *) sf; local
556 struct wlanstatfoo_p *wf = (struct wlanstatfoo_p *) sf; local
634 wlan_getinfo(struct wlanstatfoo_p *wf, int s, char b[], size_t bs) argument
675 struct wlanstatfoo_p *wf = (struct wlanstatfoo_p *) sf; local
842 struct wlanstatfoo_p *wf = (struct wlanstatfoo_p *) sf; local
1009 struct wlanstatfoo_p *wf; local
[all...]
/freebsd-current/contrib/expat/tests/
H A Dxmltest.sh152 for xmldir in ibm/not-wf/P* \
153 ibm/not-wf/p28a \
154 ibm/not-wf/misc \
155 xmltest/not-wf/ext-sa \
156 xmltest/not-wf/not-sa \
157 xmltest/not-wf/sa \
158 sun/not-wf ; do
/freebsd-current/tests/sys/geom/class/nop/
H A Dnop_test.sh42 md_secsize=$(diskinfo ${us} | cut -wf 2)
43 md_mediasize=$(diskinfo ${us} | cut -wf 3)
44 md_stripesize=$(diskinfo ${us} | cut -wf 5)
45 nop_secsize=$(diskinfo ${us}.nop | cut -wf 2)
46 nop_mediasize=$(diskinfo ${us}.nop | cut -wf 3)
47 nop_stripesize=$(diskinfo ${us}.nop | cut -wf 5)
187 gnop_mediasize=`diskinfo /dev/${us}.nop | cut -wf 3`
214 gnop_ss=`diskinfo /dev/${us}.nop | cut -wf 5`
215 gnop_sofs=`diskinfo /dev/${us}.nop | cut -wf 6`
/freebsd-current/usr.bin/newkey/
H A Dupdate.c234 FILE *wf; local
264 wf = fopen(tmpname, "w");
265 if (wf == NULL) {
279 fprintf(wf, "%s %s\n", key, data);
288 fputs(line, wf);
300 fprintf(wf, "%s %s\n", key, data);
304 fclose(wf);
/freebsd-current/usr.sbin/rpc.ypupdated/
H A Dupdate.c231 FILE *wf; local
261 wf = fopen(tmpname, "w");
262 if (wf == NULL) {
276 fprintf(wf, "%s %s\n", key, data);
285 fputs(line, wf);
297 fprintf(wf, "%s %s\n", key, data);
301 fclose(wf);
/freebsd-current/usr.bin/jot/tests/
H A Dregress.sh46 REGRESSION_TEST(`wf', `jot -w "a%.1fb" 10')
H A DMakefile51 ${PACKAGE}FILES+= regress.wf.out
/freebsd-current/tests/sys/geom/class/eli/
H A Dmisc_test.sh42 md_secsize=$(diskinfo ${md} | cut -wf 2)
43 md_stripesize=$(diskinfo ${md} | cut -wf 5)
44 eli_secsize=$(diskinfo ${md}.eli | cut -wf 2)
45 eli_stripesize=$(diskinfo ${md}.eli | cut -wf 5)
/freebsd-current/bin/dd/tests/
H A Ddd2_test.sh15 case $(df -T . | tail -n 1 | cut -wf 2) in
/freebsd-current/sys/geom/
H A Dgeom_event.c190 int wf; local
198 wf = pp->flags & G_PF_WITHER;
220 if (LIST_EMPTY(&pp->consumers) && wf)
223 pp->flags |= wf;
/freebsd-current/sys/contrib/dev/mediatek/mt76/mt7615/
H A Dtestmode.c38 u16 wf; member in struct:__anon184
111 mt7615_rf_wr(dev, rf_backup_list[i].wf,
128 b[n_regs + i] = mt7615_rf_rr(dev, rf_backup_list[i].wf,
/freebsd-current/contrib/lua/src/
H A Dlstate.c424 lua_WarnFunction wf = G(L)->warnf; local
425 if (wf != NULL)
426 wf(G(L)->ud_warn, msg, tocont);
/freebsd-current/bin/chmod/tests/
H A Dchmod_test.sh31 df -T $mountpoint | tail -n 1 | cut -wf 2
/freebsd-current/usr.sbin/chown/tests/
H A Dchown_test.sh31 df -T $mountpoint | tail -n 1 | cut -wf 2
/freebsd-current/sys/contrib/openzfs/tests/zfs-tests/tests/functional/redundancy/
H A Dredundancy.kshlib247 log_must zpool replace -wf $pool $vdev $vdev

Completed in 400 milliseconds

12