Searched refs:NBPG (Results 1 - 8 of 8) sorted by relevance

/darwin-on-arm/xnu/bsd/arm/
H A Dparam.h61 #define NBPG 4096 /* bytes/page */ macro
62 #define PGOFSET (NBPG-1) /* byte offset into page */
63 #define PGSHIFT 12 /* LOG2(NBPG) */
110 #define btoc(x) (((unsigned)(x)+(NBPG-1))>>PGSHIFT)
/darwin-on-arm/xnu/bsd/i386/
H A Dparam.h85 #define NBPG 4096 /* bytes/page */ macro
86 #define PGOFSET (NBPG-1) /* byte offset into page */
87 #define PGSHIFT 12 /* LOG2(NBPG) */
138 #define btoc(x) (((unsigned)(x)+(NBPG-1))>>PGSHIFT)
/darwin-on-arm/xnu/osfmk/arm/
H A Dparam.h61 #define NBPG 4096 /* bytes/page */ macro
62 #define PGOFSET (NBPG-1) /* byte offset into page */
63 #define PGSHIFT 12 /* LOG2(NBPG) */
110 #define btoc(x) (((unsigned)(x)+(NBPG-1))>>PGSHIFT)
/darwin-on-arm/xnu/bsd/sys/
H A Dparam.h159 * CLSIZE pte's describing NBPG (from machine/param.h) pages each.
161 #define CLBYTES (CLSIZE*NBPG)
162 #define CLOFSET (CLSIZE*NBPG-1) /* for clusters, like PGOFSET */
/darwin-on-arm/xnu/osfmk/x86_64/
H A Dloose_ends.c189 if (((((uint32_t)src64 & (NBPG-1)) + bytes) > NBPG) ||
190 ((((uint32_t)dst64 & (NBPG-1)) + bytes) > NBPG) ) {
208 if (((((uint32_t)dst64 & (NBPG-1)) + bytes) > NBPG) ) {
/darwin-on-arm/xnu/osfmk/i386/
H A Dloose_ends.c149 if ( ((((uint32_t)src64 & (NBPG-1)) + bytes) > NBPG) || ((((uint32_t)dst64 & (NBPG-1)) + bytes) > NBPG) ) {
182 if ( ((((uint32_t)dst64 & (NBPG-1)) + bytes) > NBPG) ) {
H A Dlocore.s78 .set _PTD,_PTmap + (PTDPTDI * NBPG)
/darwin-on-arm/xnu/bsd/kern/
H A Duipc_mbuf.c2665 size = NBPG;
2675 VERIFY(IS_P2ALIGNED(page, NBPG));
2676 numpages = size / NBPG;
2709 for (i = 0; i < numpages; i++, page += NBPG) {
2710 ppnum_t offset = ((char *)page - (char *)mbutl) / NBPG;
2728 (caddr_t)page, NBPG);
2871 numpages = (num * m_size(class) + NBPG - 1) / NBPG;
5536 ((IS_P2ALIGNED((m)->m_data, NBPG) && (m)->m_len > NBPG) || \
[all...]

Completed in 110 milliseconds