Home
last modified time | relevance | path

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

/drivers/md/
Draid1.c79 #define RESYNC_PAGES ((RESYNC_BLOCK_SIZE + PAGE_SIZE-1) / PAGE_SIZE) macro
100 bio = bio_alloc(gfp_flags, RESYNC_PAGES); in r1buf_pool_alloc()
117 for (i = 0; i < RESYNC_PAGES; i++) { in r1buf_pool_alloc()
127 for (i=0; i<RESYNC_PAGES ; i++) in r1buf_pool_alloc()
138 for (i=0; i < RESYNC_PAGES ; i++) in r1buf_pool_alloc()
155 for (i = 0; i < RESYNC_PAGES; i++) in r1buf_pool_free()
1896 } while (r1_bio->bios[disk]->bi_vcnt < RESYNC_PAGES); in sync_request()
Draid10.c82 #define RESYNC_PAGES ((RESYNC_BLOCK_SIZE + PAGE_SIZE-1) / PAGE_SIZE) macro
119 bio = bio_alloc(gfp_flags, RESYNC_PAGES); in r10buf_pool_alloc()
130 for (i = 0; i < RESYNC_PAGES; i++) { in r10buf_pool_alloc()
145 for (i = 0; i < RESYNC_PAGES ; i++) in r10buf_pool_alloc()
165 for (i = 0; i < RESYNC_PAGES; i++) { in r10buf_pool_free()
1768 max_sync = RESYNC_PAGES << (PAGE_SHIFT-9); in sync_request()
1985 } while (biolist->bi_vcnt < RESYNC_PAGES); in sync_request()