Home
last modified time | relevance | path

Searched refs:bpref (Results 1 – 4 of 4) sorted by relevance

/freebsd-14.2/usr.sbin/makefs/ffs/
H A Dffs_alloc.c105 if (bpref >= fs->fs_size) in ffs_alloc()
106 bpref = 0; in ffs_alloc()
107 if (bpref == 0) in ffs_alloc()
110 cg = dtog(fs, bpref); in ffs_alloc()
315 bno = ffs_alloccgblk(ip, bp, bpref); in ffs_alloccg()
338 bpref = dtogd(fs, bno); in ffs_alloccg()
388 if (bpref == 0 || (uint32_t)dtog(fs, bpref) != ufs_rw32(cgp->cg_cgx, needswap)) { in ffs_alloccgblk()
391 bpref = blknum(fs, bpref); in ffs_alloccgblk()
392 bno = dtogd(fs, bpref); in ffs_alloccgblk()
542 if (bpref) in ffs_mapsearch()
[all …]
/freebsd-14.2/sys/fs/ext2fs/
H A Dext2_alloc.c129 bpref = 0; in ext2_alloc()
130 if (bpref == 0) in ext2_alloc()
1049 bpref = 0; in ext2_alloccg()
1050 if (bpref != 0) { in ext2_alloccg()
1051 bpref = dtogd(fs, bpref); in ext2_alloccg()
1056 bno = bpref; in ext2_alloccg()
1066 if (bpref) in ext2_alloccg()
1203 bpref = 0; in ext2_clusteralloc()
1204 if (bpref != 0) in ext2_clusteralloc()
1205 bpref = dtogd(fs, bpref); in ext2_clusteralloc()
[all …]
H A Dext2_extents.c1402 e4fs_daddr_t bpref, newblk = 0; in ext4_ext_get_blocks() local
1412 if ((bpref = ext4_ext_in_cache(ip, iblk, &newex))) { in ext4_ext_get_blocks()
1413 if (bpref == EXT4_EXT_CACHE_IN) { in ext4_ext_get_blocks()
1459 bpref = ext4_ext_blkpref(ip, path, iblk); in ext4_ext_get_blocks()
1461 newblk = ext4_new_blocks(ip, iblk, bpref, cred, &allocated, &error); in ext4_ext_get_blocks()
/freebsd-14.2/sys/ufs/ffs/
H A Dffs_alloc.c154 ufs2_daddr_t bpref, in ffs_alloc() argument
198 bpref = 0; in ffs_alloc()
199 if (bpref == 0) in ffs_alloc()
256 ufs2_daddr_t bpref, in ffs_realloccg() argument
358 bpref = 0; in ffs_realloccg()
1778 ufs2_daddr_t bpref, in ffs_alloccg() argument
1876 ufs2_daddr_t bpref, in ffs_alloccgblk() argument
1892 if (bpref == 0) { in ffs_alloccgblk()
2020 bpref = blknum(fs, bpref); in ffs_clusteralloc()
2021 bpref = fragstoblks(fs, dtogd(fs, bpref)); in ffs_clusteralloc()
[all …]