Searched refs:RESYNC_PAGES (Results 1 – 2 of 2) sorted by relevance
90 #define RESYNC_PAGES ((RESYNC_BLOCK_SIZE + PAGE_SIZE-1) / PAGE_SIZE) macro113 bio = bio_kmalloc(gfp_flags, RESYNC_PAGES); in r1buf_pool_alloc()130 bio->bi_vcnt = RESYNC_PAGES; in r1buf_pool_alloc()137 for (i=0; i<RESYNC_PAGES ; i++) in r1buf_pool_alloc()168 for (i = 0; i < RESYNC_PAGES; i++) in r1buf_pool_free()2729 } while (r1_bio->bios[disk]->bi_vcnt < RESYNC_PAGES); in sync_request()
125 #define RESYNC_PAGES ((RESYNC_BLOCK_SIZE + PAGE_SIZE-1) / PAGE_SIZE) macro161 bio = bio_kmalloc(gfp_flags, RESYNC_PAGES); in r10buf_pool_alloc()167 bio = bio_kmalloc(gfp_flags, RESYNC_PAGES); in r10buf_pool_alloc()179 for (i = 0; i < RESYNC_PAGES; i++) { in r10buf_pool_alloc()204 for (i = 0; i < RESYNC_PAGES ; i++) in r10buf_pool_alloc()228 for (i = 0; i < RESYNC_PAGES; i++) { in r10buf_pool_free()2930 max_sync = RESYNC_PAGES << (PAGE_SHIFT-9); in sync_request()3293 } while (biolist->bi_vcnt < RESYNC_PAGES); in sync_request()4314 read_bio = bio_alloc_mddev(GFP_KERNEL, RESYNC_PAGES, mddev); in reshape_request()