Lines Matching refs:mem_ptr
2753 if (entry->mem_ptr) { in mwifiex_sdio_fw_dump()
2754 vfree(entry->mem_ptr); in mwifiex_sdio_fw_dump()
2755 entry->mem_ptr = NULL; in mwifiex_sdio_fw_dump()
2811 entry->mem_ptr = vmalloc(memory_size + 1); in mwifiex_sdio_fw_dump()
2813 if (!entry->mem_ptr) { in mwifiex_sdio_fw_dump()
2818 dbg_ptr = entry->mem_ptr; in mwifiex_sdio_fw_dump()
2851 entry->mem_name, dbg_ptr - entry->mem_ptr); in mwifiex_sdio_fw_dump()
2874 if (entry->mem_ptr) { in mwifiex_sdio_generic_fw_dump()
2875 vfree(entry->mem_ptr); in mwifiex_sdio_generic_fw_dump()
2876 entry->mem_ptr = NULL; in mwifiex_sdio_generic_fw_dump()
2911 entry->mem_ptr = vmalloc(0xf0000 + 1); in mwifiex_sdio_generic_fw_dump()
2912 if (!entry->mem_ptr) { in mwifiex_sdio_generic_fw_dump()
2916 dbg_ptr = entry->mem_ptr; in mwifiex_sdio_generic_fw_dump()
2943 memcpy(tmp_ptr, entry->mem_ptr, in mwifiex_sdio_generic_fw_dump()
2945 vfree(entry->mem_ptr); in mwifiex_sdio_generic_fw_dump()
2946 entry->mem_ptr = tmp_ptr; in mwifiex_sdio_generic_fw_dump()
2948 dbg_ptr = entry->mem_ptr + entry->mem_size; in mwifiex_sdio_generic_fw_dump()
2950 end_ptr = entry->mem_ptr + entry->mem_size; in mwifiex_sdio_generic_fw_dump()
2954 entry->mem_size = dbg_ptr - entry->mem_ptr; in mwifiex_sdio_generic_fw_dump()
2966 if (entry->mem_ptr) { in mwifiex_sdio_generic_fw_dump()
2967 vfree(entry->mem_ptr); in mwifiex_sdio_generic_fw_dump()
2968 entry->mem_ptr = NULL; in mwifiex_sdio_generic_fw_dump()