/linux-master/tools/testing/selftests/proc/ |
H A D | thread-self.c | 49 const int PAGE_SIZE = sysconf(_SC_PAGESIZE); local 56 stack = mmap(NULL, 2 * PAGE_SIZE, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0); 59 pid = clone(f, stack + PAGE_SIZE, CLONE_THREAD|CLONE_SIGHAND|CLONE_VM, (void *)1);
|
/linux-master/tools/testing/selftests/x86/ |
H A D | sysret_rip.c | 137 if (ip <= (1UL << 47) - PAGE_SIZE) { 178 test_syscall_fallthrough_to((1UL << 47) - 2*PAGE_SIZE); 182 test_syscall_fallthrough_to((1UL<<i) - PAGE_SIZE);
|
H A D | test_mremap_vdso.c | 23 #define PAGE_SIZE 4096 macro 68 unsigned long vdso_size = PAGE_SIZE; 82 vdso_size += PAGE_SIZE;
|
/linux-master/arch/alpha/boot/ |
H A D | bootp.c | 167 initrd_start = ((START_ADDR + 5*KERNEL_SIZE + PAGE_SIZE) | 168 (PAGE_SIZE-1)) + 1; 177 move_stack(initrd_start - PAGE_SIZE); 206 memset((char*)ZERO_PGE, 0, PAGE_SIZE);
|
H A D | bootpz.c | 86 for (vaddr = vstart; vaddr <= vend; vaddr += PAGE_SIZE) 183 #define NEXT_PAGE(a) (((a) | (PAGE_SIZE - 1)) + 1) 255 NEXT_PAGE(K_COPY_IMAGE_START + KERNEL_SIZE + PAGE_SIZE) 387 uncompressed_image_start += PAGE_SIZE; 388 uncompressed_image_end += PAGE_SIZE; 389 initrd_image_start += PAGE_SIZE; 441 move_stack(initrd_image_start - PAGE_SIZE); 451 memset((char*)ZERO_PGE, 0, PAGE_SIZE);
|
H A D | main.c | 148 "r" (PAGE_SIZE + INIT_STACK));
|
/linux-master/arch/alpha/include/asm/ |
H A D | page.h | 10 #define PAGE_SIZE (_AC(1,UL) << PAGE_SHIFT) macro 11 #define PAGE_MASK (~(PAGE_SIZE-1))
|
H A D | ptrace.h | 15 ((struct pt_regs *) (task_stack_page(task) + 2*PAGE_SIZE) - 1) 18 ((struct pt_regs *) ((char *)current_thread_info() + 2*PAGE_SIZE) - 1)
|
H A D | thread_info.h | 51 #define THREAD_SIZE (2*PAGE_SIZE)
|
/linux-master/arch/alpha/kernel/ |
H A D | core_cia.c | 353 static int page[PAGE_SIZE/4] 354 __attribute__((aligned(PAGE_SIZE))) 395 bus_addr = cia_ioremap(addr0, 8*PAGE_SIZE); 469 temp = cia_readl(bus_addr + 4*PAGE_SIZE); 493 temp = cia_readl(bus_addr + 5*PAGE_SIZE); 517 temp = cia_readl(bus_addr + 6*PAGE_SIZE);
|
H A D | core_irongate.c | 368 for(baddr = addr; baddr <= last; baddr += PAGE_SIZE) 385 baddr += PAGE_SIZE, vaddr += PAGE_SIZE) 391 pte, PAGE_SIZE, 0)) {
|
H A D | core_marvel.c | 757 baddr += PAGE_SIZE, vaddr += PAGE_SIZE) { 768 PAGE_SIZE, 0)) { 880 aper->pg_count = alpha_agpgart_size / PAGE_SIZE; 891 aper->arena->dma_base + aper->pg_start * PAGE_SIZE; 892 agp->aperture.size = aper->pg_count * PAGE_SIZE;
|
H A D | core_titan.c | 525 baddr += PAGE_SIZE, vaddr += PAGE_SIZE) { 536 PAGE_SIZE, 0)) { 607 aper->pg_count = alpha_agpgart_size / PAGE_SIZE; 617 aper->arena->dma_base + aper->pg_start * PAGE_SIZE; 618 agp->aperture.size = aper->pg_count * PAGE_SIZE;
|
H A D | osf_sys.c | 550 return PAGE_SIZE; 1274 addr = arch_get_unmapped_area_1 (PAGE_SIZE, len, limit);
|
H A D | pci_iommu.c | 66 mem_size = window_size / (PAGE_SIZE / sizeof(unsigned long)); 282 npages = iommu_num_pages(paddr, size, PAGE_SIZE); 295 for (i = 0; i < npages; ++i, paddr += PAGE_SIZE) 298 ret = arena->dma_base + dma_ofs * PAGE_SIZE; 385 if (dma_ofs * PAGE_SIZE >= arena->size) { 393 npages = iommu_num_pages(dma_addr, size, PAGE_SIZE); 577 npages = iommu_num_pages(paddr, size, PAGE_SIZE); 590 out->dma_address = arena->dma_base + dma_ofs*PAGE_SIZE + paddr; 613 npages = iommu_num_pages(paddr, size, PAGE_SIZE); 616 for (i = 0; i < npages; ++i, paddr += PAGE_SIZE) [all...] |
H A D | ptrace.c | 49 * +================================+ <---- task + 2*PAGE_SIZE 75 (PAGE_SIZE*2 - sizeof(struct pt_regs) + offsetof(struct pt_regs, reg)) 78 (PAGE_SIZE*2 - sizeof(struct pt_regs) - sizeof(struct switch_stack) \
|
H A D | setup.c | 290 start = memblock_alloc(PAGE_ALIGN(size), PAGE_SIZE);
|
H A D | srm_env.c | 73 ret = callback_getenv(id, page, PAGE_SIZE); 101 if (count >= PAGE_SIZE)
|
H A D | vmlinux.lds.S | 40 __init_begin = ALIGN(PAGE_SIZE); 41 INIT_TEXT_SECTION(PAGE_SIZE) 44 /* Align to THREAD_SIZE rather than PAGE_SIZE here so any padding page 52 RW_DATA(L1_CACHE_BYTES, PAGE_SIZE, THREAD_SIZE)
|
/linux-master/arch/alpha/mm/ |
H A D | init.c | 79 memset(absolute_pointer(EMPTY_PGT), 0, PAGE_SIZE); local 86 memset(absolute_pointer(EMPTY_PGE), 0, PAGE_SIZE); local 108 memset(swapper_pg_dir, 0, PAGE_SIZE); 184 kernel_end = two_pages + 2*PAGE_SIZE; 185 memset(two_pages, 0, 2*PAGE_SIZE); 192 pmd_set(pmd, (pte_t *)(two_pages + PAGE_SIZE)); 207 vm_area_register_early(&console_remap_vm, PAGE_SIZE); 221 memset(kernel_end, 0, PAGE_SIZE); 224 kernel_end += PAGE_SIZE; 229 vaddr += PAGE_SIZE; 256 memset(absolute_pointer(ZERO_PGE), 0, PAGE_SIZE); local [all...] |
/linux-master/arch/arc/include/asm/ |
H A D | elf.h | 42 #define ELF_EXEC_PAGESIZE PAGE_SIZE
|
H A D | highmem.h | 45 local_flush_tlb_kernel_range(vaddr, vaddr + PAGE_SIZE)
|
H A D | page.h | 24 #define clear_page(paddr) memset((paddr), 0, PAGE_SIZE) 26 #define copy_page(to, from) memcpy((to), (from), PAGE_SIZE)
|
H A D | pgtable.h | 24 extern char empty_zero_page[PAGE_SIZE]; 27 extern pgd_t swapper_pg_dir[] __aligned(PAGE_SIZE);
|
H A D | shmparam.h | 10 #define SHMLBA (2 * PAGE_SIZE)
|