Home
last modified time | relevance | path

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

/OK3568_Linux_fs/kernel/drivers/md/
H A Draid1-10.c4 #define RESYNC_PAGES ((RESYNC_BLOCK_SIZE + PAGE_SIZE-1) / PAGE_SIZE) macro
34 struct page *pages[RESYNC_PAGES];
47 for (i = 0; i < RESYNC_PAGES; i++) { in resync_alloc_pages()
65 for (i = 0; i < RESYNC_PAGES; i++) in resync_free_pages()
73 for (i = 0; i < RESYNC_PAGES; i++) in resync_get_all_pages()
80 if (WARN_ON_ONCE(idx >= RESYNC_PAGES)) in resync_fetch_page()
111 } while (idx++ < RESYNC_PAGES && size > 0); in md_bio_reset_resync_pages()
H A Draid10.c148 bio = bio_kmalloc(gfp_flags, RESYNC_PAGES); in r10buf_pool_alloc()
154 bio = bio_kmalloc(gfp_flags, RESYNC_PAGES); in r10buf_pool_alloc()
3024 max_sync = RESYNC_PAGES << (PAGE_SHIFT-9); in raid10_sync_request()
3426 } while (++page_idx < RESYNC_PAGES); in raid10_sync_request()
4539 read_bio = bio_alloc_mddev(GFP_KERNEL, RESYNC_PAGES, mddev); in reshape_request()
H A Draid1.c168 bio = bio_kmalloc(gfp_flags, RESYNC_PAGES); in r1buf_pool_alloc()
2140 int page_len[RESYNC_PAGES] = { 0 }; in process_checks()
2873 } while (++page_idx < RESYNC_PAGES); in raid1_sync_request()