Home
last modified time | relevance | path

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

/Linux-v5.10/drivers/scsi/fnic/
Dfnic_debugfs.c212 fnic_dbgfs_t *fnic_dbg_prt; in fnic_trace_debugfs_open() local
215 fnic_dbg_prt = kzalloc(sizeof(fnic_dbgfs_t), GFP_KERNEL); in fnic_trace_debugfs_open()
216 if (!fnic_dbg_prt) in fnic_trace_debugfs_open()
220 fnic_dbg_prt->buffer = vmalloc(array3_size(3, trace_max_pages, in fnic_trace_debugfs_open()
222 if (!fnic_dbg_prt->buffer) { in fnic_trace_debugfs_open()
223 kfree(fnic_dbg_prt); in fnic_trace_debugfs_open()
226 memset((void *)fnic_dbg_prt->buffer, 0, in fnic_trace_debugfs_open()
228 fnic_dbg_prt->buffer_len = fnic_get_trace_data(fnic_dbg_prt); in fnic_trace_debugfs_open()
230 fnic_dbg_prt->buffer = in fnic_trace_debugfs_open()
233 if (!fnic_dbg_prt->buffer) { in fnic_trace_debugfs_open()
[all …]