mirror of
https://github.com/SCST-project/scst.git
synced 2026-05-22 05:01:27 +00:00
Cosmetics: rename "tlb" to "tbl" as it should be from "table"
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2676 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This commit is contained in:
@@ -2556,7 +2556,7 @@ static struct scst_proc_data scst_groups_devices_proc_data = {
|
||||
|
||||
#if defined(CONFIG_SCST_DEBUG) || defined(CONFIG_SCST_TRACING)
|
||||
|
||||
static int scst_proc_read_tlb(const struct scst_trace_log *tbl,
|
||||
static int scst_proc_read_tbl(const struct scst_trace_log *tbl,
|
||||
struct seq_file *seq,
|
||||
unsigned long log_level, int *first)
|
||||
{
|
||||
@@ -2580,10 +2580,10 @@ int scst_proc_log_entry_read(struct seq_file *seq, unsigned long log_level,
|
||||
|
||||
TRACE_ENTRY();
|
||||
|
||||
scst_proc_read_tlb(scst_proc_trace_tbl, seq, log_level, &first);
|
||||
scst_proc_read_tbl(scst_proc_trace_tbl, seq, log_level, &first);
|
||||
|
||||
if (tbl)
|
||||
scst_proc_read_tlb(tbl, seq, log_level, &first);
|
||||
scst_proc_read_tbl(tbl, seq, log_level, &first);
|
||||
|
||||
seq_printf(seq, "%s\n", first ? "none" : "");
|
||||
|
||||
|
||||
@@ -4399,7 +4399,7 @@ out:
|
||||
|
||||
#if defined(CONFIG_SCST_DEBUG) || defined(CONFIG_SCST_TRACING)
|
||||
|
||||
static void scst_read_trace_tlb(const struct scst_trace_log *tbl, char *buf,
|
||||
static void scst_read_trace_tbl(const struct scst_trace_log *tbl, char *buf,
|
||||
unsigned long log_level, int *pos)
|
||||
{
|
||||
const struct scst_trace_log *t = tbl;
|
||||
@@ -4424,8 +4424,8 @@ static ssize_t scst_trace_level_show(const struct scst_trace_log *local_tbl,
|
||||
{
|
||||
int pos = 0;
|
||||
|
||||
scst_read_trace_tlb(scst_trace_tbl, buf, log_level, &pos);
|
||||
scst_read_trace_tlb(local_tbl, buf, log_level, &pos);
|
||||
scst_read_trace_tbl(scst_trace_tbl, buf, log_level, &pos);
|
||||
scst_read_trace_tbl(local_tbl, buf, log_level, &pos);
|
||||
|
||||
pos += sprintf(&buf[pos], "\n\n\nUsage:\n"
|
||||
" echo \"all|none|default\" >trace_level\n"
|
||||
|
||||
Reference in New Issue
Block a user