Home
last modified time | relevance | path

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

/freebsd-13.1/usr.sbin/makefs/ffs/
H A Dffs_alloc.c107 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()
318 bno = ffs_alloccgblk(ip, bp, bpref); in ffs_alloccg()
341 bpref = dtogd(fs, bno); in ffs_alloccg()
391 if (bpref == 0 || (uint32_t)dtog(fs, bpref) != ufs_rw32(cgp->cg_cgx, needswap)) { in ffs_alloccgblk()
394 bpref = blknum(fs, bpref); in ffs_alloccgblk()
395 bno = dtogd(fs, bpref); in ffs_alloccgblk()
546 if (bpref) in ffs_mapsearch()
[all …]
/freebsd-13.1/sys/fs/ext2fs/
H A Dext2_alloc.c130 bpref = 0; in ext2_alloc()
131 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.c1201 e4fs_daddr_t bpref, newblk = 0; in ext4_ext_get_blocks() local
1211 if ((bpref = ext4_ext_in_cache(ip, iblk, &newex))) { in ext4_ext_get_blocks()
1212 if (bpref == EXT4_EXT_CACHE_IN) { in ext4_ext_get_blocks()
1258 bpref = ext4_ext_blkpref(ip, path, iblk); in ext4_ext_get_blocks()
1260 newblk = ext4_new_blocks(ip, iblk, bpref, cred, &allocated, &error); in ext4_ext_get_blocks()
/freebsd-13.1/sys/ufs/ffs/
H A Dffs_alloc.c196 bpref = 0;
197 if (bpref == 0)
255 ufs2_daddr_t bpref;
355 bpref = 0;
1758 ufs2_daddr_t bpref;
1855 ufs2_daddr_t bpref;
1871 if (bpref == 0) {
1938 ufs2_daddr_t bpref;
1999 bpref = blknum(fs, bpref);
2000 bpref = fragstoblks(fs, dtogd(fs, bpref));
[all …]