| /freebsd/sys/dev/ath/ |
| H A D | if_ath_tx.c | 128 struct ieee80211_node *ni, struct ath_buf *bf, struct mbuf *m0); 133 struct ath_tid *tid, struct ath_buf *bf); 139 struct ath_buf *bf; in ath_tx_alq_post() local 144 bf = bf_first; in ath_tx_alq_post() 146 while (bf != NULL) { in ath_tx_alq_post() 148 if (bf->bf_nseg == 0) in ath_tx_alq_post() 150 n = ((bf->bf_nseg - 1) / sc->sc_tx_nmaps) + 1; in ath_tx_alq_post() 151 for (i = 0, ds = (const char *) bf->bf_desc; in ath_tx_alq_post() 159 bf = bf->bf_next; in ath_tx_alq_post() 196 ath_tx_set_retry(struct ath_softc *sc, struct ath_buf *bf) in ath_tx_set_retry() argument [all …]
|
| H A D | if_ath_rx_edma.c | 152 static void ath_edma_rxbuf_free(struct ath_softc *sc, struct ath_buf *bf); 208 struct ath_buf *bf; in ath_edma_reinit_fifo() local 217 bf = re->m_fifo[i]; in ath_edma_reinit_fifo() 223 (uintmax_t)bf->bf_daddr); in ath_edma_reinit_fifo() 224 ath_hal_putrxbuf(sc->sc_ah, bf->bf_daddr, qtype); in ath_edma_reinit_fifo() 415 struct ath_buf *bf; in ath_edma_recv_proc_queue() local 446 bf = re->m_fifo[re->m_fifo_head]; in ath_edma_recv_proc_queue() 448 if (bf == NULL) { in ath_edma_recv_proc_queue() 449 device_printf(sc->sc_dev, "%s: Q%d: NULL bf?\n", in ath_edma_recv_proc_queue() 454 m = bf->bf_m; in ath_edma_recv_proc_queue() [all …]
|
| H A D | if_ath_beacon.c | 184 struct ath_buf *bf; in ath_beacon_alloc() local 188 bf = avp->av_bcbuf; in ath_beacon_alloc() 190 __func__, bf->bf_m, bf->bf_node); in ath_beacon_alloc() 191 if (bf->bf_m != NULL) { in ath_beacon_alloc() 192 bus_dmamap_unload(sc->sc_dmat, bf->bf_dmamap); in ath_beacon_alloc() 193 m_freem(bf->bf_m); in ath_beacon_alloc() 194 bf->bf_m = NULL; in ath_beacon_alloc() 196 if (bf->bf_node != NULL) { in ath_beacon_alloc() 197 ieee80211_free_node(bf->bf_node); in ath_beacon_alloc() 198 bf->bf_node = NULL; in ath_beacon_alloc() [all …]
|
| H A D | if_ath_descdma.c | 245 struct ath_buf *bf; in ath_descdma_setup() local 261 bf = malloc(bsize, M_ATHDEV, M_NOWAIT | M_ZERO); in ath_descdma_setup() 262 if (bf == NULL) { in ath_descdma_setup() 268 dd->dd_bufptr = bf; in ath_descdma_setup() 271 for (i = 0; i < nbuf; i++, bf++, ds += (ndesc * dd->dd_descsize)) { in ath_descdma_setup() 272 bf->bf_desc = (struct ath_desc *) ds; in ath_descdma_setup() 273 bf->bf_daddr = DS2PHYS(dd, ds); in ath_descdma_setup() 280 if (ATH_DESC_4KB_BOUND_CHECK(bf->bf_daddr, in ath_descdma_setup() 283 ds += 0x1000 - (bf->bf_daddr & 0xFFF); in ath_descdma_setup() 284 bf->bf_desc = (struct ath_desc *) ds; in ath_descdma_setup() [all …]
|
| H A D | if_ath_debug.c | 99 ath_printrxbuf(struct ath_softc *sc, const struct ath_buf *bf, in ath_printrxbuf() argument 102 const struct ath_rx_status *rs = &bf->bf_status.ds_rxstat; in ath_printrxbuf() 107 for (i = 0, ds = bf->bf_desc; i < bf->bf_nseg; i++, ds++) { in ath_printrxbuf() 110 ix, ds, (const struct ath_desc *)bf->bf_daddr + i, in ath_printrxbuf() 140 const struct ath_buf *bf = first_bf; in ath_printtxbuf_edma() local 145 printf("Q%u[%3u] (nseg=%d)", qnum, ix, bf->bf_nseg); in ath_printtxbuf_edma() 146 while (bf != NULL) { in ath_printtxbuf_edma() 155 n = ((bf->bf_nseg - 1) / 4) + 1; in ath_printtxbuf_edma() 157 for (i = 0, ds = (const char *) bf->bf_desc; in ath_printtxbuf_edma() 162 eds, (const struct ath_desc *)bf->bf_daddr + i, in ath_printtxbuf_edma() [all …]
|
| H A D | if_ath_tx_edma.c | 174 struct ath_buf *bf, *bf_last; in ath_tx_edma_push_staging_list() local 206 bf = ATH_TXQ_FIRST(txq); in ath_tx_edma_push_staging_list() 207 if (bf == NULL) in ath_tx_edma_push_staging_list() 209 ATH_TXQ_REMOVE(txq, bf, bf_list); in ath_tx_edma_push_staging_list() 212 TAILQ_INSERT_TAIL(&sq, bf, bf_list); in ath_tx_edma_push_staging_list() 215 bf->bf_flags &= ~(ATH_BUF_FIFOPTR | ATH_BUF_FIFOEND); in ath_tx_edma_push_staging_list() 226 bf = TAILQ_FIRST(&sq); in ath_tx_edma_push_staging_list() 237 bf->bf_flags |= ATH_BUF_FIFOPTR; in ath_tx_edma_push_staging_list() 283 ath_hal_puttxbuf(sc->sc_ah, txq->axq_qnum, bf->bf_daddr); in ath_tx_edma_push_staging_list() 404 struct ath_buf *bf; in ath_edma_dma_restart() local [all …]
|
| H A D | 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() 249 if (bf->bf_flags & ATH_BUF_TOA_PROBE) in ath_tx_rate_fill_rcflags() 264 if ((! IS_HT_RATE(rate)) && bf->bf_state.bfs_shpream) in ath_tx_rate_fill_rcflags() 272 if (bf->bf_state.bfs_txflags & in ath_tx_rate_fill_rcflags() 300 (bf->bf_flags & ATH_BUF_TOA_PROBE) == 0) { in ath_tx_rate_fill_rcflags() 306 (bf->bf_flags & ATH_BUF_TOA_PROBE) == 0) { in ath_tx_rate_fill_rcflags() 321 (bf->bf_flags & ATH_BUF_TOA_PROBE) == 0) { in ath_tx_rate_fill_rcflags() 372 bf->bf_state.bfs_txflags |= HAL_TXDESC_LDPC; in ath_tx_rate_fill_rcflags() [all …]
|
| H A D | if_ath_rx.c | 246 ath_legacy_rxbuf_init(struct ath_softc *sc, struct ath_buf *bf) in ath_legacy_rxbuf_init() argument 255 m = bf->bf_m; in ath_legacy_rxbuf_init() 274 bf->bf_dmamap, m, in ath_legacy_rxbuf_init() 275 bf->bf_segs, &bf->bf_nseg, in ath_legacy_rxbuf_init() 285 KASSERT(bf->bf_nseg == 1, in ath_legacy_rxbuf_init() 286 ("multi-segment packet; nseg %u", bf->bf_nseg)); in ath_legacy_rxbuf_init() 287 bf->bf_m = m; in ath_legacy_rxbuf_init() 289 bus_dmamap_sync(sc->sc_dmat, bf->bf_dmamap, BUS_DMASYNC_PREREAD); in ath_legacy_rxbuf_init() 312 ds = bf->bf_desc; in ath_legacy_rxbuf_init() 314 ds->ds_link = bf->bf_daddr; /* link to self */ in ath_legacy_rxbuf_init() [all …]
|
| H A D | if_ath.c | 3156 struct ath_buf *bf; in _ath_getbuf_locked() local 3161 bf = TAILQ_FIRST(&sc->sc_txbuf_mgmt); in _ath_getbuf_locked() 3163 bf = TAILQ_FIRST(&sc->sc_txbuf); in _ath_getbuf_locked() 3165 if (bf == NULL) { in _ath_getbuf_locked() 3168 if (bf->bf_flags & ATH_BUF_BUSY) { in _ath_getbuf_locked() 3170 bf = NULL; in _ath_getbuf_locked() 3174 if (bf != NULL && (bf->bf_flags & ATH_BUF_BUSY) == 0) { in _ath_getbuf_locked() 3176 TAILQ_REMOVE(&sc->sc_txbuf_mgmt, bf, bf_list); in _ath_getbuf_locked() 3178 TAILQ_REMOVE(&sc->sc_txbuf, bf, bf_list); in _ath_getbuf_locked() 3194 bf = NULL; in _ath_getbuf_locked() [all …]
|
| /freebsd/contrib/wpa/src/utils/ |
| H A D | bitfield.c | 23 struct bitfield *bf; in bitfield_alloc() local 25 bf = os_zalloc(sizeof(*bf) + (max_bits + 7) / 8); in bitfield_alloc() 26 if (bf == NULL) in bitfield_alloc() 28 bf->bits = (u8 *) (bf + 1); in bitfield_alloc() 29 bf->max_bits = max_bits; in bitfield_alloc() 30 return bf; in bitfield_alloc() 34 void bitfield_free(struct bitfield *bf) in bitfield_free() argument 36 os_free(bf); in bitfield_free() 40 void bitfield_set(struct bitfield *bf, size_t bit) in bitfield_set() argument 42 if (bit >= bf->max_bits) in bitfield_set() [all …]
|
| H A D | utils_module_tests.c | 130 struct bitfield *bf; in bitfield_tests() local 136 bf = bitfield_alloc(123); in bitfield_tests() 137 if (bf == NULL) in bitfield_tests() 141 if (bitfield_is_set(bf, i) || bitfield_is_set(bf, i + 1)) in bitfield_tests() 143 if (i > 0 && bitfield_is_set(bf, i - 1)) in bitfield_tests() 145 bitfield_set(bf, i); in bitfield_tests() 146 if (!bitfield_is_set(bf, i)) in bitfield_tests() 148 bitfield_clear(bf, i); in bitfield_tests() 149 if (bitfield_is_set(bf, i)) in bitfield_tests() 154 if (bitfield_is_set(bf, i) || bitfield_is_set(bf, i + 1)) in bitfield_tests() [all …]
|
| H A D | bitfield.h | 15 void bitfield_free(struct bitfield *bf); 16 void bitfield_set(struct bitfield *bf, size_t bit); 17 void bitfield_clear(struct bitfield *bf, size_t bit); 18 int bitfield_is_set(struct bitfield *bf, size_t bit); 19 int bitfield_get_first_zero(struct bitfield *bf);
|
| /freebsd/sys/dev/malo/ |
| H A D | if_malo.c | 507 struct malo_rxbuf *bf; in malo_rxdma_setup() local 520 bf = malloc(bsize, M_MALODEV, M_NOWAIT | M_ZERO); in malo_rxdma_setup() 521 if (bf == NULL) { in malo_rxdma_setup() 526 sc->malo_rxdma.dd_bufptr = bf; in malo_rxdma_setup() 530 for (i = 0; i < malo_rxbuf; i++, bf++, ds++) { in malo_rxdma_setup() 531 bf->bf_desc = ds; in malo_rxdma_setup() 532 bf->bf_daddr = DS2PHYS(&sc->malo_rxdma, ds); in malo_rxdma_setup() 534 &bf->bf_dmamap); in malo_rxdma_setup() 542 STAILQ_INSERT_TAIL(&sc->malo_rxbuf, bf, bf_list); in malo_rxdma_setup() 551 struct malo_txbuf *bf; in malo_txdma_setup() local [all …]
|
| /freebsd/contrib/sendmail/libsm/ |
| H A D | utf8_valid.c | 23 ** U+0080..U+07FF C2..DF 80..BF 24 ** U+0800..U+0FFF E0 A0..BF 80..BF 25 ** U+1000..U+CFFF E1..EC 80..BF 80..BF 26 ** U+D000..U+D7FF ED 80..9F 80..BF 27 ** U+E000..U+FFFF EE..EF 80..BF 80..BF 28 ** U+10000..U+3FFFF F0 90..BF 80..BF 80..BF 29 ** U+40000..U+FFFFF F1..F3 80..BF 80..BF 80..BF 30 ** U+100000..U+10FFFF F4 80..8F 80..BF 80..BF
|
| /freebsd/contrib/bc/vs/ |
| H A D | bcl.sln | 6 Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "bcl", "bcl.vcxproj", "{76B451C9-72BF-45B2-B78D… 18 {76B451C9-72BF-45B2-B78D-B3515410F99F}.Debug|x64.ActiveCfg = Debug|x64 19 {76B451C9-72BF-45B2-B78D-B3515410F99F}.Debug|x64.Build.0 = Debug|x64 20 {76B451C9-72BF-45B2-B78D-B3515410F99F}.Debug|x86.ActiveCfg = Debug|Win32 21 {76B451C9-72BF-45B2-B78D-B3515410F99F}.Debug|x86.Build.0 = Debug|Win32 22 {76B451C9-72BF-45B2-B78D-B3515410F99F}.ReleaseMD|x64.ActiveCfg = ReleaseMD|x64 23 {76B451C9-72BF-45B2-B78D-B3515410F99F}.ReleaseMD|x64.Build.0 = ReleaseMD|x64 24 {76B451C9-72BF-45B2-B78D-B3515410F99F}.ReleaseMD|x86.ActiveCfg = ReleaseMD|Win32 25 {76B451C9-72BF-45B2-B78D-B3515410F99F}.ReleaseMD|x86.Build.0 = ReleaseMD|Win32 26 {76B451C9-72BF-45B2-B78D-B3515410F99F}.ReleaseMT|x64.ActiveCfg = ReleaseMT|x64 [all …]
|
| /freebsd/sys/dev/mlx4/mlx4_core/ |
| H A D | mlx4_pd.c | 172 int mlx4_bf_alloc(struct mlx4_dev *dev, struct mlx4_bf *bf, int node) in mlx4_bf_alloc() argument 221 bf->uar = uar; in mlx4_bf_alloc() 222 bf->offset = 0; in mlx4_bf_alloc() 223 bf->buf_size = dev->caps.bf_reg_size / 2; in mlx4_bf_alloc() 224 bf->reg = uar->bf_map + idx * dev->caps.bf_reg_size; in mlx4_bf_alloc() 231 bf->uar = NULL; in mlx4_bf_alloc() 246 void mlx4_bf_free(struct mlx4_dev *dev, struct mlx4_bf *bf) in mlx4_bf_free() argument 251 if (!bf->uar || !bf->uar->bf_map) in mlx4_bf_free() 255 idx = (bf->reg - bf->uar->bf_map) / dev->caps.bf_reg_size; in mlx4_bf_free() 256 bf->uar->free_bf_bmap &= ~(1 << idx); in mlx4_bf_free() [all …]
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/PowerPC/ |
| H A D | PPCInstrDFP.td | 47 def DCMPU : XForm_17<59, 642, (outs crrc:$BF), (ins f8rc:$RA, f8rc:$RB), 48 "dcmpu $BF, $RA, $RB", IIC_FPCompare>; 50 def DCMPUQ : XForm_17<63, 642, (outs crrc:$BF), (ins fpairrc:$RA, fpairrc:$RB), 51 "dcmpuq $BF, $RA, $RB", IIC_FPCompare>; 53 def DCMPO : XForm_17<59, 130, (outs crrc:$BF), (ins f8rc:$RA, f8rc:$RB), 54 "dcmpo $BF, $RA, $RB", IIC_FPCompare>; 56 def DCMPOQ : XForm_17<63, 130, (outs crrc:$BF), (ins fpairrc:$RA, fpairrc:$RB), 57 "dcmpoq $BF, $RA, $RB", IIC_FPCompare>; 157 def DTSTDC : Z22Form_BF3_FRA5_DCM6<59, 194, (outs crrc:$BF), 159 "dtstdc $BF, $FRA, $DCM", IIC_FPCompare, []>; [all …]
|
| /freebsd/crypto/openssl/test/recipes/30-test_evp_data/ |
| H A D | evpciph_bf.txt | 10 Title = Self generated BF test vectors 13 Cipher = BF-ECB 20 Cipher = BF-ECB 26 Cipher = BF-CBC 34 Cipher = BF-CBC 41 Cipher = BF-OFB 49 Cipher = BF-OFB 56 Cipher = BF-CFB 64 Cipher = BF-CFB
|
| /freebsd/sys/geom/label/ |
| H A D | g_label_ntfs.c | 95 struct ntfs_bootfile *bf; in g_label_ntfs_taste() local 109 bf = NULL; in g_label_ntfs_taste() 112 if (pp->sectorsize < sizeof(*bf)) in g_label_ntfs_taste() 115 bf = g_read_data(cp, 0, pp->sectorsize, NULL); in g_label_ntfs_taste() 116 if (bf == NULL || strncmp(bf->bf_sysid, "NTFS ", 8) != 0) in g_label_ntfs_taste() 119 mftrecsz = bf->bf_mftrecsz; in g_label_ntfs_taste() 120 recsize = (mftrecsz > 0) ? (mftrecsz * bf->bf_bps * bf->bf_spc) : in g_label_ntfs_taste() 125 voloff = bf->bf_mftcn * bf->bf_spc * bf->bf_bps + in g_label_ntfs_taste() 175 g_free(bf); in g_label_ntfs_taste()
|
| /freebsd/usr.sbin/fstyp/ |
| H A D | ntfs.c | 134 struct ntfs_bootfile *bf; in fstyp_ntfs() local 146 bf = (struct ntfs_bootfile *)read_buf(fp, 0, 512); in fstyp_ntfs() 147 if (bf == NULL || strncmp(bf->bf_sysid, "NTFS ", 8) != 0) in fstyp_ntfs() 153 mftrecsz = bf->bf_mftrecsz; in fstyp_ntfs() 155 (mftrecsz * bf->bf_bps * bf->bf_spc) : (1 << -mftrecsz); in fstyp_ntfs() 157 voloff = bf->bf_mftcn * bf->bf_spc * bf in fstyp_ntfs() [all...] |
| /freebsd/secure/lib/libcrypto/man/man7/ |
| H A D | EVP_CIPHER-BLOWFISH.7 | 71 .IP """BF-ECB""" 4 72 .IX Item """BF-ECB""" 74 .IP """BF-CBC""" 4 75 .IX Item """BF-CBC""" 76 .IP """BF-OFB""" 4 77 .IX Item """BF-OFB""" 78 .IP """BF-CFB""" 4 79 .IX Item """BF-CFB"""
|
| /freebsd/contrib/sendmail/src/ |
| H A D | bf.c | 21 SM_RCSID("@(#)$Id: bf.c,v 8.63 2013-11-22 20:51:55 ca Exp $") 32 #include "bf.h" 36 /* bf io functions */ 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; [all …]
|
| /freebsd/contrib/llvm-project/libcxx/include/__format/ |
| H A D | unicode.h | 140 // C0..C1 80..BF invalid overlong encoding 141 …// U+0080..U+07FF C2..DF 80..BF U+0080..U+07FF 2 code unit ra… 142 // E0 80..9F 80..BF invalid overlong encoding 143 …// U+0800..U+0FFF E0 A0..BF 80..BF U+0800..U+FFFF 3 code unit ra… 144 // U+1000..U+CFFF E1..EC 80..BF 80..BF 145 // U+D000..U+D7FF ED 80..9F 80..BF 146 …// U+D800..U+DFFF ED A0..BF 80..BF invalid encoding of surrogate… 147 // U+E000..U+FFFF EE..EF 80..BF 80..BF 148 // F0 80..8F 80..BF 80..BF invalid overlong encoding 149 …// U+10000..U+3FFFF F0 90..BF 80..BF 80..BF U+10000..U+10FFFF 4 code unit… [all …]
|
| /freebsd/sys/dev/mwl/ |
| H A D | if_mwl.c | 243 static void mwl_printrxbuf(const struct mwl_rxbuf *bf, u_int ix); 244 static void mwl_printtxbuf(const struct mwl_txbuf *bf, u_int qnum, u_int ix); 1266 struct mwl_txbuf *bf; in mwl_gettxbuf() local 1272 bf = STAILQ_FIRST(&txq->free); in mwl_gettxbuf() 1273 if (bf != NULL) { in mwl_gettxbuf() 1278 if (bf == NULL) in mwl_gettxbuf() 1281 return bf; in mwl_gettxbuf() 1291 mwl_puttxbuf_head(struct mwl_txq *txq, struct mwl_txbuf *bf) in mwl_puttxbuf_head() argument 1293 bf->bf_m = NULL; in mwl_puttxbuf_head() 1294 bf->bf_node = NULL; in mwl_puttxbuf_head() [all …]
|
| /freebsd/crypto/openssh/regress/unittests/sshkey/ |
| H A D | mktestdata.sh | 209 ssh-keygen -Bf rsa_1 | awk '{print $2}' > rsa_1.fp.bb 210 ssh-keygen -Bf dsa_1 | awk '{print $2}' > dsa_1.fp.bb 211 ssh-keygen -Bf ecdsa_1 | awk '{print $2}' > ecdsa_1.fp.bb 212 ssh-keygen -Bf ed25519_1 | awk '{print $2}' > ed25519_1.fp.bb 213 ssh-keygen -Bf ecdsa_sk1 | awk '{print $2}' > ecdsa_sk1.fp.bb 214 ssh-keygen -Bf ed25519_sk1 | awk '{print $2}' > ed25519_sk1.fp.bb 215 ssh-keygen -Bf rsa_2 | awk '{print $2}' > rsa_2.fp.bb 216 ssh-keygen -Bf dsa_2 | awk '{print $2}' > dsa_2.fp.bb 217 ssh-keygen -Bf ecdsa_2 | awk '{print $2}' > ecdsa_2.fp.bb 218 ssh-keygen -Bf ed25519_2 | awk '{print $2}' > ed25519_2.fp.bb [all …]
|