Home
last modified time | relevance | path

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

/arch/powerpc/kernel/
Dpaca.c78 long new_size = 0, nr; in free_lppacas() local
84 new_size = PAGE_ALIGN(nr * sizeof(struct lppaca)); in free_lppacas()
85 if (new_size >= lppaca_size) in free_lppacas()
88 memblock_free(__pa(extra_lppacas) + new_size, lppaca_size - new_size); in free_lppacas()
89 lppaca_size = new_size; in free_lppacas()
204 int new_size; in free_unused_pacas() local
206 new_size = PAGE_ALIGN(sizeof(struct paca_struct) * nr_cpu_ids); in free_unused_pacas()
208 if (new_size >= paca_size) in free_unused_pacas()
211 memblock_free(__pa(paca) + new_size, paca_size - new_size); in free_unused_pacas()
214 paca_size - new_size); in free_unused_pacas()
[all …]
/arch/sparc/mm/
Dtsb.c309 static unsigned long tsb_size_to_rss_limit(unsigned long new_size) in tsb_size_to_rss_limit() argument
311 unsigned long num_ents = (new_size / sizeof(struct tsb)); in tsb_size_to_rss_limit()
338 unsigned long new_size, old_size, flags; in tsb_grow() local
348 for (new_size = 8192; new_size < max_tsb_size; new_size <<= 1UL) { in tsb_grow()
349 new_rss_limit = tsb_size_to_rss_limit(new_size); in tsb_grow()
355 if (new_size == max_tsb_size) in tsb_grow()
360 if (new_size > (PAGE_SIZE * 2)) in tsb_grow()
374 new_size = 8192; in tsb_grow()
388 tsb_init(new_tsb, new_size); in tsb_grow()
447 copy_tsb(old_tsb_base, old_size, new_tsb_base, new_size); in tsb_grow()
[all …]
/arch/s390/appldata/
Dappldata_os.c103 unsigned int new_size; in appldata_get_os_data() local
139 new_size = sizeof(struct appldata_os_data) + in appldata_get_os_data()
141 if (ops.size != new_size) { in appldata_get_os_data()
145 (unsigned long) ops.data, new_size, in appldata_get_os_data()
159 ops.size = new_size; in appldata_get_os_data()