Home
last modified time | relevance | path

Searched refs:driver_geo (Results 1 – 2 of 2) sorted by relevance

/linux-2.4.37.9/drivers/block/
Dcpqarray.c1248 struct hd_geometry driver_geo; in ida_ioctl() local
1251 driver_geo.heads = hba[ctlr]->drv[dsk].heads; in ida_ioctl()
1252 driver_geo.sectors = hba[ctlr]->drv[dsk].sectors; in ida_ioctl()
1253 driver_geo.cylinders = hba[ctlr]->drv[dsk].cylinders; in ida_ioctl()
1255 driver_geo.heads = 0xff; in ida_ioctl()
1256 driver_geo.sectors = 0x3f; in ida_ioctl()
1257 driver_geo.cylinders = hba[ctlr]->drv[dsk].nr_blks in ida_ioctl()
1260 driver_geo.start= in ida_ioctl()
1262 if (copy_to_user((void *) arg, &driver_geo, in ida_ioctl()
1269 struct hd_big_geometry driver_geo; in ida_ioctl() local
[all …]
Dcciss.c704 struct hd_geometry driver_geo; in cciss_ioctl() local
706 driver_geo.heads = hba[ctlr]->drv[dsk].heads; in cciss_ioctl()
707 driver_geo.sectors = hba[ctlr]->drv[dsk].sectors; in cciss_ioctl()
708 driver_geo.cylinders = hba[ctlr]->drv[dsk].cylinders; in cciss_ioctl()
711 driver_geo.start= in cciss_ioctl()
713 if (copy_to_user((void *) arg, &driver_geo, in cciss_ioctl()
720 struct hd_big_geometry driver_geo; in cciss_ioctl() local
722 driver_geo.heads = hba[ctlr]->drv[dsk].heads; in cciss_ioctl()
723 driver_geo.sectors = hba[ctlr]->drv[dsk].sectors; in cciss_ioctl()
724 driver_geo.cylinders = hba[ctlr]->drv[dsk].cylinders; in cciss_ioctl()
[all …]