/external/syslinux/libfat/ |
libfat.h | 33 libfat_sector_t sector; member in struct:libfat_direntry 56 * sector number. Return -1 on failure. 62 * Get the next sector of either the root directory or a FAT chain. 74 * Get a pointer to a specific sector.
|
/external/vboot_reference/firmware/stub/ |
vboot_api_stub_stream.c | 17 /* Internal struct to simulate a stream for sector-based disks */ 22 /* Next sector to read */ 23 uint64_t sector; member in struct:disk_stream 41 s->sector = lba_start; 67 rv = VbExDiskRead(s->handle, s->sector, sectors, buffer); 71 s->sector += sectors;
|
/external/f2fs-tools/lib/ |
libf2fs_zoned.c | 114 u_int64_t sector; local 125 sector = 0; 128 while (sector < total_sectors) { 132 rep->sector = sector; 147 for (i = 0; i < rep->nr_zones && sector < total_sectors; i++) { 162 "Zone %05u: Conventional, cond 0x%x (%s), sector %llu, %llu sectors\n", 171 "non_seq %d, sector %llu, %llu sectors, wp sector %llu\n", 184 sector = blk_zone_sector(blkz) + blk_zone_length(blkz) 222 u_int64_t sector; local [all...] |
/external/blktrace/btreplay/ |
btrecord.h | 42 * @sector: Sector number of IO 47 __u64 sector; member in struct:io_pkt
|
btrecord.c | 65 * @sector: IO sector identifier 71 __u64 sector; member in struct:io_spec 274 .sector = spec->sector, 513 spec->sector = t.sector; 520 spec->sector = be64_to_cpu(t.sector); 549 iip->cpu, (long long unsigned)spec->sector, [all...] |
/bionic/libc/kernel/uapi/linux/ |
blkzoned.h | 49 __u64 sector; member in struct:blk_zone_report 55 __u64 sector; member in struct:blk_zone_range
|
virtio_blk.h | 71 __virtio64 sector; member in struct:virtio_blk_outhdr
|
blktrace_api.h | 96 __u64 sector; member in struct:blk_io_trace
|
dm-ioctl.h | 64 __u64 sector; member in struct:dm_target_msg
|
/device/google/contexthub/util/stm32_flash/ |
flash.c | 83 int sector = -1; local 102 printf(" -e <sector> (sector to erase)\n"); 119 sector = strtol(optarg, NULL, 0); 199 if (sector >= 0) { 200 printf("Erasing sector %d\n", sector); 201 ret = erase_sector(handle, sector);
|
/external/gptfdisk/ |
mbrpart.cc | 190 // CHS last sector value, as per the GPT spec. (Set to 0xffffff, 261 uint64_t cylinder, head, sector; // all numbered from 0 local 285 sector = remainder; 290 if (sector < numSecspTrack) { 291 chs[1] = (uint8_t) ((sector + 1) + (cylinder >> 8) * 64);
|
gpttext.cc | 184 uint64_t firstBlock, firstInLargest, lastBlock, sector, origSector; local 211 prompt2 << "First sector (" << firstBlock << "-" << lastBlock << ", default = " 214 sector = GetSectorNum(firstBlock, lastBlock, firstInLargest, blockSize, prompt2.str()); 215 } while (IsFree(sector) == 0); 216 origSector = sector; 217 if (Align(§or)) { 218 cout << "Information: Moved requested sector from " << origSector << " to " 219 << sector << " in\norder to align on " << sectorAlignment 220 << "-sector boundaries.\n"; 224 // Align(§or); // Align sector to correct multipl [all...] |
/external/kernel-headers/original/uapi/linux/ |
blkzoned.h | 79 * @start: Zone start in 512 B sector units 80 * @len: Zone length in 512 B sector units 81 * @wp: Zone write pointer location in 512 B sector units 89 * start, len and wp use the regular 512 B sector unit, regardless of the 95 __u64 start; /* Zone start sector */ 108 * @sector: starting sector of report 116 __u64 sector; member in struct:blk_zone_report 124 * @sector: starting sector of the first zone to issue reset write pointe 128 __u64 sector; member in struct:blk_zone_range [all...] |
virtio_blk.h | 132 /* Sector (ie. 512 byte offset) */ 133 __virtio64 sector; member in struct:virtio_blk_outhdr
|
/external/stressapptest/src/ |
disk_blocks.cc | 196 int64 sector = 0; local 201 "for sector data for disk %s.\n", device_name_.c_str()); 206 // Align the first sector with the beginning of a write block 211 // sector in the block from. 213 sector = (Random64() & 0x7FFFFFFFFFFFFFFFLL) % ( 215 sector *= num_sectors; 217 sector = (Random64() & 0x7FFFFFFFFFFFFFFFLL) % ( 219 sector *= num_sectors; 220 sector += segment * segment_size_; 222 if (sector + num_sectors > (segment + 1) * segment_size_) [all...] |
/external/autotest/client/tests/disktest/src/ |
disktest.c | 21 unsigned int sector; member in struct:pattern 51 * Fill a block with it's own sector number 56 unsigned int i, sec_offset, sector; local 61 sector = (block * sectors_per_block) + sec_offset; 65 sector_buffer[i].sector = sector; 79 * Verify a block contains the correct signature and sector numbers for 80 * each sector within that block. We check every copy within the sector 87 unsigned int sec_offset, sector; local [all...] |
/external/e2fsprogs/lib/ext2fs/ |
dosio.h | 33 unsigned short sector; member in struct:__anon19036 34 unsigned short offset; /* Offset of byte within the sector */
|
/external/syslinux/gpxe/src/arch/i386/image/ |
eltorito.c | 55 /** Boot catalog sector */ 56 uint32_t sector; member in struct:eltorito_vol_desc 97 /** Sector count */ 99 /** Starting sector */ 193 offsetof ( typeof ( vol_desc ), sector ) ) != 0 ) { 198 *catalog_offset = ( vol_desc.sector * ISO9660_BLKSIZE );
|
/external/syslinux/gpxe/src/arch/i386/interface/pcbios/ |
int13.c | 127 * @v cl (bits 5:0) Sector number 141 unsigned int cylinder, head, sector; local 159 sector = ( ix86->regs.cl & 0x3f ); 160 assert ( ( sector >= 1 ) && ( sector <= drive->sectors_per_track ) ); 162 * drive->sectors_per_track ) + sector - 1 ); 167 head, sector, lba, ix86->segs.es, ix86->regs.bx, count ); 185 * @v cl (bits 5:0) Sector number 204 * @v cl (bits 5:0) Sector number 223 * @ret cl (bits 5:0) Maximum sector numbe [all...] |
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/sysroot/usr/include/linux/ |
virtio_blk.h | 107 /* Sector (ie. 512 byte offset) */ 108 __u64 sector; member in struct:virtio_blk_outhdr
|
dm-ioctl.h | 211 __u64 sector; /* Device sector */ member in struct:dm_target_msg
|
/system/core/libdiskconfig/include/diskconfig/ |
diskconfig.h | 58 uint8_t sector; member in struct:chs 92 int sect_size; /* expected sector size in bytes. MUST BE POWER OF 2 */
|
/external/syslinux/win/ |
syslinux.c | 111 unsigned char sector[SECTOR_SIZE]; local 116 "Error: Sector size of this drive is %d; must be %d\n", 122 if (ReadFile(drive, sector, sizeof(sector), &howMany, NULL) == 0) { 125 } else if (howMany != sizeof(sector)) { 128 (int)howMany, sizeof(sector)); 139 memcpy(sector, syslinux_mbr, syslinux_mbr_len); 145 if (sector[PART_TABLE + (PART_SIZE * (partitionNum - 1))] != 0x80) { 148 sector[PART_TABLE + (PART_SIZE * p)] = 156 if (WriteFile(drive, sector, sizeof(sector), &howMany, NULL) == 0) [all...] |
/external/vboot_reference/host/arch/arm/lib/ |
crossystem_arch.c | 383 uint8_t sector[SECTOR_SIZE]; local 406 rv = read(nvctx_fd, sector, SECTOR_SIZE); 412 Memcpy(vnc->raw, sector+offset, size); 424 uint8_t sector[SECTOR_SIZE]; local 447 rv = read(nvctx_fd, sector, SECTOR_SIZE); 453 Memcpy(sector+offset, vnc->raw, size); 455 rv = write(nvctx_fd, sector, SECTOR_SIZE);
|
/external/blktrace/ |
blktrace_api.h | 99 __u64 sector; /* disk offset */ member in struct:blk_io_trace
|