Searched refs:PGSHIFT (Results 1 - 25 of 146) sorted by relevance

123456

/netbsd-6-1-5-RELEASE/sys/arch/hppa/include/
H A Dparam.h40 #define PGSHIFT 12 /* LOG2(NBPG) */ macro
41 #define NBPG (1 << PGSHIFT) /* bytes/page */
44 #define SEGSHIFT (PGSHIFT + (PGSHIFT-PTESHIFT)) /* LOG2(NBSEG) */
49 #define BTOPKERNBASE ((u_long)KERNBASE >> PGSHIFT)
92 #define btop(x) ((unsigned long)(x) >> PGSHIFT)
93 #define ptob(x) ((unsigned long)(x) << PGSHIFT)
/netbsd-6-1-5-RELEASE/sys/arch/arm/include/arm32/
H A Dparam.h48 #define PGSHIFT 12 /* LOG2(NBPG) */ macro
49 #define NBPG (1 << PGSHIFT) /* bytes/page */
97 #define arm_btop(x) ((x) >> PGSHIFT)
98 #define arm_ptob(x) ((x) << PGSHIFT)
/netbsd-6-1-5-RELEASE/sys/arch/acorn26/include/
H A Dparam.h48 #define PGSHIFT 15 /* LOG2(NBPG) */ macro
49 #define NBPG (1 << PGSHIFT) /* bytes/page */
73 #define UBC_WINSHIFT PGSHIFT
/netbsd-6-1-5-RELEASE/sys/arch/ia64/include/
H A Dparam.h83 #define PGSHIFT 14 /* LOG2(NBPG) */ macro
84 #define NBPG (1 << PGSHIFT) /* bytes/page */
118 #define ia64_btop(x) ((unsigned long)(x) >> PGSHIFT)
119 #define ia64_ptob(x) ((unsigned long)(x) << PGSHIFT)
/netbsd-6-1-5-RELEASE/sys/arch/m68k/include/
H A Dparam.h59 #define NBPG (1 << PGSHIFT) /* bytes/page */
62 #define BTOPKERNBASE ((u_long)KERNBASE >> PGSHIFT)
102 #define m68k_btop(x) ((vaddr_t)(x) >> PGSHIFT)
103 #define m68k_ptob(x) ((vaddr_t)(x) << PGSHIFT)
/netbsd-6-1-5-RELEASE/sys/arch/alpha/include/
H A Dparam.h54 #define PGSHIFT ALPHA_PGSHIFT /* LOG2(NBPG) */ macro
57 #define BTOPKERNBASE ((u_long)KERNBASE >> PGSHIFT)
105 #define alpha_btop(x) ((unsigned long)(x) >> PGSHIFT)
106 #define alpha_ptob(x) ((unsigned long)(x) << PGSHIFT)
/netbsd-6-1-5-RELEASE/sys/arch/sh3/include/
H A Dparam.h50 #define PGSHIFT 12 macro
51 #define NBPG (1 << PGSHIFT)
H A Dvmparam.h84 #define sh3_btop(x) ((uint32_t)(x) >> PGSHIFT)
85 #define sh3_ptob(x) ((uint32_t)(x) << PGSHIFT)
/netbsd-6-1-5-RELEASE/sys/arch/mips/include/
H A Dmips_param.h75 #define PGSHIFT 14 /* LOG2(NBPG) */ macro
78 #define PGSHIFT 12 /* LOG2(NBPG) */ macro
85 #define SEGSHIFT (PGSHIFT+(PGSHIFT-2)) /* LOG2(NBSEG) */
91 #define XSEGSHIFT (SEGSHIFT+(PGSHIFT-3)) /* LOG2(NBXSEG) */
106 #define mips_btop(x) ((paddr_t)(x) >> PGSHIFT)
107 #define mips_ptob(x) ((paddr_t)(x) << PGSHIFT)
/netbsd-6-1-5-RELEASE/sys/arch/i386/include/
H A Dparam.h63 #define PGSHIFT 12 /* LOG2(NBPG) */ macro
64 #define NBPG (1 << PGSHIFT) /* bytes/page */
81 #define BTOPKERNBASE (KERNBASE >> PGSHIFT)
151 #define x86_btop(x) ((paddr_t)(x) >> PGSHIFT)
152 #define x86_ptob(x) ((paddr_t)(x) << PGSHIFT)
/netbsd-6-1-5-RELEASE/sys/arch/vax/include/
H A Dparam.h49 #define PGSHIFT 12 /* LOG2(NBPG) */ macro
50 #define NBPG (1 << PGSHIFT) /* (1 << PGSHIFT) bytes/page */
110 #define btop(x) ((x) >> PGSHIFT)
/netbsd-6-1-5-RELEASE/sys/arch/powerpc/include/
H A Dparam.h60 #define PGSHIFT 14 /* Use 16KB to reduce TLB thrashing */ macro
63 #define PGSHIFT 12 macro
66 #define NBPG (1 << PGSHIFT) /* Page size */
/netbsd-6-1-5-RELEASE/sys/arch/sun2/include/
H A Dpte.h163 #define PG_PA(pte) (PG_PFNUM(pte) << PGSHIFT)
175 #define VA_PTE_NUM_SHIFT PGSHIFT
176 #define VA_PTE_NUM_MASK (((1 << SEGSHIFT) - 1) ^ ((1 << PGSHIFT) - 1))
179 #define PA_PGNUM(pa) ((unsigned)(pa) >> PGSHIFT)
/netbsd-6-1-5-RELEASE/sys/arch/mac68k/include/
H A Dparam.h90 #define PGSHIFT 12 /* LOG2(NBPG) */ macro
/netbsd-6-1-5-RELEASE/sys/arch/atari/include/
H A Dparam.h50 #define PGSHIFT 13 /* LOG2(NBPG) */ macro
/netbsd-6-1-5-RELEASE/sys/arch/cesfic/include/
H A Dparam.h59 #define PGSHIFT 12 /* LOG2(NBPG) */ macro
/netbsd-6-1-5-RELEASE/sys/arch/amiga/include/
H A Dparam.h50 #define PGSHIFT 13 /* LOG2(NBPG) */ macro
/netbsd-6-1-5-RELEASE/sys/arch/amd64/include/
H A Dparam.h25 #define PGSHIFT 12 /* LOG2(NBPG) */ macro
26 #define NBPG (1 << PGSHIFT) /* bytes/page */
36 #define BTOPKERNBASE ((u_long)KERNBASE >> PGSHIFT)
109 #define x86_btop(x) ((unsigned long)(x) >> PGSHIFT)
110 #define x86_ptob(x) ((unsigned long)(x) << PGSHIFT)
/netbsd-6-1-5-RELEASE/sys/arch/arc/include/
H A Dparam.h60 #define BTOPKERNBASE ((u_long)KERNBASE >> PGSHIFT)
77 #define UVPN (UADDR>>PGSHIFT)/* virtual page number of u */
/netbsd-6-1-5-RELEASE/sys/arch/x68k/include/
H A Dparam.h50 #define PGSHIFT 12 /* LOG2(NBPG) */ macro
/netbsd-6-1-5-RELEASE/sys/arch/news68k/include/
H A Dparam.h51 #define PGSHIFT 13 /* LOG2(NBPG) */ macro
/netbsd-6-1-5-RELEASE/sys/arch/newsmips/include/
H A Dparam.h55 #define BTOPKERNBASE ((u_long)KERNBASE >> PGSHIFT)
/netbsd-6-1-5-RELEASE/sys/arch/next68k/include/
H A Dparam.h50 #define PGSHIFT 12 /* LOG2(NBPG) */ macro
/netbsd-6-1-5-RELEASE/sys/arch/hpcmips/include/
H A Dparam.h55 #define BTOPKERNBASE ((u_long)KERNBASE >> PGSHIFT)
/netbsd-6-1-5-RELEASE/sys/arch/luna68k/include/
H A Dparam.h47 #define PGSHIFT 12 /* LOG2(NBPG) */ macro

Completed in 411 milliseconds

123456