Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/s390/cio/
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-6.1.9/drivers/net/ethernet/brocade/bna/
Dbnad_debugfs.c35 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 …]
/linux-6.1.9/drivers/scsi/bfa/
Dbfad_debugfs.c37 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 …]
/linux-6.1.9/drivers/scsi/fnic/
Dfnic_trace.c209 len = scnprintf(debug->debug_buffer + len, buf_size - len, in fnic_get_stats_data()
214 len += scnprintf(debug->debug_buffer + len, buf_size - len, in fnic_get_stats_data()
232 len += scnprintf(debug->debug_buffer + len, buf_size - len, in fnic_get_stats_data()
236 len += scnprintf(debug->debug_buffer + len, buf_size - len, in fnic_get_stats_data()
269 len += scnprintf(debug->debug_buffer + len, buf_size - len, in fnic_get_stats_data()
273 len += scnprintf(debug->debug_buffer + len, buf_size - len, in fnic_get_stats_data()
278 len += scnprintf(debug->debug_buffer + len, buf_size - len, in fnic_get_stats_data()
307 len += scnprintf(debug->debug_buffer + len, buf_size - len, in fnic_get_stats_data()
312 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()
[all …]
Dfnic_debugfs.c590 debug->debug_buffer = vmalloc(buf_size); in fnic_stats_debugfs_open()
591 if (!debug->debug_buffer) { in fnic_stats_debugfs_open()
597 memset((void *)debug->debug_buffer, 0, buf_size); in fnic_stats_debugfs_open()
629 debug->debug_buffer, in fnic_stats_debugfs_read()
651 vfree(debug->debug_buffer); in fnic_stats_debugfs_release()
Dfnic_stats.h120 char *debug_buffer; member
/linux-6.1.9/arch/s390/include/asm/
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-6.1.9/drivers/usb/host/
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()
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 …]
Dehci-dbg.c333 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 …]
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()
640 static ssize_t fill_registers_buffer(struct debug_buffer *buf) in fill_registers_buffer()
744 static struct debug_buffer
745 *alloc_buffer(struct usb_bus *bus, ssize_t (*fill_func)(struct debug_buffer *)) in alloc_buffer() argument
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()
[all …]
/linux-6.1.9/drivers/net/wan/
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-6.1.9/drivers/s390/net/
Dlcs.h24 sprintf(debug_buffer, text); \
25 debug_text_event(lcs_dbf_##name, level, debug_buffer); \
Dlcs.c68 static char debug_buffer[255]; variable
/linux-6.1.9/drivers/firmware/
Dti_sci.c108 char *debug_buffer; member
139 memcpy_fromio(info->debug_buffer, info->debug_region, in ti_sci_debug_show()
147 seq_puts(s, info->debug_buffer); in ti_sci_debug_show()
176 info->debug_buffer = devm_kcalloc(dev, info->debug_region_size + 1, in ti_sci_debugfs_create()
178 if (!info->debug_buffer) in ti_sci_debugfs_create()
181 info->debug_buffer[info->debug_region_size] = 0; in ti_sci_debugfs_create()