Lines Matching refs:new_size
309 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()
451 setup_tsb_params(mm, tsb_index, new_size); in tsb_grow()