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