Home
last modified time | relevance | path

Searched refs:new_size (Results 1 – 7 of 7) sorted by relevance

/arch/sparc/mm/
Dtsb.c370 static unsigned long tsb_size_to_rss_limit(unsigned long new_size) in tsb_size_to_rss_limit() argument
372 unsigned long num_ents = (new_size / sizeof(struct tsb)); in tsb_size_to_rss_limit()
399 unsigned long new_size, old_size, flags; in tsb_grow() local
409 for (new_size = 8192; new_size < max_tsb_size; new_size <<= 1UL) { in tsb_grow()
410 new_rss_limit = tsb_size_to_rss_limit(new_size); in tsb_grow()
416 if (new_size == max_tsb_size) in tsb_grow()
421 if (new_size > (PAGE_SIZE * 2)) in tsb_grow()
435 new_size = 8192; in tsb_grow()
449 tsb_init(new_tsb, new_size); in tsb_grow()
509 copy_tsb(old_tsb_base, old_size, new_tsb_base, new_size, in tsb_grow()
[all …]
/arch/s390/appldata/
Dappldata_os.c100 unsigned int new_size; in appldata_get_os_data() local
136 new_size = sizeof(struct appldata_os_data) + in appldata_get_os_data()
138 if (ops.size != new_size) { in appldata_get_os_data()
142 (unsigned long) ops.data, new_size, in appldata_get_os_data()
156 ops.size = new_size; in appldata_get_os_data()
/arch/x86/platform/efi/
Dquirks.c246 phys_addr_t new_phys, new_size; in efi_arch_mem_reserve() local
274 new_size = efi.memmap.desc_size * num_entries; in efi_arch_mem_reserve()
282 new = early_memremap(new_phys, new_size); in efi_arch_mem_reserve()
289 early_memunmap(new, new_size); in efi_arch_mem_reserve()
407 phys_addr_t new_phys, new_size; in efi_free_boot_services() local
462 new_size = efi.memmap.desc_size * num_entries; in efi_free_boot_services()
469 new = memremap(new_phys, new_size, MEMREMAP_WB); in efi_free_boot_services()
/arch/x86/entry/vdso/
Dvma.c75 unsigned long new_size = new_vma->vm_end - new_vma->vm_start; in vdso_mremap() local
78 if (image->size != new_size) in vdso_mremap()
/arch/arm/kernel/
Dvdso.c51 unsigned long new_size = new_vma->vm_end - new_vma->vm_start; in vdso_mremap() local
57 if (vdso_size != new_size) in vdso_mremap()
/arch/arm64/kernel/
Dvdso.c88 unsigned long new_size = new_vma->vm_end - new_vma->vm_start; in __vdso_remap() local
92 if (vdso_size != new_size) in __vdso_remap()
/arch/powerpc/kernel/
Dfadump.c742 u64 new_size; in fadump_alloc_mem_ranges() local
744 new_size = mrange_info->mem_ranges_sz + PAGE_SIZE; in fadump_alloc_mem_ranges()
746 new_size, mrange_info->name); in fadump_alloc_mem_ranges()
748 new_array = krealloc(mrange_info->mem_ranges, new_size, GFP_KERNEL); in fadump_alloc_mem_ranges()
757 mrange_info->mem_ranges_sz = new_size; in fadump_alloc_mem_ranges()
758 mrange_info->max_mem_ranges = (new_size / in fadump_alloc_mem_ranges()