Home
last modified time | relevance | path

Searched refs:ataraid_gendisk (Results 1 – 6 of 6) sorted by relevance

/linux-2.4.37.9/drivers/ide/raid/
Dataraid.c49 struct gendisk ataraid_gendisk; variable
236 register_disk(&ataraid_gendisk, MKDEV(ATAMAJOR,16*device),16, in ataraid_register_disk()
258 ataraid_gendisk.part = kmalloc(256 * sizeof(struct hd_struct),GFP_KERNEL); in ataraid_init()
259 if (ataraid_gendisk.part==NULL) { in ataraid_init()
264 memset(&ataraid_gendisk.part[0],0,256*sizeof(struct hd_struct)); in ataraid_init()
267 ataraid_gendisk.major = ATAMAJOR; in ataraid_init()
268 ataraid_gendisk.major_name = "ataraid"; in ataraid_init()
269 ataraid_gendisk.minor_shift = 4; in ataraid_init()
270 ataraid_gendisk.max_p = 15; in ataraid_init()
271 ataraid_gendisk.sizes = &ataraid_gendisk_sizes[0]; in ataraid_init()
[all …]
Dpdcraid.c114 sectors = ataraid_gendisk.part[MINOR(inode->i_rdev)].nr_sects; in pdcraid_ioctl()
130 if (put_user((unsigned)ataraid_gendisk.part[MINOR(inode->i_rdev)].start_sect, in pdcraid_ioctl()
142 if (put_user((unsigned)ataraid_gendisk.part[MINOR(inode->i_rdev)].start_sect, in pdcraid_ioctl()
191 …rsect = partition_map_normal(rsect, ataraid_gendisk.part[MINOR(bh->b_rdev)].start_sect, ataraid_ge… in pdcraid0_make_request()
270 bh1->b_rsector += ataraid_gendisk.part[MINOR(bh->b_rdev)].start_sect; /* partition offset */ in pdcraid1_write_request()
294 bh->b_rsector += ataraid_gendisk.part[MINOR(bh->b_rdev)].start_sect; in pdcraid1_read_request()
Dsilraid.c112 sectors = ataraid_gendisk.part[MINOR(inode->i_rdev)].nr_sects; in silraid_ioctl()
128 if (put_user((unsigned)ataraid_gendisk.part[MINOR(inode->i_rdev)].start_sect, in silraid_ioctl()
140 if (put_user((unsigned)ataraid_gendisk.part[MINOR(inode->i_rdev)].start_sect, in silraid_ioctl()
196 …rsect = partition_map_normal(rsect, ataraid_gendisk.part[MINOR(bh->b_rdev)].start_sect, ataraid_ge… in silraid0_make_request()
Dmedley.c234 ataraid_gendisk.part[MINOR(inode->i_rdev)].nr_sects; in medley_ioctl()
259 ((unsigned) ataraid_gendisk. in medley_ioctl()
282 ((unsigned) ataraid_gendisk. in medley_ioctl()
312 ataraid_gendisk.part[partition + in medley_ioctl()
314 ataraid_gendisk.part[partition + in medley_ioctl()
344 rsect = rsect + ataraid_gendisk.part[MINOR(bh->b_rdev)].start_sect; in medley_make_request()
Dhptraid.c182 sectors = ataraid_gendisk.part[MINOR(inode->i_rdev)].nr_sects; in hptraid_ioctl()
201 if (put_user((unsigned)ataraid_gendisk.part[MINOR(inode->i_rdev)].start_sect, in hptraid_ioctl()
217 if (put_user((unsigned)ataraid_gendisk.part[MINOR(inode->i_rdev)].start_sect, in hptraid_ioctl()
247 rsect += ataraid_gendisk.part[MINOR(bh->b_rdev)].start_sect; in hptraidspan_make_request()
378 bh->b_rsector += ataraid_gendisk.part[MINOR(bh->b_rdev)].start_sect; in hptraid0_make_request()
402 bh->b_rsector += ataraid_gendisk.part[MINOR(bh->b_rdev)].start_sect; in hptraid1_read_request()
474 bh1->b_rsector += ataraid_gendisk.part[MINOR(bh->b_rdev)].start_sect; /* partition offset */ in hptraid1_write_request()
Dataraid.h59 extern struct gendisk ataraid_gendisk;