Searched refs:bpref (Results 1 – 5 of 5) sorted by relevance
/dragonfly/usr.sbin/makefs/ffs/ |
H A D | ffs_alloc.c | 107 if (bpref >= fs->fs_size) in ffs_alloc() 108 bpref = 0; in ffs_alloc() 109 if (bpref == 0) in ffs_alloc() 112 cg = dtog(fs, bpref); in ffs_alloc() 322 bno = ffs_alloccgblk(ip, bp, bpref); in ffs_alloccg() 345 bpref = dtogd(fs, bno); in ffs_alloccg() 395 if (bpref == 0 || (uint32_t)dtog(fs, bpref) != ufs_rw32(cgp->cg_cgx, needswap)) { in ffs_alloccgblk() 398 bpref = blknum(fs, bpref); in ffs_alloccgblk() 399 bno = dtogd(fs, bpref); in ffs_alloccgblk() 563 if (bpref) in ffs_mapsearch() [all …]
|
/dragonfly/sys/vfs/ufs/ |
H A D | ffs_alloc.c | 137 bpref = 0; in ffs_alloc() 138 if (bpref == 0) in ffs_alloc() 141 cg = dtog(fs, bpref); in ffs_alloc() 243 bpref = 0; in ffs_realloccg() 1128 if (bpref == 0 || dtog(fs, bpref) != cgp->cg_cgx) { in ffs_alloccgblk() 1132 bpref = blknum(fs, bpref); in ffs_alloccgblk() 1133 bpref = dtogd(fs, bpref); in ffs_alloccgblk() 1138 bno = bpref; in ffs_alloccgblk() 1288 bpref = 0; in ffs_clusteralloc() 1290 bpref = fragstoblks(fs, dtogd(fs, blknum(fs, bpref))); in ffs_clusteralloc() [all …]
|
/dragonfly/sys/vfs/ext2fs/ |
H A D | ext2_alloc.c | 131 bpref = 0; in ext2_alloc() 132 if (bpref == 0) in ext2_alloc() 1030 bpref = 0; in ext2_alloccg() 1031 if (bpref != 0) { in ext2_alloccg() 1032 bpref = dtogd(fs, bpref); in ext2_alloccg() 1037 bno = bpref; in ext2_alloccg() 1047 if (bpref) in ext2_alloccg() 1184 bpref = 0; in ext2_clusteralloc() 1185 if (bpref != 0) in ext2_clusteralloc() 1186 bpref = dtogd(fs, bpref); in ext2_clusteralloc() [all …]
|
/dragonfly/sys/vfs/hammer2/ |
H A D | hammer2_freemap.c | 46 hammer2_off_t bpref; member 240 iter.bpref = hmp->heur_freemap[hindex]; in hammer2_freemap_alloc() 247 if (iter.bpref > hmp->total_size) in hammer2_freemap_alloc() 248 iter.bpref = hmp->total_size - 1; in hammer2_freemap_alloc() 257 iter.bnext = iter.bpref; in hammer2_freemap_alloc() 317 key, iter->bpref); in hammer2_freemap_try_alloc()
|
/dragonfly/usr.sbin/makefs/hammer2/ |
H A D | hammer2_freemap.c | 50 hammer2_off_t bpref; member 244 iter.bpref = hmp->heur_freemap[hindex]; in hammer2_freemap_alloc() 251 if (iter.bpref > hmp->total_size) in hammer2_freemap_alloc() 252 iter.bpref = hmp->total_size - 1; in hammer2_freemap_alloc() 261 iter.bnext = iter.bpref; in hammer2_freemap_alloc() 321 key, iter->bpref); in hammer2_freemap_try_alloc()
|