/kernel/linux/linux-5.10/tools/testing/kunit/ |
H A D | kunit_parser.py | 100 def consume_non_diagnositic(lines: List[str]) -> None: 101 while lines and not TAP_ENTRIES.match(lines[0]): 102 lines.pop(0) 104 def save_non_diagnositic(lines: List[str], test_case: TestCase) -> None: 105 while lines and not TAP_ENTRIES.match(lines[0]): 106 test_case.log.append(lines[0]) 107 lines.pop(0) 115 def parse_ok_not_ok_test_case(lines [all...] |
/kernel/liteos_a/tools/scripts/parse_exc/ |
H A D | parse_excinfo.py | 42 for lines in f: 43 if string in lines: 44 res = lines 71 for lines in f.readlines(): 72 if 'excFrom: kernel' in lines: 76 if start and string in lines: 77 lines = lines[lines.find(string):] 78 strlist = lines [all...] |
/kernel/linux/linux-6.6/tools/testing/kunit/ |
H A D | kunit_parser.py | 34 log : List[str] - log of KTAP lines that correspond to the test 148 A class to represent the lines of kernel output. 157 def __init__(self, lines: Iterator[Tuple[int, str]]): 159 self._lines = lines 192 """Returns True if stream has more lines.""" 198 """Empties all lines stored in LineStream object into 218 """Extracts KTAP lines from the kernel output.""" 227 # start extracting KTAP lines and set prefix 234 # start extracting KTAP lines and set prefix 240 # stop extracting KTAP lines [all...] |
/kernel/linux/linux-5.10/include/asm-generic/ |
H A D | xor.h | 13 long lines = bytes / (sizeof (long)) / 8; in xor_8regs_2() local 26 } while (--lines > 0); in xor_8regs_2() 33 long lines = bytes / (sizeof (long)) / 8; in xor_8regs_3() local 47 } while (--lines > 0); in xor_8regs_3() 54 long lines = bytes / (sizeof (long)) / 8; in xor_8regs_4() local 69 } while (--lines > 0); in xor_8regs_4() 76 long lines = bytes / (sizeof (long)) / 8; in xor_8regs_5() local 92 } while (--lines > 0); in xor_8regs_5() 98 long lines = bytes / (sizeof (long)) / 8; in xor_32regs_2() local 128 } while (--lines > in xor_32regs_2() 135 long lines = bytes / (sizeof (long)) / 8; xor_32regs_3() local 181 long lines = bytes / (sizeof (long)) / 8; xor_32regs_4() local 236 long lines = bytes / (sizeof (long)) / 8; xor_32regs_5() local 299 long lines = bytes / (sizeof (long)) / 8 - 1; xor_8regs_p_2() local 326 long lines = bytes / (sizeof (long)) / 8 - 1; xor_8regs_p_3() local 356 long lines = bytes / (sizeof (long)) / 8 - 1; xor_8regs_p_4() local 390 long lines = bytes / (sizeof (long)) / 8 - 1; xor_8regs_p_5() local 426 long lines = bytes / (sizeof (long)) / 8 - 1; xor_32regs_p_2() local 472 long lines = bytes / (sizeof (long)) / 8 - 1; xor_32regs_p_3() local 529 long lines = bytes / (sizeof (long)) / 8 - 1; xor_32regs_p_4() local 597 long lines = bytes / (sizeof (long)) / 8 - 1; xor_32regs_p_5() local [all...] |
/kernel/linux/linux-6.6/include/asm-generic/ |
H A D | xor.h | 14 long lines = bytes / (sizeof (long)) / 8; in xor_8regs_2() local 27 } while (--lines > 0); in xor_8regs_2() 35 long lines = bytes / (sizeof (long)) / 8; in xor_8regs_3() local 49 } while (--lines > 0); in xor_8regs_3() 58 long lines = bytes / (sizeof (long)) / 8; in xor_8regs_4() local 73 } while (--lines > 0); in xor_8regs_4() 83 long lines = bytes / (sizeof (long)) / 8; in xor_8regs_5() local 99 } while (--lines > 0); in xor_8regs_5() 106 long lines = bytes / (sizeof (long)) / 8; in xor_32regs_2() local 136 } while (--lines > in xor_32regs_2() 144 long lines = bytes / (sizeof (long)) / 8; xor_32regs_3() local 192 long lines = bytes / (sizeof (long)) / 8; xor_32regs_4() local 250 long lines = bytes / (sizeof (long)) / 8; xor_32regs_5() local 314 long lines = bytes / (sizeof (long)) / 8 - 1; xor_8regs_p_2() local 342 long lines = bytes / (sizeof (long)) / 8 - 1; xor_8regs_p_3() local 374 long lines = bytes / (sizeof (long)) / 8 - 1; xor_8regs_p_4() local 411 long lines = bytes / (sizeof (long)) / 8 - 1; xor_8regs_p_5() local 448 long lines = bytes / (sizeof (long)) / 8 - 1; xor_32regs_p_2() local 495 long lines = bytes / (sizeof (long)) / 8 - 1; xor_32regs_p_3() local 554 long lines = bytes / (sizeof (long)) / 8 - 1; xor_32regs_p_4() local 625 long lines = bytes / (sizeof (long)) / 8 - 1; xor_32regs_p_5() local [all...] |
/kernel/linux/linux-5.10/arch/x86/include/asm/ |
H A D | xor_32.h | 26 unsigned long lines = bytes >> 7; in xor_pII_mmx_2() local 58 : "+r" (lines), in xor_pII_mmx_2() 70 unsigned long lines = bytes >> 7; in xor_pII_mmx_3() local 107 : "+r" (lines), in xor_pII_mmx_3() 119 unsigned long lines = bytes >> 7; in xor_pII_mmx_4() local 161 : "+r" (lines), in xor_pII_mmx_4() 174 unsigned long lines = bytes >> 7; in xor_pII_mmx_5() local 229 : "+r" (lines), in xor_pII_mmx_5() 253 unsigned long lines = bytes >> 6; in xor_p5_mmx_2() local 289 : "+r" (lines), in xor_p5_mmx_2() 301 unsigned long lines = bytes >> 6; xor_p5_mmx_3() local 358 unsigned long lines = bytes >> 6; xor_p5_mmx_4() local 424 unsigned long lines = bytes >> 6; xor_p5_mmx_5() local [all...] |
H A D | xor.h | 62 unsigned long lines = bytes >> 8; in xor_sse_2() local 102 : [cnt] "+r" (lines), in xor_sse_2() 113 unsigned long lines = bytes >> 8; in xor_sse_2_pf64() local 136 : [cnt] "+r" (lines), in xor_sse_2_pf64() 148 unsigned long lines = bytes >> 8; in xor_sse_3() local 195 : [cnt] "+r" (lines), in xor_sse_3() 207 unsigned long lines = bytes >> 8; in xor_sse_3_pf64() local 232 : [cnt] "+r" (lines), in xor_sse_3_pf64() 244 unsigned long lines = bytes >> 8; in xor_sse_4() local 298 : [cnt] "+r" (lines), [p in xor_sse_4() 310 unsigned long lines = bytes >> 8; xor_sse_4_pf64() local 349 unsigned long lines = bytes >> 8; xor_sse_5() local 422 unsigned long lines = bytes >> 8; xor_sse_5_pf64() local [all...] |
H A D | xor_avx.h | 31 unsigned long lines = bytes >> 9; in xor_avx_2() local 35 while (lines--) { in xor_avx_2() 58 unsigned long lines = bytes >> 9; in xor_avx_3() local 62 while (lines--) { in xor_avx_3() 88 unsigned long lines = bytes >> 9; in xor_avx_4() local 92 while (lines--) { in xor_avx_4() 121 unsigned long lines = bytes >> 9; in xor_avx_5() local 125 while (lines--) { in xor_avx_5()
|
/kernel/linux/linux-6.6/arch/x86/include/asm/ |
H A D | xor_32.h | 27 unsigned long lines = bytes >> 7; in xor_pII_mmx_2() local 59 : "+r" (lines), in xor_pII_mmx_2() 72 unsigned long lines = bytes >> 7; in xor_pII_mmx_3() local 109 : "+r" (lines), in xor_pII_mmx_3() 123 unsigned long lines = bytes >> 7; in xor_pII_mmx_4() local 165 : "+r" (lines), in xor_pII_mmx_4() 181 unsigned long lines = bytes >> 7; in xor_pII_mmx_5() local 236 : "+r" (lines), in xor_pII_mmx_5() 261 unsigned long lines = bytes >> 6; in xor_p5_mmx_2() local 297 : "+r" (lines), in xor_p5_mmx_2() 310 unsigned long lines = bytes >> 6; xor_p5_mmx_3() local 369 unsigned long lines = bytes >> 6; xor_p5_mmx_4() local 438 unsigned long lines = bytes >> 6; xor_p5_mmx_5() local [all...] |
/kernel/linux/linux-5.10/arch/sparc/include/asm/ |
H A D | xor_32.h | 18 int lines = bytes / (sizeof (long)) / 8; in sparc_2() local 49 } while (--lines > 0); in sparc_2() 56 int lines = bytes / (sizeof (long)) / 8; in sparc_3() local 100 } while (--lines > 0); in sparc_3() 107 int lines = bytes / (sizeof (long)) / 8; in sparc_4() local 164 } while (--lines > 0); in sparc_4() 171 int lines = bytes / (sizeof (long)) / 8; in sparc_5() local 241 } while (--lines > 0); in sparc_5()
|
/kernel/linux/linux-6.6/arch/sparc/include/asm/ |
H A D | xor_32.h | 19 int lines = bytes / (sizeof (long)) / 8; in sparc_2() local 50 } while (--lines > 0); in sparc_2() 58 int lines = bytes / (sizeof (long)) / 8; in sparc_3() local 102 } while (--lines > 0); in sparc_3() 111 int lines = bytes / (sizeof (long)) / 8; in sparc_4() local 168 } while (--lines > 0); in sparc_4() 178 int lines = bytes / (sizeof (long)) / 8; in sparc_5() local 248 } while (--lines > 0); in sparc_5()
|
/kernel/linux/linux-5.10/arch/loongarch/lib/ |
H A D | xor_template.c | 19 unsigned long lines = bytes / LINE_WIDTH; variable 31 } while (--lines > 0); 38 unsigned long lines = bytes / LINE_WIDTH; variable 52 } while (--lines > 0); 59 unsigned long lines = bytes / LINE_WIDTH; variable 76 } while (--lines > 0); 84 unsigned long lines = bytes / LINE_WIDTH; variable 103 } while (--lines > 0);
|
/kernel/linux/linux-5.10/arch/hexagon/mm/ |
H A D | cache.c | 17 unsigned long lines = spanlines(start, end-1); in flush_dcache_range() local 24 for (i = 0; i < lines; i++) { in flush_dcache_range() 37 unsigned long lines = spanlines(start, end-1); in flush_icache_range() local 44 for (i = 0; i < lines; i++) { in flush_icache_range() 62 unsigned long lines = spanlines(start, end-1); in hexagon_clean_dcache_range() local 69 for (i = 0; i < lines; i++) { in hexagon_clean_dcache_range() 82 unsigned long lines = spanlines(start, end-1); in hexagon_inv_dcache_range() local 89 for (i = 0; i < lines; i++) { in hexagon_inv_dcache_range()
|
/kernel/linux/linux-6.6/arch/hexagon/mm/ |
H A D | cache.c | 17 unsigned long lines = spanlines(start, end-1); in flush_dcache_range() local 24 for (i = 0; i < lines; i++) { in flush_dcache_range() 37 unsigned long lines = spanlines(start, end-1); in flush_icache_range() local 44 for (i = 0; i < lines; i++) { in flush_icache_range() 62 unsigned long lines = spanlines(start, end-1); in hexagon_clean_dcache_range() local 69 for (i = 0; i < lines; i++) { in hexagon_clean_dcache_range() 82 unsigned long lines = spanlines(start, end-1); in hexagon_inv_dcache_range() local 89 for (i = 0; i < lines; i++) { in hexagon_inv_dcache_range()
|
/kernel/linux/linux-6.6/arch/loongarch/lib/ |
H A D | xor_template.c | 20 unsigned long lines = bytes / LINE_WIDTH; variable 32 } while (--lines > 0); 40 unsigned long lines = bytes / LINE_WIDTH; variable 54 } while (--lines > 0); 63 unsigned long lines = bytes / LINE_WIDTH; variable 80 } while (--lines > 0); 90 unsigned long lines = bytes / LINE_WIDTH; variable 109 } while (--lines > 0);
|
/kernel/linux/linux-5.10/drivers/staging/comedi/drivers/ni_routing/tools/ |
H A D | convert_csv_to_c.py | 20 lines = [ 46 lines.append('\t\t[B({})] = {{'.format(D0_sig)) 53 lines.append('\t\t\t[B({})]\t= {},'.format(D1_sig, value)) 54 lines.append('\t\t},') 55 lines.append('\t},') 57 lines = '\n'.join(lines) 59 return N, lines 61 return lines 92 lines [all...] |
/kernel/linux/linux-6.6/drivers/comedi/drivers/ni_routing/tools/ |
H A D | convert_csv_to_c.py | 19 lines = [ 45 lines.append('\t\t[B({})] = {{'.format(D0_sig)) 52 lines.append('\t\t\t[B({})]\t= {},'.format(D1_sig, value)) 53 lines.append('\t\t},') 54 lines.append('\t},') 56 lines = '\n'.join(lines) 58 return N, lines 60 return lines 91 lines [all...] |
/kernel/linux/linux-5.10/tools/vm/ |
H 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 118 '$i Memory usage' with lines," 120 '$i Loss' with lines," 144 local lines 150 let lines [all...] |
/kernel/linux/linux-6.6/tools/mm/ |
H 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 118 '$i Memory usage' with lines," 120 '$i Loss' with lines," 144 local lines 150 let lines [all...] |
/kernel/linux/linux-5.10/tools/gpio/ |
H A D | gpio-utils.c | 27 * ioctl, including request and release for lines of gpio, read/write 29 * lines of gpio, user should use this type of api. 32 * following api will request gpio lines, do the operation and then 33 * release these lines. 36 * gpiotools_request_linehandle() - request gpio lines in a gpiochip 39 * @lines: An array desired lines, specified by offset 41 * @num_lines: The number of lines to request. 50 * Request gpio lines through the ioctl provided by chardev. User 53 * gpiotools_release_linehandle() to release these lines afte 58 gpiotools_request_linehandle(const char *device_name, unsigned int *lines, unsigned int num_lines, unsigned int flag, struct gpiohandle_data *data, const char *consumer_label) gpiotools_request_linehandle() argument 125 gpiotools_request_line(const char *device_name, unsigned int *lines, unsigned int num_lines, struct gpio_v2_line_config *config, const char *consumer) gpiotools_request_line() argument 273 unsigned int lines[] = {line}; gpiotools_get() local 294 gpiotools_gets(const char *device_name, unsigned int *lines, unsigned int num_lines, unsigned int *values) gpiotools_gets() argument 334 unsigned int lines[] = {line}; gpiotools_set() local 352 gpiotools_sets(const char *device_name, unsigned int *lines, unsigned int num_lines, unsigned int *values) gpiotools_sets() argument [all...] |
/kernel/linux/linux-5.10/tools/perf/util/ |
H A D | srccode.c | 3 * Manage printing of source lines 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() 137 h->lines = calloc(h->numlines, sizeof(char *)); in find_srcfile() 138 if (!h->lines) in find_srcfile() 140 fill_lines(h->lines, in find_srcfile() [all...] |
/kernel/linux/linux-6.6/tools/gpio/ |
H A D | gpio-utils.c | 27 * ioctl, including request and release for lines of gpio, read/write 29 * lines of gpio, user should use this type of api. 32 * following api will request gpio lines, do the operation and then 33 * release these lines. 37 * gpiotools_request_line() - request gpio lines in a gpiochip 40 * @lines: An array desired lines, specified by offset 42 * @num_lines: The number of lines to request. 49 * Request gpio lines through the ioctl provided by chardev. User 52 * gpiotools_release_line() to release these lines afte 57 gpiotools_request_line(const char *device_name, unsigned int *lines, unsigned int num_lines, struct gpio_v2_line_config *config, const char *consumer) gpiotools_request_line() argument 184 unsigned int lines[] = {line}; gpiotools_get() local 205 gpiotools_gets(const char *device_name, unsigned int *lines, unsigned int num_lines, unsigned int *values) gpiotools_gets() argument 245 unsigned int lines[] = {line}; gpiotools_set() local 263 gpiotools_sets(const char *device_name, unsigned int *lines, unsigned int num_lines, unsigned int *values) gpiotools_sets() argument [all...] |
/kernel/linux/linux-6.6/tools/perf/util/ |
H A D | srccode.c | 3 * Manage printing of source lines 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, in find_srcfile() [all...] |
/kernel/linux/linux-5.10/arch/powerpc/lib/ |
H A D | xor_vmx.c | 57 unsigned long lines = bytes / (sizeof(unative_t)) / 4; in __xor_altivec_2() local 67 } while (--lines > 0); in __xor_altivec_2() 76 unsigned long lines = bytes / (sizeof(unative_t)) / 4; in __xor_altivec_3() local 89 } while (--lines > 0); in __xor_altivec_3() 100 unsigned long lines = bytes / (sizeof(unative_t)) / 4; in __xor_altivec_4() local 116 } while (--lines > 0); in __xor_altivec_4() 128 unsigned long lines = bytes / (sizeof(unative_t)) / 4; in __xor_altivec_5() local 147 } while (--lines > 0); in __xor_altivec_5()
|
/kernel/linux/linux-6.6/arch/powerpc/lib/ |
H A D | xor_vmx.c | 58 unsigned long lines = bytes / (sizeof(unative_t)) / 4; in __xor_altivec_2() local 68 } while (--lines > 0); in __xor_altivec_2() 79 unsigned long lines = bytes / (sizeof(unative_t)) / 4; in __xor_altivec_3() local 92 } while (--lines > 0); in __xor_altivec_3() 105 unsigned long lines = bytes / (sizeof(unative_t)) / 4; in __xor_altivec_4() local 121 } while (--lines > 0); in __xor_altivec_4() 136 unsigned long lines = bytes / (sizeof(unative_t)) / 4; in __xor_altivec_5() local 155 } while (--lines > 0); in __xor_altivec_5()
|