Searched defs:DEV_BSHIFT (Results 1 - 4 of 4) sorted by relevance

/illumos-gate/usr/src/lib/libbc/inc/include/sys/
H A Dparam.h140 #define DEV_BSHIFT 9 /* log2(DEV_BSIZE) */ macro
144 ((unsigned)(bytes) >> DEV_BSHIFT)
146 ((unsigned)(db) << DEV_BSHIFT)
/illumos-gate/usr/src/boot/sys/sys/
H A Dparam.h140 #ifndef DEV_BSHIFT
141 #define DEV_BSHIFT 9 /* log2(DEV_BSIZE) */ macro
143 #define DEV_BSIZE (1<<DEV_BSHIFT)
206 ? (daddr_t)((unsigned long long)(bytes) >> DEV_BSHIFT) \
207 : (daddr_t)((unsigned long)(bytes) >> DEV_BSHIFT))
212 ((off_t)(db) << DEV_BSHIFT)
346 ((db + (ctodb(1) - 1)) >> (PAGE_SHIFT - DEV_BSHIFT))
349 ((db) << (PAGE_SHIFT - DEV_BSHIFT))
/illumos-gate/usr/src/ucbhead/sys/
H A Dparam.h201 #define DEV_BSHIFT 9 /* log2(DEV_BSIZE) */ macro
217 ((unsigned)(bytes) >> DEV_BSHIFT)
219 ((unsigned)(db) << DEV_BSHIFT)
/illumos-gate/usr/src/uts/common/sys/
H A Dparam.h239 #define DEV_BSHIFT 9 /* log2(DEV_BSIZE) */ macro
257 ((unsigned long)(bytes) >> DEV_BSHIFT)
259 ((unsigned long)(db) << DEV_BSHIFT)
263 ((u_offset_t)(bytes) >> DEV_BSHIFT)
265 ((u_offset_t)(db) << DEV_BSHIFT)
419 #define mmu_ptod(x) ((x) << (MMU_PAGESHIFT - DEV_BSHIFT))
420 #define ptod(x) ((x) << (PAGESHIFT - DEV_BSHIFT))
446 #define dtop(DD) (((DD) + NDPP - 1) >> (PAGESHIFT - DEV_BSHIFT))
447 #define dtopt(DD) ((DD) >> (PAGESHIFT - DEV_BSHIFT))

Completed in 48 milliseconds