Lines Matching refs:bpref
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()
1049 bpref = dtogd(fs, bpref); in ext2_alloccg()
1053 if (isclr(bbp, bpref)) { in ext2_alloccg()
1054 bno = bpref; in ext2_alloccg()
1064 if (bpref) in ext2_alloccg()
1065 start = dtogd(fs, bpref) / NBBY; in ext2_alloccg()
1115 bno = ext2_mapsearch(fs, bbp, bpref); in ext2_alloccg()
1150 ext2_clusteralloc(struct inode *ip, int cg, daddr_t bpref, int len) in ext2_clusteralloc() argument
1200 if (dtog(fs, bpref) != cg) in ext2_clusteralloc()
1201 bpref = 0; in ext2_clusteralloc()
1202 if (bpref != 0) in ext2_clusteralloc()
1203 bpref = dtogd(fs, bpref); in ext2_clusteralloc()
1204 loc = bpref / NBBY; in ext2_clusteralloc()
1205 bit = 1 << (bpref % NBBY); in ext2_clusteralloc()
1206 for (run = 0, got = bpref; got < fs->e2fs_fpg; got++) { in ext2_clusteralloc()
1519 ext2_mapsearch(struct m_ext2fs *fs, char *bbp, daddr_t bpref) in ext2_mapsearch() argument
1528 if (bpref) in ext2_mapsearch()
1529 start = dtogd(fs, bpref) / NBBY; in ext2_mapsearch()