| /trueos/sys/dev/ath/ |
| HD | if_ath_tx.c | 126 struct ieee80211_node *ni, struct ath_buf *bf, struct mbuf *m0); 131 struct ath_tid *tid, struct ath_buf *bf); 137 struct ath_buf *bf; in ath_tx_alq_post() local 142 bf = bf_first; in ath_tx_alq_post() 144 while (bf != NULL) { in ath_tx_alq_post() 146 if (bf->bf_nseg == 0) in ath_tx_alq_post() 148 n = ((bf->bf_nseg - 1) / sc->sc_tx_nmaps) + 1; in ath_tx_alq_post() 149 for (i = 0, ds = (const char *) bf->bf_desc; in ath_tx_alq_post() 157 bf = bf->bf_next; in ath_tx_alq_post() 193 ath_tx_set_retry(struct ath_softc *sc, struct ath_buf *bf) in ath_tx_set_retry() argument [all …]
|
| HD | if_ath_tx_edma.c | 145 struct ath_buf *bf, *bf_last; in ath_edma_tx_fifo_fill() local 154 TAILQ_FOREACH(bf, &txq->axq_q, bf_list) { in ath_edma_tx_fifo_fill() 166 ATH_TXQ_REMOVE(txq, bf, bf_list); in ath_edma_tx_fifo_fill() 174 bf_last = bf; in ath_edma_tx_fifo_fill() 180 bf, in ath_edma_tx_fifo_fill() 186 ATH_TXQ_INSERT_TAIL(&txq->fifo, bf, bf_list); in ath_edma_tx_fifo_fill() 192 bf->bf_flags |= ATH_BUF_FIFOPTR; in ath_edma_tx_fifo_fill() 198 ath_hal_puttxbuf(sc->sc_ah, txq->axq_qnum, bf->bf_daddr); in ath_edma_tx_fifo_fill() 201 ath_printtxbuf(sc, bf, txq->axq_qnum, i, 0); in ath_edma_tx_fifo_fill() 205 ath_tx_alq_post(sc, bf); in ath_edma_tx_fifo_fill() [all …]
|
| HD | if_ath_rx_edma.c | 150 static void ath_edma_rxbuf_free(struct ath_softc *sc, struct ath_buf *bf); 191 struct ath_buf *bf; in ath_edma_reinit_fifo() local 198 bf = re->m_fifo[i]; in ath_edma_reinit_fifo() 204 (uintmax_t)bf->bf_daddr); in ath_edma_reinit_fifo() 205 ath_hal_putrxbuf(sc->sc_ah, bf->bf_daddr, qtype); in ath_edma_reinit_fifo() 338 struct ath_buf *bf; in ath_edma_recv_proc_queue() local 352 bf = re->m_fifo[re->m_fifo_head]; in ath_edma_recv_proc_queue() 354 if (bf == NULL) { in ath_edma_recv_proc_queue() 360 m = bf->bf_m; in ath_edma_recv_proc_queue() 361 ds = bf->bf_desc; in ath_edma_recv_proc_queue() [all …]
|
| HD | if_ath_beacon.c | 179 struct ath_buf *bf; in ath_beacon_alloc() local 183 bf = avp->av_bcbuf; in ath_beacon_alloc() 185 __func__, bf->bf_m, bf->bf_node); in ath_beacon_alloc() 186 if (bf->bf_m != NULL) { in ath_beacon_alloc() 187 bus_dmamap_unload(sc->sc_dmat, bf->bf_dmamap); in ath_beacon_alloc() 188 m_freem(bf->bf_m); in ath_beacon_alloc() 189 bf->bf_m = NULL; in ath_beacon_alloc() 191 if (bf->bf_node != NULL) { in ath_beacon_alloc() 192 ieee80211_free_node(bf->bf_node); in ath_beacon_alloc() 193 bf->bf_node = NULL; in ath_beacon_alloc() [all …]
|
| HD | if_ath_debug.c | 100 ath_printrxbuf(struct ath_softc *sc, const struct ath_buf *bf, in ath_printrxbuf() argument 103 const struct ath_rx_status *rs = &bf->bf_status.ds_rxstat; in ath_printrxbuf() 108 for (i = 0, ds = bf->bf_desc; i < bf->bf_nseg; i++, ds++) { in ath_printrxbuf() 111 ix, ds, (const struct ath_desc *)bf->bf_daddr + i, in ath_printrxbuf() 141 const struct ath_buf *bf = first_bf; in ath_printtxbuf_edma() local 146 printf("Q%u[%3u] (nseg=%d)", qnum, ix, bf->bf_nseg); in ath_printtxbuf_edma() 147 while (bf != NULL) { in ath_printtxbuf_edma() 156 n = ((bf->bf_nseg - 1) / 4) + 1; in ath_printtxbuf_edma() 158 for (i = 0, ds = (const char *) bf->bf_desc; in ath_printtxbuf_edma() 163 eds, (const struct ath_desc *)bf->bf_daddr + i, in ath_printtxbuf_edma() [all …]
|
| HD | if_ath_tx_ht.c | 222 ath_tx_rate_fill_rcflags(struct ath_softc *sc, struct ath_buf *bf) in ath_tx_rate_fill_rcflags() argument 224 struct ieee80211_node *ni = bf->bf_node; in ath_tx_rate_fill_rcflags() 227 struct ath_rc_series *rc = bf->bf_state.bfs_rc; in ath_tx_rate_fill_rcflags() 241 if ((! IS_HT_RATE(rate)) && bf->bf_state.bfs_shpream) in ath_tx_rate_fill_rcflags() 249 if (bf->bf_state.bfs_txflags & in ath_tx_rate_fill_rcflags() 464 ath_get_aggr_limit(struct ath_softc *sc, struct ath_buf *bf) in ath_get_aggr_limit() argument 473 if (bf->bf_state.bfs_rc[i].tries == 0) in ath_get_aggr_limit() 475 amin = MIN(amin, bf->bf_state.bfs_rc[i].max4msframelen); in ath_get_aggr_limit() 496 struct ath_buf *bf, HAL_11N_RATE_SERIES *series) in ath_rateseries_setup() argument 504 struct ath_rc_series *rc = bf->bf_state.bfs_rc; in ath_rateseries_setup() [all …]
|
| HD | if_ath.c | 2535 struct ath_buf *bf; in _ath_getbuf_locked() local 2540 bf = TAILQ_FIRST(&sc->sc_txbuf_mgmt); in _ath_getbuf_locked() 2542 bf = TAILQ_FIRST(&sc->sc_txbuf); in _ath_getbuf_locked() 2544 if (bf == NULL) { in _ath_getbuf_locked() 2547 if (bf->bf_flags & ATH_BUF_BUSY) { in _ath_getbuf_locked() 2549 bf = NULL; in _ath_getbuf_locked() 2553 if (bf != NULL && (bf->bf_flags & ATH_BUF_BUSY) == 0) { in _ath_getbuf_locked() 2555 TAILQ_REMOVE(&sc->sc_txbuf_mgmt, bf, bf_list); in _ath_getbuf_locked() 2557 TAILQ_REMOVE(&sc->sc_txbuf, bf, bf_list); in _ath_getbuf_locked() 2573 bf = NULL; in _ath_getbuf_locked() [all …]
|
| HD | if_ath_rx.c | 228 ath_legacy_rxbuf_init(struct ath_softc *sc, struct ath_buf *bf) in ath_legacy_rxbuf_init() argument 235 m = bf->bf_m; in ath_legacy_rxbuf_init() 254 bf->bf_dmamap, m, in ath_legacy_rxbuf_init() 255 bf->bf_segs, &bf->bf_nseg, in ath_legacy_rxbuf_init() 265 KASSERT(bf->bf_nseg == 1, in ath_legacy_rxbuf_init() 266 ("multi-segment packet; nseg %u", bf->bf_nseg)); in ath_legacy_rxbuf_init() 267 bf->bf_m = m; in ath_legacy_rxbuf_init() 269 bus_dmamap_sync(sc->sc_dmat, bf->bf_dmamap, BUS_DMASYNC_PREREAD); in ath_legacy_rxbuf_init() 292 ds = bf->bf_desc; in ath_legacy_rxbuf_init() 294 ds->ds_link = bf->bf_daddr; /* link to self */ in ath_legacy_rxbuf_init() [all …]
|
| HD | if_ath_misc.h | 62 struct ath_buf *bf); 64 extern void ath_freebuf(struct ath_softc *sc, struct ath_buf *bf); 65 extern void ath_returnbuf_head(struct ath_softc *sc, struct ath_buf *bf); 66 extern void ath_returnbuf_tail(struct ath_softc *sc, struct ath_buf *bf); 69 extern void ath_tx_default_comp(struct ath_softc *sc, struct ath_buf *bf, 78 extern void ath_tx_freebuf(struct ath_softc *sc, struct ath_buf *bf, 111 struct ath_txq *txq, struct ath_tx_status *ts, struct ath_buf *bf);
|
| HD | if_ath_tx.h | 96 struct ath_buf *bf, struct mbuf *m0); 102 struct ath_txq *txq, int queue_to_head, struct ath_buf *bf); 109 extern void ath_tx_normal_comp(struct ath_softc *sc, struct ath_buf *bf, 111 extern void ath_tx_aggr_comp(struct ath_softc *sc, struct ath_buf *bf, 114 struct ath_tid *tid, struct ath_buf *bf);
|
| /trueos/sys/dev/malo/ |
| HD | if_malo.c | 548 struct malo_rxbuf *bf; in malo_rxdma_setup() local 561 bf = malloc(bsize, M_MALODEV, M_NOWAIT | M_ZERO); in malo_rxdma_setup() 562 if (bf == NULL) { in malo_rxdma_setup() 566 sc->malo_rxdma.dd_bufptr = bf; in malo_rxdma_setup() 570 for (i = 0; i < malo_rxbuf; i++, bf++, ds++) { in malo_rxdma_setup() 571 bf->bf_desc = ds; in malo_rxdma_setup() 572 bf->bf_daddr = DS2PHYS(&sc->malo_rxdma, ds); in malo_rxdma_setup() 574 &bf->bf_dmamap); in malo_rxdma_setup() 581 STAILQ_INSERT_TAIL(&sc->malo_rxbuf, bf, bf_list); in malo_rxdma_setup() 591 struct malo_txbuf *bf; in malo_txdma_setup() local [all …]
|
| /trueos/sys/ofed/drivers/net/mlx4/ |
| HD | pd.c | 171 int mlx4_bf_alloc(struct mlx4_dev *dev, struct mlx4_bf *bf, int node) in mlx4_bf_alloc() argument 216 bf->uar = uar; in mlx4_bf_alloc() 219 bf->uar = uar; in mlx4_bf_alloc() 220 bf->offset = 0; in mlx4_bf_alloc() 221 bf->buf_size = dev->caps.bf_reg_size / 2; in mlx4_bf_alloc() 222 bf->reg = uar->bf_map + idx * dev->caps.bf_reg_size; in mlx4_bf_alloc() 229 bf->uar = NULL; in mlx4_bf_alloc() 244 void mlx4_bf_free(struct mlx4_dev *dev, struct mlx4_bf *bf) in mlx4_bf_free() argument 249 if (!bf->uar || !bf->uar->bf_map) in mlx4_bf_free() 253 idx = (bf->reg - bf->uar->bf_map) / dev->caps.bf_reg_size; in mlx4_bf_free() [all …]
|
| /trueos/usr.sbin/fstyp/ |
| HD | ntfs.c | 98 struct ntfs_bootfile *bf; in fstyp_ntfs() local 109 bf = (struct ntfs_bootfile *)read_buf(fp, 0, 512); in fstyp_ntfs() 110 if (bf == NULL || strncmp(bf->bf_sysid, "NTFS ", 8) != 0) in fstyp_ntfs() 113 mftrecsz = bf->bf_mftrecsz; in fstyp_ntfs() 114 recsize = (mftrecsz > 0) ? (mftrecsz * bf->bf_bps * bf->bf_spc) : (1 << -mftrecsz); in fstyp_ntfs() 116 voloff = bf->bf_mftcn * bf->bf_spc * bf->bf_bps + in fstyp_ntfs() 153 free(bf); in fstyp_ntfs() 159 free(bf); in fstyp_ntfs()
|
| /trueos/contrib/ntp/scripts/ |
| HD | checktime.in | 72 @bf=split(/\s+/,$b); 74 $abb= ($bf[4]<0)?-$bf[4]:$bf[4]; 76 ( $af[1] ne $bf[1] ) ? $bf[1] cmp $af[1] : 77 ( ( $af[2] != $bf[2] ) ? ( $bf[2] <=> $af[2] ) : 78 ( ( $aba != $abb ) ? ( $abb <=> $aba ) : ($af[0] cmp $bf[0] ) ) );
|
| /trueos/sys/geom/label/ |
| HD | g_label_ntfs.c | 98 struct ntfs_bootfile *bf; in g_label_ntfs_taste() local 113 bf = (struct ntfs_bootfile *)g_read_data(cp, 0, pp->sectorsize, NULL); in g_label_ntfs_taste() 114 if (bf == NULL || strncmp(bf->bf_sysid, "NTFS ", 8) != 0) in g_label_ntfs_taste() 117 mftrecsz = bf->bf_mftrecsz; in g_label_ntfs_taste() 118 recsize = (mftrecsz > 0) ? (mftrecsz * bf->bf_bps * bf->bf_spc) : (1 << -mftrecsz); in g_label_ntfs_taste() 122 voloff = bf->bf_mftcn * bf->bf_spc * bf->bf_bps + in g_label_ntfs_taste() 163 if (bf != NULL) in g_label_ntfs_taste() 164 g_free(bf); in g_label_ntfs_taste()
|
| /trueos/crypto/openssl/crypto/bf/asm/ |
| HD | readme | 2 bf-586.pl version is for the pentium and 3 bf-686.pl is my original version, which is faster on the pentium pro. 5 When using a bf-586.pl, the pentium pro/II is %8 slower than using 6 bf-686.pl. When using a bf-686.pl, the pentium is %16 slower 7 than bf-586.pl 9 So the default is bf-586.pl
|
| /trueos/contrib/gdb/gdb/ |
| HD | dve3900-rom.c | 69 static unsigned long fetch_fields (struct bit_field *bf); 70 static void fetch_bitmapped_register (int regno, struct bit_field *bf); 72 static void store_bitmapped_register (int regno, struct bit_field *bf); 432 fetch_fields (struct bit_field *bf) in fetch_fields() argument 438 for (; bf->prefix != NULL; bf++) in fetch_fields() 440 monitor_expect (bf->prefix, NULL, 0); /* get prefix */ in fetch_fields() 441 monitor_expect (bf->suffix, buf, sizeof (buf)); /* hex value, suffix */ in fetch_fields() 442 if (bf->length != 0) in fetch_fields() 445 bits &= ((1 << bf->length) - 1); /* mask out useless bits */ in fetch_fields() 446 val |= bits << bf->start; /* insert into register */ in fetch_fields() [all …]
|
| /trueos/contrib/sendmail/src/ |
| HD | bf.c | 53 struct bf struct 108 struct bf *bfp; 132 bfp = (struct bf *) sm_malloc(sizeof(struct bf)); 268 struct bf *bfp; 270 bfp = (struct bf *) fp->f_cookie; 302 struct bf *bfp; 305 bfp = (struct bf *) fp->f_cookie; 346 struct bf *bfp; 351 bfp = (struct bf *) fp->f_cookie; 443 struct bf *bfp; [all …]
|
| /trueos/sys/dev/mwl/ |
| HD | if_mwl.c | 251 static void mwl_printrxbuf(const struct mwl_rxbuf *bf, u_int ix); 252 static void mwl_printtxbuf(const struct mwl_txbuf *bf, u_int qnum, u_int ix); 1346 struct mwl_txbuf *bf; in mwl_gettxbuf() local 1352 bf = STAILQ_FIRST(&txq->free); in mwl_gettxbuf() 1353 if (bf != NULL) { in mwl_gettxbuf() 1358 if (bf == NULL) in mwl_gettxbuf() 1361 return bf; in mwl_gettxbuf() 1371 mwl_puttxbuf_head(struct mwl_txq *txq, struct mwl_txbuf *bf) in mwl_puttxbuf_head() argument 1373 bf->bf_m = NULL; in mwl_puttxbuf_head() 1374 bf->bf_node = NULL; in mwl_puttxbuf_head() [all …]
|
| /trueos/contrib/tcsh/ |
| HD | tw.comp.c | 224 static Char *bf = NULL; in tw_tok() local 227 bf = str; in tw_tok() 230 for (; *bf && Isspace(*bf); bf++) in tw_tok() 233 for (str = bf; *bf && !Isspace(*bf); bf++) { in tw_tok() 234 if (ismetahash(*bf)) in tw_tok() 236 *bf = *bf & ~QUOTE; in tw_tok() 238 if (*bf != '\0') in tw_tok() 239 *bf++ = '\0'; in tw_tok()
|
| /trueos/usr.sbin/bhyve/ |
| HD | acpi.c | 786 basl_open(struct basl_fio *bf, int suffix) in basl_open() argument 793 strncpy(bf->f_name, basl_stemplate, MAXPATHLEN); in basl_open() 794 bf->fd = mkstemps(bf->f_name, strlen(BHYVE_ASL_SUFFIX)); in basl_open() 796 strncpy(bf->f_name, basl_template, MAXPATHLEN); in basl_open() 797 bf->fd = mkstemp(bf->f_name); in basl_open() 800 if (bf->fd > 0) { in basl_open() 801 bf->fp = fdopen(bf->fd, "w+"); in basl_open() 802 if (bf->fp == NULL) { in basl_open() 803 unlink(bf->f_name); in basl_open() 804 close(bf->fd); in basl_open() [all …]
|
| /trueos/libexec/bootpd/ |
| HD | bootptab.mcs | 9 # bf -- bootfile 78 emulex: tc=.subnet16:ha=00.00.C9.00.42.E0:bf=P4KTL0E: 84 tp885: tc=.subnet17:ha=08.00.4C.00.2F.74:bf=tp885sys2.cfe: 87 #mvme147:tc=.subnet17:ha=08.00.3e.20.da.47:bf=mv147vxw.st: 90 bach: tc=.subnet16:ha="08:00:20:04:98:8d":bf=boot.sun4m: 91 xanadu:tc=.subnet17:ha="00:80:42:42:04:c7":bf=boot.sun4c:
|
| /trueos/sys/compat/svr4/ |
| HD | svr4_sockio.c | 51 if (bf & __CONCAT(I,a)) sf |= __CONCAT(SVR4_I,a) 54 bsd_to_svr4_flags(bf) in bsd_to_svr4_flags() argument 55 int bf; in bsd_to_svr4_flags() 66 if (bf & IFF_DRV_RUNNING)
|
| /trueos/contrib/netbsd-tests/lib/libm/ |
| HD | t_round.c | 59 float af = VALF, bf, cf; in ATF_TC_BODY() local 63 bf = roundf(af); in ATF_TC_BODY() 67 ATF_CHECK(fabsf(bf) < SMALL_NUM); in ATF_TC_BODY()
|
| /trueos/crypto/openssl/util/ |
| HD | x86asm.sh | 17 (cd crypto/bf/asm; perl bf-586.pl cpp > bx86unix.cpp) 18 (cd crypto/bf/asm; perl bf-586.pl win32 > b-win32.asm)
|