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

1 2 3 4 5 6

  /src/sys/arch/arm/include/arm32/
param.h 50 #ifndef PGSHIFT
51 #define PGSHIFT 12 /* LOG2(NBPG) */
53 #define NBPG (1 << PGSHIFT) /* bytes/page */
102 #define arm_btop(x) ((unsigned)(x) >> PGSHIFT)
103 #define arm_ptob(x) ((unsigned)(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) */
90 #define btop(x) ((unsigned long)(x) >> PGSHIFT)
91 #define ptob(x) ((unsigned long)(x) << PGSHIFT)
  /src/sys/arch/atari/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/hp300/include/
param.h 50 #define PGSHIFT 12 /* LOG2(NBPG) */
  /src/sys/arch/luna68k/include/
param.h 47 #define PGSHIFT 12 /* LOG2(NBPG) */
  /src/sys/arch/hb68k/include/
param.h 57 #define PGSHIFT 12 /* LOG2(NBPG) */
  /src/sys/arch/usermode/include/
param.h 21 #define PGSHIFT 12
22 #define NBPG (1 << PGSHIFT)
  /src/sys/arch/m68k/include/
param.h 79 #define NBPG (1 << PGSHIFT) /* bytes/page */
82 #define UPAGES (USPACE >> PGSHIFT)
105 #define __NKMEMPAGES_MIN_DEFAULT ((4 * 1024 * 1024) >> PGSHIFT)
106 #define __NKMEMPAGES_MAX_DEFAULT ((8 * 1024 * 1024) >> PGSHIFT)
110 #define __NKMEMPAGES_MIN_DEFAULT ((8 * 1024 * 1024) >> PGSHIFT)
111 #define __NKMEMPAGES_MAX_DEFAULT ((128 * 1024 * 1024) >> PGSHIFT)
132 #define m68k_btop(x) ((vaddr_t)(x) >> PGSHIFT)
133 #define m68k_ptob(x) ((vaddr_t)(x) << PGSHIFT)
  /src/sys/arch/riscv/include/
param.h 73 #define PGSHIFT 12
74 #define NBPG (1 << PGSHIFT)
78 #define USPACE (UPAGES << PGSHIFT)
108 #define riscv_btop(x) ((unsigned long)(x) >> PGSHIFT)
109 #define riscv_ptob(x) ((unsigned long)(x) << PGSHIFT)
  /src/sys/arch/ia64/include/
param.h 82 #define PGSHIFT 14 /* LOG2(NBPG) */
83 #define NBPG (1 << PGSHIFT) /* bytes/page */
122 #define ia64_btop(x) ((unsigned long)(x) >> PGSHIFT)
123 #define ia64_ptob(x) ((unsigned long)(x) << PGSHIFT)
  /src/sys/arch/amiga/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/mvme68k/include/
param.h 50 #define PGSHIFT 12 /* LOG2(NBPG) */
  /src/sys/arch/news68k/include/
param.h 51 #define PGSHIFT 13 /* LOG2(NBPG) */
  /src/sys/arch/next68k/include/
param.h 50 #define PGSHIFT 12 /* LOG2(NBPG) */
  /src/sys/arch/virt68k/include/
param.h 50 #define PGSHIFT 12 /* LOG2(NBPG) */
  /src/sys/arch/x68k/include/
param.h 54 #define PGSHIFT 12 /* LOG2(NBPG) */
  /src/sys/arch/or1k/include/
param.h 62 #define PGSHIFT 13
63 #define NBPG (1 << PGSHIFT)
  /src/sys/arch/sh3/include/
param.h 53 #define PGSHIFT 12
54 #define NBPG (1 << PGSHIFT)
  /src/sys/arch/mips/include/
mips_param.h 115 #define PGSHIFT 14 /* LOG2(NBPG) */
118 #define PGSHIFT 13 /* LOG2(NBPG) */
120 #define PGSHIFT 12 /* LOG2(NBPG) */
122 #define NBPG (1 << PGSHIFT) /* bytes/page */
125 #define PTPLENGTH (PGSHIFT - PTPSHIFT)
128 #define SEGSHIFT (PGSHIFT + PTPLENGTH) /* LOG2(NBSEG) */
133 #define SEGLENGTH (PGSHIFT - 3)
137 #define XSEGLENGTH (PGSHIFT - 3)
171 #define mips_btop(x) ((paddr_t)(x) >> PGSHIFT)
172 #define mips_ptob(x) ((paddr_t)(x) << PGSHIFT)
    [all...]
  /src/sys/arch/aarch64/include/
param.h 107 #define PGSHIFT AARCH64_PAGE_SHIFT
109 #define PGSHIFT 12
111 #define NBPG (1 << PGSHIFT)
119 #if PGSHIFT > 12
163 #define aarch64_btop(x) ((unsigned long)(x) >> PGSHIFT)
164 #define aarch64_ptob(x) ((unsigned long)(x) << PGSHIFT)
165 #define aarch64_trunc_page(x) ((unsigned long)(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/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)
  /src/sys/arch/alpha/include/
param.h 68 #define PGSHIFT ALPHA_PGSHIFT /* LOG2(NBPG) */
113 #define alpha_btop(x) ((unsigned long)(x) >> PGSHIFT)
114 #define alpha_ptob(x) ((unsigned long)(x) << PGSHIFT)

Completed in 101 milliseconds

1 2 3 4 5 6