tag | line | file | source code |
sectors | 316 | drivers/block/hd.c | dev+'a', id->model, id->cyls*id->heads*id->sectors/2048, |
sectors | 799 | drivers/block/hd.c | (char *) &loc->sectors); |
sectors | 480 | drivers/block/ide.c | unsigned long chs_sects = id->cyls * id->heads * id->sectors; |
sectors | 1916 | drivers/block/ide.c | put_user(drive->bios_sect, (byte *) &loc->sectors); |
sectors | 2256 | drivers/block/ide.c | drive->sect = drive->bios_sect = id->sectors; |
sectors | 2289 | drivers/block/ide.c | drive->sect = id->sectors; |
sectors | 2882 | drivers/block/ide.c | drive->sect = drive->id->sectors; |
sectors | 328 | drivers/block/md.c | put_user (4, (char *) &loc->sectors); |
sectors | 169 | 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); |
sectors | 182 | drivers/block/xd.c | xd[i << 6].nr_sects = xd_info[i].heads * xd_info[i].cylinders * xd_info[i].sectors; |
sectors | 252 | drivers/block/xd.c | put_user(xd_info[dev].sectors, &geometry->sectors); |
sectors | 324 | drivers/block/xd.c | xd_gendisk.part[start].nr_sects = xd_info[target].heads * xd_info[target].cylinders * xd_info[target].sectors; |
sectors | 348 | drivers/block/xd.c | track = block / xd_info[drive].sectors; |
sectors | 351 | drivers/block/xd.c | sector = block % xd_info[drive].sectors; |
sectors | 556 | drivers/block/xd.c | xd_info[drive].sectors = 17; /* sectors */ |
sectors | 600 | drivers/block/xd.c | xd_info[drive].sectors = 17; /* sectors */ |
sectors | 639 | drivers/block/xd.c | xd_info[drive].sectors = buf[0x05]; /* sectors */ |
sectors | 694 | drivers/block/xd.c | xd_info[drive].sectors = (u_char) min[2] + 1; |
sectors | 587 | drivers/cdrom/cm206.c | void empty_buffer(int sectors) |
sectors | 589 | drivers/cdrom/cm206.c | while (sectors>=0) { |
sectors | 592 | drivers/cdrom/cm206.c | --sectors; |
sectors | 4586 | drivers/scsi/aic7xxx.c | int heads, sectors, cylinders; |
sectors | 4597 | drivers/scsi/aic7xxx.c | sectors = 32; |
sectors | 4598 | drivers/scsi/aic7xxx.c | cylinders = disk->capacity / (heads * sectors); |
sectors | 4603 | drivers/scsi/aic7xxx.c | sectors = 63; |
sectors | 4608 | drivers/scsi/aic7xxx.c | geom[1] = sectors; |
sectors | 15 | drivers/scsi/eata_dma_proc.h | __u8 sectors; |
sectors | 370 | drivers/scsi/eata_generic.h | __u32 sectors; /* number of sectors */ |
sectors | 1930 | drivers/scsi/fdomain.c | unsigned char sectors; |
sectors | 1996 | drivers/scsi/fdomain.c | info_array[1] = i->sectors; |
sectors | 2003 | drivers/scsi/fdomain.c | info_array[1] = i->sectors; |
sectors | 458 | drivers/scsi/scsi.h | static Scsi_Cmnd * end_scsi_request(Scsi_Cmnd * SCpnt, int uptodate, int sectors) |
sectors | 478 | drivers/scsi/scsi.h | sectors -= bh->b_size >> 9; |
sectors | 487 | drivers/scsi/scsi.h | } while(sectors && bh); |
sectors | 190 | drivers/scsi/scsicam.c | unsigned long heads, sectors, cylinders, temp; |
sectors | 193 | drivers/scsi/scsicam.c | sectors = 62L; /* Maximize sectors per track */ |
sectors | 195 | drivers/scsi/scsicam.c | temp = cylinders * sectors; /* Compute divisor for heads */ |
sectors | 200 | drivers/scsi/scsicam.c | sectors = capacity / temp; /* Compute value for sectors per |
sectors | 203 | drivers/scsi/scsicam.c | sectors++; /* Else, increment number of sectors */ |
sectors | 204 | drivers/scsi/scsicam.c | temp = heads * sectors; /* Compute divisor for cylinders */ |
sectors | 211 | drivers/scsi/scsicam.c | *secs = (unsigned int) sectors; |
sectors | 59 | drivers/scsi/sd_ioctl.c | put_user(diskinfo[1], &loc->sectors); |
sectors | 1640 | drivers/scsi/seagate.c | int cylinders, heads, sectors; |
sectors | 1686 | drivers/scsi/seagate.c | sectors = (page[10] << 8) | page[11]; |
sectors | 1697 | drivers/scsi/seagate.c | total_sectors = (heads * cylinders * sectors); |
sectors | 1708 | drivers/scsi/seagate.c | hostno, heads, cylinders, sectors, total_sectors, formatted_sectors); |
sectors | 1710 | drivers/scsi/seagate.c | if (!heads || !sectors || !cylinders) |
sectors | 1713 | drivers/scsi/seagate.c | cylinders -= ((total_sectors - formatted_sectors) / (heads * sectors)); |
sectors | 1721 | drivers/scsi/seagate.c | if ((cylinders > 1024) || (sectors > 64)) { |
sectors | 1725 | drivers/scsi/seagate.c | capacity = heads * sectors * cylinders; |
sectors | 1726 | drivers/scsi/seagate.c | sectors = 17; /* Old MFM Drives use this, so does the Seagate */ |
sectors | 1728 | drivers/scsi/seagate.c | capacity = capacity / sectors; |
sectors | 1736 | drivers/scsi/seagate.c | ip[1] = sectors; |
sectors | 277 | drivers/scsi/u14-34f.c | unsigned char sectors; |
sectors | 366 | drivers/scsi/u14-34f.c | unsigned char sectors; |
sectors | 461 | drivers/scsi/u14-34f.c | HD(j)->sectors = mapping_table[config_2.mapping_mode].sectors; |
sectors | 836 | drivers/scsi/u14-34f.c | dkinfo[1] = HD(j)->sectors; |
sectors | 837 | drivers/scsi/u14-34f.c | dkinfo[2] = size / (HD(j)->heads * HD(j)->sectors); |
sectors | 242 | drivers/scsi/ultrastor.c | unsigned char sectors; |
sectors | 286 | drivers/scsi/ultrastor.c | unsigned char sectors; |
sectors | 463 | drivers/scsi/ultrastor.c | config.sectors = mapping_table[config_2.mapping_mode].sectors; |
sectors | 595 | drivers/scsi/ultrastor.c | config.sectors = mapping_table[(config_2 >> 3) & 3].sectors; |
sectors | 1016 | drivers/scsi/ultrastor.c | unsigned int s = config.heads * config.sectors; |
sectors | 1019 | drivers/scsi/ultrastor.c | dkinfo[1] = config.sectors; |
sectors | 240 | fs/fat/inode.c | data_sectors = (CF_LE_W(*((unsigned short *) &b->sectors)) ? |
sectors | 241 | fs/fat/inode.c | CF_LE_W(*((unsigned short *) &b->sectors)) : |
sectors | 278 | fs/fat/inode.c | CF_LE_W(*(unsigned short *) &b->sectors), |
sectors | 80 | include/linux/hdreg.h | unsigned char sectors; |
sectors | 113 | include/linux/hdreg.h | unsigned short sectors; /* "physical" sectors per track */ |
sectors | 105 | include/linux/msdos_fs.h | __u8 sectors[2]; /* number of sectors */ |
sectors | 84 | include/linux/xd.h | u_char sectors; |
sectors | 93 | include/linux/xd.h | u_char sectors; |