Searched refs:cg_blksfree (Results 1 – 10 of 10) sorted by relevance
| /openbsd/src/sbin/growfs/ |
| D | growfs.c | 415 setblock(&sblock, cg_blksfree(&acg), blkno); in initcg() 426 setbit(cg_blksfree(&acg), dupper); in initcg() 433 setblock(&sblock, cg_blksfree(&acg), blkno); 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() 724 if (isblock(&sblock, cg_blksfree(&acg), in updjcg() 742 while (isset(cg_blksfree(&acg), i) && in updjcg() 759 setbit(cg_blksfree(&acg), i); in updjcg() 767 while (isset(cg_blksfree(&acg), i) && in updjcg() [all …]
|
| /openbsd/src/usr.sbin/makefs/ffs/ |
| 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()
|
| 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/src/sys/ufs/ffs/ |
| 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() 1283 if (!ffs_isfreeblock(fs, cg_blksfree(cgp), blkno)) { in ffs_blkfree() 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() [all …]
|
| D | fs.h | 420 #define cg_blksfree(cgp) \ macro
|
| /openbsd/src/sbin/newfs/ |
| 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/src/sbin/fsck_ffs/ |
| D | pass5.c | 273 setbit(cg_blksfree(newcg), i + j); in pass5() 283 blk = blkmap(fs, cg_blksfree(newcg), i); in pass5()
|
| D | utilities.c | 471 clrbit(cg_blksfree(cgp), baseblk + k); in allocblk()
|
| /openbsd/src/sbin/badsect/ |
| D | badsect.c | 174 if (isclr(cg_blksfree(&acg), bn)) in chkuse()
|
| /openbsd/src/sbin/dumpfs/ |
| D | dumpfs.c | 408 pbits(cg_blksfree(&acg), afs.fs_fpg); in dumpcg()
|