Lines Matching defs:data
49 ehdr = (struct elf32_hdr *)fw->data;
84 * Return: pointer to data, or ERR_PTR()
93 void *data;
95 ehdr = (struct elf32_hdr *)fw->data;
110 data = kmalloc(ehdr_size + hash_size, GFP_KERNEL);
111 if (!data)
120 memcpy(data, fw->data, ehdr_size);
121 memcpy(data + ehdr_size, fw->data + hash_offset, hash_size);
125 return data;
154 ehdr = (struct elf32_hdr *)fw->data;
253 memcpy(ptr, fw->data + phdr->p_offset, phdr->p_filesz);