Lines Matching defs:blkno
118 static boolean_t incore(vnode_t vp, daddr64_t blkno);
146 static buf_t incore_locked(vnode_t vp, daddr64_t blkno, struct bufhashhdr *dp);
578 buf_setblkno(buf_t bp, daddr64_t blkno) {
580 bp->b_blkno = blkno;
1587 bio_doread(vnode_t vp, daddr64_t blkno, int size, ucred_t cred, int async, int queuetype)
1591 bp = buf_getblk(vp, blkno, size, 0, 0, queuetype);
1612 trace(TR_BREADMISS, pack(vp, size), blkno);
1632 trace(TR_BREADHIT, pack(vp, size), blkno);
1642 do_breadn_for_type(vnode_t vp, daddr64_t blkno, int size, daddr64_t *rablks, int *rasizes,
1648 bp = *bpp = bio_doread(vp, blkno, size, cred, 0, queuetype);
1672 buf_bread(vnode_t vp, daddr64_t blkno, int size, ucred_t cred, buf_t *bpp)
1677 bp = *bpp = bio_doread(vp, blkno, size, cred, 0, BLK_READ);
1688 buf_meta_bread(vnode_t vp, daddr64_t blkno, int size, ucred_t cred, buf_t *bpp)
1693 bp = *bpp = bio_doread(vp, blkno, size, cred, 0, BLK_META);
1703 buf_breadn(vnode_t vp, daddr64_t blkno, int size, daddr64_t *rablks, int *rasizes, int nrablks, ucred_t cred, buf_t *bpp)
1705 return (do_breadn_for_type(vp, blkno, size, rablks, rasizes, nrablks, cred, bpp, BLK_READ));
1713 buf_meta_breadn(vnode_t vp, daddr64_t blkno, int size, daddr64_t *rablks, int *rasizes, int nrablks, ucred_t cred, buf_t *bpp)
1715 return (do_breadn_for_type(vp, blkno, size, rablks, rasizes, nrablks, cred, bpp, BLK_META));
2171 incore(vnode_t vp, daddr64_t blkno)
2176 dp = BUFHASH(vp, blkno);
2180 if (incore_locked(vp, blkno, dp))
2191 incore_locked(vnode_t vp, daddr64_t blkno, struct bufhashhdr *dp)
2197 if (bp->b_lblkno == blkno && bp->b_vp == vp &&
2216 buf_getblk(vnode_t vp, daddr64_t blkno, int size, int slpflag, int slptimeo, int operation)
2229 (int)(blkno * PAGE_SIZE), size, operation, 0, 0);
2233 dp = BUFHASH(vp, blkno);
2237 if ((bp = incore_locked(vp, blkno, dp))) {
2374 if (incore_locked(vp, blkno, dp)) {
2395 bp->b_blkno = bp->b_lblkno = blkno;
2401 binshash(bp, BUFHASH(vp, blkno));
2439 f_offset = ubc_blktooff(vp, blkno);