/linux-6.3-rc2/scripts/ |
A D | checkstack.pl | 60 $re = qr/^.*stp.*sp, \#-([0-9]{1,8})\]\!/o; 64 $re = qr/.*sub.*sp, sp, #([0-9]{1,4})/o; 70 $re = qr/^.*[as][du][db] \$(0x$x{1,8}),\%(e|r)sp$/o; 74 $re = qr/.*adds.*r12=-(([0-9]{2}|[3-9])[0-9]{2}),r12/o; 81 $re = qr/.*daddiu.*sp,sp,-(([0-9]{2}|[3-9])[0-9]{2})/o; 84 $re = qr/.*addiu.*sp,sp,-(([0-9]{2}|[3-9])[0-9]{2})/o; 87 $re = qr/.*addi.*sp,sp,-(([0-9]{2}|[3-9])[0-9]{2})/o; 92 $re = qr/.*ldo ($x{1,8})\(sp\),sp/o; 96 $re = qr/.*st[dw]u.*r1,-($x{1,8})\(r1\)/o; 114 $re = qr/.*addi.*sp,sp,-(([0-9]{2}|[3-9])[0-9]{2})/o; [all …]
|
A D | checkkconfigsymbols.py | 14 import re 31 REGEX_FILE_KCONFIG = re.compile(r".*Kconfig[\.\w+\-]*$") 33 REGEX_SOURCE_SYMBOL = re.compile(SOURCE_SYMBOL) 34 REGEX_KCONFIG_DEF = re.compile(DEF) 35 REGEX_KCONFIG_EXPR = re.compile(EXPR) 36 REGEX_KCONFIG_STMT = re.compile(STMT) 37 REGEX_FILTER_SYMBOLS = re.compile(r"[A-Za-z0-9]$") 38 REGEX_NUMERIC = re.compile(r"0[xX][0-9a-fA-F]+|[0-9]+") 39 REGEX_QUOTES = re.compile("(\"(.*?)\")") 249 if re.findall(r"[URMADC]{1}", line[:2]): [all …]
|
A D | bpf_doc.py | 11 import re 62 arg_re = re.compile('((\w+ )*?(\w+|...))( (\**)(\w+))?$') 117 p = re.compile(' \* ?(BPF\w+)$') 121 end_re = re.compile(' \* ?NOTES$') 144 p = re.compile(' \* ?(?:\t| {5,8})Description$') 157 p = re.compile(' \* ?(?:\t| {5,8})(?:\t| {8})(.*)') 170 p = re.compile(' \* ?(?:\t| {5,8})Return$') 222 bpf_p = re.compile('\s*(BPF\w+)+') 227 assign_p = re.compile('\s*(BPF\w+)\s*=\s*(BPF\w+)') 242 self.enum_syscalls = re.findall('(BPF\w+)+', bpf_cmd_str) [all …]
|
/linux-6.3-rc2/arch/arm64/crypto/ |
A D | sm3-neon-core.S | 45 #define re w7 macro 358 ldp re, rf, [RSTATE, #16] 401 R1(ra, rb, rc, rd, re, rf, rg, rh, k_even, KL, 0, 0, IW, _, 0) 402 R1(rd, ra, rb, rc, rh, re, rf, rg, k_odd, _, 1, 1, IW, _, 0) 403 R1(rc, rd, ra, rb, rg, rh, re, rf, k_even, KL, 2, 2, IW, _, 0) 404 R1(rb, rc, rd, ra, rf, rg, rh, re, k_odd, _, 3, 3, IW, _, 0) 407 R1(ra, rb, rc, rd, re, rf, rg, rh, k_even, KL, 4, 0, IW, _, 0) 517 eor re, re, s0 522 stp re, rf, [RSTATE, #16] 548 eor re, re, s0 [all …]
|
/linux-6.3-rc2/tools/testing/selftests/bpf/ |
A D | test_bpftool_synctypes.py | 7 import re 65 end_marker = re.compile('^};') 111 if re.search(end_marker, line): 182 end_marker = re.compile('^};') 231 end_marker = re.compile('}\n') 249 pattern = re.compile('([\w/]+) [|}]') 250 end_marker = re.compile('}') 269 end_marker = re.compile('}\\\\n') 288 end_marker = re.compile('\'$') 320 end_marker = re.compile('#define') [all …]
|
/linux-6.3-rc2/fs/btrfs/ |
A D | ref-verify.c | 245 kfree(re); in free_block_entry() 273 kfree(re); in add_block_entry() 291 kfree(re); in add_block_entry() 293 kfree(re); in add_block_entry() 308 kfree(re); in add_block_entry() 344 ASSERT(re); in add_tree_block() 422 if (!re) { in add_extent_data_ref() 647 re->root_objectid, re->num_refs); in dump_block_entry() 858 if (!re) { in btrfs_ref_tree_mod() 874 if (re) in btrfs_ref_tree_mod() [all …]
|
/linux-6.3-rc2/tools/testing/selftests/tc-testing/plugin-lib/ |
A D | valgrindPlugin.py | 8 import re 113 self.definitely_lost_re = re.compile( 114 … r'definitely lost:\s+([,0-9]+)\s+bytes in\s+([,0-9]+)\sblocks', re.MULTILINE | re.DOTALL) 115 self.indirectly_lost_re = re.compile( 116 … r'indirectly lost:\s+([,0-9]+)\s+bytes in\s+([,0-9]+)\s+blocks', re.MULTILINE | re.DOTALL) 117 self.possibly_lost_re = re.compile( 118 r'possibly lost:\s+([,0-9]+)bytes in\s+([,0-9]+)\s+blocks', re.MULTILINE | re.DOTALL) 119 self.non_leak_error_re = re.compile( 120 … r'ERROR SUMMARY:\s+([,0-9]+) errors from\s+([,0-9]+)\s+contexts', re.MULTILINE | re.DOTALL)
|
/linux-6.3-rc2/Documentation/sphinx/ |
A D | automarkup.py | 15 import re 22 ascii_p3 = re.ASCII 33 RE_function = re.compile(r'\b(([a-zA-Z_]\w+)\(\))', flags=ascii_p3) 45 RE_struct = re.compile(r'\b(struct)\s+([a-zA-Z_]\w+)', flags=ascii_p3) 46 RE_union = re.compile(r'\b(union)\s+([a-zA-Z_]\w+)', flags=ascii_p3) 47 RE_enum = re.compile(r'\b(enum)\s+([a-zA-Z_]\w+)', flags=ascii_p3) 48 RE_typedef = re.compile(r'\b(typedef)\s+([a-zA-Z_]\w+)', flags=ascii_p3) 54 RE_doc = re.compile(r'(\bDocumentation/)?((\.\./)*[\w\-/]+)\.(rst|txt)') 56 RE_namespace = re.compile(r'^\s*..\s*c:namespace::\s*(\S+)\s*$') 116 repl.append(markup_func[m.re](docname, app, m)) [all …]
|
A D | maintainers_include.py | 21 import re 73 if re.search('^[A-Z0-9]', line): 81 m = re.search(pat, line) 84 line = re.sub(pat, ':doc:`%s <../%s>`' % (m.group(2), m.group(2)), line) 93 m = re.search("\s(\S):\s", line) 97 m = re.search("\*([^\*]+)\*", line) 115 heading = re.sub("\s+", " ", line)
|
A D | cdomain.py | 44 import re 58 RE_namespace = re.compile(r'^\s*..\s*c:namespace::\s*(\S+)\s*$') 70 RE_macro = re.compile(r'^\s*..\s*c:macro::\s*(\S+)\s+(\S.*)\s*$') 78 RE_ctype = re.compile(r'^\s*..\s*c:(struct|union|enum|enumerator|alias)::\s*(.*)$') 87 RE_ctype_refs = re.compile(r':c:(var|struct|union|enum|enumerator)::`([^\`]+)`') 94 RE_expr = re.compile(r':c:(expr|texpr):`([^\`]+)`') 116 n = n[:m.start()] + markup_func[m.re](m) + n[m.end():]
|
/linux-6.3-rc2/arch/mips/math-emu/ |
A D | sp_maddf.c | 18 int re; in _sp_maddf() local 155 re = xe + ye; in _sp_maddf() 166 re++; in _sp_maddf() 178 return ieee754sp_format(rs, re, rm); in _sp_maddf() 186 if (ze > re) { in _sp_maddf() 190 s = ze - re; in _sp_maddf() 192 re += s; in _sp_maddf() 193 } else if (re > ze) { in _sp_maddf() 197 s = re - ze; in _sp_maddf() 201 assert(ze == re); in _sp_maddf()
|
A D | dp_maddf.c | 43 int re; in _dp_maddf() local 184 re = xe + ye; in _dp_maddf() 222 re++; in _dp_maddf() 234 return ieee754dp_format(rs, re, lrm); in _dp_maddf() 243 if (ze > re) { in _dp_maddf() 247 s = ze - re; in _dp_maddf() 249 re += s; in _dp_maddf() 250 } else if (re > ze) { in _dp_maddf() 254 s = re - ze; in _dp_maddf() 258 assert(ze == re); in _dp_maddf()
|
A D | sp_div.c | 15 int re; in ieee754sp_div() local 116 re = xe - ye; in ieee754sp_div() 138 re--; in ieee754sp_div() 141 return ieee754sp_format(xs == ys ? 0 : 1, re, rm); in ieee754sp_div()
|
A D | dp_div.c | 15 int re; in ieee754dp_div() local 116 re = xe - ye; in ieee754dp_div() 139 re--; in ieee754dp_div() 142 return ieee754dp_format(xs == ys ? 0 : 1, re, rm); in ieee754dp_div()
|
/linux-6.3-rc2/scripts/dtc/ |
A D | dt-extract-compatibles | 6 import re 14 for m in re.finditer(r'(?<!CPU_METHOD_)(IRQCHIP|OF)_(DECLARE|MATCH)(_DRIVER)?\(.*?\)', data): 16 compat = re.search(r'"(.*?)"', m[0])[1] 28 for m in re.finditer(r'of_device_id\s+[a-zA-Z0-9_]+\[\]\s*=\s*({.*?);', data): 29 compat_list += re.findall(r'\.compatible\s+=\s+"([a-zA-Z0-9_\-,]+)"', m[1])
|
A D | flattree.c | 297 struct reserve_info *re; in flatten_reserve_list() local 301 for (re = reservelist; re; re = re->next) { in flatten_reserve_list() 302 d = data_append_re(d, re->address, re->size); in flatten_reserve_list() 452 struct reserve_info *re; in dt_to_asm() local 517 for (re = dti->reservelist; re; re = re->next) { in dt_to_asm() 520 for_each_label(re->labels, l) { in dt_to_asm() 526 (unsigned int)(re->address & 0xffffffff)); in dt_to_asm() 689 struct fdt_reserve_entry re; in flat_read_mem_reserve() local 700 flat_read_chunk(inb, &re, sizeof(re)); in flat_read_mem_reserve() 701 address = fdt64_to_cpu(re.address); in flat_read_mem_reserve() [all …]
|
A D | treesource.c | 322 struct reserve_info *re; in dt_to_source() local 326 for (re = dti->reservelist; re; re = re->next) { in dt_to_source() 329 for_each_label(re->labels, l) in dt_to_source() 332 (unsigned long long)re->address, in dt_to_source() 333 (unsigned long long)re->size); in dt_to_source()
|
/linux-6.3-rc2/Documentation/target/ |
A D | tcm_mod_builder.py | 12 import re 357 if not re.search('\(\*', line): 365 if not re.search('\(\*', line): 426 if re.search('get_fabric_name', fo): 434 if re.search('get_wwn', fo): 444 if re.search('get_tag', fo): 460 if re.search('\*release_cmd\)\(', fo): 474 if re.search('write_pending\)\(', fo): 502 if re.search('queue_status\)\(', fo): 509 if re.search('queue_tm_rsp\)\(', fo): [all …]
|
/linux-6.3-rc2/fs/f2fs/ |
A D | extent_cache.c | 185 if (ofs < re->ofs) in __lookup_rb_tree_slow() 187 else if (ofs >= re->ofs + re->len) in __lookup_rb_tree_slow() 190 return re; in __lookup_rb_tree_slow() 201 if (!re) in f2fs_lookup_rb_tree() 204 return re; in f2fs_lookup_rb_tree() 244 } else if (ofs >= re->ofs + re->len) { in f2fs_lookup_rb_tree_for_insert() 285 if (re) { in f2fs_lookup_rb_tree_ret() 286 if (re->ofs <= ofs && re->ofs + re->len > ofs) in f2fs_lookup_rb_tree_ret() 299 } else if (ofs >= re->ofs + re->len) { in f2fs_lookup_rb_tree_ret() 329 if (ofs == re->ofs + re->len - 1 || force) { in f2fs_lookup_rb_tree_ret() [all …]
|
/linux-6.3-rc2/drivers/mtd/ubi/ |
A D | cdev.c | 731 if (!re) { in rename_volumes() 737 if (IS_ERR(re->desc)) { in rename_volumes() 738 err = PTR_ERR(re->desc); in rename_volumes() 741 kfree(re); in rename_volumes() 748 ubi_close_volume(re->desc); in rename_volumes() 749 kfree(re); in rename_volumes() 753 re->new_name_len = name_len; in rename_volumes() 800 re->new_name, err); in rename_volumes() 824 ubi_close_volume(re->desc); in rename_volumes() 825 list_del(&re->list); in rename_volumes() [all …]
|
/linux-6.3-rc2/arch/um/ |
A D | Kconfig.debug | 13 If you're involved in UML kernel development and want to use gprof, 14 say Y. If you're unsure, say N. 28 If you're involved in UML kernel development and want to use gcov, 29 say Y. If you're unsure, say N.
|
/linux-6.3-rc2/tools/perf/arch/x86/util/ |
A D | header.c | 97 regex_t re; in strcmp_cpuid_str() local 113 if (regcomp(&re, mapcpuid, REG_EXTENDED) != 0) { in strcmp_cpuid_str() 119 match = !regexec(&re, id, 1, pmatch, 0); in strcmp_cpuid_str() 120 regfree(&re); in strcmp_cpuid_str()
|
/linux-6.3-rc2/Documentation/trace/postprocess/ |
A D | decode_msr.py | 5 import re 11 m = re.match(r'#define (MSR_\w+)\s+(0x[0-9a-fA-F]+)', j) 22 m = re.search(r'(read|write)_msr:\s+([0-9a-f]+)', j)
|
/linux-6.3-rc2/drivers/net/ethernet/cavium/octeon/ |
A D | octeon_mgmt.c | 229 re.d64 = 0; in octeon_mgmt_rx_fill_ring() 230 re.s.len = size; in octeon_mgmt_rx_fill_ring() 256 union mgmt_port_ring_entry re; in octeon_mgmt_clean_tx_buffers() local 290 dma_unmap_single(p->dev, re.s.addr, re.s.len, in octeon_mgmt_clean_tx_buffers() 294 if (unlikely(re.s.tstamp)) { in octeon_mgmt_clean_tx_buffers() 387 return re.d64; in octeon_mgmt_dequeue_rx_buffer() 406 skb_put(skb, re.s.len); in octeon_mgmt_receive_one() 430 skb_put(skb, re.s.len); in octeon_mgmt_receive_one() 1283 re.d64 = 0; in octeon_mgmt_xmit() 1285 re.s.len = skb->len; in octeon_mgmt_xmit() [all …]
|
/linux-6.3-rc2/sound/soc/codecs/aw88395/ |
A D | aw88395_device.h | 29 #define AW88395_DSP_RE_TO_SHOW_RE(re, shift) (((re) * (1000)) >> (shift)) argument 30 #define AW88395_SHOW_RE_TO_DSP_RE(re, shift) (((re) << shift) / (1000)) argument
|