Searched refs:RESYNC_PAGES (Results 1 – 2 of 2) sorted by relevance
90 #define RESYNC_PAGES ((RESYNC_BLOCK_SIZE + PAGE_SIZE-1) / PAGE_SIZE) macro111 bio = bio_kmalloc(gfp_flags, RESYNC_PAGES); in r1buf_pool_alloc()128 bio->bi_vcnt = RESYNC_PAGES; in r1buf_pool_alloc()135 for (i=0; i<RESYNC_PAGES ; i++) in r1buf_pool_alloc()166 for (i = 0; i < RESYNC_PAGES; i++) in r1buf_pool_free()2726 } while (r1_bio->bios[disk]->bi_vcnt < RESYNC_PAGES); in sync_request()
124 #define RESYNC_PAGES ((RESYNC_BLOCK_SIZE + PAGE_SIZE-1) / PAGE_SIZE) macro160 bio = bio_kmalloc(gfp_flags, RESYNC_PAGES); in r10buf_pool_alloc()166 bio = bio_kmalloc(gfp_flags, RESYNC_PAGES); in r10buf_pool_alloc()178 for (i = 0; i < RESYNC_PAGES; i++) { in r10buf_pool_alloc()203 for (i = 0; i < RESYNC_PAGES ; i++) in r10buf_pool_alloc()227 for (i = 0; i < RESYNC_PAGES; i++) { in r10buf_pool_free()3013 max_sync = RESYNC_PAGES << (PAGE_SHIFT-9); in sync_request()3376 } while (biolist->bi_vcnt < RESYNC_PAGES); in sync_request()4386 read_bio = bio_alloc_mddev(GFP_KERNEL, RESYNC_PAGES, mddev); in reshape_request()