Home | History | Annotate | Download | only in ffs

Lines Matching refs:bpref

176 ffs_alloc(struct inode *ip, daddr_t lbn, daddr_t bpref, int size,
252 if (bpref >= fs->fs_size)
253 bpref = 0;
254 if (bpref == 0)
257 cg = dtog(fs, bpref);
258 bno = ffs_hashalloc(ip, cg, bpref, size, 0, flags, ffs_alloccg);
307 ffs_realloccg(struct inode *ip, daddr_t lbprev, daddr_t bprev, daddr_t bpref,
435 if (bpref >= fs->fs_size)
436 bpref = 0;
490 bno = ffs_hashalloc(ip, cg, bpref
1051 bpref, int size, int realsize,
1085 blkno = ffs_alloccgblk(ip, bp, bpref, realsize, flags);
1123 blkno = ffs_alloccgblk(ip, bp, bpref, realsize, flags);
1138 bno = ffs_mapsearch(fs, cgp, bpref, allocsiz);
1182 ffs_alloccgblk(struct inode *ip, struct buf *bp, daddr_t bpref, int realsize,
1197 if (bpref == 0 || dtog(fs, bpref) != ufs_rw32(cgp->cg_cgx, needswap)) {
1198 bpref = ufs_rw32(cgp->cg_rotor, needswap);
1200 bpref = ffs_blknum(fs, bpref);
1201 bno = dtogd(fs, bpref);
1218 bno = ffs_mapsearch(fs, cgp, bpref, (int)fs->fs_frag);
2160 ffs_mapsearch(struct fs *fs, struct cg *cgp, daddr_t bpref, int allocsiz)
2175 if (bpref)
2176 start = dtogd(fs, bpref) / NBBY;