/freebsd-9.3-release/sys/dev/ath/ |
H A D | if_ath_tx.h | 35 extern void ath_txfrag_cleanup(struct ath_softc *sc, ath_bufhead *frags, 37 extern int ath_txfrag_setup(struct ath_softc *sc, ath_bufhead *frags,
|
H A D | if_ath_tx.c | 113 ath_bufhead *frags, struct ieee80211_node *ni) 119 STAILQ_FOREACH_SAFE(bf, frags, bf_list, next) { 121 STAILQ_REMOVE_HEAD(frags, bf_list); 133 ath_txfrag_setup(struct ath_softc *sc, ath_bufhead *frags, argument 143 ath_txfrag_cleanup(sc, frags, ni); 147 STAILQ_INSERT_TAIL(frags, bf, bf_list); 151 return !STAILQ_EMPTY(frags); 406 /* NB: frags always have any TKIP MIC done in s/w */ 693 * For frags it would be desirable to use the 112 ath_txfrag_cleanup(struct ath_softc *sc, ath_bufhead *frags, struct ieee80211_node *ni) argument
|
/freebsd-9.3-release/sbin/fsck_ffs/ |
H A D | suj.c | 484 blk_overlaps(struct jblkrec *brec, ufs2_daddr_t start, int frags) argument 490 end = start + frags; 500 int frags) 507 if (brec->jb_frags < frags) 523 * Returns a mask of overlapping bits if any frags have been reused or 530 blk_freemask(ufs2_daddr_t blk, ino_t ino, ufs_lbn_t lbn, int frags) argument 557 if (blk_overlaps(brec, blk, frags) == 0) 559 if (blk_equals(brec, ino, lbn, blk, frags) == 1) 637 * Free 'frags' frags startin 499 blk_equals(struct jblkrec *brec, ino_t ino, ufs_lbn_t lbn, ufs2_daddr_t start, int frags) argument 641 blk_free(ufs2_daddr_t bno, int mask, int frags) argument 750 ino_blkatoff(union dinode *ip, ino_t ino, ufs_lbn_t lbn, int *frags) argument 803 blk_isat(ino_t ino, ufs_lbn_t lbn, ufs2_daddr_t blk, int *frags) argument 830 int frags; local 868 int frags; local 956 indir_visit(ino_t ino, ufs_lbn_t lbn, ufs2_daddr_t blk, uint64_t *frags, ino_visitor visitor, int flags) argument 1028 int frags; local 1080 null_visit(ino_t ino, ufs_lbn_t lbn, ufs2_daddr_t blk, int frags) argument 1097 uint64_t frags; local 1141 blk_free_visit(ino_t ino, ufs_lbn_t lbn, ufs2_daddr_t blk, int frags) argument 1153 blk_free_lbn(ufs2_daddr_t blk, ino_t ino, ufs_lbn_t lbn, int frags, int follow) argument 1231 ino_free_children(ino_t ino, ufs_lbn_t lbn, ufs2_daddr_t blk, int frags) argument 1515 int frags; local 1540 blk_free(DIP(ip, di_db[i]), 0, frags); local 1559 blk_free(DIP(ip, di_ib[i]), 0, frags); local 1697 int frags; local 1728 mask >>= frags; local 2521 suj_add_block(ino_t ino, ufs_lbn_t lbn, ufs2_daddr_t blk, int frags) argument 2630 suj_find(ino_t ino, ufs_lbn_t lbn, ufs2_daddr_t blk, int frags) argument [all...] |
H A D | fsutil.c | 728 allocblk(long frags) argument 734 if (frags <= 0 || frags > sblock.fs_frag) 737 for (j = 0; j <= sblock.fs_frag - frags; j++) { 740 for (k = 1; k < frags; k++) 743 if (k < frags) { 753 for (k = 0; k < frags; k++) { 757 n_blks += frags; 758 if (frags == sblock.fs_frag) 761 cgp->cg_cs.cs_nffree -= frags; 773 freeblk(ufs2_daddr_t blkno, long frags) argument [all...] |
H A D | pass5.c | 59 int c, i, j, blk, frags, basesize, mapsize; local 252 frags = 0; 264 frags++; 266 if (frags == fs->fs_frag) { 271 } else if (frags > 0) { 272 newcg->cg_cs.cs_nffree += frags; 589 printf("Zero frags %jd to %jd\n", start, end);
|
H A D | gjournal.c | 264 int i, cg, blk, frags, bbase; local 285 * decrement the counts associated with the old frags 292 frags = numfrags(fs, size); 293 for (i = 0; i < frags; i++) { 302 * add back in counts associated with the new frags
|
H A D | fsck.h | 232 int id_numfrags; /* number of frags contained in block */ 294 int adjnffree[MIBSIZE]; /* MIB command to adjust number of free frags */ 398 ufs2_daddr_t allocblk(long frags); 427 void freeblk(ufs2_daddr_t blkno, long frags);
|
/freebsd-9.3-release/sys/dev/nxge/xgehal/ |
H A D | xgehal-fifo-fp.c | 77 txdl_priv->frags << 5 /* sizeof(xge_hal_fifo_txd_t) */, 87 ctrl = XGE_HAL_TX_FIFO_LAST_TXD_NUM(txdl_priv->frags - 1); 135 xge_hal_fifo_txd_t *txdp, int list_size, int frags) 139 int invalid_frags = frags % list_size; 143 txdp, frags, list_size); 149 txdp, frags, list_size); 156 xge_assert(frags); 157 frags -= list_size; 165 frags, list_size); 169 xge_assert(frags 134 __hal_fifo_txdl_free_many(xge_hal_channel_h channelh, xge_hal_fifo_txd_t *txdp, int list_size, int frags) argument 261 xge_hal_fifo_dtr_reserve_many(xge_hal_channel_h channelh, xge_hal_dtr_h *dtrh, const int frags) argument [all...] |
/freebsd-9.3-release/sys/dev/vxge/vxgehal/ |
H A D | vxgehal-fifo.h | 100 * @frags: Total number of fragments (that is, contiguous data buffers) 144 u32 frags; member in struct:__hal_fifo_txdl_priv_t 206 u32 frags);
|
H A D | vxgehal-fifo.c | 620 txdl_priv->frags - 1, 879 priv->frags = 0; 954 txdp = (vxge_hal_fifo_txd_t *) txdlh + txdl_priv->frags; 968 txdl_priv->frags++; 1055 txdp = (vxge_hal_fifo_txd_t *) txdlh + txdl_priv->frags; 1084 txdl_priv->frags++; 1107 txdl_priv->frags++; 1231 txdp = (vxge_hal_fifo_txd_t *) txdlh + txdl_priv->frags; 1241 txdl_priv->frags++; 1302 txdp = (vxge_hal_fifo_txd_t *) txdlh + txdl_priv->frags; 1726 __hal_fifo_txdl_free_many( __hal_fifo_t *fifo, vxge_hal_fifo_txd_t * txdp, u32 list_size, u32 frags) argument [all...] |
/freebsd-9.3-release/usr.sbin/makefs/ffs/ |
H A D | ffs_alloc.c | 297 int error, frags, allocsiz, i; local 325 frags = numfrags(fs, size); 326 for (allocsiz = frags; allocsiz < fs->fs_frag; allocsiz++) 340 for (i = frags; i < fs->fs_frag; i++) 342 i = fs->fs_frag - frags; 352 for (i = 0; i < frags; i++) 354 ufs_add32(cgp->cg_cs.cs_nffree, -frags, needswap); 355 fs->fs_cstotal.cs_nffree -= frags; 356 fs->fs_cs(fs, cg).cs_nffree -= frags; 359 if (frags ! 432 int i, error, cg, blk, frags, bbase; local [all...] |
/freebsd-9.3-release/sys/netgraph/ |
H A D | ng_ppp.c | 222 frags; 498 TAILQ_INIT(&priv->frags); 1596 TAILQ_FOREACH_REVERSE(qent, &priv->frags, ng_ppp_fraglist, f_qent) { 1599 TAILQ_INSERT_AFTER(&priv->frags, qent, frag, f_qent); 1610 TAILQ_INSERT_HEAD(&priv->frags, frag, f_qent); 1663 if (TAILQ_EMPTY(&priv->frags)) 1667 qent = TAILQ_FIRST(&priv->frags); 1696 qent = TAILQ_FIRST(&priv->frags); 1697 KASSERT(!TAILQ_EMPTY(&priv->frags) && qent->first, 1701 KASSERT(!TAILQ_EMPTY(&priv->frags), 1983 int frags; local [all...] |
/freebsd-9.3-release/gnu/usr.bin/binutils/as/ |
H A D | Makefile | 26 frags.c \
|
/freebsd-9.3-release/lib/libufs/ |
H A D | cgroup.c | 81 int i, cg, blk, frags, bbase; local 100 * decrement the counts associated with the old frags 107 frags = numfrags(fs, size); 108 for (i = 0; i < frags; i++) 114 * add back in counts associated with the new frags
|
/freebsd-9.3-release/sbin/dump/ |
H A D | traverse.c | 80 static void ufs1_blksout(ufs1_daddr_t *blkp, int frags, ino_t ino); 81 static void ufs2_blksout(union dinode *dp, ufs2_daddr_t *blkp, int frags, 626 ufs1_blksout(ufs1_daddr_t *blkp, int frags, ino_t ino) argument 631 blks = howmany(frags * sblock->fs_fsize, TP_BSIZE); 661 ufs2_blksout(union dinode *dp, ufs2_daddr_t *blkp, int frags, ino_t ino, argument 673 blks = howmany(frags * sblock->fs_fsize, TP_BSIZE); 767 int i, frags, blks, tbperdb, last; local 782 frags = NXADDR * sblock->fs_frag; 785 frags = howmany(spcl.c_extsize, sblock->fs_fsize); 788 ufs2_blksout(dp, &dp->dp2.di_extb[0], frags, in [all...] |
/freebsd-9.3-release/sys/dev/nxge/include/ |
H A D | xgehal-fifo.h | 182 * @frags: Total number of fragments (that is, contiguous data buffers) 226 int frags; member in struct:xge_hal_fifo_txdl_priv_t 296 const int frags);
|
/freebsd-9.3-release/sys/mips/cavium/cryptocteon/ |
H A D | cryptocteon.c | 380 unsigned frags; local 383 for (frags = 0; m != NULL; frags++) 386 if (frags >= UIO_MAXIOV) { 387 printf("%s,%d: %d frags > UIO_MAXIOV", __FILE__, __LINE__, frags);
|
/freebsd-9.3-release/tools/tools/netmap/ |
H A D | pkt-gen.c | 160 int frags; /* fragments per packet */ member in struct:glob_arg 667 D("truncating packet, no room for frags %d %d", 1036 int frags = targ->g->frags; local 1074 if (frags > 1) 1075 limit = ((limit + frags - 1) / frags) * frags; 1078 limit, options, frags); 1079 ND("limit %d tail %d frags [all...] |
/freebsd-9.3-release/sys/dev/netmap/ |
H A D | netmap_vale.c | 935 u_int frags = 1; /* how many frags ? */ local 965 frags++; 968 if (unlikely(netmap_verbose && frags > 1)) 969 RD(5, "%d frags at %d", frags, ft_i - frags); 970 ft[ft_i - frags].ft_frags = frags; 971 frags [all...] |
H A D | netmap_offloadings.c | 141 u_int frags = ft_p->ft_frags; local 142 struct nm_bdg_fwd *ft_end = ft_p + frags; 222 /* Segment the GSO packet contained into the input slots (frags). */
|
/freebsd-9.3-release/sys/ufs/ffs/ |
H A D | ffs_alloc.c | 1528 int frags, bbase; local 1536 frags = numfrags(fs, nsize); 1538 if (bbase > fragnum(fs, (bprev + frags - 1))) { 1554 for (i = numfrags(fs, osize); i < frags; i++) 1563 for (i = frags; i < fs->fs_frag - bbase; i++) 1567 if (i != frags) 1568 cgp->cg_frsum[i - frags]++; 1569 for (i = numfrags(fs, osize), nffree = 0; i < frags; i++) { 1582 frags, numfrags(fs, osize)); 1613 int i, allocsiz, error, frags; local 2107 int i, blk, frags, bbase; local 2342 int i, error, frags, free; local [all...] |
H A D | fs.h | 215 #define FFS_ADJ_NFFREE 10 /* adjust number of free frags */ 246 int32_t cs_nffree; /* number of free frags */ 252 int64_t cs_nffree; /* number of free frags */ 275 int32_t fs_frag; /* number of frags in a block in fs */ 284 int32_t fs_fshift; /* ``numfrags'' calc number of frags */ 485 u_int32_t cg_frsum[MAXFRAG]; /* counts of available frags */ 589 #define fragstoblks(fs, frags) /* calculates (frags / fs->fs_frag) */ \ 590 ((frags) >> (fs)->fs_fragshift) 599 * Determine the number of available frags give [all...] |
/freebsd-9.3-release/sys/dev/nve/ |
H A D | if_nvereg.h | 127 bus_dma_segment_t frags[NV_MAX_FRAGS]; member in struct:nve_tx_desc
|
/freebsd-9.3-release/sys/dev/xen/netfront/ |
H A D | netfront.c | 1298 int frags = 1; local 1317 DPRINTK("rx->status=%hd rx->offset=%hu frags=%u\n", 1318 rx->status, rx->offset, frags); 1402 if (*cons + frags == rp) { 1404 WPRINTK("Need more frags\n"); 1406 printf("%s: cons %u frags %u rp %u, not enough frags\n", 1407 __func__, *cons, frags, rp); 1416 rx = RING_GET_RESPONSE(&np->rx, *cons + frags); 1417 m = xennet_get_rx_mbuf(np, *cons + frags); [all...] |
/freebsd-9.3-release/sys/dev/usb/wlan/ |
H A D | if_uath.c | 458 IEEE80211_C_TXFRAG; /* handle tx frags */ 1708 uath_datahead *frags, struct ieee80211_node *ni) 1714 STAILQ_FOREACH_SAFE(bf, frags, next, next) { 1716 STAILQ_REMOVE_HEAD(frags, next); 1729 uath_txfrag_setup(struct uath_softc *sc, uath_datahead *frags, argument 1739 uath_txfrag_cleanup(sc, frags, ni); 1743 STAILQ_INSERT_TAIL(frags, bf, next); 1746 return !STAILQ_EMPTY(frags); 1772 uath_datahead frags; local 1798 STAILQ_INIT(&frags); 1707 uath_txfrag_cleanup(struct uath_softc *sc, uath_datahead *frags, struct ieee80211_node *ni) argument [all...] |