HomeSort by: relevance | last modified time | path
    Searched defs:PGSHIFT (Results 1 - 25 of 30) sorted by relevancy

1 2

  /src/sys/arch/atari/include/
param.h 50 #define PGSHIFT 13 /* LOG2(NBPG) */
  /src/sys/arch/mac68k/include/
param.h 90 #define PGSHIFT 13 /* LOG2(NBPG) */
  /src/sys/arch/usermode/include/
param.h 21 #define PGSHIFT 12
22 #define NBPG (1 << PGSHIFT)
  /src/sys/arch/amiga/include/
param.h 50 #define PGSHIFT 13 /* LOG2(NBPG) */
  /src/sys/arch/cesfic/include/
param.h 60 #define PGSHIFT 12 /* LOG2(NBPG) */
  /src/sys/arch/evbcf/include/
param.h 57 #define PGSHIFT 12 /* LOG2(NBPG) */
  /src/sys/arch/hp300/include/
param.h 50 #define PGSHIFT 12 /* LOG2(NBPG) */
  /src/sys/arch/mvme68k/include/
param.h 57 #define PGSHIFT 12 /* LOG2(NBPG) */
  /src/sys/arch/news68k/include/
param.h 51 #define PGSHIFT 13 /* LOG2(NBPG) */
  /src/sys/arch/sh3/include/
param.h 53 #define PGSHIFT 12
54 #define NBPG (1 << PGSHIFT)
  /src/sys/arch/sun3/include/
param.h 54 #define PGSHIFT 13 /* LOG2(NBPG) */
  /src/sys/arch/luna68k/include/
param.h 47 #define PGSHIFT 12 /* LOG2(NBPG) */
  /src/sys/arch/next68k/include/
param.h 50 #define PGSHIFT 12 /* LOG2(NBPG) */
  /src/sys/arch/virt68k/include/
param.h 57 #define PGSHIFT 12 /* LOG2(NBPG) */
  /src/sys/arch/x68k/include/
param.h 54 #define PGSHIFT 12 /* LOG2(NBPG) */
  /src/sys/arch/arm/include/arm32/
param.h 50 #ifndef PGSHIFT
51 #define PGSHIFT 12 /* LOG2(NBPG) */
53 #define NBPG (1 << PGSHIFT) /* bytes/page */
104 #define arm_btop(x) ((unsigned)(x) >> PGSHIFT)
105 #define arm_ptob(x) ((unsigned)(x) << PGSHIFT)
  /src/sys/arch/powerpc/include/
param.h 68 #define PGSHIFT 14 /* Use 16KB to reduce TLB thrashing */
71 #define PGSHIFT 12
74 #define NBPG (1 << PGSHIFT) /* Page size */
  /src/sys/arch/or1k/include/
param.h 62 #define PGSHIFT 13
63 #define NBPG (1 << PGSHIFT)
  /src/sys/arch/alpha/include/
param.h 68 #define PGSHIFT ALPHA_PGSHIFT /* LOG2(NBPG) */
71 #define BTOPKERNBASE ((u_long)KERNBASE >> PGSHIFT)
117 #define alpha_btop(x) ((unsigned long)(x) >> PGSHIFT)
118 #define alpha_ptob(x) ((unsigned long)(x) << PGSHIFT)
  /src/sys/arch/sun2/include/
param.h 56 #define PGSHIFT 11 /* LOG2(NBPG) */
  /src/sys/arch/riscv/include/
param.h 73 #define PGSHIFT 12
74 #define NBPG (1 << PGSHIFT)
78 #define USPACE (UPAGES << PGSHIFT)
106 #define riscv_btop(x) ((unsigned long)(x) >> PGSHIFT)
107 #define riscv_ptob(x) ((unsigned long)(x) << PGSHIFT)
  /src/sys/arch/hppa/include/
param.h 45 #define PGSHIFT 12 /* LOG2(NBPG) */
46 #define NBPG (1 << PGSHIFT) /* bytes/page */
49 #define SEGSHIFT (PGSHIFT + (PGSHIFT-PTESHIFT)) /* LOG2(NBSEG) */
54 #define BTOPKERNBASE ((u_long)KERNBASE >> PGSHIFT)
94 #define btop(x) ((unsigned long)(x) >> PGSHIFT)
95 #define ptob(x) ((unsigned long)(x) << PGSHIFT)
  /src/sys/arch/sparc/include/
param.h 69 * See also the definitions of NBPG, PGOFSET and PGSHIFT below.
72 extern int nbpg, pgofset, pgshift;
149 # define PGSHIFT SUN4CM_PGSHIFT
153 # define PGSHIFT SUN4_PGSHIFT
157 # define PGSHIFT pgshift
  /src/sys/arch/aarch64/include/
param.h 110 #define PGSHIFT AARCH64_PAGE_SHIFT
112 #define PGSHIFT 12
114 #define NBPG (1 << PGSHIFT)
122 #if PGSHIFT > 12
166 #define aarch64_btop(x) ((unsigned long)(x) >> PGSHIFT)
167 #define aarch64_ptob(x) ((unsigned long)(x) << PGSHIFT)
168 #define aarch64_trunc_page(x) ((unsigned long)(x) & ~PGSHIFT)
  /src/sys/arch/vax/include/
param.h 53 #define PGSHIFT 12 /* LOG2(NBPG) */
54 #define NBPG (1 << PGSHIFT) /* (1 << PGSHIFT) bytes/page */
107 #define btop(x) ((x) >> PGSHIFT)

Completed in 19 milliseconds

1 2