Searched refs:blkoff (Results 1 - 10 of 10) sorted by relevance
/macosx-10.5.8/xnu-1228.15.4/bsd/dev/ |
H A D | memdev.c | 234 vm_offset_t vaddr, blkoff; local 249 blkoff = buf_blkno(bp) * mdev[devid].mdSecsize; /* Get offset into file */ 256 if (blkoff >= (mdev[devid].mdSize << 12)) { /* Are they trying to read/write at/after end? */ 257 if(blkoff != (mdev[devid].mdSize << 12)) { /* Are we trying to read after EOF? */ 264 if ((blkoff + buf_count(bp)) > (mdev[devid].mdSize << 12)) { /* Will this read go past end? */ 265 buf_setcount(bp, ((mdev[devid].mdSize << 12) - blkoff)); /* Yes, trim to max */ 274 fvaddr = (mdev[devid].mdBase << 12) + blkoff; /* Point to offset into ram disk */
|
/macosx-10.5.8/xnu-1228.15.4/bsd/ufs/ffs/ |
H A D | fs.h | 229 int32_t fs_bmask; /* ``blkoff'' calc of blk offsets */ 494 #define blkoff(fs, loc) /* calculates (loc % fs->fs_bsize) */ \ macro 531 : (fragroundup(fs, blkoff(fs, (ip)->i_size)))) 535 : (fragroundup(fs, blkoff(fs, (dip)->di_size))))
|
H A D | ffs_subr.c | 122 *res = (char *)buf_dataptr(bp) + blkoff(fs, offset);
|
H A D | ffs_balloc.c | 195 osize = fragroundup(fs, blkoff(fs, ip->i_size)); 514 osize = fragroundup(fs, blkoff(fs, ip->i_size));
|
H A D | ffs_inode.c | 237 offset = blkoff(fs, length - 1); 275 offset = blkoff(fs, length);
|
/macosx-10.5.8/xnu-1228.15.4/bsd/ufs/ufs/ |
H A D | ufs_readwrite.c | 140 blkoffset = blkoff(fs, uio->uio_offset); 334 blkoffset = blkoff(fs, local_offset); 424 blkoffset = blkoff(fs, uio->uio_offset); 625 blkoffset = blkoff(fs, local_offset);
|
/macosx-10.5.8/xnu-1228.15.4/bsd/isofs/cd9660/ |
H A D | cd9660_vfsops.c | 365 int blkoff = argp->ssector; local 392 for (iso_blknum = 16 + blkoff; iso_blknum < (100 + blkoff); iso_blknum++) { 500 isomp->volume_space_size += blkoff; 1125 off = blkoff(imp, ino);
|
H A D | cd9660_lookup.c | 463 *res = (char *)0 + buf_dataptr(bp) + blkoff(imp, offset);
|
H A D | iso.h | 301 #define blkoff(imp, loc) ((loc) & (imp)->im_bmask) macro
|
H A D | cd9660_vnops.c | 254 on = blkoff(imp, uio->uio_offset);
|
Completed in 82 milliseconds