Searched refs:new_size (Results 1 – 8 of 8) sorted by relevance
| /arch/sparc/mm/ |
| A D | tsb.c | 370 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/ |
| A D | appldata_os.c | 96 unsigned int new_size; in appldata_get_os_data() local 132 new_size = struct_size(os_data, os_cpu, os_data->nr_cpus); in appldata_get_os_data() 133 if (ops.size != new_size) { in appldata_get_os_data() 137 (unsigned long) ops.data, new_size, in appldata_get_os_data() 151 ops.size = new_size; in appldata_get_os_data()
|
| /arch/powerpc/kernel/ |
| A D | vdso.c | 48 unsigned long new_size = new_vma->vm_end - new_vma->vm_start; in vdso_mremap() local 50 if (new_size != text_size) in vdso_mremap()
|
| A D | fadump.c | 847 u64 new_size; in fadump_alloc_mem_ranges() local 849 new_size = mrange_info->mem_ranges_sz + PAGE_SIZE; in fadump_alloc_mem_ranges() 851 new_size, mrange_info->name); in fadump_alloc_mem_ranges() 853 new_array = krealloc(mrange_info->mem_ranges, new_size, GFP_KERNEL); in fadump_alloc_mem_ranges() 862 mrange_info->mem_ranges_sz = new_size; in fadump_alloc_mem_ranges() 863 mrange_info->max_mem_ranges = (new_size / in fadump_alloc_mem_ranges()
|
| /arch/powerpc/kexec/ |
| A D | file_load_64.c | 78 u32 new_size; in check_realloc_usable_mem() local 84 new_size = um_info->size + MEM_RANGE_CHUNK_SZ; in check_realloc_usable_mem() 85 tbuf = krealloc(um_info->buf, new_size, GFP_KERNEL); in check_realloc_usable_mem() 88 um_info->size = new_size; in check_realloc_usable_mem()
|
| /arch/x86/kernel/cpu/mtrr/ |
| A D | generic.c | 405 unsigned int new_size = get_cache_map_size(); in mtrr_copy_map() local 407 if (!mtrr_state.enabled || !new_size) { in mtrr_copy_map() 414 cache_map = kcalloc(new_size, sizeof(*cache_map), GFP_KERNEL); in mtrr_copy_map() 418 cache_map_size = new_size; in mtrr_copy_map()
|
| /arch/um/os-Linux/ |
| A D | file.c | 716 void *os_mremap_rw_shared(void *old_addr, size_t old_size, size_t new_size) in os_mremap_rw_shared() argument 720 res = mremap(old_addr, old_size, new_size, MREMAP_MAYMOVE, NULL); in os_mremap_rw_shared()
|
| /arch/um/include/shared/ |
| A D | os.h | 183 void *os_mremap_rw_shared(void *old_addr, size_t old_size, size_t new_size);
|
Completed in 20 milliseconds