Searched refs:bf (Results 1 - 25 of 87) sorted by relevance

1234

/freebsd-10-stable/sys/dev/ath/
H A Dif_ath_tx.c126 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; local
142 bf = bf_first;
144 while (bf != NULL) {
146 if (bf->bf_nseg == 0)
148 n = ((bf->bf_nseg - 1) / sc->sc_tx_nmaps) + 1;
149 for (i = 0, ds = (const char *) bf->bf_desc;
157 bf = bf
193 ath_tx_set_retry(struct ath_softc *sc, struct ath_buf *bf) argument
242 struct ath_buf *bf, *next; local
264 struct ath_buf *bf; local
301 ath_tx_dmasetup(struct ath_softc *sc, struct ath_buf *bf, struct mbuf *m0) argument
364 ath_tx_chaindesclist(struct ath_softc *sc, struct ath_desc *ds0, struct ath_buf *bf, int is_aggr, int is_first_subframe, int is_last_subframe) argument
506 ath_tx_set_ratectrl(struct ath_softc *sc, struct ieee80211_node *ni, struct ath_buf *bf) argument
553 struct ath_buf *bf, *bf_prev = NULL; local
698 ath_tx_handoff_mcast(struct ath_softc *sc, struct ath_txq *txq, struct ath_buf *bf) argument
741 ath_tx_handoff_hw(struct ath_softc *sc, struct ath_txq *txq, struct ath_buf *bf) argument
928 struct ath_buf *bf, *bf_last; local
975 ath_legacy_xmit_handoff(struct ath_softc *sc, struct ath_txq *txq, struct ath_buf *bf) argument
1061 ath_tx_calc_protection(struct ath_softc *sc, struct ath_buf *bf) argument
1125 ath_tx_calc_duration(struct ath_softc *sc, struct ath_buf *bf) argument
1264 ath_tx_set_rtscts(struct ath_softc *sc, struct ath_buf *bf) argument
1336 ath_tx_setds(struct ath_softc *sc, struct ath_buf *bf) argument
1384 ath_tx_do_ratelookup(struct ath_softc *sc, struct ath_buf *bf) argument
1419 ath_tx_update_clrdmask(struct ath_softc *sc, struct ath_tid *tid, struct ath_buf *bf) argument
1507 ath_tx_xmit_normal(struct ath_softc *sc, struct ath_txq *txq, struct ath_buf *bf) argument
1557 ath_tx_normal_setup(struct ath_softc *sc, struct ieee80211_node *ni, struct ath_buf *bf, struct mbuf *m0, struct ath_txq *txq) argument
1867 ath_tx_start(struct ath_softc *sc, struct ieee80211_node *ni, struct ath_buf *bf, struct mbuf *m0) argument
2086 ath_tx_raw_start(struct ath_softc *sc, struct ieee80211_node *ni, struct ath_buf *bf, struct mbuf *m0, const struct ieee80211_bpf_params *params) argument
2345 struct ath_buf *bf; local
2566 ath_tx_addto_baw(struct ath_softc *sc, struct ath_node *an, struct ath_tid *tid, struct ath_buf *bf) argument
2705 ath_tx_update_baw(struct ath_softc *sc, struct ath_node *an, struct ath_tid *tid, const struct ath_buf *bf) argument
2756 ath_tx_leak_count_update(struct ath_softc *sc, struct ath_tid *tid, struct ath_buf *bf) argument
2890 ath_tx_tid_seqno_assign(struct ath_softc *sc, struct ieee80211_node *ni, struct ath_buf *bf, struct mbuf *m0) argument
2946 ath_tx_xmit_aggr(struct ath_softc *sc, struct ath_node *an, struct ath_txq *txq, struct ath_buf *bf) argument
3034 ath_tx_swq(struct ath_softc *sc, struct ieee80211_node *ni, struct ath_txq *txq, int queue_to_head, struct ath_buf *bf) argument
3305 ath_tx_tid_filt_addbuf(struct ath_softc *sc, struct ath_tid *tid, struct ath_buf *bf) argument
3330 ath_tx_tid_filt_comp_buf(struct ath_softc *sc, struct ath_tid *tid, struct ath_buf *bf) argument
3357 struct ath_buf *bf; local
3388 ath_tx_tid_filt_comp_single(struct ath_softc *sc, struct ath_tid *tid, struct ath_buf *bf) argument
3440 struct ath_buf *bf, *bf_next, *nbf; local
3670 ath_tx_tid_drain_pkt(struct ath_softc *sc, struct ath_node *an, struct ath_tid *tid, ath_bufhead *bf_cq, struct ath_buf *bf) argument
3710 ath_tx_tid_drain_print(struct ath_softc *sc, struct ath_node *an, const char *pfx, struct ath_tid *tid, struct ath_buf *bf) argument
3795 struct ath_buf *bf; local
3955 struct ath_buf *bf; local
4010 struct ath_buf *bf; local
4050 ath_tx_normal_comp(struct ath_softc *sc, struct ath_buf *bf, int fail) argument
4122 ath_tx_comp_cleanup_unaggr(struct ath_softc *sc, struct ath_buf *bf) argument
4165 struct ath_buf *bf, *bf_next; local
4242 ath_tx_retry_clone(struct ath_softc *sc, struct ath_node *an, struct ath_tid *tid, struct ath_buf *bf) argument
4308 ath_tx_aggr_retry_unaggr(struct ath_softc *sc, struct ath_buf *bf) argument
4398 ath_tx_retry_subframe(struct ath_softc *sc, struct ath_buf *bf, ath_bufhead *bf_q) argument
4469 struct ath_buf *bf_next, *bf; local
4554 struct ath_buf *bf, *bf_next; local
4619 struct ath_buf *bf, *bf_next; local
4939 ath_tx_aggr_comp_unaggr(struct ath_softc *sc, struct ath_buf *bf, int fail) argument
5124 ath_tx_aggr_comp(struct ath_softc *sc, struct ath_buf *bf, int fail) argument
5141 struct ath_buf *bf; local
5370 struct ath_buf *bf; local
5740 struct ath_buf *bf; local
5802 struct ath_buf *bf; local
[all...]
H A Dif_ath_tx_ht.h54 extern void ath_tx_rate_fill_rcflags(struct ath_softc *sc, struct ath_buf *bf);
57 struct ieee80211_node *ni, struct ath_buf *bf);
H A Dif_ath_debug.c100 ath_printrxbuf(struct ath_softc *sc, const struct ath_buf *bf, argument
103 const struct ath_rx_status *rs = &bf->bf_status.ds_rxstat;
108 for (i = 0, ds = bf->bf_desc; i < bf->bf_nseg; i++, ds++) {
111 ix, ds, (const struct ath_desc *)bf->bf_daddr + i,
141 const struct ath_buf *bf = first_bf; local
146 printf("Q%u[%3u] (nseg=%d)", qnum, ix, bf->bf_nseg);
147 while (bf != NULL) {
156 n = ((bf->bf_nseg - 1) / 4) + 1;
158 for (i = 0, ds = (const char *) bf
203 const struct ath_buf *bf = first_bf; local
[all...]
H A Dif_ath_tx_edma.c145 struct ath_buf *bf, *bf_last; local
154 TAILQ_FOREACH(bf, &txq->axq_q, bf_list) {
166 ATH_TXQ_REMOVE(txq, bf, bf_list);
174 bf_last = bf;
180 bf,
186 ATH_TXQ_INSERT_TAIL(&txq->fifo, bf, bf_list);
192 bf->bf_flags |= ATH_BUF_FIFOPTR;
198 ath_hal_puttxbuf(sc->sc_ah, txq->axq_qnum, bf->bf_daddr);
201 ath_printtxbuf(sc, bf, txq->axq_qnum, i, 0);
205 ath_tx_alq_post(sc, bf);
224 struct ath_buf *bf; local
348 ath_edma_xmit_handoff_hw(struct ath_softc *sc, struct ath_txq *txq, struct ath_buf *bf) argument
392 ath_edma_xmit_handoff_mcast(struct ath_softc *sc, struct ath_txq *txq, struct ath_buf *bf) argument
447 ath_edma_xmit_handoff(struct ath_softc *sc, struct ath_txq *txq, struct ath_buf *bf) argument
613 struct ath_buf *bf; local
[all...]
H A Dif_ath_beacon.c179 struct ath_buf *bf; local
183 bf = avp->av_bcbuf;
185 __func__, bf->bf_m, bf->bf_node);
186 if (bf->bf_m != NULL) {
187 bus_dmamap_unload(sc->sc_dmat, bf->bf_dmamap);
188 m_freem(bf->bf_m);
189 bf->bf_m = NULL;
191 if (bf->bf_node != NULL) {
192 ieee80211_free_node(bf
261 ath_beacon_setup(struct ath_softc *sc, struct ath_buf *bf) argument
430 struct ath_buf *bf; local
563 struct ath_buf *bf, *bf_last; local
655 struct ath_buf *bf; local
696 struct ath_buf *bf; local
812 struct ath_buf *bf; local
851 ath_beacon_return(struct ath_softc *sc, struct ath_buf *bf) argument
874 struct ath_buf *bf; local
[all...]
H A Dif_ath_rx_edma.c150 static void ath_edma_rxbuf_free(struct ath_softc *sc, struct ath_buf *bf);
191 struct ath_buf *bf; local
198 bf = re->m_fifo[i];
204 (uintmax_t)bf->bf_daddr);
205 ath_hal_putrxbuf(sc->sc_ah, bf->bf_daddr, qtype);
338 struct ath_buf *bf; local
352 bf = re->m_fifo[re->m_fifo_head];
354 if (bf == NULL) {
355 device_printf(sc->sc_dev, "%s: Q%d: NULL bf?\n",
360 m = bf
452 struct ath_buf *bf, *next; local
475 struct ath_buf *bf, *next; local
585 ath_edma_rxbuf_init(struct ath_softc *sc, struct ath_buf *bf) argument
666 struct ath_buf *bf; local
699 ath_edma_rxbuf_free(struct ath_softc *sc, struct ath_buf *bf) argument
728 struct ath_buf *bf; local
802 struct ath_buf *bf = re->m_fifo[i]; local
[all...]
H A Dif_ath_tx_ht.c222 ath_tx_rate_fill_rcflags(struct ath_softc *sc, struct ath_buf *bf) argument
224 struct ieee80211_node *ni = bf->bf_node;
227 struct ath_rc_series *rc = bf->bf_state.bfs_rc;
241 if ((! IS_HT_RATE(rate)) && bf->bf_state.bfs_shpream)
249 if (bf->bf_state.bfs_txflags &
464 ath_get_aggr_limit(struct ath_softc *sc, struct ath_buf *bf) argument
473 if (bf->bf_state.bfs_rc[i].tries == 0)
475 amin = MIN(amin, bf->bf_state.bfs_rc[i].max4msframelen);
496 struct ath_buf *bf, HAL_11N_RATE_SERIES *series)
504 struct ath_rc_series *rc = bf
495 ath_rateseries_setup(struct ath_softc *sc, struct ieee80211_node *ni, struct ath_buf *bf, HAL_11N_RATE_SERIES *series) argument
615 ath_buf_set_rate(struct ath_softc *sc, struct ieee80211_node *ni, struct ath_buf *bf) argument
695 struct ath_buf *bf, *bf_first = NULL, *bf_prev = NULL; local
[all...]
H A Dif_ath_misc.h62 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);
H A Dif_ath_rx.c228 ath_legacy_rxbuf_init(struct ath_softc *sc, struct ath_buf *bf) argument
235 m = bf->bf_m;
254 bf->bf_dmamap, m,
255 bf->bf_segs, &bf->bf_nseg,
265 KASSERT(bf->bf_nseg == 1,
266 ("multi-segment packet; nseg %u", bf->bf_nseg));
267 bf->bf_m = m;
269 bus_dmamap_sync(sc->sc_dmat, bf->bf_dmamap, BUS_DMASYNC_PREREAD);
292 ds = bf
517 ath_rx_pkt(struct ath_softc *sc, struct ath_rx_status *rs, HAL_STATUS status, uint64_t tsf, int nf, HAL_RX_QUEUE qtype, struct ath_buf *bf, struct mbuf *m) argument
888 struct ath_buf *bf; local
1138 struct ath_buf *bf; local
1180 struct ath_buf *bf; local
[all...]
H A Dif_ath.c2535 struct ath_buf *bf; local
2540 bf = TAILQ_FIRST(&sc->sc_txbuf_mgmt);
2542 bf = TAILQ_FIRST(&sc->sc_txbuf);
2544 if (bf == NULL) {
2547 if (bf->bf_flags & ATH_BUF_BUSY) {
2549 bf = NULL;
2553 if (bf != NULL && (bf->bf_flags & ATH_BUF_BUSY) == 0) {
2555 TAILQ_REMOVE(&sc->sc_txbuf_mgmt, bf, bf_list);
2557 TAILQ_REMOVE(&sc->sc_txbuf, bf, bf_lis
2623 ath_buf_clone(struct ath_softc *sc, struct ath_buf *bf) argument
2676 struct ath_buf *bf; local
2719 struct ath_buf *bf; local
3328 struct ath_buf *bf; local
3411 struct ath_buf *bf; local
3466 struct ath_buf *bf; local
3889 ath_tx_update_stats(struct ath_softc *sc, struct ath_tx_status *ts, struct ath_buf *bf) argument
3952 ath_tx_default_comp(struct ath_softc *sc, struct ath_buf *bf, int fail) argument
4040 ath_tx_process_buf_completion(struct ath_softc *sc, struct ath_txq *txq, struct ath_tx_status *ts, struct ath_buf *bf) argument
4092 struct ath_buf *bf; local
4418 ath_returnbuf_tail(struct ath_softc *sc, struct ath_buf *bf) argument
4439 ath_returnbuf_head(struct ath_softc *sc, struct ath_buf *bf) argument
4485 ath_txq_addholdingbuf(struct ath_softc *sc, struct ath_buf *bf) argument
4528 ath_freebuf(struct ath_softc *sc, struct ath_buf *bf) argument
4562 ath_tx_freebuf(struct ath_softc *sc, struct ath_buf *bf, int status) argument
4591 struct ath_buf *bf; local
4649 struct ath_buf *bf; local
4786 struct ath_buf *bf; local
4861 struct ath_buf *bf = TAILQ_FIRST(&sc->sc_bbuf); local
[all...]
H A Dif_ath_beacon.h48 extern void ath_beacon_return(struct ath_softc *sc, struct ath_buf *bf);
/freebsd-10-stable/usr.sbin/fstyp/
H A Dntfs.c98 struct ntfs_bootfile *bf; local
109 bf = (struct ntfs_bootfile *)read_buf(fp, 0, 512);
110 if (bf == NULL || strncmp(bf->bf_sysid, "NTFS ", 8) != 0)
113 mftrecsz = bf->bf_mftrecsz;
114 recsize = (mftrecsz > 0) ? (mftrecsz * bf->bf_bps * bf->bf_spc) : (1 << -mftrecsz);
116 voloff = bf->bf_mftcn * bf->bf_spc * bf
[all...]
/freebsd-10-stable/sys/ofed/drivers/net/mlx4/
H A Dpd.c171 int mlx4_bf_alloc(struct mlx4_dev *dev, struct mlx4_bf *bf, int node) argument
216 bf->uar = uar;
219 bf->uar = uar;
220 bf->offset = 0;
221 bf->buf_size = dev->caps.bf_reg_size / 2;
222 bf->reg = uar->bf_map + idx * dev->caps.bf_reg_size;
229 bf->uar = NULL;
244 void mlx4_bf_free(struct mlx4_dev *dev, struct mlx4_bf *bf) argument
249 if (!bf->uar || !bf
271 mlx4_bf_alloc(struct mlx4_dev *dev, struct mlx4_bf *bf, int node) argument
278 mlx4_bf_free(struct mlx4_dev *dev, struct mlx4_bf *bf) argument
[all...]
/freebsd-10-stable/sys/geom/label/
H A Dg_label_ntfs.c98 struct ntfs_bootfile *bf; local
113 bf = (struct ntfs_bootfile *)g_read_data(cp, 0, pp->sectorsize, NULL);
114 if (bf == NULL || strncmp(bf->bf_sysid, "NTFS ", 8) != 0)
117 mftrecsz = bf->bf_mftrecsz;
118 recsize = (mftrecsz > 0) ? (mftrecsz * bf->bf_bps * bf->bf_spc) : (1 << -mftrecsz);
122 voloff = bf->bf_mftcn * bf->bf_spc * bf
[all...]
/freebsd-10-stable/contrib/ntp/sntp/libopts/
H A Dpgusage.c39 char * bf; local
48 bf = AGALOC(bfsz, "tmp fil");
49 snprintf(bf, bfsz, TMP_FILE_FMT, tmpdir, my_pid);
55 int fd = mkstemp(bf);
59 AGFREE(bf);
62 *buf = bf;
/freebsd-10-stable/crypto/openssl/crypto/ui/
H A Dui_compat.h77 # define des_read_pw(b,bf,s,p,v) \
78 _ossl_old_des_read_pw((b),(bf),(s),(p),(v))
/freebsd-10-stable/sys/dev/malo/
H A Dif_malo.c548 struct malo_rxbuf *bf; local
561 bf = malloc(bsize, M_MALODEV, M_NOWAIT | M_ZERO);
562 if (bf == NULL) {
566 sc->malo_rxdma.dd_bufptr = bf;
570 for (i = 0; i < malo_rxbuf; i++, bf++, ds++) {
571 bf->bf_desc = ds;
572 bf->bf_daddr = DS2PHYS(&sc->malo_rxdma, ds);
574 &bf->bf_dmamap);
581 STAILQ_INSERT_TAIL(&sc->malo_rxbuf, bf, bf_list);
591 struct malo_txbuf *bf; local
644 struct malo_rxbuf *bf; local
668 struct malo_txbuf *bf; local
779 struct malo_txbuf *bf, *bn; local
814 struct malo_txbuf *bf; local
832 malo_tx_dmasetup(struct malo_softc *sc, struct malo_txbuf *bf, struct mbuf *m0) argument
890 malo_printrxbuf(const struct malo_rxbuf *bf, u_int ix) argument
907 malo_printtxbuf(const struct malo_txbuf *bf, u_int qnum, u_int ix) argument
968 struct malo_txbuf *bf; local
1084 malo_tx_start(struct malo_softc *sc, struct ieee80211_node *ni, struct malo_txbuf *bf, struct mbuf *m0) argument
1274 struct malo_txbuf *bf = NULL; local
1391 malo_getrxmbuf(struct malo_softc *sc, struct malo_rxbuf *bf) argument
1419 malo_rxbuf_init(struct malo_softc *sc, struct malo_rxbuf *bf) argument
1459 struct malo_rxbuf *bf, *prev; local
1638 struct malo_txbuf *bf; local
1857 struct malo_txbuf *bf; local
2038 struct malo_rxbuf *bf; local
[all...]
/freebsd-10-stable/contrib/gdb/gdb/
H A Ddve3900-rom.c69 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) argument
438 for (; bf->prefix != NULL; bf++)
440 monitor_expect (bf->prefix, NULL, 0); /* get prefix */
441 monitor_expect (bf->suffix, buf, sizeof (buf)); /* hex value, suffix */
442 if (bf->length != 0)
445 bits &= ((1 << bf
456 fetch_bitmapped_register(int regno, struct bit_field *bf) argument
504 store_bitmapped_register(int regno, struct bit_field *bf) argument
[all...]
/freebsd-10-stable/contrib/netbsd-tests/lib/libm/
H A Dt_round.c59 float af = VALF, bf, cf; local
63 bf = roundf(af);
67 ATF_CHECK(fabsf(bf) < SMALL_NUM);
/freebsd-10-stable/contrib/sendmail/src/
H A Dbf.c21 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 *bf
[all...]
/freebsd-10-stable/sys/dev/mlx5/mlx5_core/
H A Dmlx5_uar.c84 struct mlx5_bf *bf; local
120 bf = &uuari->bfs[i];
122 bf->buf_size = (1 << MLX5_CAP_GEN(dev, log_bf_reg_size)) / 2;
123 bf->uar = &uuari->uars[i / MLX5_BF_REGS_PER_PAGE];
124 bf->regreg = uuari->uars[i / MLX5_BF_REGS_PER_PAGE].map;
125 bf->reg = NULL; /* Add WC support */
126 bf->offset = (i % MLX5_BF_REGS_PER_PAGE) *
129 bf->need_lock = need_uuar_lock(i);
130 spin_lock_init(&bf->lock);
131 spin_lock_init(&bf
[all...]
/freebsd-10-stable/sys/compat/svr4/
H A Dsvr4_sockio.c51 if (bf & __CONCAT(I,a)) sf |= __CONCAT(SVR4_I,a)
54 bsd_to_svr4_flags(bf)
55 int bf;
66 if (bf & IFF_DRV_RUNNING)
/freebsd-10-stable/crypto/openssl/crypto/evp/
H A De_bf.c76 IMPLEMENT_BLOCK_CIPHER(bf, ks, BF, EVP_BF_KEY, NID_bf, 8, 16, 8, 64,
/freebsd-10-stable/contrib/netbsd-tests/crypto/libcrypto/
H A Dt_ciphers.sh28 atf_test_case bf
114 atf_add_test_case bf
/freebsd-10-stable/crypto/openssl/util/
H A Dx86asm.sh17 (cd crypto/bf/asm; perl bf-586.pl cpp > bx86unix.cpp)
18 (cd crypto/bf/asm; perl bf-586.pl win32 > b-win32.asm)

Completed in 293 milliseconds

1234