Searched refs:frags (Results 1 - 25 of 36) sorted by relevance

12

/freebsd-11-stable/sbin/fsck_ffs/
H A Dsuj.c487 blk_overlaps(struct jblkrec *brec, ufs2_daddr_t start, int frags) argument
493 end = start + frags;
503 int frags)
510 if (brec->jb_frags < frags)
526 * Returns a mask of overlapping bits if any frags have been reused or
533 blk_freemask(ufs2_daddr_t blk, ino_t ino, ufs_lbn_t lbn, int frags) argument
560 if (blk_overlaps(brec, blk, frags) == 0)
562 if (blk_equals(brec, ino, lbn, blk, frags) == 1)
640 * Free 'frags' frags startin
502 blk_equals(struct jblkrec *brec, ino_t ino, ufs_lbn_t lbn, ufs2_daddr_t start, int frags) argument
644 blk_free(ufs2_daddr_t bno, int mask, int frags) argument
753 ino_blkatoff(union dinode *ip, ino_t ino, ufs_lbn_t lbn, int *frags) argument
806 blk_isat(ino_t ino, ufs_lbn_t lbn, ufs2_daddr_t blk, int *frags) argument
833 int frags; local
871 int frags; local
962 indir_visit(ino_t ino, ufs_lbn_t lbn, ufs2_daddr_t blk, uint64_t *frags, ino_visitor visitor, int flags) argument
1034 int frags; local
1086 null_visit(ino_t ino, ufs_lbn_t lbn, ufs2_daddr_t blk, int frags) argument
1103 uint64_t frags; local
1147 blk_free_visit(ino_t ino, ufs_lbn_t lbn, ufs2_daddr_t blk, int frags) argument
1159 blk_free_lbn(ufs2_daddr_t blk, ino_t ino, ufs_lbn_t lbn, int frags, int follow) argument
1237 ino_free_children(ino_t ino, ufs_lbn_t lbn, ufs2_daddr_t blk, int frags) argument
1525 int frags; local
1550 blk_free(DIP(ip, di_db[i]), 0, frags); local
1712 int frags; local
1743 mask >>= frags; local
2540 suj_add_block(ino_t ino, ufs_lbn_t lbn, ufs2_daddr_t blk, int frags) argument
2649 suj_find(ino_t ino, ufs_lbn_t lbn, ufs2_daddr_t blk, int frags) argument
[all...]
H A Dfsutil.c757 allocblk(long frags) argument
763 if (frags <= 0 || frags > sblock.fs_frag)
766 for (j = 0; j <= sblock.fs_frag - frags; j++) {
769 for (k = 1; k < frags; k++)
772 if (k < frags) {
782 for (k = 0; k < frags; k++) {
786 n_blks += frags;
787 if (frags == sblock.fs_frag)
790 cgp->cg_cs.cs_nffree -= frags;
802 freeblk(ufs2_daddr_t blkno, long frags) argument
[all...]
H A Dpass5.c59 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 Dgjournal.c263 int i, cg, blk, frags, bbase; local
284 * decrement the counts associated with the old frags
291 frags = numfrags(fs, size);
292 for (i = 0; i < frags; i++) {
301 * add back in counts associated with the new frags
H A Dfsck.h233 int id_numfrags; /* number of frags contained in block */
298 extern int adjnffree[MIBSIZE]; /* MIB command to adjust number of free frags */
407 ufs2_daddr_t allocblk(long frags);
436 void freeblk(ufs2_daddr_t blkno, long frags);
/freebsd-11-stable/sys/dev/nxge/xgehal/
H A Dxgehal-fifo-fp.c77 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-11-stable/sys/dev/vxge/vxgehal/
H A Dvxgehal-fifo.h100 * @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 Dvxgehal-fifo.c620 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-11-stable/usr.sbin/makefs/ffs/
H A Dffs_alloc.c297 int error, frags, allocsiz, i; local
326 frags = numfrags(fs, size);
327 for (allocsiz = frags; allocsiz < fs->fs_frag; allocsiz++)
341 for (i = frags; i < fs->fs_frag; i++)
343 i = fs->fs_frag - frags;
353 for (i = 0; i < frags; i++)
355 ufs_add32(cgp->cg_cs.cs_nffree, -frags, needswap);
356 fs->fs_cstotal.cs_nffree -= frags;
357 fs->fs_cs(fs, cg).cs_nffree -= frags;
360 if (frags !
433 int i, error, cg, blk, frags, bbase; local
[all...]
/freebsd-11-stable/sys/dev/ath/
H A Dif_ath_tx.h90 extern void ath_txfrag_cleanup(struct ath_softc *sc, ath_bufhead *frags,
92 extern int ath_txfrag_setup(struct ath_softc *sc, ath_bufhead *frags,
/freebsd-11-stable/sys/netgraph/
H A Dng_ppp.c222 frags;
499 TAILQ_INIT(&priv->frags);
1610 TAILQ_FOREACH_REVERSE(qent, &priv->frags, ng_ppp_fraglist, f_qent) {
1613 TAILQ_INSERT_AFTER(&priv->frags, qent, frag, f_qent);
1624 TAILQ_INSERT_HEAD(&priv->frags, frag, f_qent);
1677 if (TAILQ_EMPTY(&priv->frags))
1681 qent = TAILQ_FIRST(&priv->frags);
1710 qent = TAILQ_FIRST(&priv->frags);
1711 KASSERT(!TAILQ_EMPTY(&priv->frags) && qent->first,
1715 KASSERT(!TAILQ_EMPTY(&priv->frags),
1997 int frags; local
[all...]
/freebsd-11-stable/gnu/usr.bin/binutils/as/
H A DMakefile30 frags.c \
/freebsd-11-stable/lib/libufs/
H A Dcgroup.c81 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-11-stable/sbin/dump/
H A Dtraverse.c80 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,
627 ufs1_blksout(ufs1_daddr_t *blkp, int frags, ino_t ino) argument
632 blks = howmany(frags * sblock->fs_fsize, TP_BSIZE);
662 ufs2_blksout(union dinode *dp, ufs2_daddr_t *blkp, int frags, ino_t ino, argument
674 blks = howmany(frags * sblock->fs_fsize, TP_BSIZE);
773 int i, frags, blks, tbperdb, last; local
788 frags = NXADDR * sblock->fs_frag;
791 frags = howmany(spcl.c_extsize, sblock->fs_fsize);
794 ufs2_blksout(dp, &dp->dp2.di_extb[0], frags, in
[all...]
/freebsd-11-stable/sys/dev/netmap/
H A Dnetmap_vale.c622 u_int frags = 1; /* how many frags ? */ local
664 frags++;
667 if (unlikely(netmap_verbose && frags > 1))
668 nm_prlim(5, "%d frags at %d", frags, ft_i - frags);
669 ft[ft_i - frags].ft_frags = frags;
670 frags
[all...]
/freebsd-11-stable/sys/dev/nxge/include/
H A Dxgehal-fifo.h182 * @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-11-stable/tools/tools/netmap/
H A Dpkt-gen.c264 int frags; /* fragments per packet */ member in struct:glob_arg
340 u_int frags; member in struct:targ
1162 u_int frags = t->frags; local
1179 for (sent = 0; sent < count && n >= frags; sent++, n--) {
1194 } else if (frags > 1) {
1198 for (i = 0; i < frags - 1; i++) {
1210 n -= (frags - 1);
1631 targ->frag_size = targ->g->pkt_size / targ->frags;
1633 targ->frags
1923 int frags = targ->g->frags; local
2130 unsigned int frags = 0; local
[all...]
/freebsd-11-stable/sys/mips/cavium/cryptocteon/
H A Dcryptocteon.c380 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-11-stable/sys/ufs/ffs/
H A Dffs_alloc.c1590 int frags, bbase; local
1598 frags = numfrags(fs, nsize);
1600 if (bbase > fragnum(fs, (bprev + frags - 1))) {
1616 for (i = numfrags(fs, osize); i < frags; i++)
1625 for (i = frags; i < fs->fs_frag - bbase; i++)
1629 if (i != frags)
1630 cgp->cg_frsum[i - frags]++;
1631 for (i = numfrags(fs, osize), nffree = 0; i < frags; i++) {
1644 frags, numfrags(fs, osize));
1675 int i, allocsiz, error, frags; local
2177 int i, blk, frags, bbase; local
2414 int i, error, frags, free; local
[all...]
H A Dffs_softdep.c167 softdep_setup_blkmapdep(bp, mp, newblkno, frags, oldfrags)
171 int frags;
321 softdep_setup_blkfree(mp, bp, blkno, frags, wkhd)
325 int frags;
4111 newfreework(ump, freeblks, parent, lbn, nb, frags, off, journal)
4117 int frags;
4131 freework->fw_frags = frags;
4137 newjfreeblk(freeblks, lbn, nb, frags);
4180 newjfreeblk(freeblks, lbn, blkno, frags)
4184 int frags;
6099 int frags; local
6120 int frags; local
6515 int frags, lastoff, iboff, allocblock, needj, error, i; local
10854 int frags, blk; local
11801 int frags, blk; local
[all...]
H A Dfs.h215 #define FFS_ADJ_NFFREE 10 /* adjust number of free frags */
259 int32_t cs_nffree; /* number of free frags */
265 int64_t cs_nffree; /* number of free frags */
288 int32_t fs_frag; /* number of frags in a block in fs */
297 int32_t fs_fshift; /* ``numfrags'' calc number of frags */
498 u_int32_t cg_frsum[MAXFRAG]; /* counts of available frags */
602 #define fragstoblks(fs, frags) /* calculates (frags / fs->fs_frag) */ \
603 ((frags) >> (fs)->fs_fragshift)
612 * Determine the number of available frags give
[all...]
/freebsd-11-stable/sys/dev/xen/netfront/
H A Dnetfront.c1407 int frags = 1; local
1424 DPRINTK("rx->status=%hd rx->offset=%hu frags=%u\n",
1425 rx->status, rx->offset, frags);
1466 if (*cons + frags == rp) {
1468 WPRINTK("Need more frags\n");
1470 printf("%s: cons %u frags %u rp %u, not enough frags\n",
1471 __func__, *cons, frags, rp);
1480 rx = RING_GET_RESPONSE(&rxq->ring, *cons + frags);
1481 m = xn_get_rx_mbuf(rxq, *cons + frags);
[all...]
/freebsd-11-stable/sys/dev/usb/wlan/
H A Dif_uath.c426 IEEE80211_C_TXFRAG; /* handle tx frags */
1622 uath_datahead *frags, struct ieee80211_node *ni)
1628 STAILQ_FOREACH_SAFE(bf, frags, next, next) {
1630 STAILQ_REMOVE_HEAD(frags, next);
1643 uath_txfrag_setup(struct uath_softc *sc, uath_datahead *frags, argument
1653 uath_txfrag_cleanup(sc, frags, ni);
1657 STAILQ_INSERT_TAIL(frags, bf, next);
1660 return !STAILQ_EMPTY(frags);
1691 uath_datahead frags; local
1714 STAILQ_INIT(&frags);
1621 uath_txfrag_cleanup(struct uath_softc *sc, uath_datahead *frags, struct ieee80211_node *ni) argument
[all...]
/freebsd-11-stable/sys/netinet/
H A Dtcp_output.c926 u_int frags; local
930 * and how many hardware frags,
934 frags = howmany(mlen,
938 if (frags == 0)
939 frags = 1;
945 if (frags >= if_hw_tsomaxsegcount) {
952 if_hw_tsomaxsegcount -= frags;
/freebsd-11-stable/contrib/ntp/ntpd/
H A Dntp_control.c3885 * frags= Limit on datagrams (fragments) in response. Used
3888 * limit= Limit on MRU entries returned. One of frags= or
3895 * address. When limit is not one and frags= is
3972 static const char frags_text[] = "frags";
3982 u_short frags; local
4038 frags = 0;
4063 if (1 != sscanf(val, "%hu", &frags))
4125 if ((0 == frags && !(0 < limit && limit <= MRU_ROW_LIMIT)) ||
4126 frags > MRU_FRAGS_LIMIT) {
4132 * If either frags o
[all...]

Completed in 416 milliseconds

12