Searched refs:vdso_pages (Results 1 – 5 of 5) sorted by relevance
/arch/riscv/kernel/ |
D | vdso.c | 23 static unsigned int vdso_pages; variable 39 vdso_pages = (vdso_end - vdso_start) >> PAGE_SHIFT; in vdso_init() 41 kcalloc(vdso_pages + 1, sizeof(struct page *), GFP_KERNEL); in vdso_init() 47 for (i = 0; i < vdso_pages; i++) { in vdso_init() 66 vdso_len = (vdso_pages + 1) << PAGE_SHIFT; in arch_setup_additional_pages() 85 install_special_mapping(mm, vdso_base, vdso_pages << PAGE_SHIFT, in arch_setup_additional_pages() 94 vdso_base += (vdso_pages << PAGE_SHIFT); in arch_setup_additional_pages() 96 (VM_READ | VM_MAYREAD), &vdso_pagelist[vdso_pages]); in arch_setup_additional_pages()
|
/arch/s390/kernel/ |
D | vdso.c | 48 unsigned long vdso_pages; in vdso_fault() local 51 vdso_pages = vdso64_pages; in vdso_fault() 53 if (vmf->pgoff >= vdso_pages) in vdso_fault() 64 unsigned long vdso_pages; in vdso_mremap() local 66 vdso_pages = vdso64_pages; in vdso_mremap() 68 if ((vdso_pages << PAGE_SHIFT) != vma->vm_end - vma->vm_start) in vdso_mremap() 166 unsigned long vdso_pages; in arch_setup_additional_pages() local 176 vdso_pages = vdso64_pages; in arch_setup_additional_pages() 181 if (vdso_pages == 0) in arch_setup_additional_pages() 191 vdso_base = get_unmapped_area(NULL, 0, vdso_pages << PAGE_SHIFT, 0, 0); in arch_setup_additional_pages() [all …]
|
/arch/nds32/kernel/ |
D | vdso.c | 27 static unsigned long vdso_pages __ro_after_init; 76 vdso_pages = (vdso_end - vdso_start) >> PAGE_SHIFT; in vdso_init() 78 vdso_pages + 1, vdso_pages, vdso_start, 1L, vdso_data); in vdso_init() 81 vdso_pagelist = kcalloc(vdso_pages, sizeof(struct page *), GFP_KERNEL); in vdso_init() 85 for (i = 0; i < vdso_pages; i++) in vdso_init() 123 vdso_text_len = vdso_pages << PAGE_SHIFT; in arch_setup_additional_pages()
|
/arch/powerpc/kernel/ |
D | vdso.c | 129 unsigned long vdso_pages; in arch_setup_additional_pages() local 139 vdso_pages = vdso32_pages; in arch_setup_additional_pages() 143 vdso_pages = vdso64_pages; in arch_setup_additional_pages() 153 vdso_pages = vdso32_pages; in arch_setup_additional_pages() 162 if (vdso_pages == 0) in arch_setup_additional_pages() 165 vdso_pages ++; in arch_setup_additional_pages() 176 (vdso_pages << PAGE_SHIFT) + in arch_setup_additional_pages() 204 rc = install_special_mapping(mm, vdso_base, vdso_pages << PAGE_SHIFT, in arch_setup_additional_pages()
|
/arch/arm64/kernel/ |
D | vdso.c | 50 unsigned long vdso_pages; member 108 vdso_info[abi].vdso_pages = ( in __vdso_init() 113 vdso_pagelist = kcalloc(vdso_info[abi].vdso_pages, in __vdso_init() 122 for (i = 0; i < vdso_info[abi].vdso_pages; i++) in __vdso_init() 244 vdso_text_len = vdso_info[abi].vdso_pages << PAGE_SHIFT; in __setup_additional_pages()
|