/osnet-11/usr/src/grub/grub2/include/grub/powerpc/ieee1275/ |
H A D | biosdisk.h | 29 unsigned long sectors; member in struct:grub_biosdisk_data 41 unsigned long *sectors);
|
/osnet-11/usr/src/lib/libntfs/common/include/ntfs/ |
H A D | device_io.h | 45 unsigned char sectors; member in struct:hd_geometry
|
/osnet-11/usr/src/grub/grub2/grub-core/boot/i386/pc/ |
H A D | boot.S | 67 sectors: label 203 * BIOS call "INT 0x13 Function 0x42" to read sectors from disk into memory 259 /* save number of sectors */ 275 /* divide by number of sectors */ 309 * BIOS call "INT 0x13 Function 0x2" to read sectors from disk into memory 311 * %al = number of sectors 445 /* if number of sectors is 0, display error and die */
|
/osnet-11/usr/src/grub/grub2/grub-core/commands/ |
H A D | gptsync.c | 44 int sectors = 63, heads = 255, cylinders = 1024; local 46 sector = lba % sectors + 1; 47 head = (lba / sectors) % heads; 48 cylinder = lba / (sectors * heads);
|
H A D | hdparm.c | 68 grub_uint8_t features, grub_uint8_t sectors, 76 apt.taskfile.sectors = sectors; 100 return apt.taskfile.sectors; 149 grub_uint8_t features, grub_uint8_t sectors) 159 grub_err_t err = grub_hdparm_do_ata_cmd (ata, cmd, features, sectors, 67 grub_hdparm_do_ata_cmd(grub_ata_t ata, grub_uint8_t cmd, grub_uint8_t features, grub_uint8_t sectors, void * buffer, int size) argument 147 grub_hdparm_set_val_cmd(const char * msg, int val, grub_ata_t ata, grub_uint8_t cmd, grub_uint8_t features, grub_uint8_t sectors) argument
|
/osnet-11/usr/src/grub/grub2/grub-core/partmap/ |
H A D | msdos.c | 158 grub_disk_addr_t **sectors) 252 *sectors = grub_malloc (*nsectors * sizeof (**sectors)); 253 if (!*sectors) 256 (*sectors)[i] = 1 + i; 155 pc_partition_map_embed(struct grub_disk *disk, unsigned int *nsectors, grub_embed_type_t embed_type, grub_disk_addr_t **sectors) argument
|
H A D | gpt.c | 41 /* 512 << 7 = 65536 byte sectors. */ 132 grub_disk_addr_t **sectors) 186 *sectors = grub_malloc (*nsectors * sizeof (**sectors)); 187 if (!*sectors) 190 (*sectors)[i] = start + i; 129 gpt_partition_map_embed(struct grub_disk *disk, unsigned int *nsectors, grub_embed_type_t embed_type, grub_disk_addr_t **sectors) argument
|
H A D | sunpc.c | 177 grub_disk_addr_t **sectors) 356 *sectors = grub_zalloc (*nsectors * sizeof (**sectors)); 357 if (!*sectors) { 359 return grub_error(grub_errno, "Failed to allocate area for embed sectors"); 363 (*sectors)[i] = usablestart + i; 175 sunpc_partition_map_embed(struct grub_disk *disk, unsigned int *nsectors, grub_embed_type_t embed_type, grub_disk_addr_t **sectors) argument
|
/osnet-11/usr/src/lib/libparted/common/include/parted/ |
H A D | device.h | 29 /** We can address 2^63 sectors */ 61 * A device addressed in this way has C*H*S sectors. 66 int sectors; member in struct:_PedCHSGeometry
|
/osnet-11/usr/src/lib/libparted/common/libparted/fs/fat/ |
H A D | bootsector.h | 73 uint8_t cluster_size; /* 0d: sectors/cluster */ 74 uint16_t reserved; /* 0e: reserved sectors */ 77 uint16_t sectors; /* 13: if 0, total_sect supersedes */ member in struct:_FatBootSector 79 uint16_t fat_length; /* 16: sectors/FAT for FAT12/16 */ 80 uint16_t secs_track; /* 18: sectors per track */ 82 uint32_t hidden; /* 1c: hidden sectors (partition start) */ 83 uint32_t sector_count; /* 20: no. of sectors (if sectors == 0) */ 98 uint32_t fat_length; /* 24: size of FAT in sectors */
|
/osnet-11/usr/src/grub/grub2/grub-core/disk/i386/pc/ |
H A D | biosdisk.c | 91 * NSEC sectors from COFF/HOFF/SOFF into SEGMENT. If an error occurs, 178 unsigned long *sectors) 194 /* 0 sectors means no disk */ 202 *sectors = regs.ecx & 0x3f; 353 data->sectors = 8; 381 /* Some buggy BIOSes doesn't return the total sectors 384 total_sectors = drp->cylinders * drp->heads * drp->sectors; 403 &data->sectors) != 0) 407 data->sectors = 63; 411 + data->heads * data->sectors 175 grub_biosdisk_get_diskinfo_standard(int drive, unsigned long *cylinders, unsigned long *heads, unsigned long *sectors) argument 530 grub_uint32_t sectors = data->sectors; local [all...] |
/osnet-11/usr/src/grub/grub2/include/grub/i386/pc/ |
H A D | biosdisk.h | 41 unsigned long sectors; member in struct:grub_biosdisk_data 52 grub_uint32_t sectors; member in struct:grub_biosdisk_drp 94 grub_uint8_t sectors; member in struct:grub_biosdisk_cdrp
|
/osnet-11/usr/src/grub/grub2/util/ |
H A D | deviceiter.c | 59 unsigned char sectors; member in struct:hd_geometry
|
H A D | grub-setup.c | 219 grub_util_error (_("the sectors of the core file are too fragmented")); 278 grub_disk_addr_t *sectors; local 311 core_sectors += 2; /* Add 2 extra sectors for versioning info */ 328 err = dest_partmap->embed (dest_dev->disk, &nsec, GRUB_EMBED_PCBIOS, §ors); 351 err = dest_partmap->embed (dest_dev->disk, &nsec, GRUB_EMBED_PCBIOS, §ors); 509 GRUB_EMBED_PCBIOS, §ors); 512 GRUB_EMBED_PCBIOS, §ors); 549 save_first_sector (sectors[0] + grub_partition_get_start (container), 554 save_blocklists (sectors[i] + grub_partition_get_start (container), 630 grub_disk_write (dest_dev->disk, sectors[ [all...] |
/osnet-11/usr/src/grub/grub-0.97/stage1/ |
H A D | stage1.S | 71 sectors: label 185 /* save the total number of sectors */ 213 * BIOS call "INT 0x13 Function 0x42" to read sectors from disk into memory 250 movw $ABS(sectors), %si 275 /* save number of sectors */ 285 /* divide by number of sectors */ 314 incb %cl /* normalize sector (sectors go 326 * BIOS call "INT 0x13 Function 0x2" to read sectors from disk into memory 328 * %al = number of sectors 467 /* if number of sectors i [all...] |
/osnet-11/usr/src/grub/grub-0.97/stage2/ |
H A D | bios.c | 35 unsigned long *sectors); 40 unsigned long *sectors); 45 /* Read/write NSEC sectors starting from SECTOR in DRIVE disk with GEOMETRY 69 BIOSes don't return the number of total sectors correctly, 103 * geometry->sectors); 115 sector_offset = sector % geometry->sectors + 1; 116 head = sector / geometry->sectors; 148 unsigned char sectors; 165 geometry->sectors = 15; 175 + (((unsigned int) (cdrp.sectors 146 unsigned char sectors; member in struct:iso_spec_packet 238 unsigned long sectors; member in struct:drive_parameters [all...] |
H A D | shared.h | 422 unsigned char setup_sects; /* The size of the setup in sectors */ 691 DOS/Partition table compatibility, and the real number of sectors is 699 /* The number of sectors */ 700 unsigned long sectors; member in struct:geometry 701 /* The total number of sectors */
|
/osnet-11/usr/src/grub/grub-0.97/lib/ |
H A D | device.c | 53 unsigned char sectors; member in struct:hd_geometry 170 geom->sectors = hdg.sectors; 194 geom->sectors = tmp; 196 geom->sectors = 63; 208 / geom->sectors); 223 geom->sectors = hdg.d_nsectors; 238 geom->sectors = dkg.dkg_nsect; 261 geom->sectors = DEFAULT_HD_SECTORS; 267 geom->sectors [all...] |
/osnet-11/usr/src/grub/grub2/include/grub/ |
H A D | ata.h | 119 grub_uint8_t sectors; member in union:__anon703::__anon704::__anon706 168 high sectors. In that case use LBA48. */
|
/osnet-11/usr/src/lib/libfdisk/common/ |
H A D | libfdisk.c | 547 * ascending order of their beginning sectors. 928 * | | sectors | x 942 * numsec - new size, in sectors 1165 uint32_t sectors = epp->disk_geom.virt_sec; local 1169 if (lba >= heads * sectors * MAX_CYL) { 1178 cy = lba / sectors / heads; 1179 hd = lba / sectors % heads; 1180 sc = lba % sectors + 1; 1192 if (lba >= heads * sectors * MAX_CYL) { 1197 cy = lba / sectors / head [all...] |
/osnet-11/usr/src/grub/grub2/grub-core/fs/ |
H A D | iso9660.c | 120 grub_uint8_t sectors; member in struct:grub_iso9660_path
|
H A D | btrfs.c | 1616 grub_disk_addr_t **sectors) 1630 *sectors = grub_malloc (*nsectors * sizeof (**sectors)); 1631 if (!*sectors) 1634 (*sectors)[i] = i + 1; 1613 grub_btrfs_embed(grub_device_t device __attribute__ ((unused)), unsigned int *nsectors, grub_embed_type_t embed_type, grub_disk_addr_t **sectors) argument
|
/osnet-11/usr/src/grub/grub2/grub-core/kern/emu/ |
H A D | hostdisk.c | 67 unsigned char sectors; member in struct:hd_geometry 649 /* Cache of partition start sectors for each disk. */ 1023 sectors that are read together with the MBR in one read. It 2059 grub_util_info ("Partition %d starts from %llu%s and is %llu sectors in length",
|
/osnet-11/usr/src/lib/libparted/common/libparted/labels/ |
H A D | dos.c | 134 uint32_t length; /* 0c: nr of sectors in partition */ 345 PedSector c; /* not measured in sectors, but need */ 360 return (c * bios_geom->heads + h) * bios_geom->sectors + s; 375 real_c = sector / (bios_geom->heads * bios_geom->sectors); 376 real_h = (sector / bios_geom->sectors) % bios_geom->heads; 377 real_s = sector % bios_geom->sectors; 382 real_s = bios_geom->sectors - 1; 482 int sectors; local 513 sectors = buf[0x18] + (buf[0x19] << 8); 516 if (sectors < 575 PedSector cylinders, heads, sectors; local [all...] |
/osnet-11/usr/src/grub/grub2/grub-core/fs/zfs/ |
H A D | zfs.c | 4744 grub_disk_addr_t **sectors) 4758 *sectors = grub_malloc (*nsectors * sizeof (**sectors)); 4759 if (!*sectors) 4762 (*sectors)[i] = i + (VDEV_BOOT_OFFSET >> GRUB_DISK_SECTOR_BITS); 4741 grub_zfs_embed(grub_device_t device __attribute__ ((unused)), unsigned int *nsectors, grub_embed_type_t embed_type, grub_disk_addr_t **sectors) argument
|