Home
last modified time | relevance | path

Searched refs:r1bio (Results 1 - 4 of 4) sorted by relevance

/kernel/linux/linux-6.6/drivers/md/
H A Draid1.c59 static int check_and_add_serial(struct md_rdev *rdev, struct r1bio *r1_bio, in check_and_add_serial()
82 static void wait_for_serialization(struct md_rdev *rdev, struct r1bio *r1_bio) in wait_for_serialization()
122 * for resync bio, r1bio pointer can be retrieved from the per-bio
125 static inline struct r1bio *get_resync_r1bio(struct bio *bio) in get_resync_r1bio()
133 int size = offsetof(struct r1bio, bios[pi->raid_disks]); in r1bio_pool_alloc()
135 /* allocate a r1bio with room for raid_disks entries in the bios array */ in r1bio_pool_alloc()
149 struct r1bio *r1_bio; in r1buf_pool_alloc()
225 struct r1bio *r1bio = __r1_bio; in r1buf_pool_free() local
229 rp = get_resync_pages(r1bio in r1buf_pool_free()
2636 struct r1bio *r1bio = mempool_alloc(&conf->r1buf_pool, GFP_NOIO); raid1_alloc_init_r1buf() local
[all...]
H A Draid1.h77 /* list of 'struct r1bio' that need to be processed by raid1d,
82 /* A separate list of r1bio which just need raid_end_bio_io called.
150 struct r1bio { struct
186 /* bits for r1bio.state */
/kernel/linux/linux-5.10/drivers/md/
H A Draid1.c59 static int check_and_add_serial(struct md_rdev *rdev, struct r1bio *r1_bio, in check_and_add_serial()
82 static void wait_for_serialization(struct md_rdev *rdev, struct r1bio *r1_bio) in wait_for_serialization()
122 * for resync bio, r1bio pointer can be retrieved from the per-bio
125 static inline struct r1bio *get_resync_r1bio(struct bio *bio) in get_resync_r1bio()
133 int size = offsetof(struct r1bio, bios[pi->raid_disks]); in r1bio_pool_alloc()
135 /* allocate a r1bio with room for raid_disks entries in the bios array */ in r1bio_pool_alloc()
149 struct r1bio *r1_bio; in r1buf_pool_alloc()
222 struct r1bio *r1bio = __r1_bio; in r1buf_pool_free() local
226 rp = get_resync_pages(r1bio in r1buf_pool_free()
2592 struct r1bio *r1bio = mempool_alloc(&conf->r1buf_pool, GFP_NOIO); raid1_alloc_init_r1buf() local
[all...]
H A Draid1.h77 /* list of 'struct r1bio' that need to be processed by raid1d,
82 /* A separate list of r1bio which just need raid_end_bio_io called.
151 struct r1bio { struct
187 /* bits for r1bio.state */

Completed in 6 milliseconds