Home
last modified time | relevance | path

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

/freebsd-13-stable/usr.sbin/makefs/ffs/
HDffs_alloc.c91 ffs_alloc(struct inode *ip, daddr_t lbn __unused, daddr_t bpref, int size, in ffs_alloc() argument
105 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()
111 bno = ffs_hashalloc(ip, cg, bpref, size, ffs_alloccg); in ffs_alloc()
292 ffs_alloccg(struct inode *ip, int cg, daddr_t bpref, int size) in ffs_alloccg() argument
315 bno = ffs_alloccgblk(ip, bp, bpref); in ffs_alloccg()
337 bno = ffs_alloccgblk(ip, bp, bpref); in ffs_alloccg()
338 bpref = dtogd(fs, bno); in ffs_alloccg()
[all …]
/freebsd-13-stable/sys/fs/ext2fs/
HDext2_alloc.c102 ext2_alloc(struct inode *ip, daddr_t lbn, e4fs_daddr_t bpref, int size, in ext2_alloc() argument
128 if (bpref >= fs->e2fs_bcount) in ext2_alloc()
129 bpref = 0; in ext2_alloc()
130 if (bpref == 0) in ext2_alloc()
133 cg = dtog(fs, bpref); in ext2_alloc()
134 bno = (daddr_t)ext2_hashalloc(ip, cg, bpref, fs->e2fs_bsize, in ext2_alloc()
1001 ext2_alloccg(struct inode *ip, int cg, daddr_t bpref, int size) in ext2_alloccg() argument
1047 if (dtog(fs, bpref) != cg) in ext2_alloccg()
1048 bpref = 0; in ext2_alloccg()
1049 if (bpref != 0) { in ext2_alloccg()
[all …]
HDext2_extents.c1199 e4fs_daddr_t bpref, newblk = 0; in ext4_ext_get_blocks() local
1209 if ((bpref = ext4_ext_in_cache(ip, iblk, &newex))) { in ext4_ext_get_blocks()
1210 if (bpref == EXT4_EXT_CACHE_IN) { in ext4_ext_get_blocks()
1256 bpref = ext4_ext_blkpref(ip, path, iblk); in ext4_ext_get_blocks()
1258 newblk = ext4_new_blocks(ip, iblk, bpref, cred, &allocated, &error); in ext4_ext_get_blocks()
/freebsd-13-stable/sys/ufs/ffs/
HDffs_alloc.c105 ufs2_daddr_t bpref, int size, int rsize);
154 ufs2_daddr_t bpref, in ffs_alloc() argument
197 if (bpref >= fs->fs_size) in ffs_alloc()
198 bpref = 0; in ffs_alloc()
199 if (bpref == 0) in ffs_alloc()
202 cg = dtog(fs, bpref); in ffs_alloc()
203 bno = ffs_hashalloc(ip, cg, bpref, size, size, ffs_alloccg); in ffs_alloc()
256 ufs2_daddr_t bpref, in ffs_realloccg() argument
357 if (bpref >= fs->fs_size) in ffs_realloccg()
358 bpref = 0; in ffs_realloccg()
[all …]