/kernel/linux/linux-5.10/net/netfilter/ |
D | nf_flow_table_ip.c | 38 __be32 addr, __be32 new_addr) in nf_flow_nat_ip_tcp() argument 46 inet_proto_csum_replace4(&tcph->check, skb, addr, new_addr, true); in nf_flow_nat_ip_tcp() 52 __be32 addr, __be32 new_addr) in nf_flow_nat_ip_udp() argument 62 new_addr, true); in nf_flow_nat_ip_udp() 72 __be32 new_addr) in nf_flow_nat_ip_l4proto() argument 76 if (nf_flow_nat_ip_tcp(skb, thoff, addr, new_addr) < 0) in nf_flow_nat_ip_l4proto() 80 if (nf_flow_nat_ip_udp(skb, thoff, addr, new_addr) < 0) in nf_flow_nat_ip_l4proto() 92 __be32 addr, new_addr; in nf_flow_snat_ip() local 97 new_addr = flow->tuplehash[FLOW_OFFLOAD_DIR_REPLY].tuple.dst_v4.s_addr; in nf_flow_snat_ip() 98 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()
|
/kernel/linux/linux-5.10/mm/ |
D | mremap.c | 118 unsigned long new_addr, bool need_rmap_locks) in move_ptes() argument 152 new_pte = pte_offset_map(new_pmd, new_addr); in move_ptes() 160 new_pte++, new_addr += PAGE_SIZE) { in move_ptes() 178 pte = move_pte(pte, new_vma->vm_page_prot, old_addr, new_addr); in move_ptes() 180 set_pte_at(mm, new_addr, new_pte, pte); in move_ptes() 196 unsigned long new_addr, pmd_t *old_pmd, pmd_t *new_pmd) in move_normal_pmd() argument 244 set_pmd_at(mm, new_addr, new_pmd, pmd); in move_normal_pmd() 256 unsigned long new_addr, unsigned long len, in move_page_tables() argument 270 for (; old_addr < old_end; old_addr += extent, new_addr += extent) { in move_page_tables() 277 next = (new_addr + PMD_SIZE) & PMD_MASK; in move_page_tables() [all …]
|
/kernel/linux/linux-5.10/net/sched/ |
D | act_nat.c | 87 p->new_addr = parm->new_addr; in tcf_nat_init() 108 __be32 new_addr; in tcf_nat_act() local 120 new_addr = p->new_addr; in tcf_nat_act() 147 new_addr &= mask; in tcf_nat_act() 148 new_addr |= addr & ~mask; in tcf_nat_act() 153 iph->saddr = new_addr; in tcf_nat_act() 155 iph->daddr = new_addr; in tcf_nat_act() 157 csum_replace4(&iph->check, addr, new_addr); in tcf_nat_act() 176 inet_proto_csum_replace4(&tcph->check, skb, addr, new_addr, in tcf_nat_act() 191 new_addr, true); in tcf_nat_act() [all …]
|
/kernel/linux/linux-5.10/samples/bpf/ |
D | test_probe_write_user_kern.c | 37 struct sockaddr_in new_addr, orig_addr = {}; in SYSCALL() local 48 memcpy(&new_addr, mapped_addr, sizeof(new_addr)); in SYSCALL() 49 bpf_probe_write_user(sockaddr_arg, &new_addr, in SYSCALL() 50 sizeof(new_addr)); in SYSCALL()
|
/kernel/linux/linux-5.10/arch/sh/kernel/ |
D | ftrace.c | 267 unsigned long new_addr) in ftrace_mod() argument 277 __raw_writel(new_addr, ip); in ftrace_mod() 283 unsigned long ip, old_addr, new_addr; in ftrace_enable_ftrace_graph_caller() local 287 new_addr = (unsigned long)(&ftrace_graph_caller); in ftrace_enable_ftrace_graph_caller() 289 return ftrace_mod(ip, old_addr, new_addr); in ftrace_enable_ftrace_graph_caller() 294 unsigned long ip, old_addr, new_addr; in ftrace_disable_ftrace_graph_caller() local 298 new_addr = (unsigned long)(&skip_trace); in ftrace_disable_ftrace_graph_caller() 300 return ftrace_mod(ip, old_addr, new_addr); in ftrace_disable_ftrace_graph_caller()
|
/kernel/linux/linux-5.10/drivers/firmware/efi/libstub/ |
D | relocate.c | 127 unsigned long new_addr = 0; in efi_relocate_kernel() local 150 new_addr = efi_addr; in efi_relocate_kernel() 156 status = efi_low_alloc_above(alloc_size, alignment, &new_addr, in efi_relocate_kernel() 168 memcpy((void *)new_addr, (void *)cur_image_addr, image_size); in efi_relocate_kernel() 171 *image_addr = new_addr; in efi_relocate_kernel()
|
/kernel/linux/linux-5.10/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()
|
/kernel/linux/linux-5.10/net/openvswitch/ |
D | actions.c | 344 __be32 addr, __be32 new_addr) in update_ip_l4_checksum() argument 354 addr, new_addr, true); in update_ip_l4_checksum() 361 addr, new_addr, true); in update_ip_l4_checksum() 370 __be32 *addr, __be32 new_addr) in set_ip_addr() argument 372 update_ip_l4_checksum(skb, nh, *addr, new_addr); in set_ip_addr() 373 csum_replace4(&nh->check, *addr, new_addr); in set_ip_addr() 375 *addr = new_addr; in set_ip_addr() 379 __be32 addr[4], const __be32 new_addr[4]) in update_ipv6_checksum() 386 addr, new_addr, true); in update_ipv6_checksum() 393 addr, new_addr, true); in update_ipv6_checksum() [all …]
|
/kernel/linux/linux-5.10/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()
|
/kernel/linux/linux-5.10/kernel/bpf/ |
D | trampoline.c | 114 static int modify_fentry(struct bpf_trampoline *tr, void *old_addr, void *new_addr) in modify_fentry() argument 120 ret = modify_ftrace_direct((long)ip, (long)old_addr, (long)new_addr); in modify_fentry() 122 ret = bpf_arch_text_poke(ip, BPF_MOD_CALL, old_addr, new_addr); in modify_fentry() 127 static int register_fentry(struct bpf_trampoline *tr, void *new_addr) in register_fentry() argument 138 ret = register_ftrace_direct((long)ip, (long)new_addr); in register_fentry() 140 ret = bpf_arch_text_poke(ip, BPF_MOD_CALL, NULL, new_addr); in register_fentry()
|
/kernel/linux/linux-5.10/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()
|
/kernel/linux/linux-5.10/include/net/tc_act/ |
D | tc_nat.h | 12 __be32 new_addr; member
|
/kernel/linux/linux-5.10/include/uapi/linux/tc_act/ |
D | tc_nat.h | 22 __be32 new_addr; member
|
/kernel/linux/patches/linux-5.10/prebuilts/usr/include/linux/tc_act/ |
D | tc_nat.h | 35 __be32 new_addr; member
|
/kernel/linux/patches/linux-4.19/prebuilts/usr/include/linux/tc_act/ |
D | tc_nat.h | 23 __be32 new_addr; member
|
/kernel/linux/linux-5.10/include/linux/ |
D | ftrace.h | 287 int modify_ftrace_direct(unsigned long ip, unsigned long old_addr, unsigned long new_addr); 292 unsigned long new_addr); 305 unsigned long old_addr, unsigned long new_addr) in modify_ftrace_direct() argument 316 unsigned long new_addr) in ftrace_modify_direct_caller() argument
|
/kernel/linux/linux-5.10/net/bridge/ |
D | br_sysfs_br.c | 277 u8 new_addr[6]; in group_addr_store() local 282 if (!mac_pton(buf, new_addr)) in group_addr_store() 285 if (!is_link_local_ether_addr(new_addr)) in group_addr_store() 288 if (new_addr[5] == 1 || /* 802.3x Pause address */ in group_addr_store() 289 new_addr[5] == 2 || /* 802.3ad Slow protocols */ in group_addr_store() 290 new_addr[5] == 3) /* 802.1X PAE address */ in group_addr_store() 297 ether_addr_copy(br->group_addr, new_addr); in group_addr_store()
|
/kernel/linux/linux-5.10/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 (!*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()
|
/kernel/linux/linux-5.10/arch/s390/kernel/ |
D | kprobes.c | 76 u64 addr, new_addr; in copy_instruction() local 92 new_addr = (u64)(unsigned long)p->ainsn.insn; in copy_instruction() 93 new_disp = ((addr + (disp * 2)) - new_addr) / 2; in copy_instruction()
|
/kernel/linux/linux-5.10/drivers/usb/gadget/function/ |
D | u_ether.c | 905 u8 new_addr[ETH_ALEN]; in gether_set_dev_addr() local 908 if (get_ether_addr(dev_addr, new_addr)) in gether_set_dev_addr() 910 memcpy(dev->dev_mac, new_addr, ETH_ALEN); in gether_set_dev_addr() 934 u8 new_addr[ETH_ALEN]; in gether_set_host_addr() local 937 if (get_ether_addr(host_addr, new_addr)) in gether_set_host_addr() 939 memcpy(dev->host_mac, new_addr, ETH_ALEN); in gether_set_host_addr()
|
/kernel/linux/linux-5.10/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()
|
/kernel/linux/linux-5.10/fs/dlm/ |
D | lowcomms.c | 362 struct sockaddr_storage *new_addr; in dlm_lowcomms_addr() local 369 new_addr = kzalloc(sizeof(struct sockaddr_storage), GFP_NOFS); in dlm_lowcomms_addr() 370 if (!new_addr) { in dlm_lowcomms_addr() 375 memcpy(new_addr, addr, len); in dlm_lowcomms_addr() 381 new_node->addr[0] = new_addr; in dlm_lowcomms_addr() 390 kfree(new_addr); in dlm_lowcomms_addr() 395 na->addr[na->addr_count++] = new_addr; in dlm_lowcomms_addr()
|