Home
last modified time | relevance | path

Searched refs:new_addr (Results 1 – 25 of 50) sorted by relevance

12

/linux/mm/
H A Dmremap.c139 unsigned long new_addr, bool need_rmap_locks) in move_ptes() argument
186 new_pte = pte_offset_map_rw_nolock(mm, new_pmd, new_addr, &dummy_pmdval, in move_ptes()
199 new_pte++, new_addr += PAGE_SIZE) { in move_ptes()
217 pte = move_pte(pte, old_addr, new_addr); in move_ptes()
219 set_pte_at(mm, new_addr, new_pte, pte); in move_ptes()
246 unsigned long new_addr, pmd_t *old_pmd, pmd_t *new_pmd) in move_normal_pmd() argument
312 unsigned long old_addr, unsigned long new_addr, pmd_t *old_pmd, in move_normal_pmd() argument
321 unsigned long new_addr, pud_t *old_pud, pud_t *new_pud) in move_normal_pud() argument
361 unsigned long old_addr, unsigned long new_addr, pud_t *old_pud, in move_normal_pud() argument
370 unsigned long new_addr, pud_t *old_pud, pud_t *new_pud) in move_huge_pud() argument
[all …]
/linux/net/netfilter/
H A Dnf_flow_table_ip.c40 __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 …]
H A Dxt_NETMAP.c25 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()
H A Dnft_nat.c68 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/net/sched/
H A Dact_nat.c91 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/arch/sh/kernel/
H A Dftrace.c262 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/drivers/firmware/efi/libstub/
H A Drelocate.c118 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/tools/testing/selftests/x86/
H A Dtest_mremap_vdso.c28 void *dest_addr, *new_addr; in try_to_remap() local
42 new_addr = mremap(vdso_addr, size, size, in try_to_remap()
44 if ((unsigned long)new_addr == (unsigned long)-1) { in try_to_remap()
/linux/net/openvswitch/
H A Dactions.c363 __be32 addr, __be32 new_addr) in update_ip_l4_checksum() argument
373 addr, new_addr, true); in update_ip_l4_checksum()
380 addr, new_addr, true); in update_ip_l4_checksum()
389 __be32 *addr, __be32 new_addr) in set_ip_addr() argument
391 update_ip_l4_checksum(skb, nh, *addr, new_addr); in set_ip_addr()
392 csum_replace4(&nh->check, *addr, new_addr); in set_ip_addr()
395 *addr = new_addr; in set_ip_addr()
399 __be32 addr[4], const __be32 new_addr[4]) in update_ipv6_checksum()
406 addr, new_addr, true); in update_ipv6_checksum()
413 addr, new_addr, true); in update_ipv6_checksum()
[all …]
/linux/arch/um/drivers/
H A Dumcast_user.c22 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()
H A Ddaemon_user.c33 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/drivers/staging/media/starfive/camss/
H A Dstf-capture.c401 dma_addr_t *new_addr; in stf_change_buffer() local
432 new_addr = ready_buf->addr; in stf_change_buffer()
435 new_addr = output->buf[active_index]->addr; in stf_change_buffer()
443 stf_set_raw_addr(stfcamss, new_addr[0]); in stf_change_buffer()
445 stf_set_yuv_addr(stfcamss, new_addr[0], new_addr[1]); in stf_change_buffer()
/linux/include/uapi/linux/tc_act/
H A Dtc_nat.h22 __be32 new_addr; member
/linux/drivers/net/ethernet/natsemi/
H A Dsonic.c501 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/include/net/tc_act/
H A Dtc_nat.h10 __be32 new_addr; member
/linux/net/bridge/
H A Dbr_sysfs_br.c310 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()
H A Dbr_netlink.c1374 u8 new_addr[ETH_ALEN]; in br_changelink() local
1378 memcpy(new_addr, nla_data(data[IFLA_BR_GROUP_ADDR]), ETH_ALEN); in br_changelink()
1379 if (!is_link_local_ether_addr(new_addr)) in br_changelink()
1381 if (new_addr[5] == 1 || /* 802.3x Pause address */ in br_changelink()
1382 new_addr[5] == 2 || /* 802.3ad Slow protocols */ in br_changelink()
1383 new_addr[5] == 3) /* 802.1X PAE address */ in br_changelink()
1386 memcpy(br->group_addr, new_addr, sizeof(br->group_addr)); in br_changelink()
/linux/drivers/media/platform/qcom/camss/
H A Dcamss-vfe-gen1.c612 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/arch/loongarch/kernel/
H A Drelocate.c206 unsigned long *new_addr = (unsigned long *)RELOCATED_KASLR(addr); in update_reloc_offset() local
208 *new_addr = (unsigned long)reloc_offset; in update_reloc_offset()
/linux/drivers/media/dvb-frontends/
H A Ddib3000mc.c860 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()
H A Ddib7000m.c1358 u8 new_addr = 0;
1364 new_addr = (0x40 + k) << 1;
1365 st.i2c_addr = new_addr;
1380 dib7000m_write_word(&st, 1794, (new_addr << 2) | 0x2);
1382 dprintk("IC %d initialized (to i2c_address 0x%x)\n", k, new_addr);
/linux/drivers/usb/gadget/function/
H A Du_ether.c902 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/arch/sparc/kernel/
H A Dsystbls.h43 unsigned long new_addr);
/linux/fs/btrfs/
H A Dcompression.c1291 u32 new_addr; in radix_sort() local
1328 new_addr = counters[addr]; in radix_sort()
1329 array_buf[new_addr] = array[i]; in radix_sort()
1355 new_addr = counters[addr]; in radix_sort()
1356 array[new_addr] = array_buf[i]; in radix_sort()
/linux/net/vmw_vsock/
H A Daf_vsock.c634 struct sockaddr_vm new_addr; in __vsock_bind_connectible()
639 vsock_addr_init(&new_addr, addr->svm_cid, addr->svm_port); in __vsock_bind_connectible()
649 new_addr.svm_port = port++; in __vsock_bind_connectible()
651 if (!__vsock_find_bound_socket(&new_addr)) { in __vsock_bind_connectible()
668 if (__vsock_find_bound_socket(&new_addr)) in __vsock_bind_connectible()
672 vsock_addr_init(&vsk->local_addr, new_addr.svm_cid, new_addr.svm_port); in __vsock_bind_connectible()
632 struct sockaddr_vm new_addr; __vsock_bind_connectible() local

12