Searched refs:bpref (Results 1 – 4 of 4) sorted by relevance
/freebsd/usr.sbin/makefs/ffs/ |
H A D | ffs_alloc.c | 88 ffs_alloc(struct inode *ip, daddr_t lbn __unused, daddr_t bpref, int size, in ffs_alloc() argument 102 if (bpref >= fs->fs_size) in ffs_alloc() 103 bpref = 0; in ffs_alloc() 104 if (bpref == 0) in ffs_alloc() 107 cg = dtog(fs, bpref); in ffs_alloc() 108 bno = ffs_hashalloc(ip, cg, bpref, size, ffs_alloccg); in ffs_alloc() 289 ffs_alloccg(struct inode *ip, int cg, daddr_t bpref, int size) in ffs_alloccg() argument 312 bno = ffs_alloccgblk(ip, bp, bpref); in ffs_alloccg() 334 bno = ffs_alloccgblk(ip, bp, bpref); in ffs_alloccg() 335 bpref = dtogd(fs, bno); in ffs_alloccg() [all …]
|
/freebsd/sys/fs/ext2fs/ |
H A D | ext2_alloc.c | 100 ext2_alloc(struct inode *ip, daddr_t lbn, e4fs_daddr_t bpref, int size, in ext2_alloc() argument 126 if (bpref >= fs->e2fs_bcount) in ext2_alloc() 127 bpref = 0; in ext2_alloc() 128 if (bpref == 0) in ext2_alloc() 131 cg = dtog(fs, bpref); in ext2_alloc() 132 bno = (daddr_t)ext2_hashalloc(ip, cg, bpref, fs->e2fs_bsize, in ext2_alloc() 1000 ext2_alloccg(struct inode *ip, int cg, daddr_t bpref, int size) in ext2_alloccg() argument 1046 if (dtog(fs, bpref) != cg) in ext2_alloccg() 1047 bpref = 0; in ext2_alloccg() 1048 if (bpref != 0) { in ext2_alloccg() [all …]
|
H A D | ext2_extents.c | 1402 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/sys/ufs/ffs/ |
H A D | ffs_alloc.c | 103 ufs2_daddr_t bpref, int size, int rsize); 152 ufs2_daddr_t bpref, in ffs_alloc() argument 195 if (bpref >= fs->fs_size) in ffs_alloc() 196 bpref = 0; in ffs_alloc() 197 if (bpref == 0) in ffs_alloc() 200 cg = dtog(fs, bpref); in ffs_alloc() 201 bno = ffs_hashalloc(ip, cg, bpref, size, size, ffs_alloccg); in ffs_alloc() 254 ufs2_daddr_t bpref, in ffs_realloccg() argument 355 if (bpref >= fs->fs_size) in ffs_realloccg() 356 bpref = 0; in ffs_realloccg() [all …]
|