| /dflybsd-src/sbin/fsck/ |
| H A D | utilities.c | 375 allocblk(long frags) in allocblk() argument 380 if (frags <= 0 || frags > sblock.fs_frag) in allocblk() 383 for (j = 0; j <= sblock.fs_frag - frags; j++) { in allocblk() 386 for (k = 1; k < frags; k++) in allocblk() 389 if (k < frags) { in allocblk() 398 for (k = 0; k < frags; k++) { in allocblk() 402 n_blks += frags; in allocblk() 403 if (frags == sblock.fs_frag) in allocblk() 406 cgp->cg_cs.cs_nffree -= frags; in allocblk() 418 freeblk(ufs_daddr_t blkno, long frags) in freeblk() argument [all …]
|
| H A D | pass5.c | 46 int c, blk, frags, basesize, sumsize, mapsize, savednrpos = 0; in pass5() local 240 frags = 0; in pass5() 245 frags++; in pass5() 247 if (frags == fs->fs_frag) { in pass5() 255 } else if (frags > 0) { in pass5() 256 newcg->cg_cs.cs_nffree += frags; in pass5()
|
| /dflybsd-src/usr.sbin/makefs/ffs/ |
| H A D | ffs_alloc.c | 303 int error, frags, allocsiz, i; in ffs_alloccg() local 331 frags = numfrags(fs, size); in ffs_alloccg() 332 for (allocsiz = frags; allocsiz < fs->fs_frag; allocsiz++) in ffs_alloccg() 346 for (i = frags; i < fs->fs_frag; i++) in ffs_alloccg() 348 i = fs->fs_frag - frags; in ffs_alloccg() 358 for (i = 0; i < frags; i++) in ffs_alloccg() 360 ufs_add32(cgp->cg_cs.cs_nffree, -frags, needswap); in ffs_alloccg() 361 fs->fs_cstotal.cs_nffree -= frags; in ffs_alloccg() 362 fs->fs_cs(fs, cg).cs_nffree -= frags; in ffs_alloccg() 365 if (frags != allocsiz) in ffs_alloccg() [all …]
|
| /dflybsd-src/sys/netgraph/ppp/ |
| H A D | ng_ppp.c | 203 frags; 399 TAILQ_INIT(&priv->frags); in ng_ppp_constructor() 1144 TAILQ_FOREACH_REVERSE(qent, &priv->frags, ng_ppp_fraglist, f_qent) { in ng_ppp_mp_input() 1147 TAILQ_INSERT_AFTER(&priv->frags, qent, frag, f_qent); in ng_ppp_mp_input() 1158 TAILQ_INSERT_HEAD(&priv->frags, frag, f_qent); in ng_ppp_mp_input() 1177 if (TAILQ_EMPTY(&priv->frags)) in ng_ppp_check_packet() 1181 qent = TAILQ_FIRST(&priv->frags); in ng_ppp_check_packet() 1210 qent = TAILQ_FIRST(&priv->frags); in ng_ppp_get_packet() 1211 KASSERT(!TAILQ_EMPTY(&priv->frags) && qent->first, in ng_ppp_get_packet() 1215 KASSERT(!TAILQ_EMPTY(&priv->frags), in ng_ppp_get_packet() [all …]
|
| /dflybsd-src/sys/netgraph7/ppp/ |
| H A D | ng_ppp.c | 222 frags; 503 TAILQ_INIT(&priv->frags); in ng_ppp_constructor() 1587 TAILQ_FOREACH_REVERSE(qent, &priv->frags, ng_ppp_fraglist, f_qent) { in ng_ppp_mp_recv() 1590 TAILQ_INSERT_AFTER(&priv->frags, qent, frag, f_qent); in ng_ppp_mp_recv() 1601 TAILQ_INSERT_HEAD(&priv->frags, frag, f_qent); in ng_ppp_mp_recv() 1654 if (TAILQ_EMPTY(&priv->frags)) in ng_ppp_check_packet() 1658 qent = TAILQ_FIRST(&priv->frags); in ng_ppp_check_packet() 1687 qent = TAILQ_FIRST(&priv->frags); in ng_ppp_get_packet() 1688 KASSERT(!TAILQ_EMPTY(&priv->frags) && qent->first, in ng_ppp_get_packet() 1692 KASSERT(!TAILQ_EMPTY(&priv->frags), in ng_ppp_get_packet() [all …]
|
| /dflybsd-src/sys/vfs/ufs/ |
| H A D | ffs_alloc.c | 921 int frags, bbase; in ffs_fragextend() local 928 frags = numfrags(fs, nsize); in ffs_fragextend() 930 if (bbase > fragnum(fs, (bprev + frags - 1))) { in ffs_fragextend() 934 KKASSERT(blknum(fs, bprev) == blknum(fs, bprev + frags - 1)); in ffs_fragextend() 949 for (i = numfrags(fs, osize); i < frags; i++) { in ffs_fragextend() 967 for (i = frags; i < fs->fs_frag - bbase; i++) { in ffs_fragextend() 977 if (i != frags) in ffs_fragextend() 978 cgp->cg_frsum[i - frags]++; in ffs_fragextend() 979 for (i = numfrags(fs, osize); i < frags; i++) { in ffs_fragextend() 1006 int allocsiz, error, frags; in ffs_alloccg() local [all …]
|
| H A D | fs.h | 518 #define fragstoblks(fs, frags) /* calculates (frags / fs->fs_frag) */ \ argument 519 ((frags) >> (fs)->fs_fragshift)
|
| /dflybsd-src/sys/net/netmap/ |
| H A D | netmap_vale.c | 969 u_int frags = 1; /* how many frags ? */ in nm_bdg_preflush() local 999 frags++; in nm_bdg_preflush() 1002 if (unlikely(netmap_verbose && frags > 1)) in nm_bdg_preflush() 1003 RD(5, "%d frags at %d", frags, ft_i - frags); in nm_bdg_preflush() 1004 ft[ft_i - frags].ft_frags = frags; in nm_bdg_preflush() 1005 frags = 1; in nm_bdg_preflush() 1009 if (frags > 1) { in nm_bdg_preflush() 1010 D("truncate incomplete fragment at %d (%d frags)", ft_i, frags); in nm_bdg_preflush() 1013 ft[ft_i - frags].ft_frags = frags - 1; in nm_bdg_preflush()
|
| /dflybsd-src/sys/dev/netif/ath/ath/ |
| H A D | if_ath_tx.h | 90 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,
|
| H A D | if_ath_tx.c | 249 ath_bufhead *frags, struct ieee80211_node *ni) in ath_txfrag_cleanup() argument 255 TAILQ_FOREACH_SAFE(bf, frags, bf_list, next) { in ath_txfrag_cleanup() 257 TAILQ_REMOVE(frags, bf, bf_list); in ath_txfrag_cleanup() 269 ath_txfrag_setup(struct ath_softc *sc, ath_bufhead *frags, in ath_txfrag_setup() argument 282 ath_txfrag_cleanup(sc, frags, ni); in ath_txfrag_setup() 286 TAILQ_INSERT_TAIL(frags, bf, bf_list); in ath_txfrag_setup() 290 return !TAILQ_EMPTY(frags); in ath_txfrag_setup()
|
| H A D | if_ath.c | 3255 ath_bufhead frags; local 3372 TAILQ_INIT(&frags); 3374 !ath_txfrag_setup(sc, &frags, m, ni)) { 3419 TAILQ_FOREACH(n_fbf, &frags, bf_list) { 3458 ath_txfrag_cleanup(sc, &frags, ni); 3491 bf = TAILQ_FIRST(&frags); 3493 TAILQ_REMOVE(&frags, bf, bf_list);
|
| /dflybsd-src/contrib/gdb-7/gdb/common/ |
| H A D | format.h | 59 extern void free_format_pieces (struct format_piece *frags);
|
| /dflybsd-src/gnu/usr.bin/binutils234/block2/gas/ |
| H A D | Makefile | 24 frags.c \
|
| /dflybsd-src/gnu/usr.bin/binutils227/block2/gas/ |
| H A D | Makefile | 24 frags.c \
|
| /dflybsd-src/stand/boot/common/ |
| H A D | fs.h | 558 #define fragstoblks(fs, frags) /* calculates (frags / fs->fs_frag) */ \ argument 559 ((frags) >> (fs)->fs_fragshift)
|
| /dflybsd-src/sbin/dump/ |
| H A D | traverse.c | 456 blksout(daddr_t *blkp, int frags, ufs1_ino_t ino) in blksout() argument 461 blks = howmany(frags * sblock->fs_fsize, TP_BSIZE); in blksout()
|
| /dflybsd-src/sys/dev/netif/lge/ |
| H A D | if_lge.c | 1143 int frags; in lge_start() local 1156 frags = 0; in lge_start() 1158 ++frags; in lge_start() 1159 if (frags > LGE_FRAG_CNT) { in lge_start()
|
| /dflybsd-src/contrib/gdb-7/gdb/ |
| H A D | configure.ac | 2249 frags= 2255 frags="$frags $host_makefile_frag" 2261 AC_SUBST(frags) subst
|
| H A D | ax-gdb.c | 2562 struct format_piece *frags, in gen_printf() argument
|
| /dflybsd-src/contrib/tcpdump/ |
| H A D | CHANGES | 1499 with non-frags). Add support for ospf, egp and igmp.
|
| /dflybsd-src/sys/net/ipfw/ |
| H A D | ip_fw2.c | 853 SYSCTL_PROC(_net_inet_ip_fw_stats, OID_AUTO, frags,
|