Home
last modified time | relevance | path

Searched refs:debug_buffer (Results 1 – 14 of 14) sorted by relevance

/linux/drivers/s390/cio/
A Dqdio_debug.h30 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); \
/linux/drivers/net/ethernet/brocade/bna/
A Dbnad_debugfs.c35 char *debug_buffer; member
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()
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()
108 fw_debug->debug_buffer = NULL; in bnad_debugfs_open_fwsave()
195 if (!drv_info->debug_buffer) { in bnad_debugfs_open_drvinfo()
[all …]
/linux/drivers/scsi/bfa/
A Dbfad_debugfs.c37 char *debug_buffer; member
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()
119 if (!fw_debug->debug_buffer) { in bfad_debugfs_open_fwsave()
128 fw_debug->debug_buffer, in bfad_debugfs_open_fwsave()
132 vfree(fw_debug->debug_buffer); in bfad_debugfs_open_fwsave()
133 fw_debug->debug_buffer = NULL; in bfad_debugfs_open_fwsave()
374 if (fw_debug->debug_buffer) in bfad_debugfs_release_fwtrc()
[all …]
/linux/drivers/scsi/fnic/
A Dfnic_trace.c223 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 …]
A Dfnic_debugfs.c605 debug->debug_buffer = vmalloc(buf_size); in fnic_stats_debugfs_open()
606 if (!debug->debug_buffer) { in fnic_stats_debugfs_open()
612 memset((void *)debug->debug_buffer, 0, buf_size); in fnic_stats_debugfs_open()
644 debug->debug_buffer, in fnic_stats_debugfs_read()
666 vfree(debug->debug_buffer); in fnic_stats_debugfs_release()
A Dfnic_stats.h134 char *debug_buffer; member
/linux/arch/s390/include/asm/
A Dpci_debug.h15 char debug_buffer[16]; \
16 snprintf(debug_buffer, 16, text); \
17 debug_text_event(pci_debug_err_id, 0, debug_buffer); \
/linux/drivers/usb/host/
A Dohci-dbg.c391 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()
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()
707 struct debug_buffer *buf = file->private_data; in debug_output()
[all …]
A Dehci-dbg.c333 struct debug_buffer { struct
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()
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()
958 struct debug_buffer *buf = file->private_data; in debug_output()
980 struct debug_buffer *buf = file->private_data; in debug_close()
[all …]
A Dfotg210-hcd.c314 struct debug_buffer { struct
315 ssize_t (*fill_func)(struct debug_buffer *); /* fill method */ argument
448 static ssize_t fill_async_buffer(struct debug_buffer *buf) in fill_async_buffer()
515 static ssize_t fill_periodic_buffer(struct debug_buffer *buf) in fill_periodic_buffer()
744 static struct debug_buffer
747 struct debug_buffer *buf; in alloc_buffer()
749 buf = kzalloc(sizeof(struct debug_buffer), GFP_KERNEL); in alloc_buffer()
761 static int fill_buffer(struct debug_buffer *buf) in fill_buffer()
787 struct debug_buffer *buf = file->private_data; in debug_output()
810 struct debug_buffer *buf = file->private_data; in debug_close()
[all …]
/linux/drivers/net/wan/
A Dhdlc_ppp.c45 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()
/linux/drivers/s390/net/
A Dlcs.h24 sprintf(debug_buffer, text); \
25 debug_text_event(lcs_dbf_##name, level, debug_buffer); \
A Dlcs.c68 static char debug_buffer[255]; variable
/linux/drivers/firmware/
A Dti_sci.c106 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()

Completed in 48 milliseconds