Searched refs:inflate_buffer (Results 1 – 1 of 1) sorted by relevance
1145 void *inflate_buffer; in myri10ge_load_firmware_from_zlib() local1156 inflate_buffer = kmem_zalloc(sram_size, KM_NOSLEEP); in myri10ge_load_firmware_from_zlib()1157 if (!inflate_buffer) { in myri10ge_load_firmware_from_zlib()1165 rv = z_uncompress(inflate_buffer, &destlen, mgp->eth_z8e, in myri10ge_load_firmware_from_zlib()1177 hdr_offset = htonl(*(uint32_t *)(void *)((char *)inflate_buffer + in myri10ge_load_firmware_from_zlib()1179 hdr = (void *)((char *)inflate_buffer + hdr_offset); in myri10ge_load_firmware_from_zlib()1195 (char *)inflate_buffer + i, in myri10ge_load_firmware_from_zlib()1203 kmem_free(inflate_buffer, sram_size); in myri10ge_load_firmware_from_zlib()