Lines Matching full:extra
9 bool validate_extra_context(struct extra_context *extra, char **err, in validate_extra_context() argument
14 if (!extra || !err) in validate_extra_context()
17 fprintf(stderr, "Validating EXTRA...\n"); in validate_extra_context()
18 term = GET_RESV_NEXT_HEAD(&extra->head); in validate_extra_context()
20 *err = "Missing terminator after EXTRA context"; in validate_extra_context()
23 if (extra->datap & 0x0fUL) in validate_extra_context()
24 *err = "Extra DATAP misaligned"; in validate_extra_context()
25 else if (extra->size & 0x0fUL) in validate_extra_context()
26 *err = "Extra SIZE misaligned"; in validate_extra_context()
27 else if (extra->datap != (uint64_t)term + 0x10UL) in validate_extra_context()
28 *err = "Extra DATAP misplaced (not contiguous)"; in validate_extra_context()
32 *extra_data = (void *)extra->datap; in validate_extra_context()
33 *extra_size = extra->size; in validate_extra_context()
114 struct extra_context *extra = NULL; in validate_reserved() local
140 /* End of main data, walking the extra data */ in validate_reserved()
208 extra = (struct extra_context *)head; in validate_reserved()
249 if (!validate_extra_context(extra, err, in validate_reserved()