Home
last modified time | relevance | path

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

/linux-3.4.99/drivers/s390/cio/
Dqdio_debug.h37 char debug_buffer[QDIO_DBF_LEN]; \
38 snprintf(debug_buffer, QDIO_DBF_LEN, text); \
39 debug_text_event(qdio_dbf_setup, DBF_ERR, debug_buffer); \
49 char debug_buffer[QDIO_DBF_LEN]; \
50 snprintf(debug_buffer, QDIO_DBF_LEN, text); \
51 debug_text_event(qdio_dbf_error, DBF_ERR, debug_buffer); \
62 char debug_buffer[QDIO_DBF_LEN]; \
64 snprintf(debug_buffer, QDIO_DBF_LEN, text); \
65 debug_text_event(device->debug_area, level, debug_buffer); \
/linux-3.4.99/drivers/scsi/bfa/
Dbfad_debugfs.c44 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()
[all …]
/linux-3.4.99/drivers/net/ethernet/brocade/bna/
Dbnad_debugfs.c42 char *debug_buffer; member
61 fw_debug->debug_buffer = kzalloc(fw_debug->buffer_len, GFP_KERNEL); in bnad_debugfs_open_fwtrc()
62 if (!fw_debug->debug_buffer) { in bnad_debugfs_open_fwtrc()
70 fw_debug->debug_buffer, in bnad_debugfs_open_fwtrc()
74 kfree(fw_debug->debug_buffer); in bnad_debugfs_open_fwtrc()
75 fw_debug->debug_buffer = NULL; in bnad_debugfs_open_fwtrc()
102 fw_debug->debug_buffer = kzalloc(fw_debug->buffer_len, GFP_KERNEL); in bnad_debugfs_open_fwsave()
103 if (!fw_debug->debug_buffer) { in bnad_debugfs_open_fwsave()
111 fw_debug->debug_buffer, in bnad_debugfs_open_fwsave()
115 kfree(fw_debug->debug_buffer); in bnad_debugfs_open_fwsave()
[all …]
/linux-3.4.99/drivers/usb/host/
Dohci-dbg.c457 struct debug_buffer { struct
458 ssize_t (*fill_func)(struct debug_buffer *); /* fill method */ argument
531 static ssize_t fill_async_buffer(struct debug_buffer *buf) in fill_async_buffer()
551 static ssize_t fill_periodic_buffer(struct debug_buffer *buf) in fill_periodic_buffer()
644 static ssize_t fill_registers_buffer(struct debug_buffer *buf) in fill_registers_buffer()
728 static struct debug_buffer *alloc_buffer(struct ohci_hcd *ohci, in alloc_buffer()
729 ssize_t (*fill_func)(struct debug_buffer *)) in alloc_buffer() argument
731 struct debug_buffer *buf; in alloc_buffer()
733 buf = kzalloc(sizeof(struct debug_buffer), GFP_KERNEL); in alloc_buffer()
744 static int fill_buffer(struct debug_buffer *buf) in fill_buffer()
[all …]
Dehci-dbg.c396 struct debug_buffer { struct
397 ssize_t (*fill_func)(struct debug_buffer *); /* fill method */ argument
518 static ssize_t fill_async_buffer(struct debug_buffer *buf) in fill_async_buffer()
555 static ssize_t fill_periodic_buffer(struct debug_buffer *buf) in fill_periodic_buffer()
712 static ssize_t fill_registers_buffer(struct debug_buffer *buf) in fill_registers_buffer()
870 static struct debug_buffer *alloc_buffer(struct usb_bus *bus, in alloc_buffer()
871 ssize_t (*fill_func)(struct debug_buffer *)) in alloc_buffer() argument
873 struct debug_buffer *buf; in alloc_buffer()
875 buf = kzalloc(sizeof(struct debug_buffer), GFP_KERNEL); in alloc_buffer()
887 static int fill_buffer(struct debug_buffer *buf) in fill_buffer()
[all …]
/linux-3.4.99/drivers/net/wan/
Dhdlc_ppp.c47 static char debug_buffer[64 + 3 * DEBUG_CP]; variable
243 ptr = debug_buffer; in ppp_tx_cp()
250 proto_name(pid), code_names[code], id, debug_buffer); in ppp_tx_cp()
475 sprintf(debug_buffer, "[%s id 0x%X]", code_names[cp->code], in ppp_rx()
478 sprintf(debug_buffer, "[code %u id 0x%X]", cp->code, cp->id); in ppp_rx()
479 ptr = debug_buffer + strlen(debug_buffer); in ppp_rx()
485 debug_buffer); in ppp_rx()
/linux-3.4.99/arch/arm/mach-msm/
Dsmd_debug.c196 static char debug_buffer[DEBUG_BUFMAX]; variable
202 int bsize = fill(debug_buffer, DEBUG_BUFMAX); in debug_read()
203 return simple_read_from_buffer(buf, count, ppos, debug_buffer, bsize); in debug_read()
/linux-3.4.99/drivers/s390/net/
Dclaw.h126 sprintf(debug_buffer, text); \
128 debug_buffer); \
Dlcs.h28 sprintf(debug_buffer, text); \
29 debug_text_event(lcs_dbf_##name, level, debug_buffer); \
Dlcs.c83 static char debug_buffer[255]; variable
Dclaw.c100 static char debug_buffer[255]; variable