Home
last modified time | relevance | path

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

/linux-2.6.39/drivers/md/
Draid10.c79 #define RESYNC_PAGES ((RESYNC_BLOCK_SIZE + PAGE_SIZE-1) / PAGE_SIZE) macro
114 bio = bio_kmalloc(gfp_flags, RESYNC_PAGES); in r10buf_pool_alloc()
125 for (i = 0; i < RESYNC_PAGES; i++) { in r10buf_pool_alloc()
140 for (i = 0; i < RESYNC_PAGES ; i++) in r10buf_pool_alloc()
160 for (i = 0; i < RESYNC_PAGES; i++) { in r10buf_pool_free()
1855 max_sync = RESYNC_PAGES << (PAGE_SHIFT-9); in sync_request()
2073 } while (biolist->bi_vcnt < RESYNC_PAGES); in sync_request()
Draid1.c75 #define RESYNC_PAGES ((RESYNC_BLOCK_SIZE + PAGE_SIZE-1) / PAGE_SIZE) macro
94 bio = bio_kmalloc(gfp_flags, RESYNC_PAGES); in r1buf_pool_alloc()
111 for (i = 0; i < RESYNC_PAGES; i++) { in r1buf_pool_alloc()
122 for (i=0; i<RESYNC_PAGES ; i++) in r1buf_pool_alloc()
150 for (i = 0; i < RESYNC_PAGES; i++) in r1buf_pool_free()
1812 } while (r1_bio->bios[disk]->bi_vcnt < RESYNC_PAGES); in sync_request()