tag | line | file | source code |
heads | 537 | drivers/block/hd.c | (char *) &loc->heads); |
heads | 167 | drivers/block/xd.c | printk("xd_geninit: drive %d geometry - heads = %d, cylinders = %d, sectors = %d\n",i,xd_info[i].heads,xd_info[i].cylinders,xd_info[i].sectors); |
heads | 180 | drivers/block/xd.c | xd[i << 6].nr_sects = xd_info[i].heads * xd_info[i].cylinders * xd_info[i].sectors; |
heads | 247 | drivers/block/xd.c | put_fs_byte(xd_info[dev].heads,(char *) &geometry->heads); |
heads | 312 | drivers/block/xd.c | xd_gendisk.part[start].nr_sects = xd_info[target].heads * xd_info[target].cylinders * xd_info[target].sectors; |
heads | 337 | drivers/block/xd.c | head = track % xd_info[drive].heads; |
heads | 338 | drivers/block/xd.c | cylinder = track / xd_info[drive].heads; |
heads | 542 | drivers/block/xd.c | xd_info[drive].heads = buf[0x0A]; /* heads */ |
heads | 552 | drivers/block/xd.c | xd_setparam(CMD_DTCSETPARAM,drive,xd_info[drive].heads,xd_info[drive].cylinders,((u_short *) (buf + 1))[0x05],((u_short *) (buf + 1))[0x06],buf[0x0F]); |
heads | 586 | drivers/block/xd.c | xd_info[drive].heads = buf[0x1AF]; /* heads */ |
heads | 596 | drivers/block/xd.c | xd_setparam(CMD_WDSETPARAM,drive,xd_info[drive].heads,xd_info[drive].cylinders,((u_short *) (buf))[0xD8],((u_short *) (buf))[0xDA],buf[0x1B4]); |
heads | 625 | drivers/block/xd.c | xd_info[drive].heads = buf[0x04]; /* heads */ |
heads | 680 | drivers/block/xd.c | xd_info[drive].heads = (u_char) min[0] + 1; |
heads | 700 | drivers/block/xd.c | static void xd_setparam (u_char command,u_char drive,u_char heads,u_short cylinders,u_short rwrite,u_short wprecomp,u_char ecc) |
heads | 707 | drivers/block/xd.c | cmdblk[8] = heads & 0x1F; |
heads | 1475 | drivers/scsi/fdomain.c | unsigned char heads; |
heads | 1516 | drivers/scsi/fdomain.c | info_array[0] = i->heads; |
heads | 1521 | drivers/scsi/fdomain.c | info_array[0] = i->heads + 1; |
heads | 40 | drivers/scsi/sd_ioctl.c | (char *) &loc->heads); |
heads | 1602 | drivers/scsi/seagate.c | int cylinders, heads, sectors; |
heads | 1643 | drivers/scsi/seagate.c | heads = (int) page[5]; |
heads | 1662 | drivers/scsi/seagate.c | total_sectors = (heads * cylinders * sectors); |
heads | 1673 | drivers/scsi/seagate.c | hostno, heads, cylinders, sectors, total_sectors, formatted_sectors); |
heads | 1675 | drivers/scsi/seagate.c | if (!heads || !sectors || !cylinders) |
heads | 1678 | drivers/scsi/seagate.c | cylinders -= ((total_sectors - formatted_sectors) / (heads * sectors)); |
heads | 1689 | drivers/scsi/seagate.c | ip[0] = heads; |
heads | 220 | drivers/scsi/ultrastor.c | unsigned char heads; |
heads | 267 | drivers/scsi/ultrastor.c | unsigned char heads; |
heads | 437 | drivers/scsi/ultrastor.c | config.heads = mapping_table[config_2.mapping_mode].heads; |
heads | 569 | drivers/scsi/ultrastor.c | config.heads = mapping_table[(config_2 >> 3) & 3].heads; |
heads | 982 | drivers/scsi/ultrastor.c | unsigned int s = config.heads * config.sectors; |
heads | 984 | drivers/scsi/ultrastor.c | dkinfo[0] = config.heads; |
heads | 218 | fs/msdos/inode.c | !b->heads; |
heads | 142 | include/linux/cdrom.h | u_char heads; /* #heads */ |
heads | 59 | include/linux/hdreg.h | unsigned char heads; |
heads | 78 | include/linux/msdos_fs.h | unsigned short heads; /* number of heads */ |
heads | 82 | include/linux/xd.h | u_char heads; |
heads | 92 | include/linux/xd.h | u_char heads; |
heads | 136 | include/linux/xd.h | static void xd_setparam (u_char command,u_char drive,u_char heads,u_short cylinders,u_short rwrite,u_short wprecomp,u_char ecc); |