/drivers/s390/cio/ |
D | qdio_debug.h | 30 char debug_buffer[QDIO_DBF_LEN]; \ 31 snprintf(debug_buffer, QDIO_DBF_LEN, text); \ 32 debug_text_event(qdio_dbf_setup, DBF_ERR, debug_buffer); \ 42 char debug_buffer[QDIO_DBF_LEN]; \ 43 snprintf(debug_buffer, QDIO_DBF_LEN, text); \ 44 debug_text_event(qdio_dbf_error, DBF_ERR, debug_buffer); \ 54 char debug_buffer[QDIO_DBF_LEN]; \ 56 snprintf(debug_buffer, QDIO_DBF_LEN, text); \ 57 debug_text_event(device->debug_area, level, debug_buffer); \
|
/drivers/net/ethernet/brocade/bna/ |
D | bnad_debugfs.c | 35 char *debug_buffer; member 54 fw_debug->debug_buffer = kzalloc(fw_debug->buffer_len, GFP_KERNEL); in bnad_debugfs_open_fwtrc() 55 if (!fw_debug->debug_buffer) { in bnad_debugfs_open_fwtrc() 63 fw_debug->debug_buffer, in bnad_debugfs_open_fwtrc() 67 kfree(fw_debug->debug_buffer); in bnad_debugfs_open_fwtrc() 68 fw_debug->debug_buffer = NULL; in bnad_debugfs_open_fwtrc() 94 fw_debug->debug_buffer = kzalloc(fw_debug->buffer_len, GFP_KERNEL); in bnad_debugfs_open_fwsave() 95 if (!fw_debug->debug_buffer) { in bnad_debugfs_open_fwsave() 103 fw_debug->debug_buffer, in bnad_debugfs_open_fwsave() 107 kfree(fw_debug->debug_buffer); in bnad_debugfs_open_fwsave() [all …]
|
/drivers/scsi/bfa/ |
D | bfad_debugfs.c | 37 char *debug_buffer; member 53 debug->debug_buffer = (void *) bfad->trcmod; in bfad_debugfs_open_drvtrc() 76 fw_debug->debug_buffer = vzalloc(fw_debug->buffer_len); in bfad_debugfs_open_fwtrc() 77 if (!fw_debug->debug_buffer) { in bfad_debugfs_open_fwtrc() 86 fw_debug->debug_buffer, in bfad_debugfs_open_fwtrc() 90 vfree(fw_debug->debug_buffer); in bfad_debugfs_open_fwtrc() 91 fw_debug->debug_buffer = NULL; in bfad_debugfs_open_fwtrc() 118 fw_debug->debug_buffer = vzalloc(fw_debug->buffer_len); in bfad_debugfs_open_fwsave() 119 if (!fw_debug->debug_buffer) { in bfad_debugfs_open_fwsave() 128 fw_debug->debug_buffer, in bfad_debugfs_open_fwsave() [all …]
|
/drivers/scsi/fnic/ |
D | fnic_trace.c | 223 len = scnprintf(debug->debug_buffer + len, buf_size - len, in fnic_get_stats_data() 228 len += scnprintf(debug->debug_buffer + len, buf_size - len, in fnic_get_stats_data() 246 len += scnprintf(debug->debug_buffer + len, buf_size - len, in fnic_get_stats_data() 250 len += scnprintf(debug->debug_buffer + len, buf_size - len, in fnic_get_stats_data() 283 len += scnprintf(debug->debug_buffer + len, buf_size - len, in fnic_get_stats_data() 287 len += scnprintf(debug->debug_buffer + len, buf_size - len, in fnic_get_stats_data() 292 len += scnprintf(debug->debug_buffer + len, buf_size - len, in fnic_get_stats_data() 321 len += scnprintf(debug->debug_buffer + len, buf_size - len, in fnic_get_stats_data() 326 len += scnprintf(debug->debug_buffer + len, buf_size - len, in fnic_get_stats_data() 340 len += scnprintf(debug->debug_buffer + len, buf_size - len, in fnic_get_stats_data() [all …]
|
D | fnic_debugfs.c | 606 debug->debug_buffer = vmalloc(buf_size); in fnic_stats_debugfs_open() 607 if (!debug->debug_buffer) { in fnic_stats_debugfs_open() 613 memset((void *)debug->debug_buffer, 0, buf_size); in fnic_stats_debugfs_open() 645 debug->debug_buffer, in fnic_stats_debugfs_read() 667 vfree(debug->debug_buffer); in fnic_stats_debugfs_release()
|
D | fnic_stats.h | 134 char *debug_buffer; member
|
/drivers/usb/host/ |
D | ohci-dbg.c | 391 struct debug_buffer { struct 392 ssize_t (*fill_func)(struct debug_buffer *); /* fill method */ argument 465 static ssize_t fill_async_buffer(struct debug_buffer *buf) in fill_async_buffer() 486 static ssize_t fill_periodic_buffer(struct debug_buffer *buf) in fill_periodic_buffer() 581 static ssize_t fill_registers_buffer(struct debug_buffer *buf) in fill_registers_buffer() 665 static struct debug_buffer *alloc_buffer(struct ohci_hcd *ohci, in alloc_buffer() 666 ssize_t (*fill_func)(struct debug_buffer *)) in alloc_buffer() argument 668 struct debug_buffer *buf; in alloc_buffer() 670 buf = kzalloc(sizeof(struct debug_buffer), GFP_KERNEL); in alloc_buffer() 681 static int fill_buffer(struct debug_buffer *buf) in fill_buffer() [all …]
|
D | ehci-dbg.c | 333 struct debug_buffer { struct 334 ssize_t (*fill_func)(struct debug_buffer *); /* fill method */ argument 470 static ssize_t fill_async_buffer(struct debug_buffer *buf) in fill_async_buffer() 510 static ssize_t fill_bandwidth_buffer(struct debug_buffer *buf) in fill_bandwidth_buffer() 621 static ssize_t fill_periodic_buffer(struct debug_buffer *buf) in fill_periodic_buffer() 755 static ssize_t fill_registers_buffer(struct debug_buffer *buf) in fill_registers_buffer() 915 static struct debug_buffer *alloc_buffer(struct usb_bus *bus, in alloc_buffer() 916 ssize_t (*fill_func)(struct debug_buffer *)) in alloc_buffer() argument 918 struct debug_buffer *buf; in alloc_buffer() 932 static int fill_buffer(struct debug_buffer *buf) in fill_buffer() [all …]
|
D | fotg210-hcd.c | 314 struct debug_buffer { struct 315 ssize_t (*fill_func)(struct debug_buffer *); /* fill method */ argument 445 static ssize_t fill_async_buffer(struct debug_buffer *buf) in fill_async_buffer() 512 static ssize_t fill_periodic_buffer(struct debug_buffer *buf) in fill_periodic_buffer() 637 static ssize_t fill_registers_buffer(struct debug_buffer *buf) in fill_registers_buffer() 741 static struct debug_buffer 742 *alloc_buffer(struct usb_bus *bus, ssize_t (*fill_func)(struct debug_buffer *)) in alloc_buffer() argument 744 struct debug_buffer *buf; in alloc_buffer() 746 buf = kzalloc(sizeof(struct debug_buffer), GFP_KERNEL); in alloc_buffer() 758 static int fill_buffer(struct debug_buffer *buf) in fill_buffer() [all …]
|
/drivers/net/wan/ |
D | hdlc_ppp.c | 45 static char debug_buffer[64 + 3 * DEBUG_CP]; variable 239 ptr = debug_buffer; in ppp_tx_cp() 246 proto_name(pid), code_names[code], id, debug_buffer); in ppp_tx_cp() 476 sprintf(debug_buffer, "[%s id 0x%X]", code_names[cp->code], in ppp_rx() 479 sprintf(debug_buffer, "[code %u id 0x%X]", cp->code, cp->id); in ppp_rx() 480 ptr = debug_buffer + strlen(debug_buffer); in ppp_rx() 486 debug_buffer); in ppp_rx()
|
/drivers/s390/net/ |
D | lcs.h | 24 sprintf(debug_buffer, text); \ 25 debug_text_event(lcs_dbf_##name, level, debug_buffer); \
|
D | lcs.c | 68 static char debug_buffer[255]; variable
|
/drivers/firmware/ |
D | ti_sci.c | 106 char *debug_buffer; member 137 memcpy_fromio(info->debug_buffer, info->debug_region, in ti_sci_debug_show() 145 seq_puts(s, info->debug_buffer); in ti_sci_debug_show() 174 info->debug_buffer = devm_kcalloc(dev, info->debug_region_size + 1, in ti_sci_debugfs_create() 176 if (!info->debug_buffer) in ti_sci_debugfs_create() 179 info->debug_buffer[info->debug_region_size] = 0; in ti_sci_debugfs_create()
|