Searched defs:SECTOR_SIZE (Results 1 - 7 of 7) sorted by relevance
/external/gptfdisk/ |
H A D | support.h | 53 #define SECTOR_SIZE UINT32_C(512) macro
|
H A D | diskio-unix.cc | 133 // returns an error condition, print a warning but return a value of SECTOR_SIZE 163 blockSize = SECTOR_SIZE; 170 << SECTOR_SIZE << "\n"; local
|
/external/autotest/client/tests/disktest/src/ |
H A D | disktest.c | 25 #define SECTOR_SIZE 512 macro 26 #define PATTERN_PER_SECTOR (SECTOR_SIZE / sizeof(struct pattern)) 295 sectors_per_block = blocksize / SECTOR_SIZE; 310 if (read(fd, init_buffer, SECTOR_SIZE) != SECTOR_SIZE) {
|
/external/vboot_reference/firmware/lib/cgptlib/ |
H A D | cgptlib_internal.c | 15 const static int SECTOR_SIZE = 512; variable 19 size_t ret = (bytes + SECTOR_SIZE - 1) / SECTOR_SIZE; 26 if (gpt->sector_bytes != SECTOR_SIZE) 47 (SECTOR_SIZE / sizeof(GptEntry)))))
|
/external/vboot_reference/host/arch/arm/lib/ |
H A D | crossystem_arch.c | 49 #define SECTOR_SIZE 512 macro 383 uint8_t sector[SECTOR_SIZE]; 396 if (size != sizeof(vnc->raw) || (size + offset > SECTOR_SIZE)) 404 lseek(nvctx_fd, lba * SECTOR_SIZE, SEEK_SET); 406 rv = read(nvctx_fd, sector, SECTOR_SIZE); 424 uint8_t sector[SECTOR_SIZE]; 437 if (size != sizeof(vnc->raw) || (size + offset > SECTOR_SIZE)) 446 lseek(nvctx_fd, lba * SECTOR_SIZE, SEEK_SET); 447 rv = read(nvctx_fd, sector, SECTOR_SIZE); 454 lseek(nvctx_fd, lba * SECTOR_SIZE, SEEK_SE [all...] |
/external/kernel-headers/original/uapi/linux/ |
H A D | msdos_fs.h | 12 #define SECTOR_SIZE 512 /* sector size (bytes) */ macro 13 #define SECTOR_BITS 9 /* log2(SECTOR_SIZE) */ 16 #define MSDOS_DPS (SECTOR_SIZE / sizeof(struct msdos_dir_entry))
|
/external/toybox/toys/pending/ |
H A D | fdisk.c | 42 #define SECTOR_SIZE 512 macro 361 if (SECTOR_SIZE != readall(dev_fd, MBRbuf, SECTOR_SIZE)) { 376 sector_fac = g_sect_size/SECTOR_SIZE; //512 is hardware sector size. 509 xprintf(", total %lld sectors\n", total_number_sectors/(g_sect_size/SECTOR_SIZE)); 523 g_sect_size = SECTOR_SIZE;
|
Completed in 297 milliseconds