Searched refs:PAGE_SIZE (Results 1 – 25 of 31) sorted by relevance
12
22 #define PAGE_SIZE (1UL << PAGE_SHIFT) macro24 #define PAGE_MASK (~(PAGE_SIZE-1))
21 #define SHMLBA (4 * PAGE_SIZE)
64 #define NBPG PAGE_SIZE
21 #define SHMLBA PAGE_SIZE
86 #define NBPG PAGE_SIZE
64 unsigned int __page_size = PAGE_SIZE;74 stack_size = (stack_size & ~(PAGE_SIZE - 1)); in get_stack_size()96 uintptr_t stack_top = (__get_sp() & ~(PAGE_SIZE - 1)) + PAGE_SIZE; in __libc_init_tls()
43 attr->guard_size = PAGE_SIZE; in pthread_attr_init()117 if ((stack_size & (PAGE_SIZE - 1) || stack_size < PTHREAD_STACK_MIN)) { in pthread_attr_setstack()120 if ((uint32_t)stack_base & (PAGE_SIZE - 1)) { in pthread_attr_setstack()
188 thread->attr.stack_size = (thread->attr.stack_size + (PAGE_SIZE-1)) & ~(PAGE_SIZE-1); in pthread_create()189 thread->attr.guard_size = (thread->attr.guard_size + (PAGE_SIZE-1)) & ~(PAGE_SIZE-1); in pthread_create()
132 result = (int) (total / (PAGE_SIZE/1024)); in __get_meminfo()233 case _SC_PAGESIZE: return PAGE_SIZE; in sysconf()234 case _SC_PAGE_SIZE: return PAGE_SIZE; in sysconf()
60 #define PAGE_END(x) PAGE_START((x) + (PAGE_SIZE-1))
25 #define PAGE_SIZE (1UL << PAGE_SHIFT) macro
42 #define NBPG PAGE_SIZE
40 #define PTRS_PER_PTE ((PAGE_SIZE << PTE_ORDER) / sizeof(pte_t))46 #define VMALLOC_END (FIXADDR_START-2*PAGE_SIZE)
35 #define TASK_UNMAPPED_BASE ((TASK_SIZE / 3) & ~(PAGE_SIZE))
25 #define PID_MAX_LIMIT (CONFIG_BASE_SMALL ? PAGE_SIZE * 8 : (sizeof(long) > 4 ? 4 * 1024 * 1024 : …
104 #define N_TXTADDR(x) (N_MAGIC(x) == QMAGIC ? PAGE_SIZE : 0)119 #define PAGE_SIZE 0x400 macro120 #define SEGMENT_SIZE PAGE_SIZE130 #define SEGMENT_SIZE PAGE_SIZE
34 #define PAGE_CACHE_SIZE PAGE_SIZE
39 char reserved[PAGE_SIZE - 10];
62 #define MLOCK_LIMIT (8 * PAGE_SIZE)
46 #define SKB_MAX_ORDER(X, ORDER) (((PAGE_SIZE << (ORDER)) - (X) - sizeof(struct skb_shared_info)) …60 #define MAX_SKB_FRAGS (65536/PAGE_SIZE + 2)
29 #define SHMALL (SHMMAX/PAGE_SIZE*(SHMMNI/16))
30 #define FIX_SIZE(x) ((((x) - 1) & PAGE_MASK) + PAGE_SIZE)
47 #define RPCSVC_MAXPAGES ((RPCSVC_MAXPAYLOAD+PAGE_SIZE-1)/PAGE_SIZE + 2)
110 #define PAGESIZE PAGE_SIZE