Lines Matching refs:cbuf
104 char *cbuf; in qedf_dbg_fp_int_cmd_read() local
114 cbuf = vmalloc(QEDF_DEBUGFS_LOG_LEN); in qedf_dbg_fp_int_cmd_read()
115 if (!cbuf) in qedf_dbg_fp_int_cmd_read()
118 cnt += scnprintf(cbuf + cnt, QEDF_DEBUGFS_LOG_LEN - cnt, "\nFastpath I/O completions\n\n"); in qedf_dbg_fp_int_cmd_read()
124 cnt += scnprintf(cbuf + cnt, QEDF_DEBUGFS_LOG_LEN - cnt, in qedf_dbg_fp_int_cmd_read()
128 ret = simple_read_from_buffer(buffer, count, ppos, cbuf, cnt); in qedf_dbg_fp_int_cmd_read()
130 vfree(cbuf); in qedf_dbg_fp_int_cmd_read()
150 char cbuf[32]; in qedf_dbg_debug_cmd_read() local
155 cnt = scnprintf(cbuf, sizeof(cbuf), "debug mask = 0x%x\n", qedf_debug); in qedf_dbg_debug_cmd_read()
157 return simple_read_from_buffer(buffer, count, ppos, cbuf, cnt); in qedf_dbg_debug_cmd_read()
196 char cbuf[7]; in qedf_dbg_stop_io_on_error_cmd_read() local
203 cnt = scnprintf(cbuf, sizeof(cbuf), "%s\n", in qedf_dbg_stop_io_on_error_cmd_read()
206 return simple_read_from_buffer(buffer, count, ppos, cbuf, cnt); in qedf_dbg_stop_io_on_error_cmd_read()