| /tools/net/ynl/pyynl/ |
| A D | ynl_gen_rst.py | 118 lines = [] 128 lines = [] 147 lines = [] 156 lines = [] 180 lines = [] 213 lines = [] 239 lines = [] 265 lines = [] 293 lines = [] 313 lines = [] [all …]
|
| /tools/testing/kunit/ |
| A D | kunit_parser.py | 159 self._lines = lines 300 lines.pop() 324 lines.pop() 352 lines.pop() 377 line = lines.peek() 408 line = lines.peek() 415 lines.pop() 457 while lines and not any(re.match(lines.peek()) 788 if not lines or (peek_test_name_match(lines, test) and 812 elif not lines: [all …]
|
| A D | kunit.py | 121 lines = kunit_parser.extract_tap_lines(output) 123 lines.pop() 140 lines = kunit_parser.extract_tap_lines(output) 142 lines.pop() 145 return lines
|
| /tools/rcu/ |
| A D | extract-stall.sh | 6 echo Filter out clocksource lines. Note that preceding-lines excludes the 7 echo initial line of the stall warning but trailing-lines includes it. 9 echo Usage: $(basename $0) dmesg-file [ preceding-lines [ trailing-lines ] ]
|
| /tools/mm/ |
| A D | slabinfo-gnuplot.sh | 56 local lines=2000000 64 lines=$((xmax-xmin)) 69 wc_lines=$lines 72 if [ "$wc_lines" -lt "$lines" ]; then 73 lines=$wc_lines 76 if [ $((width / lines)) -gt $min_slab_name_size ]; then 144 local lines 150 let lines=3 152 `cat "$in" | grep -A "$lines" 'Slabs sorted by loss' |\ 159 let lines=3 [all …]
|
| A D | show_page_info.py | 43 lines = [f"RAW: {' '.join(values[i:i + 4])}" for i in range(0, len(values), 4)] 45 return "\n".join(lines)
|
| /tools/gpio/ |
| A D | gpio-utils.c | 57 int gpiotools_request_line(const char *device_name, unsigned int *lines, in gpiotools_request_line() argument 82 req.offsets[i] = lines[i]; in gpiotools_request_line() 184 unsigned int lines[] = {line}; in gpiotools_get() local 186 ret = gpiotools_gets(device_name, lines, 1, &value); in gpiotools_get() 205 int gpiotools_gets(const char *device_name, unsigned int *lines, in gpiotools_gets() argument 216 ret = gpiotools_request_line(device_name, lines, num_lines, in gpiotools_gets() 245 unsigned int lines[] = {line}; in gpiotools_set() local 247 return gpiotools_sets(device_name, lines, 1, &value); in gpiotools_set() 263 int gpiotools_sets(const char *device_name, unsigned int *lines, in gpiotools_sets() argument 278 ret = gpiotools_request_line(device_name, lines, num_lines, in gpiotools_sets()
|
| A D | gpio-hammer.c | 25 int hammer_device(const char *device_name, unsigned int *lines, int num_lines, in hammer_device() argument 39 ret = gpiotools_request_line(device_name, lines, num_lines, in hammer_device() 57 fprintf(stdout, "%u", lines[i]); in hammer_device() 92 fprintf(stdout, "%u: %d", lines[i], in hammer_device() 130 unsigned int lines[GPIOHANDLES_MAX]; in main() local 152 lines[i] = strtoul(optarg, NULL, 10); in main() 175 return hammer_device(device_name, lines, num_lines, loops); in main()
|
| A D | gpio-event-mon.c | 29 unsigned int *lines, in monitor_device() argument 51 ret = gpiotools_request_line(device_name, lines, num_lines, config, in monitor_device() 72 fprintf(stdout, "Monitoring line %u on %s\n", lines[0], device_name); in monitor_device() 76 fprintf(stdout, "Monitoring lines %u", lines[0]); in monitor_device() 78 fprintf(stdout, ", %u", lines[i]); in monitor_device() 79 fprintf(stdout, " and %u on %s\n", lines[i], device_name); in monitor_device() 170 unsigned int lines[GPIO_V2_LINES_MAX]; in main() local 192 lines[num_lines] = strtoul(optarg, NULL, 10); in main() 240 return monitor_device(device_name, lines, num_lines, &config, loops); in main()
|
| A D | gpio-utils.h | 28 unsigned int *lines, 37 int gpiotools_gets(const char *device_name, unsigned int *lines, 41 int gpiotools_sets(const char *device_name, unsigned int *lines,
|
| A D | lsgpio.c | 128 cinfo.name, cinfo.label, cinfo.lines); in list_device() 131 for (i = 0; i < cinfo.lines; i++) { in list_device()
|
| /tools/perf/util/ |
| A D | srccode.c | 29 char **lines; member 58 static void fill_lines(char **lines, int maxline, char *map, int maplen) in fill_lines() argument 67 lines[l++] = map; in fill_lines() 71 lines[l++] = ++p; in fill_lines() 74 lines[l] = p; in fill_lines() 83 zfree(&sf->lines); in free_srcfile() 136 h->lines = calloc(h->numlines, sizeof(char *)); in find_srcfile() 137 if (!h->lines) in find_srcfile() 139 fill_lines(h->lines, h->numlines, h->map, h->maplen); in find_srcfile() 165 l = sf->lines[line]; in find_sourceline()
|
| A D | dwarf-aux.c | 67 Dwarf_Lines *lines; in cu_getsrc_die() local 80 line = dwarf_onesrcline(lines, n); in cu_getsrc_die() 90 line = dwarf_onesrcline(lines, --l); in cu_getsrc_die() 97 line = dwarf_onesrcline(lines, l++); in cu_getsrc_die() 912 Dwarf_Lines *lines; in die_walk_lines() local 948 line = dwarf_onesrcline(lines, i); in die_walk_lines() 1817 Dwarf_Lines *lines, in die_get_postprologue_addr() argument 1829 line = dwarf_onesrcline(lines, entrypc_idx); in die_get_postprologue_addr() 1834 line = dwarf_onesrcline(lines, i); in die_get_postprologue_addr() 1867 dwarf_lineaddr(dwarf_onesrcline(lines, i - 1), in die_get_postprologue_addr() [all …]
|
| /tools/perf/scripts/python/ |
| A D | stackcollapse.py | 69 lines = defaultdict(lambda: 0) variable 122 lines[stack_string] = lines[stack_string] + 1 125 list = sorted(lines) 127 print("%s %d" % (stack, lines[stack]))
|
| /tools/perf/tests/shell/ |
| A D | test_arm_spe_fork.sh | 34 echo Log lines = $log0 37 echo Log lines after 1 second = $log1
|
| /tools/hv/ |
| A D | lsvmbus | 49 lines = f.readlines() 52 lines = [] 54 return lines
|
| /tools/cgroup/ |
| A D | memcg_shrinker.py | 65 if args.lines and n >= args.lines:
|
| /tools/bpf/bpftool/ |
| A D | main.c | 327 unsigned int lines = 0; in do_batch() local 374 lines); in do_batch() 384 p_err("command %u is too long", lines); in do_batch() 392 n_argc = make_args(buf, n_argv, BATCH_ARG_NB_MAX, lines); in do_batch() 418 lines++; in do_batch() 426 printf("processed %u commands\n", lines); in do_batch()
|
| /tools/testing/selftests/resctrl/ |
| A D | cache.c | 183 void show_cache_info(int no_of_bits, __u64 avg_llc_val, size_t cache_span, bool lines) in show_cache_info() argument 187 ksft_print_msg("Cache span (%s): %zu\n", lines ? "lines" : "bytes", in show_cache_info()
|
| /tools/verification/rvgen/rvgen/ |
| A D | ltl2k.py | 163 lines = break_long_line(line, indent) 164 buf.extend(lines) 197 lines = break_long_line(line, indent) 198 buf.extend(lines)
|
| /tools/testing/selftests/gpio/ |
| A D | gpio-chip-info.c | 50 printf("%u\n", info.lines); in main()
|
| /tools/testing/selftests/net/ |
| A D | rtnetlink.sh | 654 run_cmd test $lines -eq 2 658 run_cmd test $lines -eq 2 661 lines=`ip x s list | wc -l` 662 run_cmd test $lines -eq 0 671 run_cmd test $lines -eq 2 676 run_cmd test $lines -eq 2 680 lines=`ip x p list | wc -l` 681 run_cmd test $lines -eq 0 686 run_cmd test $lines -eq 20 786 if [ $lines -ne 2 ] ; then [all …]
|
| /tools/testing/selftests/drivers/net/netdevsim/ |
| A D | fib_notifications.sh | 64 lines=`wc -l $outfile | cut "-d " -f1` 65 test $lines -eq $expected_num_lines 66 check_err $? "$expected_num_lines notifications were expected but $lines were received"
|
| /tools/perf/Documentation/ |
| A D | perf-annotate.txt | 74 Print matching source lines (may be slow). 94 samples, TAB/UNTAB cycles through the lines with more samples. 156 functions to display, not about lines within the function.
|
| A D | perf-probe.txt | 45 or lines. If a path of module file is passed, perf-probe 81 Show source code lines which can be probed. This needs an argument 219 FUNC specifies the function name of showing lines. 'RLN' is the start line 223 many lines to show by using 'NUM'. Moreover, 'FUNC@SRC' combination is good 225 So, "source.c:100-120" shows lines between 100th to 120th in source.c file. And "func:10+20" shows … 247 Display which lines in schedule() can be probed: 263 Add probes on lines in schedule() function which calls update_rq_clock().
|