Home | History | Annotate | Download | only in gpt

Lines Matching defs:gpt_size

129     u_int gpt_size __unused, u_int entries)
179 unsigned int i, gpt_size;
238 gpt_size = (u_int)(entries * sizeof(struct gpt_ent) / gpt->secsz);
239 if (gpt_size * sizeof(struct gpt_ent) % gpt->secsz)
240 gpt_size++;
247 firstdata = gpt_size + 2; /* PMBR and GPT header */
248 lastdata = last - gpt_size - 1; /* alt. GPT table and header */
276 if ((secbuf = calloc(gpt_size + 1, gpt->secsz)) == NULL) {
330 if (restore_ent(gpt, gpt_dict, secbuf, gpt_size, entries) == -1)
335 size_t len = gpt_size * gpt->secsz;