Searched refs:RESYNC_PAGES (Results 1 - 2 of 2) sorted by relevance

/linux-4.4.14/drivers/md/
H A Draid1.c90 #define RESYNC_PAGES ((RESYNC_BLOCK_SIZE + PAGE_SIZE-1) / PAGE_SIZE) macro
113 bio = bio_kmalloc(gfp_flags, RESYNC_PAGES); r1buf_pool_alloc()
119 * Allocate RESYNC_PAGES data pages and attach them to r1buf_pool_alloc()
122 * RESYNC_PAGES for each bio. r1buf_pool_alloc()
130 bio->bi_vcnt = RESYNC_PAGES; r1buf_pool_alloc()
137 for (i=0; i<RESYNC_PAGES ; i++) r1buf_pool_alloc()
168 for (i = 0; i < RESYNC_PAGES; i++) r1buf_pool_free()
2729 } while (r1_bio->bios[disk]->bi_vcnt < RESYNC_PAGES); sync_request()
H A Draid10.c125 #define RESYNC_PAGES ((RESYNC_BLOCK_SIZE + PAGE_SIZE-1) / PAGE_SIZE) macro
161 bio = bio_kmalloc(gfp_flags, RESYNC_PAGES); r10buf_pool_alloc()
167 bio = bio_kmalloc(gfp_flags, RESYNC_PAGES); r10buf_pool_alloc()
173 * Allocate RESYNC_PAGES data pages and attach them r10buf_pool_alloc()
179 for (i = 0; i < RESYNC_PAGES; i++) { r10buf_pool_alloc()
204 for (i = 0; i < RESYNC_PAGES ; i++) r10buf_pool_alloc()
228 for (i = 0; i < RESYNC_PAGES; i++) { r10buf_pool_free()
2930 max_sync = RESYNC_PAGES << (PAGE_SHIFT-9); sync_request()
3293 } while (biolist->bi_vcnt < RESYNC_PAGES); sync_request()
4153 * at a time, possibly less if that exceeds RESYNC_PAGES, reshape_request()
4314 read_bio = bio_alloc_mddev(GFP_KERNEL, RESYNC_PAGES, mddev); reshape_request()

Completed in 123 milliseconds