Home
last modified time | relevance | path

Searched refs:plexoffset (Results 1 – 10 of 10) sorted by relevance

/dflybsd-src/sys/dev/raid/vinum/
H A Dvinumrequest.c476 vinum_off_t plexoffset; /* offset of transfer in plex */ in bre() local
494 if (*diskaddr < sd->plexoffset) /* we must have a hole, */ in bre()
496 if (*diskaddr < (sd->plexoffset + sd->sectors)) { /* the request starts in this subdisk */ in bre()
508 plexoffset = *diskaddr; /* start offset in plex */ in bre()
509 rqe->sdoffset = plexoffset - sd->plexoffset; /* start offset in subdisk */ in bre()
510 rqe->useroffset = plexoffset - diskstart; /* start offset in user buffer */ in bre()
556 if (diskend > sd->sectors + sd->plexoffset) /* pointing beyond EOF? */ in bre()
H A Dvinumconfig.c239 if (sd->plexoffset < 0) { /* no offset specified */ in give_sd_to_plex()
244 sd->plexoffset = lastsd->sectors + lastsd->plexoffset; /* starts here */ in give_sd_to_plex()
246 sd->plexoffset = plex->stripesize * plex->subdisks; /* starts here */ in give_sd_to_plex()
248 sd->plexoffset = 0; /* start at the beginning */ in give_sd_to_plex()
275 if (sd->plexoffset < SD[plex->sdnos[i]].plexoffset) { /* it fits before this one */ in give_sd_to_plex()
565 sd->plexoffset = -1; /* and no offsets */ in get_empty_sd()
1168 sd->plexoffset = size / DEV_BSIZE; in config_subdisk()
1426 SD[sdno].plexoffset = sizespec(token[++parameter]); /* get the offset */ in config_plex()
H A Dvinumrevive.c95 plexblkno = sd->revived + sd->plexoffset; /* corresponding address in plex */ in revive_block()
102 plexblkno = sd->plexoffset /* base */ in revive_block()
110 plexblkno = sd->plexoffset /* base */ in revive_block()
H A Dvinumparser.c104 keypair(plexoffset),
H A Dvinumstate.c664 + sd->plexoffset in checksdstate()
667 else if (diskend > (sd->revived + sd->plexoffset)) { /* we finish beyond the end */ in checksdstate()
H A Dvinumvar.h507 int64_t plexoffset; /* offset in plex */ member
H A Dvinumio.c532 (long long) sd->plexoffset); in format_config()
H A Dvinumioctl.c546 sd->plexoffset = msg->offset; /* this is where we want it */ in attachobject()
/dflybsd-src/sbin/vinum/
H A Dlist.c549 (long) sd.plexoffset, in vinum_lpi()
550 (long) sd.plexoffset); in vinum_lpi()
610 (long long) sd.plexoffset * DEV_BSIZE, in vinum_lsi()
611 roughlength((long long) sd.plexoffset * DEV_BSIZE, 1)); in vinum_lsi()
691 &(roughlength(sd.plexoffset << DEV_BSHIFT, 0))[2]); /* what a kludge! */ in vinum_lsi()
1148 (long long) sd.plexoffset); in printconfig()
H A Dvinumparser.c92 keypair(plexoffset),