/linux-master/arch/mips/math-emu/ |
H A D | dp_mul.c | 14 int re; local 104 /* rm = xm * ym, re = xe+ye basically */ 108 re = xe + ye; 151 re++; 158 return ieee754dp_format(rs, re, rm);
|
/linux-master/tools/crypto/tcrypt/ |
H A D | tcrypt_speed_compare.py | 54 import re namespace 59 match = re.search(pattern, line) 71 match = re.search(pattern_operations, line) 80 match = re.search(pattern_cycles, line)
|
/linux-master/scripts/dtc/ |
H A D | treesource.c | 322 struct reserve_info *re; local 326 for (re = dti->reservelist; re; re = re->next) { 329 for_each_label(re->labels, l) 332 (unsigned long long)re->address, 333 (unsigned long long)re->size);
|
H A D | flattree.c | 297 struct reserve_info *re; local 301 for (re = reservelist; re; re = re->next) { 302 d = data_append_re(d, re->address, re->size); 452 struct reserve_info *re; local 517 for (re = dti->reservelist; re; r 689 struct fdt_reserve_entry re; local [all...] |
H A D | data.c | 123 /* Adjust all markers after the one we're inserting at */ 189 struct fdt_reserve_entry re; local 191 re.address = cpu_to_fdt64(address); 192 re.size = cpu_to_fdt64(size); 194 return data_append_data(d, &re, sizeof(re));
|
/linux-master/scripts/tracing/ |
H A D | draw_functrace.py | 25 import sys, re namespace 106 m = re.match("[^]]+?\\] +([a-z.]+) +([0-9.]+): (\\w+) <-(\\w+)", line)
|
/linux-master/drivers/mtd/ubi/ |
H A D | cdev.c | 13 * manipulate whole volumes: create, remove, and re-size them. Volume character 651 * verify_rsvol_req - verify volume re-size request. 672 * @req: volumes re-name request 674 * This is a helper function for the volume re-name IOCTL which validates the 684 struct ubi_rename_entry *re, *re1; local 723 /* Create the re-name list */ 730 re = kzalloc(sizeof(struct ubi_rename_entry), GFP_KERNEL); 731 if (!re) { 736 re->desc = ubi_open_volume(ubi->ubi_num, vol_id, UBI_METAONLY); 737 if (IS_ERR(re [all...] |
H A D | vtbl.c | 117 * This function re-names multiple volumes specified in @req in the volume 124 struct ubi_rename_entry *re; local 126 list_for_each_entry(re, rename_list, list) { 128 struct ubi_volume *vol = re->desc->vol; 131 if (re->remove) { 137 vtbl_rec->name_len = cpu_to_be16(re->new_name_len); 138 memcpy(vtbl_rec->name, re->new_name, re->new_name_len); 139 memset(vtbl_rec->name + re->new_name_len, 0, 140 UBI_VOL_NAME_MAX + 1 - re [all...] |
/linux-master/scripts/clang-tools/ |
H A D | gen_compile_commands.py | 14 import re namespace 85 filename_matcher = re.compile(_FILENAME_PATTERN) 193 line_matcher = re.compile(_LINE_PATTERN)
|
/linux-master/scripts/dtc/libfdt/ |
H A D | fdt_sw.c | 190 struct fdt_reserve_entry *re; local 196 if ((offset + sizeof(*re)) > fdt_totalsize(fdt)) 199 re = (struct fdt_reserve_entry *)((char *)fdt + offset); 200 re->address = cpu_to_fdt64(addr); 201 re->size = cpu_to_fdt64(size); 203 fdt_set_off_dt_struct(fdt, offset + sizeof(*re));
|
H A D | fdt_rw.c | 157 struct fdt_reserve_entry *re; local 162 re = fdt_mem_rsv_w_(fdt, fdt_num_mem_rsv(fdt)); 163 err = fdt_splice_mem_rsv_(fdt, re, 0, 1); 167 re->address = cpu_to_fdt64(address); 168 re->size = cpu_to_fdt64(size); 174 struct fdt_reserve_entry *re = fdt_mem_rsv_w_(fdt, n); local 181 return fdt_splice_mem_rsv_(fdt, re, 1, 0);
|
H A D | fdt_ro.c | 177 const struct fdt_reserve_entry *re; local 180 re = fdt_mem_rsv(fdt, n); 181 if (!can_assume(VALID_INPUT) && !re) 184 *address = fdt64_ld_(&re->address); 185 *size = fdt64_ld_(&re->size); 192 const struct fdt_reserve_entry *re; local 194 for (i = 0; (re = fdt_mem_rsv(fdt, i)) != NULL; i++) { 195 if (fdt64_ld_(&re->size) == 0)
|
/linux-master/tools/testing/selftests/devices/ |
H A D | test_discoverable_devices.py | 20 import re namespace 34 dir_regex = re.compile(pci_controller_sysfs_dir) 44 dir_regex = re.compile(usb_controller_sysfs_dir) 51 re_dt_mmio = re.compile("OF_FULLNAME=.*@([0-9a-f]+)") 72 re_usb_version = re.compile("PRODUCT=.*/(\d)/.*") 78 re_busnum = re.compile("BUSNUM=(.*)")
|
/linux-master/Documentation/sphinx/ |
H A D | kernel_abi.py | 39 import re namespace 105 line_regex = re.compile(r"^\.\. LINENO (\S+)\#([0-9]+)$")
|
H A D | kernel_feat.py | 36 import re namespace 98 line_regex = re.compile(r"^\.\. FILE (\S+)$")
|
/linux-master/tools/testing/kunit/ |
H A D | kunit_parser.py | 14 import re namespace 211 KTAP_START = re.compile(r'\s*KTAP version ([0-9]+)$') 212 TAP_START = re.compile(r'\s*TAP version ([0-9]+)$') 213 KTAP_END = re.compile(r'\s*(List of all partitions:|' 215 EXECUTOR_ERROR = re.compile(r'\s*kunit executor: (.*)$') 301 TEST_HEADER = re.compile(r'^\s*# Subtest: (.*)$') 325 TEST_PLAN = re.compile(r'^\s*1\.\.([0-9]+)') 353 TEST_RESULT = re.compile(r'^\s*(ok|not ok) ([0-9]+) (- )?([^#]*)( # .*)?$') 355 TEST_RESULT_SKIP = re.compile(r'^\s*(ok|not ok) ([0-9]+) (- )?(.*) # SKIP(.*)$') 454 while lines and not any(re [all...] |
/linux-master/tools/testing/selftests/bpf/prog_tests/ |
H A D | ctx_rewrite.c | 327 regex_t *re; local 330 re = malloc(sizeof(regex_t)); 331 if (!re) { 336 err = regcomp(re, pat, REG_EXTENDED); 340 regerror(err, re, errbuf, sizeof(errbuf)); 342 free(re); 346 return re; 349 static void free_regex(regex_t *re) argument 351 if (!re) 354 regfree(re); [all...] |
/linux-master/drivers/gpu/drm/nouveau/nvkm/subdev/fb/ |
H A D | nv50.c | 141 const struct nvkm_enum *en, *re, *cl, *sc; local 174 re = nvkm_enum_find(vm_fault , st1); 190 st1, re ? re->name : "");
|
/linux-master/scripts/gdb/linux/ |
H A D | vmalloc.py | 10 import re namespace
|
/linux-master/drivers/net/ethernet/cavium/octeon/ |
H A D | octeon_mgmt.c | 217 union mgmt_port_ring_entry re; local 229 re.d64 = 0; 230 re.s.len = size; 231 re.s.addr = dma_map_single(p->dev, skb->data, 236 p->rx_ring[p->rx_next_fill] = re.d64; 256 union mgmt_port_ring_entry re; local 276 re.d64 = p->tx_ring[p->tx_next_clean]; 290 dma_unmap_single(p->dev, re.s.addr, re.s.len, 294 if (unlikely(re 372 union mgmt_port_ring_entry re; local 395 union mgmt_port_ring_entry re; local 1279 union mgmt_port_ring_entry re; local [all...] |
/linux-master/tools/perf/scripts/python/ |
H A D | compaction-times.py | 9 import re namespace 29 def __init__(self, re): 30 self.re = re 33 m = self.re.search(comm) 272 pid_re = re.compile(pid_regex) 305 comm_re=re.compile(opt)
|
/linux-master/drivers/net/ethernet/marvell/ |
H A D | sky2.c | 821 * sky2_reset will re-enable on resume 1153 struct rx_ring_info *re; local 1160 BUG_ON(sky2->rx_nfrags > ARRAY_SIZE(re->frag_addr)); 1194 const struct rx_ring_info *re) 1198 sky2_rx_add(sky2, OP_PACKET, re->data_addr, sky2->rx_data_size); 1200 for (i = 0; i < skb_shinfo(re->skb)->nr_frags; i++) 1201 sky2_rx_add(sky2, OP_BUFFER, re->frag_addr[i], PAGE_SIZE); 1205 static int sky2_rx_map_skb(struct pci_dev *pdev, struct rx_ring_info *re, argument 1208 struct sk_buff *skb = re->skb; 1211 re 1193 sky2_rx_submit(struct sky2_port *sky2, const struct rx_ring_info *re) argument 1247 sky2_rx_unmap_skb(struct pci_dev *pdev, struct rx_ring_info *re) argument 1353 struct rx_ring_info *re = sky2->rx_ring + i; local 1492 struct rx_ring_info *re = sky2->rx_ring + i; local 1519 struct rx_ring_info *re; local 1806 sky2_tx_unmap(struct pci_dev *pdev, struct tx_ring_info *re) argument 1829 struct tx_ring_info *re; local 2009 struct tx_ring_info *re = sky2->tx_ring + idx; local 2446 needs_copy(const struct rx_ring_info *re, unsigned length) argument 2458 receive_copy(struct sky2_port *sky2, const struct rx_ring_info *re, unsigned length) argument 2519 receive_new(struct sky2_port *sky2, struct rx_ring_info *re, unsigned int length) argument 2559 struct rx_ring_info *re = sky2->rx_ring + sky2->rx_next; local [all...] |
/linux-master/tools/perf/pmu-events/ |
H A D | metric.py | 6 import re namespace 307 s = re.sub(r'([^\\]),', r'\1\\,', s) 308 return re.sub(r'([^\\])=', r'\1\\=', s) 319 result = re.sub('/', '@', self.name) 550 py = re.sub(r'([a-zA-Z][^-+/\* \\\(\),]*(?:\\.[^-+/\* \\\(\),]*)*)', 553 py = re.sub(r'#Event\(r"([^"]*)"\)', r'Literal("#\1")', py) 557 py = re.sub(r'0Event\(r"[xX]([0-9a-fA-F]*)"\)', r'Event("0x\1")', py) 559 py = re.sub(r'([0-9]+)Event\(r"(e[0-9]+)"\)', r'\1\2', py) 563 py = re.sub(rf'Event\(r"{kw}"\)', kw, py)
|
/linux-master/tools/workqueue/ |
H A D | wq_monitor.py | 38 import re namespace 149 filter_re = re.compile(re_str) if re_str else None
|
/linux-master/tools/power/pm-graph/ |
H A D | sleepgraph.py | 57 import re namespace 423 m = re.match('(?P<name>.*)_dmesg\.txt.*', self.dmesgfile) 427 m = re.match('(?P<name>.*)_ftrace\.txt.*', self.ftracefile) 467 if re.match('^processor[ \t]*:[ \t]*[0-9]*', line): 472 m = re.match('^MemTotal:[ \t]*(?P<sz>[0-9]*) *kB', line) 475 m = re.match('^MemFree:[ \t]*(?P<sz>[0-9]*) *kB', line) 542 m = re.match('[ \t]*(\[ *)(?P<ktime>[0-9\.]*)(\]) (?P<msg>.*)', line) 556 m = re.match('[ \t]*(\[ *)(?P<ktime>[0-9\.]*)(\]) (?P<msg>.*)', line) 639 m = re.match('.* '+arg+'=(?P<arg>.*) ', data); 643 m = re [all...] |