Lines Matching full:extra
32 bool validate_extra_context(struct extra_context *extra, char **err, in validate_extra_context() argument
37 if (!extra || !err) in validate_extra_context()
40 fprintf(stderr, "Validating EXTRA...\n"); in validate_extra_context()
41 term = GET_RESV_NEXT_HEAD(&extra->head); in validate_extra_context()
43 *err = "Missing terminator after EXTRA context"; in validate_extra_context()
46 if (extra->datap & 0x0fUL) in validate_extra_context()
47 *err = "Extra DATAP misaligned"; in validate_extra_context()
48 else if (extra->size & 0x0fUL) in validate_extra_context()
49 *err = "Extra SIZE misaligned"; in validate_extra_context()
50 else if (extra->datap != (uint64_t)term + 0x10UL) in validate_extra_context()
51 *err = "Extra DATAP misplaced (not contiguous)"; in validate_extra_context()
55 *extra_data = (void *)extra->datap; in validate_extra_context()
56 *extra_size = extra->size; in validate_extra_context()
137 struct extra_context *extra = NULL; in validate_reserved() local
163 /* End of main data, walking the extra data */ in validate_reserved()
219 extra = (struct extra_context *)head; in validate_reserved()
260 if (!validate_extra_context(extra, err, in validate_reserved()