Searched refs:wu_r (Results 1 – 3 of 3) sorted by relevance
/openbsd/sys/dev/ |
H A D | softraid_raid5.c | 478 if (wu_r) { in sr_raid5_rw() 485 wu_r->swu_collider = wu; in sr_raid5_rw() 488 wu = wu_r; in sr_raid5_rw() 490 sr_scsi_wu_put(sd, wu_r); in sr_raid5_rw() 501 if (wu_r) in sr_raid5_rw() 502 sr_scsi_wu_put(sd, wu_r); in sr_raid5_rw() 840 wu_r->swu_blk_end = wu_r->swu_blk_start + row_size - 1; in sr_raid5_rebuild() 847 wu_r->swu_blk_start, wu_r->swu_blk_end); in sr_raid5_rebuild() 853 sr_schedule_wu(wu_r); in sr_raid5_rebuild() 865 sr_scsi_wu_put(sd, wu_r); in sr_raid5_rebuild() [all …]
|
H A D | softraid_raid6.c | 373 struct sr_workunit *wu_r = NULL; in sr_raid6_rw() local 403 wu_r->swu_state = SR_WU_INPROGRESS; in sr_raid6_rw() 404 wu_r->swu_flags |= SR_WUF_DISCIPLINE; in sr_raid6_rw() 579 if (sr_raid6_addio(wu_r, chunk, lba, length, NULL, in sr_raid6_rw() 616 if (wu_r) { in sr_raid6_rw() 618 wu_r->swu_blk_start = wu->swu_blk_start; in sr_raid6_rw() 619 wu_r->swu_blk_end = wu->swu_blk_end; in sr_raid6_rw() 622 wu_r->swu_collider = wu; in sr_raid6_rw() 625 wu = wu_r; in sr_raid6_rw() 635 if (wu_r) in sr_raid6_rw() [all …]
|
H A D | softraid.c | 4669 struct sr_workunit *wu_r, *wu_w; in sr_rebuild() local 4711 wu_r = sr_scsi_wu_get(sd, 0); in sr_rebuild() 4728 wu_r->swu_state = SR_WU_CONSTRUCT; in sr_rebuild() 4729 wu_r->swu_flags |= SR_WUF_REBUILD; in sr_rebuild() 4730 wu_r->swu_xs = &xs_r; in sr_rebuild() 4731 if (sd->sd_scsi_rw(wu_r)) { in sr_rebuild() 4762 wu_r->swu_collider = wu_w; in sr_rebuild() 4768 DEVNAME(sd->sd_sc), sd->sd_meta->ssd_devname, wu_r); in sr_rebuild() 4770 wu_r->swu_state = SR_WU_INPROGRESS; in sr_rebuild() 4771 sr_schedule_wu(wu_r); in sr_rebuild() [all …]
|