| /freebsd-13.1/sys/dev/ath/ |
| H A D | if_ath_tx.c | 161 bf = bf->bf_next; in ath_tx_alq_post() 312 bf->bf_segs, &bf->bf_nseg, in ath_tx_dmasetup() 337 bf->bf_segs, &bf->bf_nseg, in ath_tx_dmasetup() 577 __func__, bf, bf->bf_nseg, bf->bf_state.bfs_pktlen, in ath_tx_setds_11n() 606 ath_tx_set_ratectrl(sc, bf->bf_node, bf); in ath_tx_setds_11n() 640 bf = bf->bf_next; in ath_tx_setds_11n() 823 (caddr_t)bf->bf_daddr, bf->bf_desc, in ath_tx_handoff_hw() 829 (caddr_t)bf->bf_daddr, bf->bf_desc, in ath_tx_handoff_hw() 1358 bf->bf_last = bf; in ath_tx_setds() 1361 ath_tx_set_ratectrl(sc, bf->bf_node, bf); in ath_tx_setds() [all …]
|
| H A D | if_ath_rx_edma.c | 456 m = bf->bf_m; in ath_edma_recv_proc_queue() 466 bf->bf_rxstatus = ath_hal_rxprocdesc(ah, ds, bf->bf_daddr, in ath_edma_recv_proc_queue() 472 ath_printrxbuf(sc, bf, 0, bf->bf_rxstatus == HAL_OK); in ath_edma_recv_proc_queue() 593 m = bf->bf_m; in ath_edma_recv_proc_deferred_queue() 711 bf->bf_lastds = bf->bf_desc; /* XXX only really for TX? */ in ath_edma_rxbuf_init() 712 bf->bf_m = m; in ath_edma_rxbuf_init() 727 bf->bf_dmamap, m, bf->bf_segs, &bf->bf_nseg, BUS_DMA_NOWAIT); in ath_edma_rxbuf_init() 740 bf->bf_daddr = bf->bf_segs[0].ds_addr; in ath_edma_rxbuf_init() 785 bf, in ath_edma_rxbuf_alloc() 791 return (bf); in ath_edma_rxbuf_alloc() [all …]
|
| H A D | if_ath_beacon.c | 192 __func__, bf->bf_m, bf->bf_node); in ath_beacon_alloc() 215 bf->bf_segs, &bf->bf_nseg, in ath_beacon_alloc() 258 bf->bf_m = m; in ath_beacon_alloc() 290 bf->bf_last = bf; in ath_beacon_setup() 718 m = bf->bf_m; in ath_beacon_generate() 726 bf->bf_segs, &bf->bf_nseg, in ath_beacon_generate() 821 return bf; in ath_beacon_generate() 842 m = bf->bf_m; in ath_beacon_start_adhoc() 847 bf->bf_segs, &bf->bf_nseg, in ath_beacon_start_adhoc() 872 __func__, bf, bf->bf_m, bf->bf_node); in ath_beacon_return() [all …]
|
| H A D | if_ath_debug.c | 109 for (i = 0, ds = bf->bf_desc; i < bf->bf_nseg; i++, ds++) { in ath_printrxbuf() 148 while (bf != NULL) { in ath_printtxbuf_edma() 175 bf->bf_state.bfs_seqno, in ath_printtxbuf_edma() 178 bf->bf_state.bfs_dobaw); in ath_printtxbuf_edma() 195 bf = bf->bf_next; in ath_printtxbuf_edma() 210 while (bf != NULL) { in ath_printtxbuf_legacy() 213 bf->bf_state.bfs_seqno, in ath_printtxbuf_legacy() 214 bf->bf_state.bfs_retries, in ath_printtxbuf_legacy() 216 bf->bf_state.bfs_dobaw); in ath_printtxbuf_legacy() 217 for (i = 0, ds = bf->bf_desc; i < bf->bf_nseg; i++, ds++) { in ath_printtxbuf_legacy() [all …]
|
| H A D | if_ath_descdma.c | 247 struct ath_buf *bf; in ath_descdma_setup() local 264 if (bf == NULL) { in ath_descdma_setup() 270 dd->dd_bufptr = bf; in ath_descdma_setup() 291 &bf->bf_dmamap); in ath_descdma_setup() 299 bf->bf_lastds = bf->bf_desc; /* Just an initial value */ in ath_descdma_setup() 331 struct ath_buf *bf; in ath_descdma_setup_rx_edma() local 352 if (bf == NULL) { in ath_descdma_setup_rx_edma() 359 dd->dd_bufptr = bf; in ath_descdma_setup_rx_edma() 364 bf->bf_daddr = 0; in ath_descdma_setup_rx_edma() 368 &bf->bf_dmamap); in ath_descdma_setup_rx_edma() [all …]
|
| H A D | if_ath_tx_edma.c | 209 if (bf == NULL) in ath_tx_edma_push_staging_list() 228 bf = TAILQ_FIRST(&sq); in ath_tx_edma_push_staging_list() 406 struct ath_buf *bf; in ath_edma_dma_restart() local 470 bf, in ath_edma_dma_restart() 531 struct ath_buf *bf) in ath_edma_xmit_handoff_hw() argument 594 bf->bf_daddr); in ath_edma_xmit_handoff_mcast() 629 bf, in ath_edma_xmit_handoff() 802 struct ath_buf *bf; in ath_edma_tx_processq() local 888 if (bf == NULL) { in ath_edma_tx_processq() 913 bf->bf_descid); in ath_edma_tx_processq() [all …]
|
| H A D | if_ath_tx_ht.c | 566 struct ath_buf *bf) in ath_get_aggr_limit() argument 635 if (bf->bf_state.bfs_aggr) in ath_rateseries_setup() 744 struct ath_buf *bf) in ath_buf_set_rate() argument 852 bf = ATH_TID_FIRST(tid); in ath_tx_form_aggr() 853 if (bf == NULL) { in ath_tx_form_aggr() 858 bf_first = bf; in ath_tx_form_aggr() 873 bf->bf_next = NULL; in ath_tx_form_aggr() 932 if (bf != bf_first) { in ath_tx_form_aggr() 991 bf->bf_state.bfs_pktlen, (bf_first == bf)); in ath_tx_form_aggr() 1004 bf_prev->bf_next = bf; in ath_tx_form_aggr() [all …]
|
| H A D | if_ath_rx.c | 257 m = bf->bf_m; in ath_legacy_rxbuf_init() 277 bf->bf_segs, &bf->bf_nseg, in ath_legacy_rxbuf_init() 289 bf->bf_m = m; in ath_legacy_rxbuf_init() 314 ds = bf->bf_desc; in ath_legacy_rxbuf_init() 1136 m = bf->bf_m; in ath_rx_proc() 1147 ds = bf->bf_desc; in ath_rx_proc() 1190 bf->bf_m = NULL; in ath_rx_proc() 1372 if (bf != NULL) { in ath_legacy_flush_rxholdbf() 1375 bf->bf_m = NULL; in ath_legacy_flush_rxholdbf() 1382 if (bf != NULL) { in ath_legacy_flush_rxholdbf() [all …]
|
| H A D | if_ath.c | 3144 bf = NULL; in _ath_getbuf_locked() 3166 bzero(&bf->bf_state, sizeof(bf->bf_state)); in _ath_getbuf_locked() 3176 return bf; in _ath_getbuf_locked() 3263 return bf; in ath_getbuf() 4250 bf, in ath_tx_default_comp() 4257 bf, in ath_tx_default_comp() 4370 bf->bf_comp(sc, bf, 0); in ath_tx_process_buf_completion() 4451 bf, in ath_tx_processq() 4811 bf, in ath_txq_addholdingbuf() 5009 bf->bf_comp(sc, bf, 1); in ath_tx_draintxq() [all …]
|
| H A D | if_ath_misc.h | 55 struct ath_buf *bf); 57 extern void ath_freebuf(struct ath_softc *sc, struct ath_buf *bf); 58 extern void ath_returnbuf_head(struct ath_softc *sc, struct ath_buf *bf); 59 extern void ath_returnbuf_tail(struct ath_softc *sc, struct ath_buf *bf); 63 extern void ath_tx_default_comp(struct ath_softc *sc, struct ath_buf *bf, 73 extern void ath_tx_freebuf(struct ath_softc *sc, struct ath_buf *bf, 94 struct ath_txq *txq, struct ath_tx_status *ts, struct ath_buf *bf);
|
| /freebsd-13.1/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() 36 os_free(bf); in bitfield_free() 42 if (bit >= bf->max_bits) in bitfield_set() 50 if (bit >= bf->max_bits) in bitfield_clear() 58 if (bit >= bf->max_bits) in bitfield_is_set() [all …]
|
| H A D | utils_module_tests.c | 130 struct bitfield *bf; in bitfield_tests() local 137 if (bf == NULL) in bitfield_tests() 141 if (bitfield_is_set(bf, i) || bitfield_is_set(bf, i + 1)) in bitfield_tests() 145 bitfield_set(bf, i); in bitfield_tests() 154 if (bitfield_is_set(bf, i) || bitfield_is_set(bf, i + 1)) in bitfield_tests() 158 bitfield_set(bf, i); in bitfield_tests() 167 if (bitfield_is_set(bf, i) || bitfield_is_set(bf, i + 1)) in bitfield_tests() 169 bitfield_set(bf, i); in bitfield_tests() 200 bitfield_free(bf); in bitfield_tests() 203 if (bf == NULL) 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-13.1/sys/dev/malo/ |
| H A D | if_malo.c | 528 if (bf == NULL) { in malo_rxdma_setup() 570 if (bf == NULL) { in malo_txdma_setup() 785 if (bf != NULL) { in malo_getbuf() 795 return bf; in malo_getbuf() 809 bf->bf_segs, &bf->bf_nseg, in malo_tx_dmasetup() 833 bf->bf_segs, &bf->bf_nseg, in malo_tx_dmasetup() 850 bf->bf_m = m0; in malo_tx_dmasetup() 1375 bf->bf_m = malo_getrxmbuf(sc, bf); in malo_rxbuf_init() 1430 prev = bf; in malo_startrecv() 2012 m = bf->bf_m; in malo_rx_proc() [all …]
|
| /freebsd-13.1/sys/dev/mlx4/mlx4_core/ |
| H A D | mlx4_pd.c | 221 bf->uar = uar; in mlx4_bf_alloc() 222 bf->offset = 0; in mlx4_bf_alloc() 231 bf->uar = NULL; in mlx4_bf_alloc() 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() 257 if (!bf->uar->free_bf_bmap) { in mlx4_bf_free() 259 list_del(&bf->uar->bf_list); in mlx4_bf_free() 261 io_mapping_unmap(bf->uar->bf_map); in mlx4_bf_free() 262 iounmap(bf->uar->map); in mlx4_bf_free() 263 mlx4_uar_free(dev, bf->uar); in mlx4_bf_free() [all …]
|
| /freebsd-13.1/sys/geom/label/ |
| H A D | g_label_ntfs.c | 98 struct ntfs_bootfile *bf; in g_label_ntfs_taste() local 112 bf = NULL; in g_label_ntfs_taste() 115 if (pp->sectorsize < sizeof(*bf)) in g_label_ntfs_taste() 118 bf = g_read_data(cp, 0, pp->sectorsize, NULL); in g_label_ntfs_taste() 119 if (bf == NULL || strncmp(bf->bf_sysid, "NTFS ", 8) != 0) in g_label_ntfs_taste() 122 mftrecsz = bf->bf_mftrecsz; in g_label_ntfs_taste() 123 recsize = (mftrecsz > 0) ? (mftrecsz * bf->bf_bps * bf->bf_spc) : in g_label_ntfs_taste() 128 voloff = bf->bf_mftcn * bf->bf_spc * bf->bf_bps + in g_label_ntfs_taste() 178 if (bf != NULL) in g_label_ntfs_taste() 179 g_free(bf); in g_label_ntfs_taste()
|
| /freebsd-13.1/usr.sbin/fstyp/ |
| H A D | ntfs.c | 136 struct ntfs_bootfile *bf; in fstyp_ntfs() local 149 bf = (struct ntfs_bootfile *)read_buf(fp, 0, 512); in fstyp_ntfs() 150 if (bf == NULL || strncmp(bf->bf_sysid, "NTFS ", 8) != 0) in fstyp_ntfs() 156 mftrecsz = bf->bf_mftrecsz; in fstyp_ntfs() 157 recsize = (mftrecsz > 0) ? (mftrecsz * bf->bf_bps * bf->bf_spc) : (1 << -mftrecsz); in fstyp_ntfs() 159 voloff = bf->bf_mftcn * bf->bf_spc * bf->bf_bps + in fstyp_ntfs() 188 free(bf); in fstyp_ntfs() 194 free(bf); in fstyp_ntfs()
|
| /freebsd-13.1/contrib/file/src/ |
| H A D | encoding.c | 471 if (bf[0] == 0xff && bf[1] == 0xfe) in looks_ucs16() 473 else if (bf[0] == 0xfe && bf[1] == 0xff) in looks_ucs16() 484 ubf[(*ulen)++] = bf[i + 1] in looks_ucs16() 485 | (CAST(file_unichar_t, bf[i]) << 8); in looks_ucs16() 487 ubf[(*ulen)++] = bf[i] in looks_ucs16() 488 | (CAST(file_unichar_t, bf[i + 1]) << 8); in looks_ucs16() 510 if (bf[0] == 0xff && bf[1] == 0xfe && bf[2] == 0 && bf[3] == 0) in looks_ucs32() 512 else if (bf[0] == 0 && bf[1] == 0 && bf[2] == 0xfe && bf[3] == 0xff) in looks_ucs32() 524 | (CAST(file_unichar_t, bf[i + 2]) << 8) in looks_ucs32() 525 | (CAST(file_unichar_t, bf[i + 1]) << 16) in looks_ucs32() [all …]
|
| /freebsd-13.1/contrib/sendmail/src/ |
| H A D | bf.c | 53 struct bf struct 108 struct bf *bfp; 132 bfp = (struct bf *) sm_malloc(sizeof(struct bf)); 268 struct bf *bfp; 302 struct bf *bfp; 346 struct bf *bfp; 443 struct bf *bfp; 491 struct bf *bfp; 675 struct bf *bfp; 788 struct bf *bfp; [all …]
|
| /freebsd-13.1/sys/dev/mwl/ |
| H A D | if_mwl.c | 1276 if (bf != NULL) { in mwl_gettxbuf() 1281 if (bf == NULL) in mwl_gettxbuf() 1284 return bf; in mwl_gettxbuf() 1296 bf->bf_m = NULL; in mwl_puttxbuf_head() 1307 bf->bf_m = NULL; in mwl_puttxbuf_tail() 2629 if (bf == NULL) in mwl_rx_proc() 2819 bf = STAILQ_NEXT(bf, bf_list); in mwl_rx_proc() 2962 bf->bf_segs, &bf->bf_nseg, in mwl_tx_dmasetup() 2991 bf->bf_segs, &bf->bf_nseg, in mwl_tx_dmasetup() 3008 bf->bf_m = m0; in mwl_tx_dmasetup() [all …]
|
| /freebsd-13.1/contrib/ntp/sntp/libopts/ |
| H A D | pgusage.c | 39 char * bf; in open_tmp_usage() local 48 bf = AGALOC(bfsz, "tmp fil"); in open_tmp_usage() 49 snprintf(bf, bfsz, TMP_FILE_FMT, tmpdir, my_pid); in open_tmp_usage() 55 int fd = mkstemp(bf); in open_tmp_usage() 59 AGFREE(bf); in open_tmp_usage() 62 *buf = bf; in open_tmp_usage()
|
| /freebsd-13.1/contrib/tcsh/ |
| H A D | tw.comp.c | 220 static Char *bf = NULL; in tw_tok() local 223 bf = str; in tw_tok() 226 for (; *bf && Isspace(*bf); bf++) in tw_tok() 229 for (str = bf; *bf && !Isspace(*bf); bf++) { in tw_tok() 230 if (ismetahash(*bf)) in tw_tok() 232 *bf = *bf & ~QUOTE; in tw_tok() 234 if (*bf != '\0') in tw_tok() 235 *bf++ = '\0'; in tw_tok()
|
| /freebsd-13.1/sys/dev/rtwn/usb/ |
| H A D | rtwn_usb_tx.c | 78 struct rtwn_data *bf; in _rtwn_usb_getbuf() local 80 bf = STAILQ_FIRST(&uc->uc_tx_inactive); in _rtwn_usb_getbuf() 81 if (bf != NULL) in _rtwn_usb_getbuf() 87 return (bf); in _rtwn_usb_getbuf() 94 struct rtwn_data *bf; in rtwn_usb_getbuf() local 98 bf = _rtwn_usb_getbuf(uc); in rtwn_usb_getbuf() 99 if (bf == NULL) { in rtwn_usb_getbuf() 103 return (bf); in rtwn_usb_getbuf()
|
| /freebsd-13.1/secure/caroot/trusted/ |
| H A D | DigiCert_Global_Root_CA.pem | 33 e2:8d:22:dd:87:06:40:00:81:09:ce:ce:1b:83:bf: 37 74:7f:7a:78:99:59:85:68:6e:5c:23:32:4b:bf:4e: 38 c0:e8:5a:6d:e3:70:bf:77:10:bf:fc:01:f6:85:d9: 40 6a:f4:9a:33:f8:49:08:60:8b:d4:5f:b4:3a:84:bf: 43 14:64:17:c7:5b:29:9e:32:bf:f2:ee:fa:d3:0b:42: 64 63:d5:e4:07:60:d3:a3:bf:9d:5b:09:f1:d5:8e:e3:53:f4:8e: 72 47:7c:b5:b4:24:08:05:30:ec:2d:bd:0b:bf:45:bf:50:b9:a9:
|
| /freebsd-13.1/usr.sbin/bhyve/ |
| H A D | acpi.c | 777 basl_open(struct basl_fio *bf, int suffix) in basl_open() argument 785 bf->fd = mkstemps(bf->f_name, strlen(BHYVE_ASL_SUFFIX)); in basl_open() 788 bf->fd = mkstemp(bf->f_name); in basl_open() 791 if (bf->fd > 0) { in basl_open() 792 bf->fp = fdopen(bf->fd, "w+"); in basl_open() 793 if (bf->fp == NULL) { in basl_open() 794 unlink(bf->f_name); in basl_open() 795 close(bf->fd); in basl_open() 805 basl_close(struct basl_fio *bf) in basl_close() argument 809 unlink(bf->f_name); in basl_close() [all …]
|