Searched refs:expected_pages (Results 1 - 3 of 3) sorted by relevance

/linux-4.1.27/fs/exofs/
H A Dinode.c41 unsigned expected_pages) exofs_max_io_pages()
43 unsigned pages = min_t(unsigned, expected_pages, exofs_max_io_pages()
52 unsigned expected_pages; member in struct:page_collect
66 static void _pcol_init(struct page_collect *pcol, unsigned expected_pages, _pcol_init() argument
73 pcol->expected_pages = expected_pages; _pcol_init()
87 pcol->expected_pages -= min(pcol->nr_pages, pcol->expected_pages); _pcol_reset()
100 if (!pcol->expected_pages) _pcol_reset()
101 pcol->expected_pages = _pcol_reset()
110 pages = exofs_max_io_pages(&pcol->sbi->layout, pcol->expected_pages); pcol_try_alloc()
121 EXOFS_ERR("Failed to kmalloc expected_pages=%u\n", pcol_try_alloc()
122 pcol->expected_pages); pcol_try_alloc()
286 pcol->expected_pages += pages_less; _maybe_not_all_in_one_io()
300 "pages_less=0x%x expected_pages=0x%x " _maybe_not_all_in_one_io()
302 pcol_src->nr_pages, pages_less, pcol->expected_pages, _maybe_not_all_in_one_io()
793 long start, end, expected_pages; exofs_writepages() local
802 expected_pages = end - start + 1; exofs_writepages()
804 expected_pages = mapping->nrpages; exofs_writepages()
806 if (expected_pages < 32L) exofs_writepages()
807 expected_pages = 32L; exofs_writepages()
810 "nrpages=%lu start=0x%lx end=0x%lx expected_pages=%ld\n", exofs_writepages()
812 mapping->nrpages, start, end, expected_pages); exofs_writepages()
814 _pcol_init(&pcol, expected_pages, mapping->host); exofs_writepages()
40 exofs_max_io_pages(struct ore_layout *layout, unsigned expected_pages) exofs_max_io_pages() argument
H A Dexofs.h155 unsigned expected_pages);
/linux-4.1.27/arch/powerpc/mm/
H A Dhash_utils_64.c414 unsigned int expected_pages; htab_dt_scan_hugepage_blocks() local
427 expected_pages = (1 << be32_to_cpu(page_count_prop[0])); htab_dt_scan_hugepage_blocks()
437 phys_addr, block_size, expected_pages); htab_dt_scan_hugepage_blocks()
439 memblock_reserve(phys_addr, block_size * expected_pages); htab_dt_scan_hugepage_blocks()
440 add_gpage(phys_addr, block_size, expected_pages); htab_dt_scan_hugepage_blocks()

Completed in 107 milliseconds