Lines Matching refs:sd
152 struct g_raid_subdisk *sd, u_int event)
163 state = sd->sd_state;
169 vol->v_name, sd->sd_pos,
170 g_raid_subdisk_state2str(sd->sd_state));
171 g_raid_change_subdisk_state(sd, G_RAID_SUBDISK_S_ACTIVE);
173 if (state != sd->sd_state &&
175 g_raid_write_metadata(sc, vol, sd, NULL);
211 struct g_raid_subdisk *sd;
245 sd = &vol->v_subdisks[no];
246 length = MIN(sd->sd_size - offset, remain);
261 cbp->bio_caller1 = sd;
273 sd = cbp->bio_caller1;
275 g_raid_subdisk_iostart(sd, cbp);
291 struct g_raid_subdisk *sd;
312 sd = &vol->v_subdisks[no];
313 length = MIN(sd->sd_size - offset, remain);
331 struct g_raid_subdisk *sd,struct bio *bp)