Home
last modified time | relevance | path

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

/freebsd-12.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-12.1/sys/fs/ext2fs/
H A Dext2_alloc.c130 bpref = 0; in ext2_alloc()
131 if (bpref == 0) in ext2_alloc()
1047 bpref = 0; in ext2_alloccg()
1048 if (bpref != 0) { in ext2_alloccg()
1049 bpref = dtogd(fs, bpref); in ext2_alloccg()
1054 bno = bpref; in ext2_alloccg()
1064 if (bpref) in ext2_alloccg()
1200 bpref = 0; in ext2_clusteralloc()
1201 if (bpref != 0) in ext2_clusteralloc()
1202 bpref = dtogd(fs, bpref); in ext2_clusteralloc()
[all …]
H A Dext2_extents.c1200 e4fs_daddr_t bpref, newblk = 0; in ext4_ext_get_blocks() local
1210 if ((bpref = ext4_ext_in_cache(ip, iblk, &newex))) { in ext4_ext_get_blocks()
1211 if (bpref == EXT4_EXT_CACHE_IN) { in ext4_ext_get_blocks()
1257 bpref = ext4_ext_blkpref(ip, path, iblk); in ext4_ext_get_blocks()
1259 newblk = ext4_new_blocks(ip, iblk, bpref, cred, &allocated, &error); in ext4_ext_get_blocks()
/freebsd-12.1/sys/ufs/ffs/
H A Dffs_alloc.c194 bpref = 0;
195 if (bpref == 0)
249 ufs2_daddr_t bpref;
347 bpref = 0;
1739 ufs2_daddr_t bpref;
1836 ufs2_daddr_t bpref;
1852 if (bpref == 0) {
1919 ufs2_daddr_t bpref;
1980 bpref = blknum(fs, bpref);
1981 bpref = fragstoblks(fs, dtogd(fs, bpref));
[all …]