/external/grub/stage2/ |
fat.h | 41 __u8 sects_per_clust;/* sectors/cluster */ 42 __u8 reserved_sects[2]; /* reserved sectors */ 45 __u8 short_sectors[2]; /* number of sectors */ 47 __u16 fat_length; /* sectors/FAT */ 48 __u16 secs_track; /* sectors per track */ 50 __u32 hidden; /* hidden sectors (unused) */ 51 __u32 long_sectors; /* number of sectors (if short_sectors == 0) */ 54 __u32 fat32_length; /* sectors/FAT */
|
bios.c | 35 unsigned long *sectors); 40 unsigned long *sectors); 45 /* Read/write NSEC sectors starting from SECTOR in DRIVE disk with GEOMETRY 68 BIOSes don't return the number of total sectors correctly, 97 * geometry->sectors); 110 sector_offset = sector % geometry->sectors + 1; 111 head = sector / geometry->sectors; 143 unsigned char sectors; 160 geometry->sectors = 15; 170 + (((unsigned int) (cdrp.sectors & 0xC0)) << 2)) 141 unsigned char sectors; member in struct:iso_spec_packet 214 unsigned long sectors; member in struct:drive_parameters [all...] |
size_test | 38 # The bootloader area of a FFS partition is 14 sectors. 43 # Stage 1.5 can be installed in the sectors immediately after MBR in the 44 # first cylinder, so the size is (63 - 1) sectors.
|
start.S | 82 /* check the number of sectors to read */ 104 cmpw %ax, 4(%di) /* compare against total number of sectors */ 124 /* the number of sectors */ 147 * BIOS call "INT 0x13 Function 0x42" to read sectors from disk into memory 170 /* divide by number of sectors */ 190 movw (%si), %ax /* get number of sectors per track/head */ 196 cmpw %ax, 4(%di) /* compare against total number of sectors */ 222 incb %cl /* normalize sector (sectors go 237 * BIOS call "INT 0x13 Function 0x2" to read sectors from disk into memory 239 * %al = number of sectors [all...] |
start_eltorito.S | 102 shr $ISO_SECTOR_BITS, %eax /* dwords->sectors */ 103 mov %ax, %bp /* boot file sectors */ 125 * Get linear sectors - EBIOS LBA addressing, 2048-byte sectors. 129 * to 16 sectors (32K) per request. 155 movzwl 2(%si), %eax /* Sectors we read */ 157 sub %ax, %bp /* Sectors left */ 158 shl $(ISO_SECTOR_BITS-4), %ax /* 2048-byte sectors -> segment */ 294 .word 16 /* Max sectors per transfer (32Kb) */ 302 * in size easily), and the lists of sectors to read, which grows dow [all...] |
/external/fsck_msdos/ |
dosfs.h | 50 u_int SecPerClust; /* sectors per cluster */ 51 u_int ResSectors; /* number of reserved sectors */ 55 u_int FATsmall; /* number of sectors per FAT */ 56 u_int SecPerTrack; /* sectors per track */ 58 u_int32_t Sectors; /* total number of sectors */ 59 u_int32_t HiddenSecs; /* # of hidden sectors */ 60 u_int32_t HugeSectors; /* # of sectors if bpbSectors == 0 */ 77 u_int32_t NumSectors; /* how many sectors are there */ 78 u_int32_t FATsecs; /* how many sectors are in FAT * [all...] |
/prebuilt/linux-x86/toolchain/i686-linux-glibc2.7-4.4.3/sysroot/usr/include/linux/ |
genhd.h | 57 unsigned int nr_sects; /* nr of sectors in partition */ 109 __u32 d_nsectors; /* # of data sectors per track */ 112 __u32 d_secpercyl; /* # of data sectors per cylinder */ 113 __u32 d_secperunit; /* # of data sectors per unit */ 114 __u16 d_sparespertrack; /* # of spare sectors per track */ 115 __u16 d_sparespercyl; /* # of spare sectors per cylinder */ 136 __le32 p_size; /* number of sectors in partition */ 162 __le32 nr_sects; /* number of sectors in slice */ 172 __le32 d_nsectors; /* # of data sectors per track */ 180 __le32 d_phys_sec; /* # of physical sectors per track * [all...] |
msdos_fs.h | 117 __u8 sec_per_clus; /* sectors/cluster */ 118 __le16 reserved; /* reserved sectors */ 121 __u8 sectors[2]; /* number of sectors */ member in struct:fat_boot_sector 123 __le16 fat_length; /* sectors/FAT */ 124 __le16 secs_track; /* sectors per track */ 126 __le32 hidden; /* hidden sectors (unused) */ 127 __le32 total_sect; /* number of sectors (if sectors == 0) */ 130 __le32 fat32_length; /* sectors/FAT * [all...] |
/external/qemu/block/ |
vpc.c | 254 // We must ensure that we don't write to any sectors which are marked as 326 * Returns the sectors' offset in the image file on success and < 0 on error 378 int64_t sectors, sectors_per_block; local 384 sectors = sectors_per_block - (sector_num % sectors_per_block); 385 if (sectors > nb_sectors) { 386 sectors = nb_sectors; 390 memset(buf, 0, sectors * BDRV_SECTOR_SIZE); 393 sectors * BDRV_SECTOR_SIZE); 394 if (ret != sectors * BDRV_SECTOR_SIZE) { 399 nb_sectors -= sectors; 411 int64_t sectors, sectors_per_block; local [all...] |
dmg.c | 31 /* each chunk contains a certain number of sectors, 34 * sectors[i] is the sector beginning at offsets[i], 35 * sectorcounts[i] is the number of sectors in that chunk, 36 * the sectors array is ordered 43 uint64_t* sectors; member in struct:BDRVDMGState 85 s->offsets = s->lengths = s->sectors = s->sectorcounts = NULL; 133 s->sectors = qemu_realloc(s->sectors, new_size); 142 last_out_offset = s->sectors[i-1]+s->sectorcounts[i-1]; 151 s->sectors[i] = last_out_offset+read_off(bs, offset) [all...] |
/development/samples/GlobalTime/src/com/android/globaltime/ |
Annulus.java | 45 * @param sectors the number of sectors used to approximate curvature 51 int sectors) { 55 int radii = sectors + 1; 89 for (int i = 0; i < sectors; i++) {
|
/external/blktrace/btt/ |
seek.c | 26 long long sectors; member in struct:seek_bkt 62 static void __insert(struct rb_root *root, long long sectors) 71 if (sectors < sbp->sectors) 73 else if (sectors > sbp->sectors) 83 sbp->sectors = sectors; 145 *rvp = sbp->sectors; 181 mp->modes[mp->nmds++] = sbp->sectors; [all...] |
/external/kernel-headers/original/linux/ |
genhd.h | 52 unsigned int nr_sects; /* nr of sectors in partition */ 74 __le32 nr_sects; /* nr of sectors in partition */ 82 unsigned ios[2], sectors[2]; /* READs and WRITEs */ member in struct:hd_struct 93 unsigned long sectors[2]; /* READs and WRITEs */ member in struct:disk_stats 299 __u32 d_nsectors; /* # of data sectors per track */ 302 __u32 d_secpercyl; /* # of data sectors per cylinder */ 303 __u32 d_secperunit; /* # of data sectors per unit */ 304 __u16 d_sparespertrack; /* # of spare sectors per track */ 305 __u16 d_sparespercyl; /* # of spare sectors per cylinder */ 326 __le32 p_size; /* number of sectors in partition * [all...] |
/sdk/emulator/mksdcard/ |
mksdcard.c | 105 disk_size -= RESERVED_SECTORS * BYTES_PER_SECTOR; /* don't count 32 reserved sectors */ 106 disk_size /= BYTES_PER_SECTOR; /* disk size in sectors */ 129 POKEB( boot + 0xd, sectors_per_cluster ); /* sectors per cluster */ 130 POKES( boot + 0xe, RESERVED_SECTORS ); /* reserved sectors before first FAT */ 133 POKES( boot + 0x13, 0 ); /* total sectors, 0 to use 32-bit value at offset 0x20 */ 135 POKES( boot + 0x16, 0 ); /* Sectors per FAT for FAT12/16, 0 for FAT32 */ 136 POKES( boot + 0x18, 9 ); /* Sectors per track (whatever) */ 138 POKEW( boot + 0x1c, 0 ); /* Hidden sectors */ 139 POKEW( boot + 0x20, sectors_per_disk ); /* Total sectors */ 142 POKEW( boot + 0x24, sectors_per_fat ); /* Sectors per FAT * [all...] |
/external/qemu-pc-bios/bochs/bios/ |
notes | 10 out 1f2, AL # number of sectors 17 out 1f7, 0x20 # read sectors command normal 32 reads sectors into sector buffer
|
/external/valgrind/main/coregrind/ |
m_transtab.c | 60 /* Number of sectors the TC is divided into. If you need a larger 190 /* The root data structure is an array of sectors. The index of the 202 static Sector sectors[N_SECTORS]; variable 607 /* Check that the number of listed sectors equals the number 610 if (sectors[i].tc != NULL) 624 sec = §ors[sno]; 757 sec = §ors[sno]; 952 if (sectors[y].tc == NULL) 959 tcAvailQ = ((ULong*)(§ors[y].tc[tc_sector_szQ])) 960 - ((ULong*)(sectors[y].tc_next)) [all...] |
/bionic/libc/kernel/common/linux/mtd/ |
nftl.h | 32 unsigned char sectors; member in struct:NFTLrecord
|
/development/ndk/platforms/android-3/include/linux/mtd/ |
nftl.h | 32 unsigned char sectors; member in struct:NFTLrecord
|
/prebuilt/ndk/android-ndk-r4/platforms/android-3/arch-arm/usr/include/linux/mtd/ |
nftl.h | 32 unsigned char sectors; member in struct:NFTLrecord
|
/prebuilt/ndk/android-ndk-r4/platforms/android-4/arch-arm/usr/include/linux/mtd/ |
nftl.h | 32 unsigned char sectors; member in struct:NFTLrecord
|
/prebuilt/ndk/android-ndk-r4/platforms/android-5/arch-arm/usr/include/linux/mtd/ |
nftl.h | 32 unsigned char sectors; member in struct:NFTLrecord
|
/prebuilt/ndk/android-ndk-r4/platforms/android-5/arch-x86/usr/include/linux/mtd/ |
nftl.h | 32 unsigned char sectors; member in struct:NFTLrecord
|
/prebuilt/ndk/android-ndk-r4/platforms/android-8/arch-arm/usr/include/linux/mtd/ |
nftl.h | 32 unsigned char sectors; member in struct:NFTLrecord
|
/prebuilt/ndk/android-ndk-r4/platforms/android-8/arch-x86/usr/include/linux/mtd/ |
nftl.h | 32 unsigned char sectors; member in struct:NFTLrecord
|
/prebuilt/ndk/android-ndk-r5/platforms/android-3/arch-arm/usr/include/linux/mtd/ |
nftl.h | 32 unsigned char sectors; member in struct:NFTLrecord
|