OpenGrok
Home
Sort by:
relevance
|
last modified time
|
path
Full Search
in project(s):
src
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:Layout
(Results
1 - 25
of
40
) sorted by relevancy
1
2
/src/sys/dev/raidframe/
rf_raid4.c
60
RF_RaidLayout_t *layoutPtr = &raidPtr->
Layout
;
78
/* fill in the remaining
layout
parameters */
105
RF_StripeNum_t SUID = raidSector / raidPtr->
Layout
.sectorsPerStripeUnit;
106
*col = SUID % raidPtr->
Layout
.numDataCol;
107
*diskSector = (SUID / (raidPtr->
Layout
.numDataCol)) * raidPtr->
Layout
.sectorsPerStripeUnit +
108
(raidSector % raidPtr->
Layout
.sectorsPerStripeUnit);
116
RF_StripeNum_t SUID = raidSector / raidPtr->
Layout
.sectorsPerStripeUnit;
118
*col = raidPtr->
Layout
.numDataCol;
119
*diskSector = (SUID / (raidPtr->
Layout
.numDataCol)) * raidPtr->Layout.sectorsPerStripeUnit
[
all
...]
rf_raid5_rotatedspare.c
62
RF_RaidLayout_t *layoutPtr = &raidPtr->
Layout
;
88
/* fill in the remaining
layout
parameters */
104
return (raidPtr->
Layout
.stripeUnitsPerDisk / raidPtr->numCol);
115
RF_StripeNum_t SUID = raidSector / raidPtr->
Layout
.sectorsPerStripeUnit;
118
*col = raidPtr->numCol - 1 - (1 + SUID / raidPtr->
Layout
.numDataCol) % raidPtr->numCol;
123
*col = (SUID + (SUID / raidPtr->
Layout
.numDataCol)) % raidPtr->numCol;
125
*diskSector = (SUID / (raidPtr->
Layout
.numDataCol)) * raidPtr->
Layout
.sectorsPerStripeUnit +
126
(raidSector % raidPtr->
Layout
.sectorsPerStripeUnit);
137
RF_StripeNum_t SUID = raidSector / raidPtr->
Layout
.sectorsPerStripeUnit
[
all
...]
rf_chaindecluster.c
67
RF_RaidLayout_t *layoutPtr = &raidPtr->
Layout
;
87
/* fill in the remaining
layout
parameters */
114
RF_ChaindeclusterConfigInfo_t *info = (RF_ChaindeclusterConfigInfo_t *) raidPtr->
Layout
.layoutSpecificInfo;
117
* The
layout
uses two stripe units per disk as spare within each
130
RF_ChaindeclusterConfigInfo_t *info = (RF_ChaindeclusterConfigInfo_t *) raidPtr->
Layout
.layoutSpecificInfo;
131
RF_StripeNum_t SUID = raidSector / raidPtr->
Layout
.sectorsPerStripeUnit;
144
raidPtr->
Layout
.sectorsPerStripeUnit;
145
*diskSector += (raidSector % raidPtr->
Layout
.sectorsPerStripeUnit);
148
*diskSector = sparing_region_id * (raidPtr->numCol + 1) * raidPtr->
Layout
.sectorsPerStripeUnit;
149
*diskSector += (raidPtr->numCol - 1) * raidPtr->
Layout
.sectorsPerStripeUnit
[
all
...]
rf_interdecluster.c
70
RF_RaidLayout_t *layoutPtr = &raidPtr->
Layout
;
92
/* fill in the remaining
layout
parameters */
138
RF_InterdeclusterConfigInfo_t *info = (RF_InterdeclusterConfigInfo_t *) raidPtr->
Layout
.layoutSpecificInfo;
141
/* the
layout
uses two stripe units per disk as spare within each
153
RF_InterdeclusterConfigInfo_t *info = (RF_InterdeclusterConfigInfo_t *) raidPtr->
Layout
.layoutSpecificInfo;
154
RF_StripeNum_t SUID = raidSector / raidPtr->
Layout
.sectorsPerStripeUnit;
168
raidPtr->
Layout
.sectorsPerStripeUnit;
169
*diskSector += (raidSector % raidPtr->
Layout
.sectorsPerStripeUnit);
172
*diskSector = sparing_region_id * (raidPtr->numCol + 1) * raidPtr->
Layout
.sectorsPerStripeUnit;
173
*diskSector += (raidPtr->numCol - 1) * raidPtr->
Layout
.sectorsPerStripeUnit
[
all
...]
rf_raid5.c
61
RF_RaidLayout_t *layoutPtr = &raidPtr->
Layout
;
85
/* fill in the remaining
layout
parameters */
122
RF_StripeNum_t SUID = raidSector / raidPtr->
Layout
.sectorsPerStripeUnit;
124
*diskSector = (SUID / (raidPtr->
Layout
.numDataCol)) * raidPtr->
Layout
.sectorsPerStripeUnit +
125
(raidSector % raidPtr->
Layout
.sectorsPerStripeUnit);
133
RF_StripeNum_t SUID = raidSector / raidPtr->
Layout
.sectorsPerStripeUnit;
135
*col = raidPtr->
Layout
.numDataCol - (SUID / raidPtr->
Layout
.numDataCol) % raidPtr->numCol;
136
*diskSector = (SUID / (raidPtr->
Layout
.numDataCol)) * raidPtr->Layout.sectorsPerStripeUnit
[
all
...]
rf_raid0.c
58
RF_RaidLayout_t *layoutPtr = &raidPtr->
Layout
;
87
RF_StripeNum_t SUID = raidSector / raidPtr->
Layout
.sectorsPerStripeUnit;
89
*diskSector = (SUID / raidPtr->numCol) * raidPtr->
Layout
.sectorsPerStripeUnit +
90
(raidSector % raidPtr->
Layout
.sectorsPerStripeUnit);
108
info = raidPtr->
Layout
.layoutSpecificInfo;
rf_pqdegdags.c
126
RF_RaidLayout_t *layoutPtr = &(raidPtr->
Layout
);
141
coeff = rf_RaidAddressToStripeUnitID(&(raidPtr->
Layout
), pda->raidAddress);
142
coeff = (coeff % raidPtr->
Layout
.numDataCol);
146
buf += rf_RaidAddressToStripeUnitID(&(raidPtr->
Layout
), delta);
152
pbuf += rf_RaidAddressToStripeUnitID(&(raidPtr->
Layout
), delta);
153
qbuf += rf_RaidAddressToStripeUnitID(&(raidPtr->
Layout
), delta);
192
RF_RaidLayout_t *layoutPtr = (RF_RaidLayout_t *) & (raidPtr->
Layout
);
228
coeff = (coeff % raidPtr->
Layout
.numDataCol);
246
coeff = (coeff % raidPtr->
Layout
.numDataCol);
249
(raidPtr->
Layout
.map->MapSector) (raidPtr, npda.raidAddress, &(npda.col), &(npda.startSector), 0)
[
all
...]
rf_decluster.c
31
* rf_decluster.c -- code related to the declustered
layout
36
* complex: the basic
layout
used is as follows:
73
RF_RaidLayout_t *layoutPtr = &(raidPtr->
Layout
);
90
/* 1. create
layout
specific structure */
143
if ((raidPtr->
Layout
.map->flags & RF_DISTRIBUTE_SPARE)) {
163
if (raidPtr->
Layout
.map->flags & RF_DISTRIBUTE_SPARE) {
225
if (raidPtr->
Layout
.map->flags & RF_DISTRIBUTE_SPARE) {
297
info = (RF_DeclusteredConfigInfo_t *) raidPtr->
Layout
.layoutSpecificInfo;
321
RF_RaidLayout_t *layoutPtr = &(raidPtr->
Layout
);
335
if (raidPtr->
Layout
.map->flags & RF_DISTRIBUTE_SPARE)
[
all
...]
rf_evenodd.c
73
RF_RaidLayout_t *layoutPtr = &raidPtr->
Layout
;
90
/* fill in the remaining
layout
parameters */
136
RF_StripeNum_t stripeID = rf_RaidAddressToStripeID(&raidPtr->
Layout
, addr);
137
RF_EvenOddConfigInfo_t *info = (RF_EvenOddConfigInfo_t *) raidPtr->
Layout
.layoutSpecificInfo;
141
/* The
layout
of stripe unit on the disks are: c0 c1 c2 c3 c4
151
the
layout
of data stripe unit as shown above although we have 2 redundant information now.
161
RF_StripeNum_t SUID = raidSector / raidPtr->
Layout
.sectorsPerStripeUnit;
162
RF_StripeNum_t endSUIDofthisStrip = (SUID / raidPtr->
Layout
.numDataCol + 1) * raidPtr->
Layout
.numDataCol - 1;
165
*diskSector = (SUID / (raidPtr->
Layout
.numDataCol)) * raidPtr->Layout.sectorsPerStripeUnit
[
all
...]
rf_reconutil.c
61
RF_RaidLayout_t *layoutPtr = &raidPtr->
Layout
;
72
lp = raidPtr->
Layout
.map;
199
lp = raidPtr->
Layout
.map;
216
lp = raidPtr->
Layout
.map;
230
RF_RaidLayout_t *layoutPtr = &raidPtr->
Layout
;
253
recon_buffer_size = rf_RaidAddressToByte(raidPtr, raidPtr->
Layout
.SUsPerRU * raidPtr->
Layout
.sectorsPerStripeUnit);
rf_pq.c
106
RF_RaidLayout_t *layoutPtr = &(raidPtr->
Layout
);
253
unsigned secPerSU = raidPtr->
Layout
.sectorsPerStripeUnit;
269
coeff = rf_RaidAddressToStripeUnitID(&(raidPtr->
Layout
), new->raidAddress);
272
coeff = (coeff % raidPtr->
Layout
.numDataCol);
331
coeff = rf_RaidAddressToStripeUnitID(&(raidPtr->
Layout
), new->raidAddress);
334
coeff = (coeff % raidPtr->
Layout
.numDataCol);
357
unsigned secPerSU = raidPtr->
Layout
.sectorsPerStripeUnit;
372
coeff = rf_RaidAddressToStripeUnitID(&(raidPtr->
Layout
), old->raidAddress);
375
coeff = (coeff % raidPtr->
Layout
.numDataCol);
399
unsigned secPerSU = raidPtr->
Layout
.sectorsPerStripeUnit
[
all
...]
rf_declusterPQ.c
58
RF_RaidLayout_t *layoutPtr = &(raidPtr->
Layout
);
89
/* 1. create
layout
specific structure */
98
if ((raidPtr->
Layout
.map->flags & RF_DISTRIBUTE_SPARE) && raidPtr->noRotate) {
121
if ((raidPtr->
Layout
.map->flags & RF_DISTRIBUTE_SPARE)) {
141
if ((raidPtr->
Layout
.map->flags & RF_DISTRIBUTE_SPARE)) {
203
if ((raidPtr->
Layout
.map->flags & RF_DISTRIBUTE_SPARE)) {
281
RF_RaidLayout_t *layoutPtr = &(raidPtr->
Layout
);
296
if ((raidPtr->
Layout
.map->flags & RF_DISTRIBUTE_SPARE)) {
348
RF_RaidLayout_t *layoutPtr = &(raidPtr->
Layout
);
363
if ((raidPtr->
Layout
.map->flags & RF_DISTRIBUTE_SPARE))
[
all
...]
rf_evenodd_dags.c
104
asmap->failedPDAs[0]->numSector != raidPtr->
Layout
.sectorsPerStripeUnit)
158
asmap->failedPDAs[0]->numSector != raidPtr->
Layout
.sectorsPerStripeUnit) {
171
asmap->failedPDAs[0]->numSector != raidPtr->
Layout
.sectorsPerStripeUnit)
rf_pqdeg.c
126
raidPtr->
Layout
.sectorsPerStripeUnit)
195
asmap->failedPDAs[0]->numSector != raidPtr->
Layout
.sectorsPerStripeUnit) {
214
asmap->failedPDAs[0]->numSector != raidPtr->
Layout
.sectorsPerStripeUnit)
rf_parityscan.c
81
RF_RaidLayout_t *layoutPtr = &raidPtr->
Layout
;
87
if (raidPtr->
Layout
.map->faultsTolerated == 0) {
161
lp = raidPtr->
Layout
.map;
195
RF_RaidLayout_t *layoutPtr = &(raidPtr->
Layout
);
346
if (raidPtr->
Layout
.map->flags & RF_DISTRIBUTE_SPARE) {
352
(raidPtr->
Layout
.map->MapParity) (raidPtr, pda->raidAddress, &pda->col, &pda->startSector, RF_REMAP);
359
(raidPtr->
Layout
.map->MapSector) (raidPtr, pda->raidAddress, &pda->col, &pda->startSector, RF_REMAP);
rf_raid1.c
64
RF_RaidLayout_t *layoutPtr = &raidPtr->
Layout
;
107
RF_StripeNum_t SUID = raidSector / raidPtr->
Layout
.sectorsPerStripeUnit;
111
*diskSector = ((SUID / (raidPtr->numCol / 2)) * raidPtr->
Layout
.sectorsPerStripeUnit) + (raidSector % raidPtr->
Layout
.sectorsPerStripeUnit);
125
RF_StripeNum_t SUID = raidSector / raidPtr->
Layout
.sectorsPerStripeUnit;
130
*diskSector = ((SUID / (raidPtr->numCol / 2)) * raidPtr->
Layout
.sectorsPerStripeUnit) + (raidSector % raidPtr->
Layout
.sectorsPerStripeUnit);
142
RF_StripeNum_t stripeID = rf_RaidAddressToStripeID(&raidPtr->
Layout
, addr);
143
RF_Raid1ConfigInfo_t *info = raidPtr->
Layout
.layoutSpecificInfo;
279
layoutPtr = &raidPtr->
Layout
;
[
all
...]
rf_reconstruct.c
141
* currently there are none, except for those that the
layout
-specific
216
lp = raidPtr->
Layout
.map;
258
if (raidPtr->
Layout
.map->flags & RF_DISTRIBUTE_SPARE) {
371
lp = raidPtr->
Layout
.map;
413
if (raidPtr->
Layout
.map->flags & RF_DISTRIBUTE_SPARE) {
622
lastPSID = raidPtr->
Layout
.numStripe / raidPtr->
Layout
.SUsPerPU - 1;
623
RUsPerPU = raidPtr->
Layout
.SUsPerPU / raidPtr->
Layout
.SUsPerRU;
672
if (raidPtr->
Layout
.numDataCol <
[
all
...]
rf_driver.c
437
raidPtr->
Layout
.map->configName);
492
(int)(raidPtr->
Layout
.sectorsPerStripeUnit <<
496
tmpbuf = malloc( raidPtr->
Layout
.sectorsPerStripeUnit <<
515
tmpbuf = malloc( raidPtr->numCol * (raidPtr->
Layout
.sectorsPerStripeUnit <<
691
(int) rf_RaidAddressToStripeID(&raidPtr->
Layout
, raidAddress),
692
(int) rf_RaidAddressToStripeID(&raidPtr->
Layout
, raidAddress + numBlocks - 1),
700
numBlocks, lbufPtr, bp, flags, raidPtr->
Layout
.map->states);
723
if (!(raidPtr->
Layout
.map->flags & RF_DISTRIBUTE_SPARE)) {
734
if (raidPtr->
Layout
.map->flags & RF_BD_DECLUSTERED)
rf_paritylogging.c
82
RF_RaidLayout_t *layoutPtr = &raidPtr->
Layout
;
123
/* fill in the remaining
layout
parameters */
691
/* regionID = address / (raidPtr->regionParityRange * raidPtr->
Layout
.numDataCol); */
715
raidPtr->
Layout
.sectorsPerStripeUnit;
717
* raidPtr->
Layout
.numParityLogCol)); */
718
*col = SUID % raidPtr->
Layout
.numDataCol;
719
*diskSector = (SUID / (raidPtr->
Layout
.numDataCol)) *
720
raidPtr->
Layout
.sectorsPerStripeUnit +
721
(raidSector % raidPtr->
Layout
.sectorsPerStripeUnit);
735
raidPtr->
Layout
.sectorsPerStripeUnit
[
all
...]
rf_dagdegrd.c
128
parityStripeID = rf_RaidAddressToParityStripeID(&(raidPtr->
Layout
),
283
layoutPtr = &(raidPtr->
Layout
);
592
parityStripeID = rf_RaidAddressToParityStripeID(&(raidPtr->
Layout
),
707
RF_RaidLayout_t *layoutPtr = &(raidPtr->
Layout
);
832
firstDataCol = rf_RaidAddressToStripeUnitID(&(raidPtr->
Layout
), asmap->physInfo->raidAddress) % numDataCol;
839
(raidPtr->
Layout
.map->MapSector) (raidPtr, pda_p->raidAddress, &(pda_p->col), &(pda_p->startSector), 0);
862
(raidPtr->
Layout
.map->MapSector) (raidPtr, pda_p->raidAddress, &(pda_p->col), &(pda_p->startSector), 0);
888
(raidPtr->
Layout
.map->MapSector) (raidPtr, pda_p->raidAddress, &(pda_p->col), &(pda_p->startSector), 0);
898
(raidPtr->
Layout
.map->MapSector) (raidPtr, pda_p->raidAddress, &(pda_p->col), &(pda_p->startSector), 0);
909
(raidPtr->
Layout
.map->MapSector) (raidPtr, pda_p->raidAddress, &(pda_p->col), &(pda_p->startSector), 0)
[
all
...]
rf_evenodd_dagfuncs.c
99
RF_RaidLayout_t *layoutPtr = (RF_RaidLayout_t *) & raidPtr->
Layout
;
155
RF_RaidLayout_t *layoutPtr = (RF_RaidLayout_t *) & raidPtr->
Layout
;
195
RF_RaidLayout_t *layoutPtr = (RF_RaidLayout_t *) & raidPtr->
Layout
;
245
RF_RaidLayout_t *layoutPtr = (RF_RaidLayout_t *) & raidPtr->
Layout
;
389
RF_RaidLayout_t *layoutPtr = (RF_RaidLayout_t *) & raidPtr->
Layout
;
450
RF_RaidLayout_t *layoutPtr = (RF_RaidLayout_t *) & (raidPtr->
Layout
);
637
RF_RaidLayout_t *layoutPtr = (RF_RaidLayout_t *) & (raidPtr->
Layout
);
709
(raidPtr->
Layout
.map->MapSector) (raidPtr, npda.raidAddress, &(npda.col), &(npda.startSector), 0);
829
RF_RaidLayout_t *layoutPtr = (RF_RaidLayout_t *) & (raidPtr->
Layout
);
882
(raidPtr->
Layout
.map->MapSector) (raidPtr, npda.raidAddress, &(npda.col), &(npda.startSector), 0)
[
all
...]
rf_dagutils.c
71
(2 * raidPtr->
Layout
->numDataCol) + (1 * layoutPtr->numParityCol) +
344
RF_ASSERT((size <= (raidPtr->numCol * (raidPtr->
Layout
.sectorsPerStripeUnit <<
347
p = malloc( raidPtr->numCol * (raidPtr->
Layout
.sectorsPerStripeUnit <<
367
p = malloc( raidPtr->numCol * (raidPtr->
Layout
.sectorsPerStripeUnit <<
371
memset(p, 0, raidPtr->numCol * (raidPtr->
Layout
.sectorsPerStripeUnit << raidPtr->logBytesPerSector));
423
RF_ASSERT((size <= (raidPtr->
Layout
.sectorsPerStripeUnit <<
426
p = malloc( raidPtr->
Layout
.sectorsPerStripeUnit <<
446
p = malloc( raidPtr->
Layout
.sectorsPerStripeUnit <<
451
memset(p, 0, raidPtr->
Layout
.sectorsPerStripeUnit << raidPtr->logBytesPerSector);
917
int ds = (raidPtr->
Layout
.map->flags & RF_DISTRIBUTE_SPARE) ? 1 : 0
[
all
...]
rf_reconbuffer.c
108
lp = rbuf->raidPtr->
Layout
.map;
123
RF_RaidLayout_t *layoutPtr = &raidPtr->
Layout
;
300
int numBytes = rf_RaidAddressToByte(raidPtr, raidPtr->
Layout
.sectorsPerStripeUnit * raidPtr->
Layout
.SUsPerRU);
/src/lib/libcurses/PSD.doc/
twinkle1.c
50
static LOCS
Layout
[NCOLS * NLINES]; /* current board
layout
*/
107
lp =
Layout
;
115
Numstars = lp -
Layout
;
149
end = &
Layout
[Numstars];
150
for (lp =
Layout
; lp < end; lp++) {
153
*lp =
Layout
[r];
154
Layout
[r] = temp;
157
for (lp =
Layout
; lp < end; lp++) {
twinkle2.c
48
static LOCS
Layout
[NCOLS * NLINES]; /* current board
layout
*/
139
end = &
Layout
[Numstars];
140
for (lp =
Layout
; lp < end; lp++) {
143
*lp =
Layout
[r];
144
Layout
[r] = temp;
147
for (lp =
Layout
; lp < end; lp++)
175
lp =
Layout
;
183
Numstars = lp -
Layout
;
Completed in 26 milliseconds
1
2
Indexes created Wed Oct 01 07:09:59 GMT 2025