Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/md/
Draid1-10.c26 struct resync_pages { struct
41 static inline int resync_alloc_pages(struct resync_pages *rp, in resync_alloc_pages() argument
60 static inline void resync_free_pages(struct resync_pages *rp) in resync_free_pages()
68 static inline void resync_get_all_pages(struct resync_pages *rp) in resync_get_all_pages()
76 static inline struct page *resync_fetch_page(struct resync_pages *rp, in resync_fetch_page()
88 static inline struct resync_pages *get_resync_pages(struct bio *bio) in get_resync_pages()
94 static void md_bio_reset_resync_pages(struct bio *bio, struct resync_pages *rp, in md_bio_reset_resync_pages()
Draid1.c153 struct resync_pages *rps; in r1buf_pool_alloc()
159 rps = kmalloc_array(pi->raid_disks, sizeof(struct resync_pages), in r1buf_pool_alloc()
185 struct resync_pages *rp = &rps[j]; in r1buf_pool_alloc()
226 struct resync_pages *rp = NULL; in r1buf_pool_free()
2160 struct resync_pages *rp = get_resync_pages(b); in process_checks()
2640 struct resync_pages *rps; in raid1_alloc_init_r1buf()
2906 struct resync_pages *rp; in raid1_sync_request()
Draid10.c138 struct resync_pages *rps; in r10buf_pool_alloc()
155 rps = kmalloc_array(nalloc_rp, sizeof(struct resync_pages), 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()
2423 struct resync_pages *rp; in sync_request_write()
3805 struct resync_pages *rp = get_resync_pages(bio); in raid10_sync_request()