Searched defs:blkoff (Results 1 - 25 of 26) sorted by relevance

12

/illumos-gate/usr/src/cmd/mdb/common/mdb/
H A Dmdb_fdio.c193 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 Dbpobj.c115 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 Ddmu_tx.c514 int err, i, blkoff, tochk; local
540 blkoff = P2PHASE(blkid, epb);
541 tochk = MIN(epb - blkoff, nblks);
569 bp += blkoff;
H A Ddnode.c1527 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 Dzfs_vnops.c1105 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 Defipart.c317 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 Dfsys_xfs.c56 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 Dfs.h168 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 Dufs.h83 grub_int32_t fs_bmask; /* ``blkoff'' calc of blk offsets */
217 #define blkoff(fs, loc) ((int)((loc & ~(fs)->fs_bmask))) macro
H A Dufs2.h265 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 Dcd9660.c434 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 Ddosfs.c117 #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 Dnandfs.c572 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 Dext2fs.c160 #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 Diso.h261 #define blkoff(imp, loc) ((loc) & (imp)->im_bmask) macro
/illumos-gate/usr/src/uts/common/fs/nfs/
H A Dnfs_client.c1356 nfs_async_readahead(vnode_t *vp, u_offset_t blkoff, caddr_t addr, argument
1406 args->a_nfs_blkoff = blkoff;
H A Dnfs_vnops.c3714 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 Dnfs4_client.c1262 nfs4_async_readahead(vnode_t *vp, u_offset_t blkoff, caddr_t addr, argument
1312 args->a_nfs4_blkoff = blkoff;
H A Dnfs3_vnops.c4618 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 Dspecvnops.c1840 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 Dudf_inode.h62 #define blkoff(udfvfsp, loc) /* calculates (loc % udfcfs->udf_lbsize) */ \ macro
H A Dufs_fs.h259 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 Dnfs_clnt.h100 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 Dnfs4_clnt.h248 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 Dfs.h281 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)))))

Completed in 2911 milliseconds

12