• Home
  • Raw
  • Download

Lines Matching refs:secondary

705 GptEntry *GetEntry(GptData *gpt, int secondary, uint32_t entry_index) {  in GetEntry()  argument
712 if (secondary == PRIMARY) { in GetEntry()
714 } else if (secondary == SECONDARY) { in GetEntry()
717 require(secondary == ANY_VALID); in GetEntry()
729 void SetPriority(struct drive *drive, int secondary, uint32_t entry_index, in SetPriority() argument
733 entry = GetEntry(&drive->gpt, secondary, entry_index); in SetPriority()
737 int GetPriority(struct drive *drive, int secondary, uint32_t entry_index) { in GetPriority() argument
739 entry = GetEntry(&drive->gpt, secondary, entry_index); in GetPriority()
743 void SetTries(struct drive *drive, int secondary, uint32_t entry_index, in SetTries() argument
747 entry = GetEntry(&drive->gpt, secondary, entry_index); in SetTries()
751 int GetTries(struct drive *drive, int secondary, uint32_t entry_index) { in GetTries() argument
753 entry = GetEntry(&drive->gpt, secondary, entry_index); in GetTries()
757 void SetSuccessful(struct drive *drive, int secondary, uint32_t entry_index, in SetSuccessful() argument
761 entry = GetEntry(&drive->gpt, secondary, entry_index); in SetSuccessful()
765 int GetSuccessful(struct drive *drive, int secondary, uint32_t entry_index) { in GetSuccessful() argument
767 entry = GetEntry(&drive->gpt, secondary, entry_index); in GetSuccessful()
771 void SetRaw(struct drive *drive, int secondary, uint32_t entry_index, in SetRaw() argument
774 entry = GetEntry(&drive->gpt, secondary, entry_index); in SetRaw()
787 int IsUnused(struct drive *drive, int secondary, uint32_t index) { in IsUnused() argument
789 entry = GetEntry(&drive->gpt, secondary, index); in IsUnused()
793 int IsKernel(struct drive *drive, int secondary, uint32_t index) { in IsKernel() argument
795 entry = GetEntry(&drive->gpt, secondary, index); in IsKernel()