Home
last modified time | relevance | path

Searched refs:drive_size (Results 1 – 20 of 20) sorted by relevance

/external/vboot_reference/host/include/
Dcgpt_params.h18 uint64_t drive_size; member
25 uint64_t drive_size; member
48 uint64_t drive_size; member
60 uint64_t drive_size; member
66 uint64_t drive_size; member
74 uint64_t drive_size; member
86 uint64_t drive_size; member
110 uint64_t drive_size; member
/external/vboot_reference/cgpt/
Dcgpt_wrapper.c87 uint64_t drive_size = 0; in wrap_cgpt() local
88 if (GetMtdSize(mtd_device, &drive_size) != 0) { in wrap_cgpt()
116 snprintf(size, sizeof(size), "%" PRIu64, drive_size); in wrap_cgpt()
Dcgpt_find.c157 if (CGPT_OK != DriveOpen(fileName, &drive, O_RDONLY, params->drive_size)) in do_search()
258 if (params->drive_size == 0) { in scan_real_devs()
259 if (GetMtdSize("/dev/mtd0", &params->drive_size) != 0) { in scan_real_devs()
Dcgpt_boot.c24 params->drive_size)) in CgptGetBootPartitionNumber()
78 params->drive_size)) { in CgptBoot()
Dcgpt_add.c179 params->drive_size)) in CgptSetAttributes()
217 params->drive_size)) in CgptGetPartitionDetails()
304 params->drive_size)) in CgptAdd()
Dcmd_repair.c39 params.drive_size = strtoull(optarg, &e, 0); in cmd_repair()
Dcgpt_repair.c19 params->drive_size)) in CgptRepair()
Dcmd_legacy.c39 params.drive_size = strtoull(optarg, &e, 0); in cmd_legacy()
Dcmd_create.c41 params.drive_size = strtoull(optarg, &e, 0); in cmd_create()
Dcmd_boot.c45 params.drive_size = strtoull(optarg, &e, 0); in cmd_boot()
Dcmd_show.c54 params.drive_size = strtoull(optarg, &e, 0); in cmd_show()
Dcgpt_legacy.c19 params->drive_size)) in CgptLegacy()
Dcmd_prioritize.c54 params.drive_size = strtoull(optarg, &e, 0); in cmd_prioritize()
Dcmd_find.c82 params.drive_size = strtoull(optarg, &e, 0); in cmd_find()
Dcgpt_create.c112 params->drive_size)) in CgptCreate()
Dcmd_add.c53 params.drive_size = strtoull(optarg, &e, 0); in cmd_add()
Dcgpt_common.c290 uint64_t drive_size) { in DriveOpen() argument
318 if (drive_size == 0) { in DriveOpen()
322 drive->size = drive_size; in DriveOpen()
976 params->drive_size)) in CgptGetNumNonEmptyPartitions()
Dcgpt.h62 uint64_t drive_size);
Dcgpt_prioritize.c110 params->drive_size)) in CgptPrioritize()
Dcgpt_show.c341 params->drive_size)) in CgptShow()