Searched refs:new_order (Results 1 – 5 of 5) sorted by relevance
/Linux-v6.6/mm/ |
D | readahead.c | 487 struct file_ra_state *ra, unsigned int new_order) in page_cache_ra_order() argument 501 if (new_order < MAX_PAGECACHE_ORDER) { in page_cache_ra_order() 502 new_order += 2; in page_cache_ra_order() 503 if (new_order > MAX_PAGECACHE_ORDER) in page_cache_ra_order() 504 new_order = MAX_PAGECACHE_ORDER; in page_cache_ra_order() 505 while ((1 << new_order) > ra->size) in page_cache_ra_order() 506 new_order--; in page_cache_ra_order() 511 unsigned int order = new_order; in page_cache_ra_order()
|
/Linux-v6.6/lib/ |
D | test_xarray.c | 1555 unsigned int order, unsigned int new_order) in check_split_1() argument 1557 XA_STATE_ORDER(xas, xa, index, new_order); in check_split_1() 1565 for (i = 0; i < (1 << order); i += (1 << new_order)) in check_split_1() 1570 unsigned int val = index + (i & ~((1 << new_order) - 1)); in check_split_1() 1582 unsigned int order, new_order; in check_split() local 1587 for (new_order = 0; new_order < order; new_order++) { in check_split() 1588 check_split_1(xa, 0, order, new_order); in check_split() 1589 check_split_1(xa, 1UL << order, order, new_order); in check_split() 1590 check_split_1(xa, 3UL << order, order, new_order); in check_split()
|
/Linux-v6.6/drivers/net/ethernet/cortina/ |
D | gemini.c | 1045 unsigned int new_order; in geth_resize_freeq() local 1072 new_order = min(15, ilog2(new_size - 1) + 1); in geth_resize_freeq() 1074 new_size, new_order); in geth_resize_freeq() 1075 if (geth->freeq_order == new_order) in geth_resize_freeq() 1091 geth->freeq_order = new_order; in geth_resize_freeq()
|
/Linux-v6.6/drivers/irqchip/ |
D | irq-gic-v3-its.c | 2435 u32 new_order = *order; in its_parse_indirect_baser() local 2468 new_order = max_t(u32, get_order(esz << ids), new_order); in its_parse_indirect_baser() 2469 if (new_order > MAX_ORDER) { in its_parse_indirect_baser() 2470 new_order = MAX_ORDER; in its_parse_indirect_baser() 2471 ids = ilog2(PAGE_ORDER_TO_SIZE(new_order) / (int)esz); in its_parse_indirect_baser() 2477 *order = new_order; in its_parse_indirect_baser()
|
/Linux-v6.6/fs/ext4/ |
D | mballoc.c | 844 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()
|