Lines Matching defs:pages
57 WARN_ON_ONCE(page >= bitmap->pages);
870 int pages = store->file_pages;
872 while (pages--)
873 if (map[pages] != sb_page) /* 0 is sb_page, release it below */
874 free_buffers(map[pages]);
944 * when an unplug occurs, we can flush the dirty pages out to disk
1030 * sync the dirty pages of the bitmap file to disk */
1217 pr_debug("%s: bitmap initialized from disk: read %lu pages, set %lu of %lu bits\n",
1290 * bitmap daemon -- periodically wakes up to clean bits and flush pages
1387 * DIRTY pages need to be written by bitmap_unplug so it can wait
1430 if (page >= bitmap->pages) {
1613 * pages, otherwise resync (which is very PAGE_SIZE based) will
1807 unsigned long k, pages;
1828 pages = bitmap->counts.pages;
1833 for (k = 0; k < pages; k++)
1955 pr_debug("created bitmap (%lu pages) for device %s\n",
1956 bitmap->counts.pages, bmname(bitmap));
2108 seq_printf(seq, "bitmap: %lu/%lu pages [%luKB], "
2110 counts->pages - counts->missing_pages,
2111 counts->pages,
2112 (counts->pages - counts->missing_pages)
2144 long pages;
2195 pages = DIV_ROUND_UP(chunks, PAGE_COUNTER_RATIO);
2197 new_bp = kcalloc(pages, sizeof(*new_bp), GFP_KERNEL);
2220 bitmap->counts.pages = pages;
2221 bitmap->counts.missing_pages = pages;
2233 for (page = 0; page < pages; page++) {
2246 bitmap->counts.pages = old_counts.pages;
2247 bitmap->counts.missing_pages = old_counts.pages;
2294 for (k = 0; k < old_counts.pages; k++)