/illumos-gate/usr/src/cmd/mdb/common/mdb/ |
H A D | mdb_fdio.c | 193 size_t blkoff = off & (DEV_BSIZE - 1); local 194 size_t len = MIN(resid, DEV_BSIZE - blkoff); 199 bcopy(&blk[blkoff], buf, len); 234 size_t blkoff = off & (DEV_BSIZE - 1); local 235 size_t len = MIN(resid, DEV_BSIZE - blkoff); 240 bcopy(buf, &blk[blkoff], len);
|
/illumos-gate/usr/src/uts/common/fs/zfs/ |
H A D | bpobj.c | 115 uint64_t offset, blkoff; local 118 blkoff = P2PHASE(i, epb); 131 bpobj_free(os, objarray[blkoff], tx); 221 uint64_t offset, blkoff; local 224 blkoff = P2PHASE(i, bpo->bpo_epb); 239 bp = &bparray[blkoff]; 277 uint64_t offset, blkoff; local 283 blkoff = P2PHASE(i, epb); 298 err = bpobj_open(&sublist, bpo->bpo_os, objarray[blkoff]); 325 objarray[blkoff], t 462 int blkoff; local [all...] |
H A D | dmu_tx.c | 514 int err, i, blkoff, tochk; local 540 blkoff = P2PHASE(blkid, epb); 541 tochk = MIN(epb - blkoff, nblks); 569 bp += blkoff;
|
H A D | dnode.c | 1527 uint64_t blkoff, blkid, nblks; local 1547 blkoff = P2PHASE(off, blksz); 1571 blkoff = off; 1575 ASSERT3U(blkoff + head, ==, blksz); 1589 bzero(data + blkoff, head);
|
H A D | zfs_vnops.c | 1105 uint64_t blkoff; local 1107 blkoff = ISP2(size) ? P2PHASE(offset, size) : offset; 1108 offset -= blkoff; 1113 offset += blkoff;
|
/illumos-gate/usr/src/boot/sys/boot/efi/libefi/ |
H A D | efipart.c | 317 size_t blkoff, blksz; local 354 blkoff = off % blkio->Media->BlockSize; 355 blksz = blkio->Media->BlockSize - blkoff; 362 bcopy(blkbuf + blkoff, buf, blksz); 366 blkoff = 0;
|
/illumos-gate/usr/src/grub/grub-0.97/stage2/ |
H A D | fsys_xfs.c | 56 int blkoff; member in struct:xfs_info 380 if (xfs.blkoff >= xfs.dirbsize) { 381 xfs.blkoff = sizeof(xfs_dir2_data_hdr_t); 383 filepos |= xfs.blkoff; 386 xfs.blkoff += 4; 389 xfs.blkoff += toread; 402 xfs.blkoff += toread + 5; 447 xfs.blkoff = sizeof(xfs_dir2_data_hdr_t); 448 filepos = xfs.blkoff;
|
H A D | fs.h | 168 int fs_bmask; /* ``blkoff'' calc of blk offsets */ 401 #define blkoff(fs, loc) /* calculates (loc % fs->fs_bsize) */ \ macro 436 : (fragroundup(fs, blkoff(fs, (ip)->i_size)))) 440 : (fragroundup(fs, blkoff(fs, (dip)->di_size))))
|
H A D | ufs.h | 83 grub_int32_t fs_bmask; /* ``blkoff'' calc of blk offsets */ 217 #define blkoff(fs, loc) ((int)((loc & ~(fs)->fs_bmask))) macro
|
H A D | ufs2.h | 265 grub_int32_t fs_bmask; /* ``blkoff'' calc of blk offsets */ 384 #define blkoff(fs, loc) /* calculates (loc % fs->fs_bsize) */ \ macro 413 : (fragroundup(fs, blkoff(fs, (ip)->i_size)))) 417 : (fragroundup(fs, blkoff(fs, (size)))))
|
/illumos-gate/usr/src/boot/lib/libstand/ |
H A D | cd9660.c | 434 daddr_t blkno, blkoff; local 439 blkoff = fp->f_off % ISO_DEFAULT_BLOCK_SIZE; 457 *buf_p = fp->f_buf + blkoff; 458 *size_p = ISO_DEFAULT_BLOCK_SIZE - blkoff;
|
H A D | dosfs.c | 117 #define blkoff(fs, b) (secbyt((fs)->lsndta) + blkbyt(fs, (b) - LOCLUS)) macro 335 if ((err = ioread(f->fs, (c ? blkoff(f->fs, c) :
|
H A D | nandfs.c | 572 nandfs_daddr_t blknr, blkoff; local 575 blkoff = fs->nf_offset % fs->nf_blocksize; 588 *buf_p = fs->nf_buf + blkoff; 589 *size_p = fs->nf_blocksize - blkoff;
|
H A D | ext2fs.c | 160 #define blkoff(fs, loc) /* loc % bsize */ \ macro 167 : (fragroundup(fs, blkoff(fs, (dip)->di_size)))) 710 off = blkoff(fs, fp->f_seekp);
|
/illumos-gate/usr/src/boot/include/isofs/cd9660/ |
H A D | iso.h | 261 #define blkoff(imp, loc) ((loc) & (imp)->im_bmask) macro
|
/illumos-gate/usr/src/uts/common/fs/nfs/ |
H A D | nfs_client.c | 1356 nfs_async_readahead(vnode_t *vp, u_offset_t blkoff, caddr_t addr, argument 1406 args->a_nfs_blkoff = blkoff;
|
H A D | nfs_vnops.c | 3714 u_offset_t blkoff; local 3739 blkoff = lbn * bsize; 3765 else if (blkoff == rp->r_nextr) 3767 else if (rp->r_nextr > blkoff && 3768 ((ra_window = (rp->r_nextr - blkoff) / bsize) 3805 (void) nfs_async_readahead(vp, blkoff, addr, seg, cr, 3828 if (blkoff < rp->r_size && 3829 blkoff + bsize >= rp->r_size) { 3839 blksize = off + PAGESIZE - blkoff; 3841 blksize = rp->r_size - blkoff; 3967 nfs_readahead(vnode_t *vp, u_offset_t blkoff, caddr_t addr, struct seg *seg, cred_t *cr) argument [all...] |
H A D | nfs4_client.c | 1262 nfs4_async_readahead(vnode_t *vp, u_offset_t blkoff, caddr_t addr, argument 1312 args->a_nfs4_blkoff = blkoff;
|
H A D | nfs3_vnops.c | 4618 u_offset_t blkoff; local 4644 blkoff = lbn * bsize; 4670 else if (blkoff == rp->r_nextr) 4672 else if (rp->r_nextr > blkoff && 4673 ((ra_window = (rp->r_nextr - blkoff) / bsize) 4710 (void) nfs_async_readahead(vp, blkoff, addr, seg, cr, 4733 if (blkoff < rp->r_size && 4734 blkoff + bsize >= rp->r_size) { 4744 blksize = off + PAGESIZE - blkoff; 4746 blksize = rp->r_size - blkoff; 4877 nfs3_readahead(vnode_t *vp, u_offset_t blkoff, caddr_t addr, struct seg *seg, cred_t *cr) argument [all...] |
/illumos-gate/usr/src/uts/common/fs/specfs/ |
H A D | specvnops.c | 1840 u_offset_t blkoff; local 1894 blkoff = (off / adj_klustsize) * adj_klustsize; 1898 if (blkoff + adj_klustsize <= size) 1902 MIN(size - blkoff, adj_klustsize); 1906 &io_len1, blkoff, blksz, 0); 2120 u_offset_t blkoff; local 2135 blkoff = (pp->p_offset / adj_klustsize) * adj_klustsize; 2137 if (blkoff + adj_klustsize <= size) 2140 blksz = size - blkoff; 2145 pp = pvn_write_kluster(vp, pp, &tmpoff, &io_len, blkoff, [all...] |
/illumos-gate/usr/src/uts/common/sys/fs/ |
H A D | udf_inode.h | 62 #define blkoff(udfvfsp, loc) /* calculates (loc % udfcfs->udf_lbsize) */ \ macro
|
H A D | ufs_fs.h | 259 int32_t fs_bmask; /* ``blkoff'' calc of blk offsets */ 629 #define blkoff(fs, loc) /* calculates (loc % fs->fs_bsize) */ \ macro 633 * This macro works for 40 bit offset support similar to blkoff 705 : (fragroundup(fs, blkoff(fs, (ip)->i_size)))) 711 : (fragroundup(fs, blkoff(fs, (dip)->di_size))))
|
/illumos-gate/usr/src/uts/common/nfs/ |
H A D | nfs_clnt.h | 100 u_offset_t blkoff; /* offset in file */ member in struct:nfs_async_read_req 147 #define a_nfs_blkoff a_args.a_read_args.blkoff
|
H A D | nfs4_clnt.h | 248 u_offset_t blkoff; /* offset in file */ member in struct:nfs4_async_read_req 290 #define a_nfs4_blkoff a_args.a_read_args.blkoff
|
/illumos-gate/usr/src/boot/sys/ufs/ffs/ |
H A D | fs.h | 281 int32_t fs_bmask; /* ``blkoff'' calc of blk offsets */ 570 #define blkoff(fs, loc) /* calculates (loc % fs->fs_bsize) */ \ macro 613 : (fragroundup(fs, blkoff(fs, (ip)->i_size)))) 617 : (fragroundup(fs, blkoff(fs, (size)))))
|