Home
last modified time | relevance | path

Searched refs:thisraid (Results 1 – 3 of 3) sorted by relevance

/linux-2.4.37.9/drivers/ide/raid/
Dsilraid.c173 struct silraid *thisraid; in silraid0_make_request() local
190 thisraid = &raid[device]; in silraid0_make_request()
191 if (thisraid->stride==0) in silraid0_make_request()
192 thisraid->stride=1; in silraid0_make_request()
196 …MINOR(bh->b_rdev)].start_sect, ataraid_gendisk.part[MINOR(bh->b_rdev)].nr_sects, thisraid->stride); in silraid0_make_request()
199 if ((rsect/thisraid->stride) != ((rsect+(bh->b_size/512)-1)/thisraid->stride)) { in silraid0_make_request()
206 if (thisraid->cutoff_disks[i]==0) in silraid0_make_request()
208 if (rsect > thisraid->cutoff[i]) { in silraid0_make_request()
210 rsect_left -= thisraid->cutoff[i]; in silraid0_make_request()
211 rsect_accum += thisraid->cutoff[i]/thisraid->cutoff_disks[i]; in silraid0_make_request()
[all …]
Dpdcraid.c168 struct pdcraid *thisraid; in pdcraid0_make_request() local
185 thisraid = &raid[device]; in pdcraid0_make_request()
186 if (thisraid->stride==0) in pdcraid0_make_request()
187 thisraid->stride=1; in pdcraid0_make_request()
191 …MINOR(bh->b_rdev)].start_sect, ataraid_gendisk.part[MINOR(bh->b_rdev)].nr_sects, thisraid->stride); in pdcraid0_make_request()
194 if ((rsect/thisraid->stride) != ((rsect+(bh->b_size/512)-1)/thisraid->stride)) { in pdcraid0_make_request()
201 if (thisraid->cutoff_disks[i]==0) in pdcraid0_make_request()
203 if (rsect > thisraid->cutoff[i]) { in pdcraid0_make_request()
205 rsect_left -= thisraid->cutoff[i]; in pdcraid0_make_request()
206 rsect_accum += thisraid->cutoff[i]/thisraid->cutoff_disks[i]; in pdcraid0_make_request()
[all …]
Dhptraid.c235 struct hptraid *thisraid; in hptraidspan_make_request() local
240 thisraid = &raid[device]; in hptraidspan_make_request()
249 for (disk=0;disk<thisraid->disks;disk++) { in hptraidspan_make_request()
253 if (thisraid->disk[disk].sectors > rsect+1) in hptraidspan_make_request()
255 rsect-=thisraid->disk[disk].sectors-(disk?11:1); in hptraidspan_make_request()
259 if(rsect+bh->b_size/512 >= thisraid->disk[disk].sectors) in hptraidspan_make_request()
267 bh->b_rdev = thisraid->disk[disk].device; in hptraidspan_make_request()
276 static int hptraid0_compute_request (struct hptraid *thisraid, in hptraid0_compute_request() argument
299 if (thisraid->stride==0) in hptraid0_compute_request()
300 thisraid->stride=1; in hptraid0_compute_request()
[all …]