/kernel/linux/linux-5.10/kernel/kcsan/ |
D | debugfs.c | 39 unsigned long *addrs; /* array of addresses */ member 45 .addrs = NULL, 114 sort(report_filterlist.addrs, report_filterlist.used, in kcsan_skip_report_debugfs() 118 ret = !!bsearch(&func_addr, report_filterlist.addrs, in kcsan_skip_report_debugfs() 152 if (report_filterlist.addrs == NULL) { in insert_report_filterlist() 154 report_filterlist.addrs = in insert_report_filterlist() 157 if (report_filterlist.addrs == NULL) { in insert_report_filterlist() 165 krealloc(report_filterlist.addrs, in insert_report_filterlist() 175 report_filterlist.addrs = new_addrs; in insert_report_filterlist() 179 report_filterlist.addrs[report_filterlist.used++] = in insert_report_filterlist() [all …]
|
/kernel/linux/linux-5.10/arch/powerpc/net/ |
D | bpf_jit_comp64.c | 319 u32 *addrs, bool extra_pass) in bpf_jit_build_body() argument 327 u32 exit_addr = addrs[flen]; in bpf_jit_build_body() 345 addrs[i] = ctx->idx * 4; in bpf_jit_build_body() 546 addrs[++i] = ctx->idx * 4; in bpf_jit_build_body() 555 addrs[++i] = ctx->idx * 4; in bpf_jit_build_body() 564 addrs[++i] = ctx->idx * 4; in bpf_jit_build_body() 572 addrs[++i] = ctx->idx * 4; in bpf_jit_build_body() 610 addrs[++i] = ctx->idx * 4; in bpf_jit_build_body() 679 addrs[++i] = ctx->idx * 4; in bpf_jit_build_body() 792 addrs[++i] = ctx->idx * 4; in bpf_jit_build_body() [all …]
|
D | bpf_jit_comp.c | 112 unsigned int *addrs) in bpf_jit_build_body() argument 121 unsigned int exit_addr = addrs[flen]; in bpf_jit_build_body() 131 addrs[i] = ctx->idx * 4; in bpf_jit_build_body() 174 PPC_BCC(COND_EQ, addrs[ctx->pc_ret0]); in bpf_jit_build_body() 351 PPC_BCC(COND_EQ, addrs[ctx->pc_ret0]); in bpf_jit_build_body() 460 PPC_JMP(addrs[i + 1 + K]); in bpf_jit_build_body() 482 PPC_JMP(addrs[i + 1 + filter[i].jt]); in bpf_jit_build_body() 525 addrs[i + 1 + filter[i].jf]); in bpf_jit_build_body() 527 PPC_BCC(true_cond, addrs[i + 1 + filter[i].jt]); in bpf_jit_build_body() 529 PPC_JMP(addrs[i + 1 + filter[i].jf]); in bpf_jit_build_body() [all …]
|
/kernel/linux/linux-5.10/fs/afs/ |
D | addr_list.c | 40 alist = kzalloc(struct_size(alist, addrs, nr), GFP_KERNEL); in afs_alloc_addrlist() 48 struct sockaddr_rxrpc *srx = &alist->addrs[i]; in afs_alloc_addrlist() 284 struct sockaddr_in *a = &alist->addrs[i].transport.sin; in afs_merge_fs_addr4() 297 memmove(alist->addrs + i + 1, in afs_merge_fs_addr4() 298 alist->addrs + i, in afs_merge_fs_addr4() 299 sizeof(alist->addrs[0]) * (alist->nr_addrs - i)); in afs_merge_fs_addr4() 301 srx = &alist->addrs[i]; in afs_merge_fs_addr4() 324 struct sockaddr_in6 *a = &alist->addrs[i].transport.sin6; in afs_merge_fs_addr6() 337 memmove(alist->addrs + i + 1, in afs_merge_fs_addr6() 338 alist->addrs + i, in afs_merge_fs_addr6() [all …]
|
D | vl_list.c | 164 struct afs_addr_list *addrs; in afs_extract_vlserver_list() local 257 addrs = afs_extract_vl_addrs(&b, end, bs.nr_addrs, bs.port); in afs_extract_vlserver_list() 258 if (IS_ERR(addrs)) { in afs_extract_vlserver_list() 259 ret = PTR_ERR(addrs); in afs_extract_vlserver_list() 265 afs_put_addrlist(addrs); in afs_extract_vlserver_list() 270 addrs->source = bs.source; in afs_extract_vlserver_list() 271 addrs->status = bs.status; in afs_extract_vlserver_list() 273 if (addrs->nr_addrs == 0) { in afs_extract_vlserver_list() 274 afs_put_addrlist(addrs); in afs_extract_vlserver_list() 280 struct afs_addr_list *old = addrs; in afs_extract_vlserver_list()
|
/kernel/linux/linux-5.10/drivers/char/ipmi/ |
D | ipmi_si_hardcode.c | 19 static unsigned long addrs[SI_MAX_PARMS]; variable 39 module_param_hw_array(addrs, ulong, iomem, &num_addrs, 0); 40 MODULE_PARM_DESC(addrs, "Sets the memory address of each interface, the" 143 if (i < num_addrs && addrs[i]) in ipmi_hardcode_init() 144 ipmi_hardcode_init_one(si_type[i], i, addrs[i], in ipmi_hardcode_init() 170 if (addrs[i] == addr) in ipmi_si_hardcode_match()
|
/kernel/linux/linux-5.10/arch/powerpc/kernel/ |
D | pci_of_scan.c | 123 const __be32 *addrs; in of_pci_parse_addrs() local 128 addrs = of_get_property(node, "assigned-addresses", &proplen); in of_pci_parse_addrs() 129 if (!addrs || !proplen) { in of_pci_parse_addrs() 130 addrs = of_get_property(node, "reg", &proplen); in of_pci_parse_addrs() 131 if (!addrs || !proplen) in of_pci_parse_addrs() 136 pr_debug(" parse addresses (%d bytes) @ %p\n", proplen, addrs); in of_pci_parse_addrs() 137 for (; proplen >= 20; proplen -= 20, addrs += 5) { in of_pci_parse_addrs() 138 flags = pci_parse_of_flags(of_read_number(addrs, 1), 0); in of_pci_parse_addrs() 141 base = of_read_number(&addrs[1], 2); in of_pci_parse_addrs() 142 size = of_read_number(&addrs[3], 2); in of_pci_parse_addrs() [all …]
|
/kernel/linux/linux-5.10/net/ipv6/ |
D | output_core.c | 38 struct in6_addr *addrs; in ipv6_proxy_select_ident() local 41 addrs = skb_header_pointer(skb, in ipv6_proxy_select_ident() 45 if (!addrs) in ipv6_proxy_select_ident() 48 id = __ipv6_select_ident(net, &addrs[1], &addrs[0]); in ipv6_proxy_select_ident()
|
/kernel/linux/linux-5.10/net/core/ |
D | flow_dissector.c | 1440 size_t diff = FLOW_KEYS_HASH_OFFSET + sizeof(flow->addrs); in flow_keys_hash_length() 1446 diff -= sizeof(flow->addrs.v4addrs); in flow_keys_hash_length() 1449 diff -= sizeof(flow->addrs.v6addrs); in flow_keys_hash_length() 1452 diff -= sizeof(flow->addrs.tipckey); in flow_keys_hash_length() 1462 return flow->addrs.v4addrs.src; in flow_get_u32_src() 1465 &flow->addrs.v6addrs.src); in flow_get_u32_src() 1467 return flow->addrs.tipckey.key; in flow_get_u32_src() 1478 return flow->addrs.v4addrs.dst; in flow_get_u32_dst() 1481 &flow->addrs.v6addrs.dst); in flow_get_u32_dst() 1497 if ((__force u32)keys->addrs.v4addrs.dst < in __flow_hash_consistentify() [all …]
|
/kernel/linux/linux-5.10/drivers/gpu/drm/armada/ |
D | armada_plane.c | 37 void armada_drm_plane_calc(struct drm_plane_state *state, u32 addrs[2][3], in armada_drm_plane_calc() 54 addrs[0][0] = addr + fb->offsets[0] + y * fb->pitches[0] + in armada_drm_plane_calc() 62 addrs[0][i] = addr + fb->offsets[i] + y * fb->pitches[i] + in armada_drm_plane_calc() 67 addrs[0][i] = 0; in armada_drm_plane_calc() 72 addrs[1][i] = addrs[0][i] + pitches[i]; in armada_drm_plane_calc() 77 addrs[1][i] = addrs[0][i]; in armada_drm_plane_calc() 152 armada_drm_plane_calc(state, st->addrs, st->pitches, interlace); in armada_drm_plane_atomic_check()
|
D | armada_plane.h | 9 u32 addrs[2][3]; member 19 #define armada_addr(state, f, p) to_armada_plane_state(state)->addrs[f][p] 22 void armada_drm_plane_calc(struct drm_plane_state *state, u32 addrs[2][3],
|
/kernel/linux/linux-5.10/net/phonet/ |
D | pn_dev.c | 55 bitmap_zero(pnd->addrs, 64); in __phonet_device_alloc() 103 for_each_set_bit(addr, pnd->addrs, 64) in phonet_device_destroy() 144 else if (test_and_set_bit(addr >> 2, pnd->addrs)) in phonet_address_add() 158 if (!pnd || !test_and_clear_bit(addr >> 2, pnd->addrs)) { in phonet_address_del() 161 } else if (bitmap_empty(pnd->addrs, 64)) in phonet_address_del() 182 BUG_ON(bitmap_empty(pnd->addrs, 64)); in phonet_address_get() 185 if (test_bit(daddr >> 2, pnd->addrs)) in phonet_address_get() 188 saddr = find_first_bit(pnd->addrs, 64) << 2; in phonet_address_get() 220 if (test_bit(addr >> 2, pnd->addrs)) { in phonet_address_lookup()
|
/kernel/linux/linux-5.10/drivers/net/wireless/intel/iwlwifi/mvm/ |
D | offloading.c | 119 struct iwl_targ_addr *addrs; in iwl_mvm_send_proto_offload() local 127 addrs = cmd.v3s.targ_addrs; in iwl_mvm_send_proto_offload() 132 addrs = cmd.v3l.targ_addrs; in iwl_mvm_send_proto_offload() 161 addrs[i].addr = mvmvif->target_ipv6_addrs[i]; in iwl_mvm_send_proto_offload() 162 addrs[i].config_num = cpu_to_le32(j); in iwl_mvm_send_proto_offload()
|
/kernel/linux/linux-5.10/arch/s390/net/ |
D | bpf_jit_comp.c | 38 u32 *addrs; /* Array with relative instruction addresses */ member 251 int rel = (addrs[(i) + (off) + 1] - jit->prg) / 2; \ 700 u32 *addrs = jit->addrs; in bpf_jit_insn() local 1526 can_use_rel(jit, addrs[i + off + 1])) { in bpf_jit_insn() 1529 mask >> 12, addrs[i + off + 1]); in bpf_jit_insn() 1533 mask >> 12, addrs[i + off + 1]); in bpf_jit_insn() 1544 can_use_rel(jit, addrs[i + off + 1])) { in bpf_jit_insn() 1556 mask >> 12, addrs[i + off + 1]); in bpf_jit_insn() 1562 can_use_rel(jit, addrs[i + off + 1])) { in bpf_jit_insn() 1574 mask >> 12, addrs[i + off + 1]); in bpf_jit_insn() [all …]
|
/kernel/linux/linux-5.10/arch/sparc/net/ |
D | bpf_jit_comp_32.c | 241 do { void *_here = image + addrs[i] - 8; \ 248 do { unsigned int _here = addrs[i] - 8; \ 332 unsigned int *addrs; in bpf_jit_compile() local 338 addrs = kmalloc_array(flen, sizeof(*addrs), GFP_KERNEL); in bpf_jit_compile() 339 if (addrs == NULL) in bpf_jit_compile() 347 addrs[i] = proglen; in bpf_jit_compile() 464 t_offset = addrs[pc_ret0 - 1]; in bpf_jit_compile() 633 emit_jump(addrs[i + K]); in bpf_jit_compile() 652 cond_branch: f_offset = addrs[i + filter[i].jf]; in bpf_jit_compile() 653 t_offset = addrs[i + filter[i].jt]; in bpf_jit_compile() [all …]
|
/kernel/linux/linux-5.10/drivers/staging/vc04_services/interface/vchiq_arm/ |
D | vchiq_2835_arm.c | 313 u32 *addrs; in create_pagelist() local 353 addrs = pagelist->addrs; in create_pagelist() 354 pages = (struct page **)(addrs + num_pages); in create_pagelist() 462 ((addrs[k - 1] & PAGE_MASK) + in create_pagelist() 463 (((addrs[k - 1] & ~PAGE_MASK) + 1) << PAGE_SHIFT)) in create_pagelist() 465 addrs[k - 1] += ((len + PAGE_SIZE - 1) >> PAGE_SHIFT); in create_pagelist() 467 addrs[k++] = (addr & PAGE_MASK) | in create_pagelist()
|
/kernel/linux/linux-5.10/arch/x86/net/ |
D | bpf_jit_comp.c | 786 static int do_jit(struct bpf_prog *bpf_prog, int *addrs, u8 *image, in do_jit() argument 810 addrs[0] = prog - temp; in do_jit() 1257 if (!imm32 || emit_call(&prog, func, image + addrs[i - 1] + 7)) in do_jit() 1260 if (!imm32 || emit_call(&prog, func, image + addrs[i - 1])) in do_jit() 1268 &prog, image + addrs[i - 1], in do_jit() 1276 image + addrs[i - 1], in do_jit() 1414 jmp_offset = addrs[i + insn->off] - addrs[i]; in do_jit() 1436 jmp_offset = addrs[i + insn->off] - addrs[i]; in do_jit() 1454 jmp_offset = ctx->cleanup_addr - addrs[i]; in do_jit() 1462 emit_return(&prog, image + addrs[i - 1] + (prog - temp)); in do_jit() [all …]
|
/kernel/linux/linux-5.10/include/media/i2c/ |
D | tvaudio.h | 37 static const unsigned short addrs[] = { in tvaudio_addrs() local 49 return addrs; in tvaudio_addrs()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/cisco/enic/ |
D | enic_clsf.c | 38 data.u.ipv4.src_addr = ntohl(keys->addrs.v4addrs.src); in enic_addfltr_5t() 39 data.u.ipv4.dst_addr = ntohl(keys->addrs.v4addrs.dst); in enic_addfltr_5t() 162 if (tpos->keys.addrs.v4addrs.src == k->addrs.v4addrs.src && in htbl_key_search() 163 tpos->keys.addrs.v4addrs.dst == k->addrs.v4addrs.dst && in htbl_key_search()
|
/kernel/linux/linux-5.10/drivers/net/xen-netback/ |
D | hash.c | 195 memcpy(&data[0], &flow.addrs.v4addrs.src, 4); in xenvif_set_skb_hash() 196 memcpy(&data[4], &flow.addrs.v4addrs.dst, 4); in xenvif_set_skb_hash() 205 memcpy(&data[0], &flow.addrs.v4addrs.src, 4); in xenvif_set_skb_hash() 206 memcpy(&data[4], &flow.addrs.v4addrs.dst, 4); in xenvif_set_skb_hash() 219 memcpy(&data[0], &flow.addrs.v6addrs.src, 16); in xenvif_set_skb_hash() 220 memcpy(&data[16], &flow.addrs.v6addrs.dst, 16); in xenvif_set_skb_hash() 229 memcpy(&data[0], &flow.addrs.v6addrs.src, 16); in xenvif_set_skb_hash() 230 memcpy(&data[16], &flow.addrs.v6addrs.dst, 16); in xenvif_set_skb_hash()
|
/kernel/linux/linux-5.10/drivers/block/rnbd/ |
D | rnbd-clt-sysfs.c | 540 struct sockaddr_storage *addrs; in rnbd_clt_map_device_store() local 550 addrs = kcalloc(ARRAY_SIZE(paths) * 2, sizeof(*addrs), GFP_KERNEL); in rnbd_clt_map_device_store() 551 if (!addrs) in rnbd_clt_map_device_store() 555 paths[path_cnt].src = &addrs[path_cnt * 2]; in rnbd_clt_map_device_store() 556 paths[path_cnt].dst = &addrs[path_cnt * 2 + 1]; in rnbd_clt_map_device_store() 582 kfree(addrs); in rnbd_clt_map_device_store() 588 kfree(addrs); in rnbd_clt_map_device_store()
|
/kernel/linux/linux-5.10/drivers/media/i2c/ |
D | rdacm20.c | 320 u32 addrs[2]; member 481 ret = max9271_set_address(dev->serializer, dev->addrs[0]); in rdacm20_initialize() 484 dev->serializer->client->addr = dev->addrs[0]; in rdacm20_initialize() 526 (dev->addrs[1] << 1) | in rdacm20_initialize() 533 dev->sensor->addr = dev->addrs[1]; in rdacm20_initialize() 566 dev->addrs, 2); in rdacm20_probe()
|
/kernel/linux/linux-5.10/tools/lib/bpf/ |
D | xsk.h | 51 __u64 *addrs = (__u64 *)fill->ring; in xsk_ring_prod__fill_addr() local 53 return &addrs[idx & fill->mask]; in xsk_ring_prod__fill_addr() 59 const __u64 *addrs = (const __u64 *)comp->ring; in xsk_ring_cons__comp_addr() local 61 return &addrs[idx & comp->mask]; in xsk_ring_cons__comp_addr()
|
/kernel/linux/linux-5.10/net/xdp/ |
D | xdp_umem.c | 44 vunmap(umem->addrs); in xdp_umem_addr_unmap() 45 umem->addrs = NULL; in xdp_umem_addr_unmap() 51 umem->addrs = vmap(pages, nr_pages, VM_MAP, PAGE_KERNEL); in xdp_umem_addr_map() 52 if (!umem->addrs) in xdp_umem_addr_map()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/seeq/ |
D | ether3.c | 589 unsigned char addrs[16]; in ether3_rx() local 610 ether3_readbuffer(dev, addrs+2, 12); in ether3_rx() 615 printk("%pM %pM\n", addrs + 2, addrs + 8); in ether3_rx() 622 if (!(*(unsigned long *)&dev->dev_addr[0] ^ *(unsigned long *)&addrs[2+6]) && in ether3_rx() 623 !(*(unsigned short *)&dev->dev_addr[4] ^ *(unsigned short *)&addrs[2+10])) { in ether3_rx() 642 *(unsigned short *)(buf + 0) = *(unsigned short *)(addrs + 2); in ether3_rx() 643 *(unsigned long *)(buf + 2) = *(unsigned long *)(addrs + 4); in ether3_rx() 644 *(unsigned long *)(buf + 6) = *(unsigned long *)(addrs + 8); in ether3_rx() 645 *(unsigned short *)(buf + 10) = *(unsigned short *)(addrs + 12); in ether3_rx()
|