Lines Matching refs:fw_dump_ptr
1202 char *fw_dump_ptr; in mwifiex_prepare_fw_dump_info() local
1220 fw_dump_ptr = vzalloc(dump_len + 1 + adapter->devdump_len); in mwifiex_prepare_fw_dump_info()
1222 if (!fw_dump_ptr) { in mwifiex_prepare_fw_dump_info()
1229 memmove(fw_dump_ptr, adapter->devdump_data, in mwifiex_prepare_fw_dump_info()
1232 adapter->devdump_data = fw_dump_ptr; in mwifiex_prepare_fw_dump_info()
1235 fw_dump_ptr = (char *)adapter->devdump_data + adapter->devdump_len; in mwifiex_prepare_fw_dump_info()
1242 strcpy(fw_dump_ptr, "========Start dump "); in mwifiex_prepare_fw_dump_info()
1243 fw_dump_ptr += strlen("========Start dump "); in mwifiex_prepare_fw_dump_info()
1245 strcpy(fw_dump_ptr, entry->mem_name); in mwifiex_prepare_fw_dump_info()
1246 fw_dump_ptr += strlen(entry->mem_name); in mwifiex_prepare_fw_dump_info()
1248 strcpy(fw_dump_ptr, "========\n"); in mwifiex_prepare_fw_dump_info()
1249 fw_dump_ptr += strlen("========\n"); in mwifiex_prepare_fw_dump_info()
1251 memcpy(fw_dump_ptr, entry->mem_ptr, entry->mem_size); in mwifiex_prepare_fw_dump_info()
1252 fw_dump_ptr += entry->mem_size; in mwifiex_prepare_fw_dump_info()
1254 strcpy(fw_dump_ptr, "\n========End dump========\n"); in mwifiex_prepare_fw_dump_info()
1255 fw_dump_ptr += strlen("\n========End dump========\n"); in mwifiex_prepare_fw_dump_info()
1259 adapter->devdump_len = fw_dump_ptr - (char *)adapter->devdump_data; in mwifiex_prepare_fw_dump_info()