/linux-2.6.39/drivers/mtd/nand/ |
D | nandsim.c | 199 #define NS_IS_INITIALIZED(ns) ((ns)->geom.totsz != 0) 209 (((ns)->regs.row << (ns)->geom.pgshift) + ((ns)->regs.row * (ns)->geom.oobsz) + (ns)->regs.column) 212 #define NS_RAW_OFFSET_OOB(ns) (NS_RAW_OFFSET(ns) + ns->geom.pgsz) 342 } geom; member 478 ns->pages_written = vzalloc(ns->geom.pgnum); in alloc_device() 484 ns->file_buf = kmalloc(ns->geom.pgszoob, GFP_KERNEL); in alloc_device() 494 ns->pages = vmalloc(ns->geom.pgnum * sizeof(union ns_mem)); in alloc_device() 499 for (i = 0; i < ns->geom.pgnum; i++) { in alloc_device() 503 ns->geom.pgszoob, 0, 0, NULL); in alloc_device() 533 for (i = 0; i < ns->geom.pgnum; i++) { in free_device() [all …]
|
/linux-2.6.39/drivers/block/ |
D | sunvdc.c | 71 struct vio_disk_geom geom; member 99 geo->heads = (u8) port->geom.num_hd; in vdc_getgeo() 100 geo->sectors = (u8) port->geom.num_sec; in vdc_getgeo() 101 geo->cylinders = port->geom.num_cyl; in vdc_getgeo() 667 &port->geom, sizeof(port->geom)); in probe_disk() 674 port->vdisk_size = ((u64)port->geom.num_cyl * in probe_disk() 675 (u64)port->geom.num_hd * in probe_disk() 676 (u64)port->geom.num_sec); in probe_disk()
|
/linux-2.6.39/drivers/message/fusion/ |
D | mptscsih.h | 125 …ih_bios_param(struct scsi_device * sdev, struct block_device *bdev, sector_t capacity, int geom[]);
|
D | mptscsih.c | 2174 sector_t capacity, int geom[]) in mptscsih_bios_param() argument 2201 geom[0] = heads; in mptscsih_bios_param() 2202 geom[1] = sectors; in mptscsih_bios_param() 2203 geom[2] = cylinders; in mptscsih_bios_param()
|
/linux-2.6.39/drivers/scsi/aic7xxx/ |
D | aic7xxx_osm.c | 706 sector_t capacity, int geom[]) in ahc_linux_biosparam() argument 723 &geom[2], &geom[0], &geom[1]); in ahc_linux_biosparam() 743 geom[0] = heads; in ahc_linux_biosparam() 744 geom[1] = sectors; in ahc_linux_biosparam() 745 geom[2] = cylinders; in ahc_linux_biosparam()
|
D | aic79xx_osm.c | 724 sector_t capacity, int geom[]) in ahd_linux_biosparam() argument 739 &geom[2], &geom[0], &geom[1]); in ahd_linux_biosparam() 757 geom[0] = heads; in ahd_linux_biosparam() 758 geom[1] = sectors; in ahd_linux_biosparam() 759 geom[2] = cylinders; in ahd_linux_biosparam()
|
/linux-2.6.39/drivers/scsi/ |
D | megaraid.c | 3129 sector_t capacity, int geom[]) in megaraid_biosparam() argument 3158 geom[0] = heads; in megaraid_biosparam() 3159 geom[1] = sectors; in megaraid_biosparam() 3160 geom[2] = cylinders; in megaraid_biosparam() 3167 &geom[2], &geom[0], &geom[1]); in megaraid_biosparam() 3190 geom[0] = heads; in megaraid_biosparam() 3191 geom[1] = sectors; in megaraid_biosparam() 3192 geom[2] = cylinders; in megaraid_biosparam()
|
D | dpti.h | 40 sector_t, int geom[]);
|
D | stex.c | 1370 struct block_device *bdev, sector_t capacity, int geom[]) in stex_biosparam() argument 1381 geom[0] = heads; in stex_biosparam() 1382 geom[1] = sectors; in stex_biosparam() 1383 geom[2] = capacity; in stex_biosparam()
|
D | 3w-sas.c | 1452 …_scsi_biosparam(struct scsi_device *sdev, struct block_device *bdev, sector_t capacity, int geom[]) in twl_scsi_biosparam() argument 1467 geom[0] = heads; in twl_scsi_biosparam() 1468 geom[1] = sectors; in twl_scsi_biosparam() 1469 geom[2] = sector_div(capacity, heads * sectors); /* cylinders */ in twl_scsi_biosparam()
|
D | 3w-xxxx.c | 1369 sector_t capacity, int geom[]) in tw_scsi_biosparam() argument 1388 geom[0] = heads; in tw_scsi_biosparam() 1389 geom[1] = sectors; in tw_scsi_biosparam() 1390 geom[2] = cylinders; in tw_scsi_biosparam()
|
D | 3w-9xxx.c | 1714 …_scsi_biosparam(struct scsi_device *sdev, struct block_device *bdev, sector_t capacity, int geom[]) in twa_scsi_biosparam() argument 1731 geom[0] = heads; in twa_scsi_biosparam() 1732 geom[1] = sectors; in twa_scsi_biosparam() 1733 geom[2] = cylinders; in twa_scsi_biosparam()
|
D | dpt_i2o.c | 497 sector_t capacity, int geom[]) in DEF_SCSI_QCMD() 539 geom[0] = heads; in DEF_SCSI_QCMD() 540 geom[1] = sectors; in DEF_SCSI_QCMD() 541 geom[2] = cylinders; in DEF_SCSI_QCMD()
|
D | qla1280.c | 1071 sector_t capacity, int geom[]) in qla1280_biosparam() argument 1086 geom[0] = heads; in qla1280_biosparam() 1087 geom[1] = sectors; in qla1280_biosparam() 1088 geom[2] = cylinders; in qla1280_biosparam()
|
D | ips.h | 421 sector_t capacity, int geom[]);
|
D | aic7xxx_old.c | 10871 sector_t capacity, int geom[]) in aic7xxx_biosparam() argument 10883 ret = scsi_partsize(buf, capacity, &geom[2], &geom[0], &geom[1]); in aic7xxx_biosparam() 10904 geom[0] = (int)heads; in aic7xxx_biosparam() 10905 geom[1] = (int)sectors; in aic7xxx_biosparam() 10906 geom[2] = (int)cylinders; in aic7xxx_biosparam()
|
D | ips.c | 1152 sector_t capacity, int geom[]) in DEF_SCSI_QCMD() 1185 geom[0] = heads; in DEF_SCSI_QCMD() 1186 geom[1] = sectors; in DEF_SCSI_QCMD() 1187 geom[2] = cylinders; in DEF_SCSI_QCMD()
|
D | dc395x.c | 1181 geom[0] = heads; in DEF_SCSI_QCMD() 1182 geom[1] = sectors; in DEF_SCSI_QCMD() 1183 geom[2] = cylinders; in DEF_SCSI_QCMD()
|
/linux-2.6.39/drivers/scsi/arcmsr/ |
D | arcmsr_hba.c | 281 struct block_device *bdev, sector_t capacity, int *geom) in arcmsr_bios_param() argument 288 ret = scsi_partsize(buffer, capacity, &geom[2], &geom[0], &geom[1]); in arcmsr_bios_param() 302 geom[0] = heads; in arcmsr_bios_param() 303 geom[1] = sectors; in arcmsr_bios_param() 304 geom[2] = cylinders; in arcmsr_bios_param()
|
/linux-2.6.39/drivers/scsi/aacraid/ |
D | linit.c | 323 sector_t capacity, int *geom) in aac_biosparm() argument 325 struct diskparm *param = (struct diskparm *)geom; in aac_biosparm()
|
/linux-2.6.39/drivers/ata/ |
D | libata-scsi.c | 375 sector_t capacity, int geom[]) in ata_std_bios_param() argument 377 geom[0] = 255; in ata_std_bios_param() 378 geom[1] = 63; in ata_std_bios_param() 380 geom[2] = capacity; in ata_std_bios_param()
|
/linux-2.6.39/Documentation/ioctl/ |
D | hdio.txt | 89 struct hd_geometry geom; 90 ioctl(fd, HDIO_GETGEO, &geom);
|
/linux-2.6.39/drivers/scsi/megaraid/ |
D | megaraid_sas_base.c | 1977 sector_t capacity, int geom[]) in megasas_bios_param() argument 2004 geom[0] = heads; in megasas_bios_param() 2005 geom[1] = sectors; in megasas_bios_param() 2006 geom[2] = cylinders; in megasas_bios_param()
|
/linux-2.6.39/include/linux/ |
D | libata.h | 1039 sector_t capacity, int geom[]);
|