Lines Matching refs:debug_buffer
44 char *debug_buffer; member
60 debug->debug_buffer = (void *) bfad->trcmod; in bfad_debugfs_open_drvtrc()
83 fw_debug->debug_buffer = vmalloc(fw_debug->buffer_len); in bfad_debugfs_open_fwtrc()
84 if (!fw_debug->debug_buffer) { in bfad_debugfs_open_fwtrc()
91 memset(fw_debug->debug_buffer, 0, fw_debug->buffer_len); in bfad_debugfs_open_fwtrc()
95 fw_debug->debug_buffer, in bfad_debugfs_open_fwtrc()
99 vfree(fw_debug->debug_buffer); in bfad_debugfs_open_fwtrc()
100 fw_debug->debug_buffer = NULL; in bfad_debugfs_open_fwtrc()
127 fw_debug->debug_buffer = vmalloc(fw_debug->buffer_len); in bfad_debugfs_open_fwsave()
128 if (!fw_debug->debug_buffer) { in bfad_debugfs_open_fwsave()
135 memset(fw_debug->debug_buffer, 0, fw_debug->buffer_len); in bfad_debugfs_open_fwsave()
139 fw_debug->debug_buffer, in bfad_debugfs_open_fwsave()
143 vfree(fw_debug->debug_buffer); in bfad_debugfs_open_fwsave()
144 fw_debug->debug_buffer = NULL; in bfad_debugfs_open_fwsave()
209 if (!debug || !debug->debug_buffer) in bfad_debugfs_read()
213 debug->debug_buffer, debug->buffer_len); in bfad_debugfs_read()
424 if (fw_debug->debug_buffer) in bfad_debugfs_release_fwtrc()
425 vfree(fw_debug->debug_buffer); in bfad_debugfs_release_fwtrc()