Home
last modified time | relevance | path

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

/linux/drivers/md/
H A Draid1-10.c22 struct resync_pages { struct
38 static inline int resync_alloc_pages(struct resync_pages *rp, in resync_alloc_pages() argument
57 static inline void resync_free_pages(struct resync_pages *rp) in resync_free_pages()
65 static inline void resync_get_all_pages(struct resync_pages *rp) in resync_get_all_pages()
73 static inline struct page *resync_fetch_page(struct resync_pages *rp, in resync_fetch_page()
85 static inline struct resync_pages *get_resync_pages(struct bio *bio) in get_resync_pages()
91 static void md_bio_reset_resync_pages(struct bio *bio, struct resync_pages *rp, in md_bio_reset_resync_pages()
H A Draid1.c175 struct resync_pages *rps; in r1buf_pool_alloc()
181 rps = kmalloc_objs(struct resync_pages, conf->raid_disks * 2, gfp_flags); in r1buf_pool_alloc()
206 struct resync_pages *rp = &rps[j]; in r1buf_pool_alloc()
247 struct resync_pages *rp = NULL; in r1buf_pool_free()
2278 struct resync_pages *rp = get_resync_pages(b); in process_checks()
2755 struct resync_pages *rps; in raid1_alloc_init_r1buf()
3016 struct resync_pages *rp; in raid1_sync_request()
H A Draid10.c138 struct resync_pages *rps; in r10buf_pool_alloc()
155 rps = kmalloc_objs(struct resync_pages, nalloc_rp, gfp_flags); in r10buf_pool_alloc()
182 struct resync_pages *rp, *rp_repl; in r10buf_pool_alloc()
234 struct resync_pages *rp = NULL; in r10buf_pool_free()
2370 struct resync_pages *rp; in sync_request_write()
3635 struct resync_pages *rp = get_resync_pages(bio); in raid10_sync_request()