Lines Matching refs:magic
9 struct _aarch64_ctx *get_header(struct _aarch64_ctx *head, uint32_t magic, in get_header() argument
19 head->magic != magic && head->magic) { in get_header()
23 if (head->magic == magic) { in get_header()
42 if (!term || term->magic || term->size) { in validate_extra_context()
145 char magic[4]; in validate_reserved() local
158 switch (head->magic) { in validate_reserved()
238 memcpy(magic, &head->magic, sizeof(magic)); in validate_reserved()
239 for (i = 0; i < sizeof(magic); i++) in validate_reserved()
240 if (!isalnum(magic[i])) in validate_reserved()
241 magic[i] = '?'; in validate_reserved()
245 head->magic, in validate_reserved()
246 magic[3], magic[2], magic[1], magic[0]); in validate_reserved()