Lines Matching refs:file_pages

180 		unsigned long file_pages;  member
429 unsigned int bitmap_limit = (bitmap->storage.file_pages - pg_index) << in __write_sb_page()
439 if ((pg_index - store->sb_index) == store->file_pages - 1) { in __write_sb_page()
1003 if (file_page_index(store, chunk) >= store->file_pages) in filemap_get_page()
1044 store->file_pages = pnum; in md_bitmap_storage_alloc()
1048 store->file_pages = pnum; in md_bitmap_storage_alloc()
1068 int pages = store->file_pages; in md_bitmap_file_unmap()
1156 node_offset = bitmap->cluster_slot * store->file_pages; in md_bitmap_file_set_bit()
1187 node_offset = bitmap->cluster_slot * store->file_pages; in md_bitmap_file_clear_bit()
1240 for (i = 0; i < bitmap->storage.file_pages; i++) { in __bitmap_unplug()
1331 store->file_pages = 0; in md_bitmap_init_from_disk()
1355 for (i = 0; i < store->file_pages; i++) { in md_bitmap_init_from_disk()
1360 if (i == store->file_pages - 1) in md_bitmap_init_from_disk()
1378 for (i = 0; i < store->file_pages; i++) { in md_bitmap_init_from_disk()
1427 bmname(bitmap), store->file_pages, in md_bitmap_init_from_disk()
1451 for (i = 0; i < bitmap->storage.file_pages; i++) in bitmap_write_all()
1535 for (j = 0; j < bitmap->storage.file_pages; j++) in bitmap_daemon_work()
1603 j < bitmap->storage.file_pages in bitmap_daemon_work()
2315 for (i = 0; i < bitmap->storage.file_pages; i++) in bitmap_copy_from_slot()
2354 stats->file_pages = storage->file_pages; in bitmap_get_stats()
2556 for (i = 0; i < bitmap->storage.file_pages; i++) in __bitmap_resize()