Searched refs:bn (Results 1 - 5 of 5) sorted by relevance

/xnu-2422.115.4/bsd/i386/
H A Dparam.h154 #define bdbtofsb(bn) ((bn) / (BLKDEV_IOSIZE/DEV_BSIZE))
/xnu-2422.115.4/bsd/miscfs/specfs/
H A Dspec_vnops.c444 daddr64_t bn, nextbn; local
492 bn = (daddr64_t)((uio->uio_offset / devBlockSize) &~ (bscale - 1));
494 if (vp->v_speclastr + bscale == bn) {
495 nextbn = bn + bscale;
496 error = buf_breadn(vp, bn, (int)bsize, &nextbn,
499 error = buf_bread(vp, bn, (int)bsize, NOCRED, &bp);
502 vp->v_speclastr = bn;
538 daddr64_t bn; local
590 bn = (daddr64_t)((uio->uio_offset / devBlockSize) &~ blkmask);
613 bp = buf_getblk(vp, bn, bsiz
[all...]
/xnu-2422.115.4/bsd/kern/
H A Dkern_descrip.c760 daddr64_t lbn, bn; local
1410 error = VNOP_BLOCKMAP(vp, offset, a_size, &bn, &run, NULL, 0, &context);
1426 if (bn == -1) {
1428 l2p_struct.l2p_devoffset = bn;
1431 l2p_struct.l2p_devoffset = bn * devBlockSize;
/xnu-2422.115.4/bsd/hfs/
H A Dhfs_readwrite.c2819 hfs_bmap(struct vnode *vp, daddr_t bn, struct vnode **vpp, daddr64_t *bnp, unsigned int *runp) argument
2840 blockposition = (off_t)bn * logBlockSize;
/xnu-2422.115.4/bsd/nfs/
H A Dnfs_vnops.c1719 daddr64_t obn, bn; local
1724 bn = vap->va_data_size / biosize;
1725 for ( ; obn >= bn; obn--) {
1731 if (obn != bn) {

Completed in 429 milliseconds