Searched refs:bw (Results 1 - 25 of 55) sorted by relevance

123

/freebsd-11-stable/contrib/wpa/wpa_supplicant/
H A Dop_classes.c163 u8 bw)
169 if (bw == BW40MINUS) {
173 } else if (bw == BW40PLUS) {
177 } else if (bw == BW80) {
184 } else if (bw == BW160) {
191 } else if (bw == BW80P80) {
287 if (verify_channel(mode, channels[i], op_class->bw) !=
297 return verify_channel(mode, 50, op_class->bw) != NOT_ALLOWED ||
298 verify_channel(mode, 114, op_class->bw) != NOT_ALLOWED;
305 if (verify_channel(mode, 42, op_class->bw) !
162 verify_channel(struct hostapd_hw_modes *mode, u8 channel, u8 bw) argument
[all...]
H A Drrm.c507 if (op->bw == BW80 || op->bw == BW80P80)
509 else if (op->bw == BW160)
525 enum chan_allowed res = verify_channel(mode, chan, op->bw);
559 if (op->bw == BW80 || op->bw == BW80P80)
563 if (op->bw == BW160)
/freebsd-11-stable/sys/dev/aac/
H A Daac_disk.c179 struct aac_blockwrite *bw; local
184 bw = (struct aac_blockwrite *)&fib->data[0];
185 sg = &bw->SgMap;
206 struct aac_blockwrite64 *bw; local
211 bw = (struct aac_blockwrite64 *)&fib->data[0];
212 sg = &bw->SgMap64;
267 struct aac_blockwrite *bw; local
268 bw = (struct aac_blockwrite *)&fib->data[0];
269 bw->Command = VM_CtBlockWrite;
270 bw
278 struct aac_blockwrite64 *bw; local
[all...]
H A Daac_debug.c218 struct aac_blockwrite *bw; local
223 bw = (struct aac_blockwrite*)fib->data;
233 if (bw->Command == VM_CtBlockWrite) {
236 "(%s)\n", bw->ContainerId,
237 bw->BlockNumber, bw->ByteCount,
238 bw->Stable == CSTABLE ? "stable" :
240 sg = &bw->SgMap;
/freebsd-11-stable/tools/tools/build_option_survey/
H A Dmkhtml.sh96 for i in bw iw w
135 if [ -f $m/bw/_.sc ] ; then
136 comm -13 ${RDIR}/Ref/_.sc $m/bw/_.sc >> $H
140 majcol bw r $m $md
H A Doption_survey.sh19 bw ( ) ( function
31 > ${FDIR}/_.bw 2>&1
130 bw
173 if [ ! -f $d/bw/done ] ; then
177 rm -rf $d/w $d/bw
178 mkdir -p $d/w $d/bw
179 if bw ; then
180 mv ${FDIR}/_.* $d/bw || true
190 mv ${FDIR}/_.* $d/bw || true
191 touch $d/bw/don
[all...]
H A Dreduce.sh44 if [ ! -d $m/iw -a ! -d $m/bw -a ! -d $m/w ] ; then
59 if [ ! -f $m/bw/done ] ; then
61 elif [ ! -f $m/bw/_.success ] ; then
70 for x in iw bw w
/freebsd-11-stable/crypto/openssh/
H A Dmisc.c1005 bandwidth_limit_init(struct bwlimit *bw, u_int64_t kbps, size_t buflen) argument
1007 bw->buflen = buflen;
1008 bw->rate = kbps;
1009 bw->thresh = bw->rate;
1010 bw->lamt = 0;
1011 timerclear(&bw->bwstart);
1012 timerclear(&bw->bwend);
1017 bandwidth_limit(struct bwlimit *bw, size_t read_len) argument
1022 if (!timerisset(&bw
[all...]
/freebsd-11-stable/usr.sbin/wake/
H A Dwake.c161 ssize_t bw; local
173 bw = 0;
175 if ((bw = write(bpf, p, len)) == -1) {
179 len -= bw;
180 p += bw;
/freebsd-11-stable/sys/dev/ixgbe/
H A Dixgbe_dcb.c48 s32 ixgbe_dcb_calculate_tc_credits(u8 *bw, u16 *refill, u16 *max, argument
59 if (bw[i] < min_percent && bw[i])
60 min_percent = bw[i];
67 int val = min(bw[i] * multiplier, IXGBE_DCB_MAX_CREDIT_REFILL);
73 max[i] = bw[i] ? (bw[i]*IXGBE_DCB_MAX_CREDIT)/100 : min_credit;
307 u8 i, j, bw = 0, bw_id; local
320 bw = p->bwg_percent;
330 if (bw) {
[all...]
/freebsd-11-stable/contrib/wpa/src/ap/
H A Dieee802_11_vht.c169 u8 bw, chan1, chan2 = 0; local
179 bw = 0;
184 bw = 1;
186 bw = 3;
189 bw = 2;
212 *eid++ = bw; /* New Channel Width */
H A Dacs.c582 u32 bw; local
608 bw = num_chan_to_bw(n_chans);
613 "ACS: Survey analysis for selected bandwidth %d MHz", bw);
631 if (!chan_bw_allowed(chan, bw, 1, 1)) {
634 chan->chan, bw);
680 if (!chan_bw_allowed(adj_chan, bw, 1, 0)) {
683 chan->chan, adj_chan->chan, bw);
/freebsd-11-stable/contrib/wpa/src/common/
H A Docv.c44 if (op_class_map->bw == BW40PLUS)
46 else if (op_class_map->bw == BW40MINUS)
H A Dhw_features_common.h45 int chan_bw_allowed(const struct hostapd_channel_data *chan, u32 bw,
/freebsd-11-stable/sbin/pfctl/
H A Dpfctl_altq.c161 struct node_queue_bw *bw, struct node_queue_opt *qopts)
164 print_queue(a, level, bw, 1, qopts);
198 if (bw != NULL && bw->bw_percent > 0) {
199 if (bw->bw_percent < 100)
200 printf("bandwidth %u%% ", bw->bw_percent);
211 struct node_queue_bw *bw, int print_interface,
228 if (bw != NULL && bw->bw_percent > 0) {
229 if (bw
160 print_altq(const struct pf_altq *a, unsigned int level, struct node_queue_bw *bw, struct node_queue_opt *qopts) argument
210 print_queue(const struct pf_altq *a, unsigned int level, struct node_queue_bw *bw, int print_interface, struct node_queue_opt *qopts) argument
258 eval_pfaltq(struct pfctl *pf, struct pf_altq *pa, struct node_queue_bw *bw, struct node_queue_opt *opts) argument
336 eval_pfqueue(struct pfctl *pf, struct pf_altq *pa, struct node_queue_bw *bw, struct node_queue_opt *opts) argument
1462 eval_bwspec(struct node_queue_bw *bw, u_int32_t ref_bw) argument
[all...]
/freebsd-11-stable/sys/dev/aacraid/
H A Daacraid_debug.c132 struct aac_blockwrite *bw; local
137 bw = (struct aac_blockwrite*)fib->data;
147 if (bw->Command == VM_CtBlockWrite) {
150 "(%s)\n", bw->ContainerId,
151 bw->BlockNumber, bw->ByteCount,
152 bw->Stable == CSTABLE ? "stable" :
154 sg = &bw->SgMap;
H A Daacraid_cam.c475 struct aac_blockwrite *bw; local
476 bw = (struct aac_blockwrite *)&fib->data[0];
477 bw->Command = VM_CtBlockWrite;
478 bw->ContainerId = ccb->ccb_h.target_id;
479 bw->BlockNumber = blockno;
480 bw->ByteCount = cm->cm_datalen;
481 bw->Stable = CUNSTABLE;
483 cm->cm_sgtable = &bw->SgMap;
499 struct aac_blockwrite64 *bw; local
500 bw
[all...]
/freebsd-11-stable/contrib/tcpdump/
H A Dprint-lmp.c369 } bw; local
408 bw.i = EXTRACT_32BITS(obj_tptr+offset+4);
410 bw.f*8/1000000));
412 bw.i = EXTRACT_32BITS(obj_tptr+offset+8);
414 bw.f*8/1000000));
449 } bw; local
823 bw.i = EXTRACT_32BITS(obj_tptr+12);
824 ND_PRINT((ndo, "\n\t Transmission Rate: %.3f Mbps",bw.f*8/1000000));
H A Dprint-rsvp.c498 } bw; local
541 bw.i = EXTRACT_32BITS(tptr+4);
542 ND_PRINT((ndo, "\n\t\tPath b/w estimate: %.10g Mbps", bw.f / 125000));
597 bw.i = EXTRACT_32BITS(tptr+4);
598 ND_PRINT((ndo, "\n\t\tToken Bucket Rate: %.10g Mbps", bw.f / 125000));
599 bw.i = EXTRACT_32BITS(tptr+8);
600 ND_PRINT((ndo, "\n\t\tToken Bucket Size: %.10g bytes", bw.f));
601 bw.i = EXTRACT_32BITS(tptr+12);
602 ND_PRINT((ndo, "\n\t\tPeak Data Rate: %.10g Mbps", bw.f / 125000));
621 bw
678 } bw; local
[all...]
H A Dprint-ospf.c275 } bw; local
364 bw.i = EXTRACT_32BITS(tptr);
365 ND_PRINT((ndo, ", %.3f Mbps", bw.f * 8 / 1000000));
373 bw.i = EXTRACT_32BITS(tptr+te_class*4);
376 bw.f * 8 / 1000000));
398 bw.i = EXTRACT_32BITS(tptr+4+te_class*4);
401 bw.f * 8 / 1000000));
431 bw.i = EXTRACT_32BITS(tptr+4+(priority_level*4));
434 bw.f * 8 / 1000000));
456 bw
[all...]
H A Dprint-isoclns.c1819 } bw; local
1846 bw.i = EXTRACT_32BITS(tptr);
1847 ND_PRINT((ndo, ", %.3f Mbps", bw.f * 8 / 1000000));
1853 bw.i = EXTRACT_32BITS(tptr);
1857 bw.f * 8 / 1000000));
1873 bw.i = EXTRACT_32BITS(tptr);
1877 bw.f * 8 / 1000000));
1921 bw.i = EXTRACT_32BITS(tptr);
1925 bw.f * 8 / 1000000));
1936 bw
[all...]
/freebsd-11-stable/sys/arm/at91/
H A Dat91_machdep.c197 int banks, rows, cols, bw; local
213 bw = (mr & AT91RM92_SDRAMC_MR_DBW_16) ? 1 : 2;
221 bw = (mdr & AT91SAM9G45_DDRSDRC_MDR_DBW_16) ? 1 : 2;
243 bw = (cr & AT91SAM9G20_SDRAMC_CR_DBW_16) ? 1 : 2;
246 return (1 << (cols + rows + banks + bw));
/freebsd-11-stable/sys/net/altq/
H A Daltq_fairq.c615 uint64_t bw; local
651 bw = b->bw_bytes * machclk_freq / b->bw_delta;
652 if (bw < cl->cl_hogs_m1)
751 uint64_t bw; local
771 bw = cl->cl_bw_bytes * machclk_freq / cl->cl_bw_delta;
773 if (bw > cl->cl_bandwidth)
777 (uintmax_t)bw, cl->cl_bandwidth, *hit_limit, b);
792 uint64_t bw; local
823 bw = b->bw_bytes * machclk_freq / b->bw_delta;
824 if (bw >
[all...]
/freebsd-11-stable/sys/netpfil/ipfw/
H A Dip_dn_io.c604 int done, bw; local
611 bw = s->link.bandwidth;
614 if (bw > 0)
615 si->credit += (now - si->sched_time) * bw;
624 len_scaled = (bw == 0) ? 0 : hz *
641 KASSERT (bw > 0, ("bw=0 and credit<0 ?"));
642 t = div64(bw - 1 - si->credit, bw);
/freebsd-11-stable/sys/dev/sound/pci/hda/
H A Dhdac.c1830 int stream, ss, bw, maxbw, prevbw; local
1840 bw = hdac_bdata_rate(format, dir);
1842 bw *= 1 << (sc->num_sdo - stripe);
1851 (bw + prevbw) / 1000, maxbw / 1000,
1852 bw + prevbw > maxbw ? " -- OVERFLOW!" : "");
1854 if (bw + prevbw > maxbw)
1857 sc->sdo_bw_used += bw;
1859 sc->codecs[cad].sdi_bw_used += bw;
1872 sc->streams[ss].bw = bw;
[all...]

Completed in 170 milliseconds

123