Lines Matching refs:gpt_
345 const gpt_partition_t* p = gpt_->partitions[i];
393 if ((status = gpt_partition_add(gpt_, name, type, out_guid, offset, blocks, 0))) {
397 if ((status = gpt_device_sync(gpt_))) {
401 if ((status = gpt_partition_clear(gpt_, offset, 1))) {
458 gpt_partition_t* p = gpt_->partitions[i];
484 const gpt_partition_t* p = gpt_->partitions[i];
507 const gpt_partition_t* p = gpt_->partitions[i];
520 if (gpt_partition_remove(gpt_, p->guid)) {
531 gpt_device_sync(gpt_);
590 return gpt_->AddPartition(name, type, minimum_size_bytes,
613 if ((status = gpt_->GetBlockInfo(&info)) != ZX_OK) {
623 return gpt_->FindPartition(filter, out_fd);
626 return gpt_->FindPartition(FvmFilterCallback, out_fd);
643 if ((status = gpt_->GetBlockInfo(&info)) != ZX_OK) {
694 return gpt_->WipePartitions(filter);
700 zx_status_t status = gpt_->GetBlockInfo(&info);
770 return gpt_->AddPartition(name, type, minimum_size_bytes,
781 return gpt_->FindPartition(filter, out_fd);
784 return gpt_->FindPartition(FvmFilterCallback, out_fd);
806 const gpt_partition_t* part = gpt_->GetGpt()->partitions[i];
826 if ((status = gpt_->FindPartition(filter_zircona, &partition, nullptr)) != ZX_OK) {
853 gpt_device_sync(gpt_->GetGpt());
899 return gpt_->WipePartitions(filter);
905 zx_status_t status = gpt_->GetBlockInfo(&info);