Lines Matching refs:bpref
117 ext2fs_alloc(struct inode *ip, daddr_t lbn, daddr_t bpref, in ext2fs_alloc() argument
136 if (bpref >= fs->e2fs.e2fs_bcount) in ext2fs_alloc()
137 bpref = 0; in ext2fs_alloc()
138 if (bpref == 0) in ext2fs_alloc()
141 cg = dtog(fs, bpref); in ext2fs_alloc()
142 bno = (daddr_t)ext2fs_hashalloc(ip, cg, bpref, fs->e2fs_bsize, in ext2fs_alloc()
341 ext2fs_alloccg(struct inode *ip, int cg, daddr_t bpref, int size) in ext2fs_alloccg() argument
361 if (dtog(fs, bpref) != cg) in ext2fs_alloccg()
362 bpref = 0; in ext2fs_alloccg()
371 if (bpref != 0) { in ext2fs_alloccg()
372 bpref = dtogd(fs, bpref); in ext2fs_alloccg()
376 if (isclr(bbp, bpref)) { in ext2fs_alloccg()
377 bno = bpref; in ext2fs_alloccg()
387 if (bpref) in ext2fs_alloccg()
388 start = dtogd(fs, bpref) / NBBY; in ext2fs_alloccg()
405 bno = ext2fs_mapsearch(fs, bbp, bpref); in ext2fs_alloccg()
617 ext2fs_mapsearch(struct m_ext2fs *fs, char *bbp, daddr_t bpref) in ext2fs_mapsearch() argument
625 if (bpref) in ext2fs_mapsearch()
626 start = dtogd(fs, bpref) / NBBY; in ext2fs_mapsearch()