Searched defs:blkshift (Results 1 - 6 of 6) sorted by relevance

/illumos-gate/usr/src/uts/common/io/comstar/lu/stmf_sbd/
H A Dsbd_zvol.c241 int blkshift, numbufs, i; local
264 blkshift = highbit(blksize - 1);
268 numbufs = (P2ROUNDUP(offset+len, 1ULL<<blkshift) -
269 P2ALIGN(offset, 1ULL<<blkshift)) >> blkshift;
/illumos-gate/usr/src/uts/common/fs/zfs/
H A Ddnode.c1528 int blksz, blkshift, head, tail; local
1534 blkshift = dn->dn_datablkshift;
1548 if ((off >> blkshift) > dn->dn_maxblkid)
1602 if ((off >> blkshift) > dn->dn_maxblkid)
1637 blkid = off >> blkshift;
1638 nblks = len >> blkshift;
H A Ddmu.c452 int blkshift = dn->dn_datablkshift; local
453 nblks = (P2ROUNDUP(offset + length, 1ULL << blkshift) -
454 P2ALIGN(offset, 1ULL << blkshift)) >> blkshift;
/illumos-gate/usr/src/uts/common/fs/specfs/
H A Dspecvnops.c319 int blkshift; local
427 blkshift = highbit(blksize) - 1;
430 if (size < (MAXOFFSET_T >> blkshift))
431 size = size << blkshift;
/illumos-gate/usr/src/uts/common/os/
H A Ddriver_lyr.c1823 int blkshift; local
1858 blkshift = highbit(blksize) - 1;
1864 if ((uint64_t)drv_prop64 >= (UINT64_MAX >> blkshift))
1868 (((u_offset_t)drv_prop64) << blkshift);
1888 blkshift = highbit(blksize) - 1;
1894 if ((uint64_t)value >= (UINT64_MAX >> blkshift))
1898 (((u_offset_t)value) << blkshift);
H A Dsunddi.c1514 int blkshift; local
1518 blkshift = highbit(blksize) - 1;
1524 if (nblocks64 >= (UINT64_MAX >> blkshift))
1528 size64 = nblocks64 << blkshift;
1565 int blkshift; local
1584 blkshift = highbit(blksize) - 1;
1587 nblocks64 = size64 >> blkshift;

Completed in 1039 milliseconds