Lines Matching refs:head
114 const struct sof_ext_man_header *head;
116 head = (struct sof_ext_man_header *)fw->data;
120 * it prevents from reading unallocated memory from `head` in following
123 if (fw->size < sizeof(*head))
130 if (head->magic == SOF_EXT_MAN_MAGIC_NUMBER)
131 return head->full_size;
135 head->magic);
143 const struct sof_ext_man_header *head;
149 head = (struct sof_ext_man_header *)fw->data;
150 remaining = head->full_size - head->header_size;
161 head->header_version)) {
164 head->header_version, SOF_EXT_MAN_VERSION);
169 iptr = (uintptr_t)fw->data + head->header_size;