Home
last modified time | relevance | path

Searched refs:new_order (Results 1 – 12 of 12) sorted by relevance

/linux-6.12.1/include/linux/
Dpage_owner.h15 int new_order);
36 int new_order) in split_page_owner() argument
39 __split_page_owner(page, old_order, new_order); in split_page_owner()
65 int new_order) in split_page_owner() argument
Dhuge_mm.h351 unsigned int new_order);
532 unsigned int new_order) in split_huge_page_to_list_to_order() argument
658 struct list_head *list, int new_order) in split_folio_to_list_to_order() argument
660 return split_huge_page_to_list_to_order(&folio->page, list, new_order); in split_folio_to_list_to_order()
663 static inline int split_folio_to_order(struct folio *folio, int new_order) in split_folio_to_order() argument
665 return split_folio_to_list_to_order(folio, NULL, new_order); in split_folio_to_order()
Dmemcontrol.h1095 void split_page_memcg(struct page *head, int old_order, int new_order);
1511 static inline void split_page_memcg(struct page *head, int old_order, int new_order) in split_page_memcg() argument
Dmm.h4167 static inline void pgalloc_tag_split(struct folio *folio, int old_order, int new_order) in pgalloc_tag_split() argument
4171 unsigned int nr_pages = 1 << new_order; in pgalloc_tag_split()
4214 static inline void pgalloc_tag_split(struct folio *folio, int old_order, int new_order) in pgalloc_tag_split() argument
/linux-6.12.1/mm/
Dreadahead.c453 struct file_ra_state *ra, unsigned int new_order) in page_cache_ra_order() argument
475 if (new_order < mapping_max_folio_order(mapping)) in page_cache_ra_order()
476 new_order += 2; in page_cache_ra_order()
478 new_order = min(mapping_max_folio_order(mapping), new_order); in page_cache_ra_order()
479 new_order = min_t(unsigned int, new_order, ilog2(ra->size)); in page_cache_ra_order()
480 new_order = max(new_order, min_order); in page_cache_ra_order()
494 unsigned int order = new_order; in page_cache_ra_order()
Dhuge_memory.c3079 unsigned int new_order) in __split_huge_page_tail() argument
3151 if (new_order) { in __split_huge_page_tail()
3152 prep_compound_page(page_tail, new_order); in __split_huge_page_tail()
3177 pgoff_t end, unsigned int new_order) in __split_huge_page() argument
3185 unsigned int new_nr = 1 << new_order; in __split_huge_page()
3190 split_page_memcg(head, order, new_order); in __split_huge_page()
3204 __split_huge_page_tail(folio, i, lruvec, list, new_order); in __split_huge_page()
3225 if (!new_order) in __split_huge_page()
3230 folio_set_order(new_folio, new_order); in __split_huge_page()
3235 split_page_owner(head, order, new_order); in __split_huge_page()
[all …]
Dpage_owner.c345 void __split_page_owner(struct page *page, int old_order, int new_order) in __split_page_owner() argument
356 page_owner->order = new_order; in __split_page_owner()
Dmemcontrol.c3024 void split_page_memcg(struct page *head, int old_order, int new_order) in split_page_memcg() argument
3029 unsigned int new_nr = 1 << new_order; in split_page_memcg()
/linux-6.12.1/lib/
Dtest_xarray.c1788 unsigned int order, unsigned int new_order) in check_split_1() argument
1790 XA_STATE_ORDER(xas, xa, index, new_order); in check_split_1()
1800 for (i = 0; i < (1 << order); i += (1 << new_order)) in check_split_1()
1805 unsigned int val = index + (i & ~((1 << new_order) - 1)); in check_split_1()
1820 XA_BUG_ON(xa, found != 1 << (order - new_order)); in check_split_1()
1827 unsigned int order, new_order; in check_split() local
1832 for (new_order = 0; new_order < order; new_order++) { in check_split()
1833 check_split_1(xa, 0, order, new_order); in check_split()
1834 check_split_1(xa, 1UL << order, order, new_order); in check_split()
1835 check_split_1(xa, 3UL << order, order, new_order); in check_split()
/linux-6.12.1/drivers/net/ethernet/cortina/
Dgemini.c1040 unsigned int new_order; in geth_resize_freeq() local
1067 new_order = min(15, ilog2(new_size - 1) + 1); in geth_resize_freeq()
1069 new_size, new_order); in geth_resize_freeq()
1070 if (geth->freeq_order == new_order) in geth_resize_freeq()
1086 geth->freeq_order = new_order; in geth_resize_freeq()
/linux-6.12.1/drivers/irqchip/
Dirq-gic-v3-its.c2414 u32 new_order = *order; in its_parse_indirect_baser() local
2447 new_order = max_t(u32, get_order(esz << ids), new_order); in its_parse_indirect_baser()
2448 if (new_order > MAX_PAGE_ORDER) { in its_parse_indirect_baser()
2449 new_order = MAX_PAGE_ORDER; in its_parse_indirect_baser()
2450 ids = ilog2(PAGE_ORDER_TO_SIZE(new_order) / (int)esz); in its_parse_indirect_baser()
2456 *order = new_order; in its_parse_indirect_baser()
/linux-6.12.1/fs/ext4/
Dmballoc.c844 int new_order; in mb_update_avg_fragment_size() local
849 new_order = mb_avg_fragment_size_order(sb, in mb_update_avg_fragment_size()
851 if (new_order == grp->bb_avg_fragment_size_order) in mb_update_avg_fragment_size()
861 grp->bb_avg_fragment_size_order = new_order; in mb_update_avg_fragment_size()