Searched refs:expected_pages (Results 1 – 3 of 3) sorted by relevance
/Linux-v4.19/fs/exofs/ |
D | inode.c | 41 unsigned expected_pages) in exofs_max_io_pages() argument 43 unsigned pages = min_t(unsigned, expected_pages, in exofs_max_io_pages() 52 unsigned expected_pages; member 66 static void _pcol_init(struct page_collect *pcol, unsigned expected_pages, in _pcol_init() argument 73 pcol->expected_pages = expected_pages; in _pcol_init() 87 pcol->expected_pages -= min(pcol->nr_pages, pcol->expected_pages); in _pcol_reset() 100 if (!pcol->expected_pages) in _pcol_reset() 101 pcol->expected_pages = in _pcol_reset() 110 pages = exofs_max_io_pages(&pcol->sbi->layout, pcol->expected_pages); in pcol_try_alloc() 122 pcol->expected_pages); in pcol_try_alloc() [all …]
|
D | exofs.h | 154 unsigned expected_pages);
|
/Linux-v4.19/arch/powerpc/mm/ |
D | hash_utils_64.c | 491 unsigned int expected_pages; in htab_dt_scan_hugepage_blocks() local 504 expected_pages = (1 << be32_to_cpu(page_count_prop[0])); in htab_dt_scan_hugepage_blocks() 514 phys_addr, block_size, expected_pages); in htab_dt_scan_hugepage_blocks() 515 if (phys_addr + block_size * expected_pages <= memblock_end_of_DRAM()) { in htab_dt_scan_hugepage_blocks() 516 memblock_reserve(phys_addr, block_size * expected_pages); in htab_dt_scan_hugepage_blocks() 517 pseries_add_gpage(phys_addr, block_size, expected_pages); in htab_dt_scan_hugepage_blocks()
|