tag | line | file | source code |
sectors | 303 | drivers/block/hd.c | dev+'a', id.model, id.cyls*id.heads*id.sectors/2048, |
sectors | 810 | drivers/block/hd.c | (char *) &loc->sectors); |
sectors | 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); |
sectors | 180 | drivers/block/xd.c | xd[i << 6].nr_sects = xd_info[i].heads * xd_info[i].cylinders * xd_info[i].sectors; |
sectors | 248 | drivers/block/xd.c | put_fs_byte(xd_info[dev].sectors,(char *) &geometry->sectors); |
sectors | 312 | drivers/block/xd.c | xd_gendisk.part[start].nr_sects = xd_info[target].heads * xd_info[target].cylinders * xd_info[target].sectors; |
sectors | 336 | drivers/block/xd.c | track = block / xd_info[drive].sectors; |
sectors | 339 | drivers/block/xd.c | sector = block % xd_info[drive].sectors; |
sectors | 544 | drivers/block/xd.c | xd_info[drive].sectors = 17; /* sectors */ |
sectors | 588 | drivers/block/xd.c | xd_info[drive].sectors = 17; /* sectors */ |
sectors | 627 | drivers/block/xd.c | xd_info[drive].sectors = buf[0x05]; /* sectors */ |
sectors | 682 | drivers/block/xd.c | xd_info[drive].sectors = (u_char) min[2] + 1; |
sectors | 1493 | drivers/scsi/fdomain.c | unsigned char sectors; |
sectors | 1533 | drivers/scsi/fdomain.c | info_array[1] = i->sectors; |
sectors | 1538 | drivers/scsi/fdomain.c | info_array[1] = i->sectors; |
sectors | 518 | drivers/scsi/scsi.h | static void end_scsi_request(Scsi_Cmnd * SCpnt, int uptodate, int sectors) |
sectors | 538 | drivers/scsi/scsi.h | sectors -= bh->b_size >> 9; |
sectors | 547 | drivers/scsi/scsi.h | } while(sectors && bh); |
sectors | 167 | drivers/scsi/scsicam.c | unsigned long heads, sectors, cylinders, temp; |
sectors | 170 | drivers/scsi/scsicam.c | sectors = 62L; /* Maximize sectors per track */ |
sectors | 172 | drivers/scsi/scsicam.c | temp = cylinders * sectors; /* Compute divisor for heads */ |
sectors | 177 | drivers/scsi/scsicam.c | sectors = capacity / temp; /* Compute value for sectors per |
sectors | 180 | drivers/scsi/scsicam.c | sectors++; /* Else, increment number of sectors */ |
sectors | 181 | drivers/scsi/scsicam.c | temp = heads * sectors; /* Compute divisor for cylinders */ |
sectors | 188 | drivers/scsi/scsicam.c | *secs = (unsigned int) sectors; |
sectors | 42 | drivers/scsi/sd_ioctl.c | (char *) &loc->sectors); |
sectors | 1596 | drivers/scsi/seagate.c | int cylinders, heads, sectors; |
sectors | 1641 | drivers/scsi/seagate.c | sectors = (page[10] << 8) | page[11]; |
sectors | 1652 | drivers/scsi/seagate.c | total_sectors = (heads * cylinders * sectors); |
sectors | 1663 | drivers/scsi/seagate.c | hostno, heads, cylinders, sectors, total_sectors, formatted_sectors); |
sectors | 1665 | drivers/scsi/seagate.c | if (!heads || !sectors || !cylinders) |
sectors | 1668 | drivers/scsi/seagate.c | cylinders -= ((total_sectors - formatted_sectors) / (heads * sectors)); |
sectors | 1676 | drivers/scsi/seagate.c | if ((cylinders > 1024) || (sectors > 64)) |
sectors | 1680 | drivers/scsi/seagate.c | ip[1] = sectors; |
sectors | 232 | drivers/scsi/ultrastor.c | unsigned char sectors; |
sectors | 276 | drivers/scsi/ultrastor.c | unsigned char sectors; |
sectors | 449 | drivers/scsi/ultrastor.c | config.sectors = mapping_table[config_2.mapping_mode].sectors; |
sectors | 581 | drivers/scsi/ultrastor.c | config.sectors = mapping_table[(config_2 >> 3) & 3].sectors; |
sectors | 1001 | drivers/scsi/ultrastor.c | unsigned int s = config.heads * config.sectors; |
sectors | 1004 | drivers/scsi/ultrastor.c | dkinfo[1] = config.sectors; |
sectors | 205 | fs/msdos/inode.c | data_sectors = (CF_LE_W(*((unsigned short *) &b->sectors)) ? |
sectors | 206 | fs/msdos/inode.c | CF_LE_W(*((unsigned short *) &b->sectors)) : |
sectors | 231 | fs/msdos/inode.c | sectors),b->total_sect,logical_sector_size); |
sectors | 66 | include/linux/hdreg.h | unsigned char sectors; |
sectors | 86 | include/linux/hdreg.h | unsigned short sectors; /* "physical" sectors per track */ |
sectors | 73 | include/linux/msdos_fs.h | unsigned char sectors[2]; /* number of sectors */ |
sectors | 84 | include/linux/xd.h | u_char sectors; |
sectors | 93 | include/linux/xd.h | u_char sectors; |