/Linux-v6.6/mm/ |
D | mremap.c | 139 unsigned long new_addr, bool need_rmap_locks) in move_ptes() argument 178 new_pte = pte_offset_map_nolock(mm, new_pmd, new_addr, &new_ptl); in move_ptes() 190 new_pte++, new_addr += PAGE_SIZE) { in move_ptes() 208 pte = move_pte(pte, new_vma->vm_page_prot, old_addr, new_addr); in move_ptes() 210 set_pte_at(mm, new_addr, new_pte, pte); in move_ptes() 237 unsigned long new_addr, pmd_t *old_pmd, pmd_t *new_pmd) in move_normal_pmd() argument 296 unsigned long old_addr, unsigned long new_addr, pmd_t *old_pmd, in move_normal_pmd() argument 305 unsigned long new_addr, pud_t *old_pud, pud_t *new_pud) in move_normal_pud() argument 345 unsigned long old_addr, unsigned long new_addr, pud_t *old_pud, in move_normal_pud() argument 354 unsigned long new_addr, pud_t *old_pud, pud_t *new_pud) in move_huge_pud() argument [all …]
|
/Linux-v6.6/net/netfilter/ |
D | nf_flow_table_ip.c | 40 __be32 addr, __be32 new_addr) in nf_flow_nat_ip_tcp() argument 45 inet_proto_csum_replace4(&tcph->check, skb, addr, new_addr, true); in nf_flow_nat_ip_tcp() 49 __be32 addr, __be32 new_addr) in nf_flow_nat_ip_udp() argument 56 new_addr, true); in nf_flow_nat_ip_udp() 64 __be32 new_addr) in nf_flow_nat_ip_l4proto() argument 68 nf_flow_nat_ip_tcp(skb, thoff, addr, new_addr); in nf_flow_nat_ip_l4proto() 71 nf_flow_nat_ip_udp(skb, thoff, addr, new_addr); in nf_flow_nat_ip_l4proto() 80 __be32 addr, new_addr; in nf_flow_snat_ip() local 85 new_addr = flow->tuplehash[FLOW_OFFLOAD_DIR_REPLY].tuple.dst_v4.s_addr; in nf_flow_snat_ip() 86 iph->saddr = new_addr; in nf_flow_snat_ip() [all …]
|
D | xt_NETMAP.c | 25 union nf_inet_addr new_addr, netmask; in netmap_tg6() local 35 new_addr.in6 = ipv6_hdr(skb)->daddr; in netmap_tg6() 37 new_addr.in6 = ipv6_hdr(skb)->saddr; in netmap_tg6() 39 for (i = 0; i < ARRAY_SIZE(new_addr.ip6); i++) { in netmap_tg6() 40 new_addr.ip6[i] &= ~netmask.ip6[i]; in netmap_tg6() 41 new_addr.ip6[i] |= range->min_addr.ip6[i] & in netmap_tg6() 46 newrange.min_addr = new_addr; in netmap_tg6() 47 newrange.max_addr = new_addr; in netmap_tg6()
|
D | nft_nat.c | 68 union nf_inet_addr new_addr; in nft_nat_setup_netmap() local 75 new_addr.ip = ip_hdr(skb)->saddr; in nft_nat_setup_netmap() 78 new_addr.in6 = ipv6_hdr(skb)->saddr; in nft_nat_setup_netmap() 84 new_addr.ip = ip_hdr(skb)->daddr; in nft_nat_setup_netmap() 87 new_addr.in6 = ipv6_hdr(skb)->daddr; in nft_nat_setup_netmap() 95 new_addr.ip6[i] &= ~netmask; in nft_nat_setup_netmap() 96 new_addr.ip6[i] |= range->min_addr.ip6[i] & netmask; in nft_nat_setup_netmap() 99 range->min_addr = new_addr; in nft_nat_setup_netmap() 100 range->max_addr = new_addr; in nft_nat_setup_netmap()
|
/Linux-v6.6/net/sched/ |
D | act_nat.c | 91 nparm->new_addr = parm->new_addr; in tcf_nat_init() 122 __be32 new_addr; in tcf_nat_act() local 137 new_addr = parms->new_addr; in tcf_nat_act() 159 new_addr &= mask; in tcf_nat_act() 160 new_addr |= addr & ~mask; in tcf_nat_act() 165 iph->saddr = new_addr; in tcf_nat_act() 167 iph->daddr = new_addr; in tcf_nat_act() 169 csum_replace4(&iph->check, addr, new_addr); in tcf_nat_act() 188 inet_proto_csum_replace4(&tcph->check, skb, addr, new_addr, in tcf_nat_act() 203 new_addr, true); in tcf_nat_act() [all …]
|
/Linux-v6.6/samples/bpf/ |
D | test_probe_write_user.bpf.c | 33 struct sockaddr_in new_addr, orig_addr = {}; in BPF_KSYSCALL() local 44 memcpy(&new_addr, mapped_addr, sizeof(new_addr)); in BPF_KSYSCALL() 45 bpf_probe_write_user(uservaddr, &new_addr, in BPF_KSYSCALL() 46 sizeof(new_addr)); in BPF_KSYSCALL()
|
/Linux-v6.6/arch/sh/kernel/ |
D | ftrace.c | 262 unsigned long new_addr) in ftrace_mod() argument 272 __raw_writel(new_addr, ip); in ftrace_mod() 278 unsigned long ip, old_addr, new_addr; in ftrace_enable_ftrace_graph_caller() local 282 new_addr = (unsigned long)(&ftrace_graph_caller); in ftrace_enable_ftrace_graph_caller() 284 return ftrace_mod(ip, old_addr, new_addr); in ftrace_enable_ftrace_graph_caller() 289 unsigned long ip, old_addr, new_addr; in ftrace_disable_ftrace_graph_caller() local 293 new_addr = (unsigned long)(&skip_trace); in ftrace_disable_ftrace_graph_caller() 295 return ftrace_mod(ip, old_addr, new_addr); in ftrace_disable_ftrace_graph_caller()
|
/Linux-v6.6/drivers/firmware/efi/libstub/ |
D | relocate.c | 118 unsigned long new_addr = 0; in efi_relocate_kernel() local 141 new_addr = efi_addr; in efi_relocate_kernel() 147 status = efi_low_alloc_above(alloc_size, alignment, &new_addr, in efi_relocate_kernel() 159 memcpy((void *)new_addr, (void *)cur_image_addr, image_size); in efi_relocate_kernel() 162 *image_addr = new_addr; in efi_relocate_kernel()
|
/Linux-v6.6/tools/testing/selftests/x86/ |
D | test_mremap_vdso.c | 27 void *dest_addr, *new_addr; in try_to_remap() local 41 new_addr = mremap(vdso_addr, size, size, in try_to_remap() 43 if ((unsigned long)new_addr == (unsigned long)-1) { in try_to_remap()
|
/Linux-v6.6/net/openvswitch/ |
D | actions.c | 347 __be32 addr, __be32 new_addr) in update_ip_l4_checksum() argument 357 addr, new_addr, true); in update_ip_l4_checksum() 364 addr, new_addr, true); in update_ip_l4_checksum() 373 __be32 *addr, __be32 new_addr) in set_ip_addr() argument 375 update_ip_l4_checksum(skb, nh, *addr, new_addr); in set_ip_addr() 376 csum_replace4(&nh->check, *addr, new_addr); in set_ip_addr() 379 *addr = new_addr; in set_ip_addr() 383 __be32 addr[4], const __be32 new_addr[4]) in update_ipv6_checksum() 390 addr, new_addr, true); in update_ipv6_checksum() 397 addr, new_addr, true); in update_ipv6_checksum() [all …]
|
/Linux-v6.6/arch/um/drivers/ |
D | umcast_user.c | 22 static struct sockaddr_in *new_addr(char *addr, unsigned short port) in new_addr() function 45 pri->remote_addr = new_addr(pri->addr, pri->rport); in umcast_user_init() 47 pri->listen_addr = new_addr(NULL, pri->lport); in umcast_user_init()
|
D | daemon_user.c | 33 static struct sockaddr_un *new_addr(void *name, int len) in new_addr() function 137 pri->ctl_addr = new_addr(pri->ctl_sock, in daemon_user_init() 143 pri->local_addr = new_addr(&name, sizeof(name)); in daemon_user_init()
|
/Linux-v6.6/arch/powerpc/kernel/trace/ |
D | ftrace.c | 166 unsigned long ip, new_addr, addr; in ftrace_replace_code() local 179 new_addr = ftrace_get_addr_new(rec); in ftrace_replace_code() 187 ret = ftrace_get_call_inst(rec, new_addr, &new_call_inst); in ftrace_replace_code() 198 ret = ftrace_get_call_inst(rec, new_addr, &call_inst); in ftrace_replace_code()
|
/Linux-v6.6/arch/ia64/kernel/ |
D | sys_ia64.c | 162 unsigned long new_addr) in ia64_mremap() argument 164 addr = sys_mremap(addr, old_len, new_len, flags, new_addr); in ia64_mremap()
|
/Linux-v6.6/include/uapi/linux/tc_act/ |
D | tc_nat.h | 22 __be32 new_addr; member
|
/Linux-v6.6/include/net/tc_act/ |
D | tc_nat.h | 10 __be32 new_addr; member
|
/Linux-v6.6/arch/loongarch/kernel/ |
D | relocate.c | 155 unsigned long *new_addr = (unsigned long *)RELOCATED_KASLR(addr); in update_reloc_offset() local 157 *new_addr = (unsigned long)reloc_offset; in update_reloc_offset()
|
/Linux-v6.6/kernel/bpf/ |
D | trampoline.c | 187 static int modify_fentry(struct bpf_trampoline *tr, void *old_addr, void *new_addr, in modify_fentry() argument 195 ret = modify_ftrace_direct(tr->fops, (long)new_addr); in modify_fentry() 197 ret = modify_ftrace_direct_nolock(tr->fops, (long)new_addr); in modify_fentry() 199 ret = bpf_arch_text_poke(ip, BPF_MOD_CALL, old_addr, new_addr); in modify_fentry() 205 static int register_fentry(struct bpf_trampoline *tr, void *new_addr) in register_fentry() argument 220 ret = register_ftrace_direct(tr->fops, (long)new_addr); in register_fentry() 222 ret = bpf_arch_text_poke(ip, BPF_MOD_CALL, NULL, new_addr); in register_fentry()
|
/Linux-v6.6/arch/s390/kernel/ |
D | kprobes.c | 72 u64 addr, new_addr; in copy_instruction() local 88 new_addr = (u64)(unsigned long)p->ainsn.insn; in copy_instruction() 89 new_disp = ((addr + (disp * 2)) - new_addr) / 2; in copy_instruction()
|
/Linux-v6.6/drivers/net/ethernet/natsemi/ |
D | sonic.c | 501 struct sk_buff **new_skb, dma_addr_t *new_addr) in sonic_alloc_rb() argument 510 *new_addr = dma_map_single(lp->device, skb_put(*new_skb, SONIC_RBSIZE), in sonic_alloc_rb() 512 if (dma_mapping_error(lp->device, *new_addr)) { in sonic_alloc_rb() 523 dma_addr_t old_addr, dma_addr_t new_addr) in sonic_update_rra() argument 544 sonic_rra_put(dev, entry, SONIC_RR_BUFADR_H, new_addr >> 16); in sonic_update_rra() 545 sonic_rra_put(dev, entry, SONIC_RR_BUFADR_L, new_addr & 0xffff); in sonic_update_rra()
|
/Linux-v6.6/net/bridge/ |
D | br_sysfs_br.c | 310 u8 new_addr[6]; in group_addr_store() local 315 if (!mac_pton(buf, new_addr)) in group_addr_store() 318 if (!is_link_local_ether_addr(new_addr)) in group_addr_store() 321 if (new_addr[5] == 1 || /* 802.3x Pause address */ in group_addr_store() 322 new_addr[5] == 2 || /* 802.3ad Slow protocols */ in group_addr_store() 323 new_addr[5] == 3) /* 802.1X PAE address */ in group_addr_store() 330 ether_addr_copy(br->group_addr, new_addr); in group_addr_store()
|
/Linux-v6.6/drivers/media/platform/qcom/camss/ |
D | camss-vfe-gen1.c | 612 dma_addr_t *new_addr; in vfe_isr_wm_done() local 651 new_addr = ready_buf->addr; in vfe_isr_wm_done() 654 new_addr = output->buf[!active_index]->addr; in vfe_isr_wm_done() 660 vfe->ops_gen1->wm_set_ping_addr(vfe, output->wm_idx[i], new_addr[i]); in vfe_isr_wm_done() 663 vfe->ops_gen1->wm_set_pong_addr(vfe, output->wm_idx[i], new_addr[i]); in vfe_isr_wm_done()
|
/Linux-v6.6/drivers/media/dvb-frontends/ |
D | dib3000mc.c | 860 u8 new_addr; in dib3000mc_i2c_enumeration() local 874 new_addr = DIB3000MC_I2C_ADDRESS[k]; in dib3000mc_i2c_enumeration() 875 dmcst->i2c_addr = new_addr; in dib3000mc_i2c_enumeration() 888 dib3000mc_write_word(dmcst, 1024, (new_addr << 3) | 0x1); in dib3000mc_i2c_enumeration() 889 dmcst->i2c_addr = new_addr; in dib3000mc_i2c_enumeration()
|
/Linux-v6.6/drivers/usb/gadget/function/ |
D | u_ether.c | 902 u8 new_addr[ETH_ALEN]; in gether_set_dev_addr() local 905 if (get_ether_addr(dev_addr, new_addr)) in gether_set_dev_addr() 907 memcpy(dev->dev_mac, new_addr, ETH_ALEN); in gether_set_dev_addr() 932 u8 new_addr[ETH_ALEN]; in gether_set_host_addr() local 935 if (get_ether_addr(host_addr, new_addr)) in gether_set_host_addr() 937 memcpy(dev->host_mac, new_addr, ETH_ALEN); in gether_set_host_addr()
|
/Linux-v6.6/arch/mips/kernel/ |
D | relocate.c | 312 unsigned long *new_addr = (unsigned long *)RELOCATED(addr); in update_kaslr_offset() local 314 *new_addr = (unsigned long)offset; in update_kaslr_offset()
|