Lines Matching refs:bytes
43 #define NBPG 4096 /* bytes/page */
47 #define NBSEG 0x40000000 /* bytes/segment (quadrant) */
85 /* pages ("clicks") (NBPG bytes) to disk blocks */
90 /* pages to bytes */
93 /* bytes to pages */
96 #define btodb(bytes, devBlockSize) \
97 ((unsigned)(bytes) / devBlockSize)
101 #define btodb(bytes) /* calculates (bytes / DEV_BSIZE) */ \
102 ((unsigned)(bytes) >> DEV_BSHIFT)