Lines Matching refs:curent
47 static int curent, bootonce; variable
71 slba = curent / entries_per_sec; in gptupdate()
110 curent = part - 1; in gptfind()
114 firsttry = (curent == -1); in gptfind()
115 curent++; in gptfind()
116 if (curent >= gpthdr->hdr_entries) { in gptfind()
117 curent = gpthdr->hdr_entries; in gptfind()
125 for (; curent < gpthdr->hdr_entries; curent++) { in gptfind()
126 ent = &gpttable[curent]; in gptfind()
137 curent = 0; in gptfind()
139 for (; curent < gpthdr->hdr_entries; curent++) { in gptfind()
140 ent = &gpttable[curent]; in gptfind()
155 for (curent = 0; curent < gpthdr->hdr_entries; curent++) { in gptfind()
156 ent = &gpttable[curent]; in gptfind()
165 dskp->part = curent + 1; in gptfind()
166 ent = &gpttable[curent]; in gptfind()
174 table_primary[curent].ent_attr &= ~GPT_ENT_ATTR_BOOTME; in gptfind()
178 table_backup[curent].ent_attr &= ~GPT_ENT_ATTR_BOOTME; in gptfind()
218 if (!(gpttable[curent].ent_attr & GPT_ENT_ATTR_BOOTONCE)) in gptbootfailed()
222 table_primary[curent].ent_attr &= ~GPT_ENT_ATTR_BOOTONCE; in gptbootfailed()
223 table_primary[curent].ent_attr |= GPT_ENT_ATTR_BOOTFAILED; in gptbootfailed()
227 table_backup[curent].ent_attr &= ~GPT_ENT_ATTR_BOOTONCE; in gptbootfailed()
228 table_backup[curent].ent_attr |= GPT_ENT_ATTR_BOOTFAILED; in gptbootfailed()
331 curent = -1; in gptread()