Searched refs:nlines (Results 1 – 7 of 7) sorted by relevance
/Linux-v5.15/arch/um/drivers/ |
D | line.h | 65 extern int line_setup(char **conf, unsigned nlines, char **def, 82 struct line *lines, int nlines); 85 extern void close_lines(struct line *lines, int nlines);
|
D | line.c | 354 void close_lines(struct line *lines, int nlines) in close_lines() argument 358 for(i = 0; i < nlines; i++) in close_lines() 539 struct line *lines, int nlines) in register_lines() argument 545 driver = tty_alloc_driver(nlines, TTY_DRIVER_REAL_RAW | in register_lines() 558 for (i = 0; i < nlines; i++) { in register_lines() 572 for (i = 0; i < nlines; i++) in register_lines()
|
/Linux-v5.15/kernel/kcsan/ |
D | kcsan_test.c | 47 int nlines; member 92 int nlines; in probe_console() local 101 nlines = observed.nlines; in probe_console() 111 nlines = 1; in probe_console() 112 } else if ((nlines == 1 || nlines == 2) && strnstr(buf, "bytes by", len)) { in probe_console() 113 strscpy(observed.lines[nlines++], buf, min(len + 1, sizeof(observed.lines[0]))); in probe_console() 116 if (WARN_ON(nlines != 2)) in probe_console() 120 strcpy(observed.lines[nlines++], "<none>"); in probe_console() 125 WRITE_ONCE(observed.nlines, nlines); /* Publish new nlines. */ in probe_console() 133 return READ_ONCE(observed.nlines) == ARRAY_SIZE(observed.lines); in report_available() [all …]
|
/Linux-v5.15/mm/kfence/ |
D | kfence_test.c | 38 int nlines; member 48 int nlines; in probe_console() local 51 nlines = observed.nlines; in probe_console() 61 nlines = 1; in probe_console() 62 } else if (nlines == 1 && (strnstr(buf, "at 0x", len) || strnstr(buf, "of 0x", len))) { in probe_console() 63 strscpy(observed.lines[nlines++], buf, min(len + 1, sizeof(observed.lines[0]))); in probe_console() 66 WRITE_ONCE(observed.nlines, nlines); /* Publish new nlines. */ in probe_console() 73 return READ_ONCE(observed.nlines) == ARRAY_SIZE(observed.lines); in report_available() 809 observed.nlines = 0; in test_init()
|
/Linux-v5.15/tools/perf/scripts/perl/ |
D | rwtop.pl | 23 my $nlines = 20; 146 if (++$count == $nlines) { 169 if (++$count == $nlines) {
|
/Linux-v5.15/tools/perf/util/ |
D | dwarf-aux.c | 68 size_t nlines, l, u, n; in cu_getsrc_die() local 71 if (dwarf_getsrclines(cu_die, &lines, &nlines) != 0 || in cu_getsrc_die() 72 nlines == 0) in cu_getsrc_die() 76 l = 0; u = nlines - 1; in cu_getsrc_die() 869 size_t nlines, i; in die_walk_lines() local 885 if (dwarf_getsrclines(cu_die, &lines, &nlines) != 0) { in die_walk_lines() 889 pr_debug2("Get %zd lines from this CU\n", nlines); in die_walk_lines() 892 for (i = 0; i < nlines; i++) { in die_walk_lines()
|
/Linux-v5.15/drivers/gpu/drm/msm/disp/mdp5/ |
D | mdp5_smp.c | 123 int i, hsub, nplanes, nlines; in mdp5_smp_calculate() local 130 nlines = 2; in mdp5_smp_calculate() 152 n = DIV_ROUND_UP(fetch_stride * nlines, smp->blk_size); in mdp5_smp_calculate()
|