HomeSort by relevance Sort by last modified time
    Searched refs:sector_bytes (Results 1 - 13 of 13) sorted by null

  /external/vboot_reference/firmware/lib/
gpt_misc.c 19 * The sector_bytes and gpt_drive_sectors fields should be filled on input. The
33 gptdata->primary_header = (uint8_t *)VbExMalloc(gptdata->sector_bytes);
35 (uint8_t *)VbExMalloc(gptdata->sector_bytes);
59 / gptdata->sector_bytes;
84 / gptdata->sector_bytes;
109 uint64_t entries_sectors = entries_bytes / gptdata->sector_bytes;
222 return GptGetEntrySizeLba(e) * gpt->sector_bytes;
vboot_kernel.c 118 gpt.sector_bytes = (uint32_t)blba;
  /external/vboot_reference/cgpt/
cgpt_create.c 29 drive->gpt.sector_bytes * GPT_HEADER_SECTORS);
31 drive->gpt.sector_bytes * GPT_HEADER_SECTORS);
63 (GPT_PMBR_SECTORS + GPT_HEADER_SECTORS) * drive->gpt.sector_bytes;
67 (drive->gpt.gpt_drive_sectors / 2) * drive->gpt.sector_bytes;
cgpt_common.c 65 const uint64_t sector_bytes,
71 if (!sector_count || !sector_bytes) {
72 Error("%s() failed at line %d: sector_count=%ld, sector_bytes=%ld\n",
73 __FUNCTION__, __LINE__, sector_count, sector_bytes);
76 /* Make sure that sector_bytes * sector_count doesn't roll over. */
77 if (sector_bytes > (UINT64_MAX / sector_count)) {
78 Error("%s() failed at line %d: sector_count=%d, sector_bytes=%d\n",
79 __FUNCTION__, __LINE__, sector_count, sector_bytes);
82 count = sector_bytes * sector_count;
86 if (-1 == lseek(drive->fd, sector * sector_bytes, SEEK_SET))
291 uint32_t sector_bytes; local
    [all...]
cgpt_legacy.c 33 memset(drive.gpt.primary_entries, 0, drive.gpt.sector_bytes);
cgpt.h 73 * sector_bytes -- bytes per sector
80 const uint64_t sector_bytes,
88 * sector_bytes -- bytes per sector
95 const uint64_t sector_bytes,
  /external/vboot_reference/tests/
vboot_kernel_tests.c 298 g.sector_bytes = MOCK_SECTOR_SIZE;
313 Memset(g.primary_header, '\0', g.sector_bytes);
429 Memset(g.primary_header, '\0', g.sector_bytes);
443 Memset(g.primary_header, '\0', g.sector_bytes);
471 Memset(g.primary_header, '\0', g.sector_bytes);
477 Memset(g.primary_header, '\0', g.sector_bytes);
483 Memset(g.primary_header, '\0', g.sector_bytes);
489 Memset(g.primary_header, '\0', g.sector_bytes);
497 Memset(g.primary_header, '\0', g.sector_bytes);
504 Memset(g.primary_header, '\0', g.sector_bytes);
    [all...]
cgptlib_test.c 20 * Testing partition layout (sector_bytes=512)
152 gpt->sector_bytes = DEFAULT_SECTOR_SIZE;
227 gpt->sector_bytes = 0;
233 * Test if wrong sector_bytes or drive_sectors is detected by GptInit().
242 uint32_t sector_bytes; member in struct:__anon43256
259 gpt->sector_bytes = cases[i].sector_bytes;
835 gpt->sector_bytes = 1024;
    [all...]
  /external/vboot_reference/firmware/include/
gpt_misc.h 92 uint32_t sector_bytes; member in struct:__anon43239
124 * sector_bytes
150 * Allocate and read GPT data from the drive. The sector_bytes and
  /bionic/libc/kernel/uapi/linux/
hdreg.h 310 unsigned short sector_bytes; member in struct:hd_driveid
  /external/kernel-headers/original/uapi/linux/
hdreg.h 405 unsigned short sector_bytes; /* unformatted bytes per sector */ member in struct:hd_driveid
  /prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/sysroot/usr/include/linux/
hdreg.h 391 unsigned short sector_bytes; /* unformatted bytes per sector */ member in struct:hd_driveid
  /external/vboot_reference/firmware/lib/cgptlib/
cgptlib_internal.c 26 if (gpt->sector_bytes != SECTOR_SIZE)

Completed in 612 milliseconds