Searched refs:cg_blksfree (Results 1 – 10 of 10) sorted by relevance
/openbsd/sbin/growfs/ |
H A D | growfs.c | 426 setbit(cg_blksfree(&acg), dupper); in initcg() 441 setbit(cg_blksfree(&acg), d); in initcg() 540 if (isset(cg_blksfree(&acg), f)) { in frag_adjust() 714 setbit(cg_blksfree(&acg), i); in updjcg() 759 setbit(cg_blksfree(&acg), i); in updjcg() 799 setbit(cg_blksfree(&acg), i); in updjcg() 1141 clrbit(cg_blksfree(&acg), d); in updcsloc() 1226 clrbit(cg_blksfree(&acg), d); in updcsloc() 1264 setbit(cg_blksfree(&acg), g); in updcsloc() 1283 setbit(cg_blksfree(&acg), g); in updcsloc() [all …]
|
/openbsd/usr.sbin/makefs/ffs/ |
H A D | ffs_alloc.c | 328 setbit(cg_blksfree(cgp), bpref + i); in ffs_alloccg() 340 clrbit(cg_blksfree(cgp), bno + i); in ffs_alloccg() 374 blksfree = cg_blksfree(cgp); in ffs_alloccgblk() 441 (const u_char *)&cg_blksfree(cgp)[start], in ffs_mapsearch() 448 (const u_char *)&cg_blksfree(cgp)[0], in ffs_mapsearch() 455 (long)cg_blksfree(cgp) - (long)cgp); in ffs_mapsearch() 465 blk = blkmap(fs, cg_blksfree(cgp), bno); in ffs_mapsearch()
|
H A D | mkfs.c | 645 ffs_setblock(&sblock, cg_blksfree(&acg), blkno); in initcg() 656 setbit(cg_blksfree(&acg), dupper); in initcg() 662 ffs_setblock(&sblock, cg_blksfree(&acg), blkno); in initcg() 672 setbit(cg_blksfree(&acg), d); in initcg()
|
/openbsd/sys/ufs/ffs/ |
H A D | ffs_alloc.c | 900 if (isclr(cg_blksfree(cgp), bno + i)) { in ffs_fragextend() 911 if (isclr(cg_blksfree(cgp), bno + i)) in ffs_fragextend() 917 clrbit(cg_blksfree(cgp), bno + i); in ffs_fragextend() 988 setbit(cg_blksfree(cgp), bpref + i); in ffs_alloccg() 1005 clrbit(cg_blksfree(cgp), bno + i); in ffs_alloccg() 1035 blksfree = cg_blksfree(cgp); in ffs_alloccgblk() 1288 ffs_setblock(fs, cg_blksfree(cgp), blkno); in ffs_blkfree() 1305 blk = blkmap(fs, cg_blksfree(cgp), bbase); in ffs_blkfree() 1312 if (isset(cg_blksfree(cgp), bno + i)) { in ffs_blkfree() 1318 setbit(cg_blksfree(cgp), bno + i); in ffs_blkfree() [all …]
|
H A D | fs.h | 420 #define cg_blksfree(cgp) \ macro
|
/openbsd/sbin/newfs/ |
H A D | mkfs.c | 693 setblock(&sblock, cg_blksfree(&acg), blkno); in initcg() 705 setbit(cg_blksfree(&acg), dupper); in initcg() 713 setblock(&sblock, cg_blksfree(&acg), blkno); in initcg() 724 setbit(cg_blksfree(&acg), d); in initcg() 934 if (isblock(&sblock, cg_blksfree(&acg), d / sblock.fs_frag)) in alloc() 940 clrblock(&sblock, cg_blksfree(&acg), blkno); in alloc() 961 setbit(cg_blksfree(&acg), d + i); in alloc()
|
/openbsd/sbin/fsck_ffs/ |
H A D | pass5.c | 273 setbit(cg_blksfree(newcg), i + j); in pass5() 283 blk = blkmap(fs, cg_blksfree(newcg), i); in pass5()
|
H A D | utilities.c | 471 clrbit(cg_blksfree(cgp), baseblk + k); in allocblk()
|
/openbsd/sbin/badsect/ |
H A D | badsect.c | 174 if (isclr(cg_blksfree(&acg), bn)) in chkuse()
|
/openbsd/sbin/dumpfs/ |
H A D | dumpfs.c | 408 pbits(cg_blksfree(&acg), afs.fs_fpg); in dumpcg()
|