Lines Matching refs:bpref
102 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()
1002 ext2_alloccg(struct inode *ip, int cg, daddr_t bpref, int size) in ext2_alloccg() argument
1048 if (dtog(fs, bpref) != cg) in ext2_alloccg()
1049 bpref = 0; in ext2_alloccg()
1050 if (bpref != 0) { in ext2_alloccg()
1051 bpref = dtogd(fs, bpref); in ext2_alloccg()
1055 if (isclr(bbp, bpref)) { in ext2_alloccg()
1056 bno = bpref; in ext2_alloccg()
1066 if (bpref) in ext2_alloccg()
1067 start = dtogd(fs, bpref) / NBBY; in ext2_alloccg()
1117 bno = ext2_mapsearch(fs, bbp, bpref); in ext2_alloccg()
1152 ext2_clusteralloc(struct inode *ip, int cg, daddr_t bpref, int len) in ext2_clusteralloc() argument
1202 if (dtog(fs, bpref) != cg) in ext2_clusteralloc()
1203 bpref = 0; in ext2_clusteralloc()
1204 if (bpref != 0) in ext2_clusteralloc()
1205 bpref = dtogd(fs, bpref); in ext2_clusteralloc()
1206 loc = bpref / NBBY; in ext2_clusteralloc()
1207 bit = 1 << (bpref % NBBY); in ext2_clusteralloc()
1208 for (run = 0, got = bpref; got < fs->e2fs_fpg; got++) { in ext2_clusteralloc()
1521 ext2_mapsearch(struct m_ext2fs *fs, char *bbp, daddr_t bpref) in ext2_mapsearch() argument
1530 if (bpref) in ext2_mapsearch()
1531 start = dtogd(fs, bpref) / NBBY; in ext2_mapsearch()