Lines Matching refs:mem_ptr
2296 if (entry->mem_ptr) { in mwifiex_sdio_fw_dump()
2297 vfree(entry->mem_ptr); in mwifiex_sdio_fw_dump()
2298 entry->mem_ptr = NULL; in mwifiex_sdio_fw_dump()
2354 entry->mem_ptr = vmalloc(memory_size + 1); in mwifiex_sdio_fw_dump()
2356 if (!entry->mem_ptr) { in mwifiex_sdio_fw_dump()
2361 dbg_ptr = entry->mem_ptr; in mwifiex_sdio_fw_dump()
2394 entry->mem_name, dbg_ptr - entry->mem_ptr); in mwifiex_sdio_fw_dump()
2417 if (entry->mem_ptr) { in mwifiex_sdio_generic_fw_dump()
2418 vfree(entry->mem_ptr); in mwifiex_sdio_generic_fw_dump()
2419 entry->mem_ptr = NULL; in mwifiex_sdio_generic_fw_dump()
2454 entry->mem_ptr = vmalloc(0xf0000 + 1); in mwifiex_sdio_generic_fw_dump()
2455 if (!entry->mem_ptr) { in mwifiex_sdio_generic_fw_dump()
2459 dbg_ptr = entry->mem_ptr; in mwifiex_sdio_generic_fw_dump()
2486 memcpy(tmp_ptr, entry->mem_ptr, in mwifiex_sdio_generic_fw_dump()
2488 vfree(entry->mem_ptr); in mwifiex_sdio_generic_fw_dump()
2489 entry->mem_ptr = tmp_ptr; in mwifiex_sdio_generic_fw_dump()
2491 dbg_ptr = entry->mem_ptr + entry->mem_size; in mwifiex_sdio_generic_fw_dump()
2493 end_ptr = entry->mem_ptr + entry->mem_size; in mwifiex_sdio_generic_fw_dump()
2497 entry->mem_size = dbg_ptr - entry->mem_ptr; in mwifiex_sdio_generic_fw_dump()
2509 if (entry->mem_ptr) { in mwifiex_sdio_generic_fw_dump()
2510 vfree(entry->mem_ptr); in mwifiex_sdio_generic_fw_dump()
2511 entry->mem_ptr = NULL; in mwifiex_sdio_generic_fw_dump()