Home
last modified time | relevance | path

Searched refs:raddr (Results 1 – 25 of 94) sorted by relevance

1234

/kernel/linux/linux-5.10/arch/s390/mm/
Dgmap.c1206 static int gmap_protect_rmap(struct gmap *sg, unsigned long raddr, in gmap_protect_rmap() argument
1225 rmap->raddr = raddr; in gmap_protect_rmap()
1287 static void gmap_unshadow_page(struct gmap *sg, unsigned long raddr) in gmap_unshadow_page() argument
1292 table = gmap_table_walk(sg, raddr, 0); /* get page table pointer */ in gmap_unshadow_page()
1295 gmap_call_notifier(sg, raddr, raddr + _PAGE_SIZE - 1); in gmap_unshadow_page()
1296 ptep_unshadow_pte(sg->mm, raddr, (pte_t *) table); in gmap_unshadow_page()
1307 static void __gmap_unshadow_pgt(struct gmap *sg, unsigned long raddr, in __gmap_unshadow_pgt() argument
1313 for (i = 0; i < _PAGE_ENTRIES; i++, raddr += _PAGE_SIZE) in __gmap_unshadow_pgt()
1324 static void gmap_unshadow_pgt(struct gmap *sg, unsigned long raddr) in gmap_unshadow_pgt() argument
1330 ste = gmap_table_walk(sg, raddr, 1); /* get segment pointer */ in gmap_unshadow_pgt()
[all …]
/kernel/linux/linux-5.10/arch/parisc/kernel/
Dperf.c189 static int perf_stop_counters(uint32_t *raddr);
218 uint32_t raddr[4]; in perf_config() local
221 error = perf_stop_counters(raddr); in perf_config()
430 uint32_t raddr[4]; in perf_ioctl() local
441 error_start = perf_stop_counters(raddr); in perf_ioctl()
449 if (copy_to_user((void __user *)arg, raddr, in perf_ioctl()
450 sizeof (raddr)) != 0) { in perf_ioctl()
549 static int perf_stop_counters(uint32_t *raddr) in perf_stop_counters() argument
569 raddr[0] = (uint32_t)tmp64; in perf_stop_counters()
575 raddr[1] = (uint32_t)tmp64; in perf_stop_counters()
[all …]
/kernel/linux/linux-5.10/arch/mips/alchemy/devboards/
Dbcsr.c22 void __iomem *raddr; member
40 bcsr_regs[i].raddr = (void __iomem *)bcsr2_phys + in bcsr_init()
43 bcsr_regs[i].raddr = (void __iomem *)bcsr1_phys + in bcsr_init()
56 r = __raw_readw(bcsr_regs[reg].raddr); in bcsr_read()
67 __raw_writew(val, bcsr_regs[reg].raddr); in bcsr_write()
79 r = __raw_readw(bcsr_regs[reg].raddr); in bcsr_mod()
82 __raw_writew(r, bcsr_regs[reg].raddr); in bcsr_mod()
/kernel/linux/linux-5.10/tools/testing/selftests/bpf/
Dxdping.c36 static int get_stats(int fd, __u16 count, __u32 raddr) in get_stats() argument
43 inaddr.s_addr = raddr; in get_stats()
47 if (bpf_map_lookup_elem(fd, &raddr, &pinginfo)) { in get_stats()
68 bpf_map_delete_elem(fd, &raddr); in get_stats()
103 __u32 raddr = 0; in main() local
165 raddr = rin.sin_addr.s_addr; in main()
228 if (bpf_map_update_elem(map_fd, &raddr, &pinginfo, BPF_ANY)) { in main()
247 ret = get_stats(map_fd, count, raddr); in main()
/kernel/linux/linux-5.10/tools/testing/selftests/bpf/progs/
Dxdping_kern.c99 __be32 raddr; in xdping_client() local
111 raddr = iph->saddr; in xdping_client()
115 pinginfo = bpf_map_lookup_elem(&ping_map, &raddr); in xdping_client()
140 iph->daddr = raddr; in xdping_client()
161 __be32 raddr; in xdping_server() local
171 raddr = iph->saddr; in xdping_server()
176 iph->daddr = raddr; in xdping_server()
/kernel/linux/linux-5.10/arch/powerpc/kvm/
Dtrace_pr.h72 __field( ulong, raddr )
81 __entry->raddr = pte->pte.raddr;
89 __entry->vpage, __entry->raddr, __entry->flags)
101 __field( ulong, raddr )
110 __entry->raddr = pte->pte.raddr;
118 __entry->vpage, __entry->raddr, __entry->flags)
Dbook3s_32_mmu.c162 pte->raddr = bat->brpn | (eaddr & ~bat->bepi_mask); in kvmppc_mmu_book3s_32_xlate_bat()
221 pte->raddr = (pte1 & ~(0xFFFULL)) | (eaddr & 0xFFF); in kvmppc_mmu_book3s_32_xlate_pte()
305 pte->raddr = vcpu->arch.magic_page_pa | (pte->raddr & 0xfff); in kvmppc_mmu_book3s_32_xlate()
306 pte->raddr &= KVM_PAM; in kvmppc_mmu_book3s_32_xlate()
Dbook3s_hv_rm_xics.c816 unsigned int *raddr; in this_cpu_inc_rm() local
819 raddr = per_cpu_ptr(addr, cpu); in this_cpu_inc_rm()
820 l = (unsigned long)raddr; in this_cpu_inc_rm()
823 l = vmalloc_to_phys(raddr); in this_cpu_inc_rm()
824 raddr = (unsigned int *)l; in this_cpu_inc_rm()
826 ++*raddr; in this_cpu_inc_rm()
Dbook3s_64_mmu_host.c88 unsigned long gfn = orig_pte->raddr >> PAGE_SHIFT; in kvmppc_mmu_map_page()
96 pfn = kvmppc_gpa_to_pfn(vcpu, orig_pte->raddr, iswrite, &writable); in kvmppc_mmu_map_page()
99 orig_pte->raddr); in kvmppc_mmu_map_page()
145 hpaddr |= orig_pte->raddr & (~0xfffULL & ~PAGE_MASK); in kvmppc_mmu_map_page()
/kernel/linux/linux-5.10/ipc/
Dsyscall.c84 unsigned long raddr; in ksys_ipc() local
86 second, &raddr, SHMLBA); in ksys_ipc()
89 return put_user(raddr, (unsigned long __user *) third); in ksys_ipc()
184 unsigned long raddr; in compat_ksys_ipc() local
188 err = do_shmat(first, compat_ptr(ptr), second, &raddr, in compat_ksys_ipc()
192 return put_user(raddr, (compat_ulong_t __user *)compat_ptr(third)); in compat_ksys_ipc()
/kernel/linux/linux-5.10/tools/testing/selftests/net/
Dpsock_snd.c254 struct sockaddr_in raddr = {0}; in setup_rx() local
264 raddr.sin_family = AF_INET; in setup_rx()
265 raddr.sin_port = htons(cfg_port); in setup_rx()
266 raddr.sin_addr.s_addr = htonl(INADDR_ANY); in setup_rx()
268 if (bind(fd, (void *)&raddr, sizeof(raddr))) in setup_rx()
Dtcp_mmap.c156 void *raddr = NULL; in child_thread() local
174 raddr = mmap(NULL, chunk_size + map_align, PROT_READ, flags, fd, 0); in child_thread()
175 if (raddr == (void *)-1) { in child_thread()
179 addr = ALIGN_PTR_UP(raddr, map_align); in child_thread()
263 munmap(raddr, chunk_size + map_align); in child_thread()
/kernel/linux/linux-5.10/net/ipv6/
Dip6_vti.c99 ipv6_addr_equal(remote, &t->parms.raddr) && in vti6_tnl_lookup()
114 if (ipv6_addr_equal(remote, &t->parms.raddr) && in vti6_tnl_lookup()
139 const struct in6_addr *remote = &p->raddr; in vti6_tnl_bucket()
257 const struct in6_addr *remote = &p->raddr; in vti6_locate()
267 ipv6_addr_equal(remote, &t->parms.raddr)) { in vti6_locate()
412 return ipv6_addr_equal(&t->parms.raddr, &hdr->saddr); in vti6_addr_conflict()
498 if (!vti6_state_check(x, &t->parms.raddr, &t->parms.laddr)) in vti6_xmit()
663 memcpy(dev->broadcast, &p->raddr, sizeof(struct in6_addr)); in vti6_link_config()
667 p->flags |= ip6_tnl_get_cap(t, &p->laddr, &p->raddr); in vti6_link_config()
680 int strict = (ipv6_addr_type(&p->raddr) & in vti6_link_config()
[all …]
Dip6_tunnel.c154 !ipv6_addr_equal(remote, &t->parms.raddr) || in ip6_tnl_lookup()
168 !ipv6_addr_any(&t->parms.raddr) || in ip6_tnl_lookup()
180 if (!ipv6_addr_equal(remote, &t->parms.raddr) || in ip6_tnl_lookup()
219 const struct in6_addr *remote = &p->raddr; in ip6_tnl_bucket()
370 const struct in6_addr *remote = &p->raddr; in ip6_tnl_locate()
380 ipv6_addr_equal(remote, &t->parms.raddr) && in ip6_tnl_locate()
773 const struct in6_addr *raddr) in ip6_tnl_get_cap() argument
777 int rtype = ipv6_addr_type(raddr); in ip6_tnl_get_cap()
798 const struct in6_addr *raddr) in ip6_tnl_rcv_ctl() argument
806 (ip6_tnl_get_cap(t, laddr, raddr) & IP6_TNL_F_CAP_RCV))) { in ip6_tnl_rcv_ctl()
[all …]
Dip6_gre.c134 !ipv6_addr_equal(remote, &t->parms.raddr) || in ip6gre_tunnel_lookup()
158 if (!ipv6_addr_equal(remote, &t->parms.raddr) || in ip6gre_tunnel_lookup()
183 (!ipv6_addr_equal(local, &t->parms.raddr) || in ip6gre_tunnel_lookup()
252 const struct in6_addr *remote = &p->raddr; in __ip6gre_bucket()
325 const struct in6_addr *remote = &parms->raddr; in ip6gre_tunnel_find()
337 ipv6_addr_equal(remote, &t->parms.raddr) && in ip6gre_tunnel_find()
735 fl6->daddr = tunnel->parms.raddr; in __gre6_xmit()
830 if (ipv6_addr_equal(&t->parms.raddr, &ipv6h->saddr)) in ip6gre_xmit_ipv6()
868 return ipv6_addr_equal(&t->parms.raddr, &hdr->saddr); in ip6gre_tnl_addr_conflict()
904 if (!ip6_tnl_xmit_ctl(t, &t->parms.laddr, &t->parms.raddr)) in ip6gre_tunnel_xmit()
[all …]
/kernel/linux/linux-5.10/include/net/
Dip6_tunnel.h31 struct in6_addr raddr; /* remote tunnel end-point address */ member
138 const struct in6_addr *raddr);
143 const struct in6_addr *raddr);
148 const struct in6_addr *raddr);
/kernel/linux/patches/linux-4.19/prebuilts/usr/include/linux/
Dip6_tunnel.h29 struct in6_addr raddr; member
40 struct in6_addr raddr; member
/kernel/linux/patches/linux-5.10/prebuilts/usr/include/linux/
Dip6_tunnel.h42 struct in6_addr raddr; member
53 struct in6_addr raddr; member
/kernel/linux/linux-5.10/include/uapi/linux/
Dip6_tunnel.h36 struct in6_addr raddr; /* remote tunnel end-point address */ member
48 struct in6_addr raddr; /* remote tunnel end-point address */ member
/kernel/linux/linux-5.10/drivers/infiniband/hw/qedr/
Dqedr_iw_cm.c47 struct sockaddr_in *raddr = (struct sockaddr_in *)&event->remote_addr; in qedr_fill_sockaddr4() local
50 raddr->sin_family = AF_INET; in qedr_fill_sockaddr4()
53 raddr->sin_port = htons(cm_info->remote_port); in qedr_fill_sockaddr4()
56 raddr->sin_addr.s_addr = htonl(cm_info->remote_ip[0]); in qedr_fill_sockaddr4()
540 struct sockaddr_in *raddr; in qedr_iw_connect() local
547 raddr = (struct sockaddr_in *)&cm_id->m_remote_addr; in qedr_iw_connect()
553 ntohs(raddr->sin_port)); in qedr_iw_connect()
559 if (!laddr->sin_port || !raddr->sin_port) in qedr_iw_connect()
590 cm_info->remote_ip[0] = ntohl(raddr->sin_addr.s_addr); in qedr_iw_connect()
592 cm_info->remote_port = ntohs(raddr->sin_port); in qedr_iw_connect()
[all …]
/kernel/linux/linux-5.10/arch/mips/include/asm/octeon/
Dcvmx-ipd.h200 ipd_pwp_ptr_fifo_ctl.s.raddr = in cvmx_ipd_free_ptr()
247 ipd_prc_port_ptr_fifo_ctl.s.raddr = in cvmx_ipd_free_ptr()
276 ipd_prc_hold_ptr_fifo_ctl.s.raddr = in cvmx_ipd_free_ptr()
304 ipd_pwp_ptr_fifo_ctl.s.raddr = in cvmx_ipd_free_ptr()
Dcvmx-ipd-defs.h594 uint64_t raddr:8; member
596 uint64_t raddr:8;
628 uint64_t raddr:3; member
630 uint64_t raddr:3;
1098 uint64_t raddr:7; member
1100 uint64_t raddr:7;
1164 uint64_t raddr:3; member
1166 uint64_t raddr:3;
1184 uint64_t raddr:7; member
1186 uint64_t raddr:7;
[all …]
/kernel/linux/linux-5.10/drivers/rapidio/devices/
Drio_mport_cdev.c360 u16 rioid, u64 raddr, u32 size, in rio_mport_create_outbound_mapping() argument
367 rmcd_debug(OBW, "did=%d ra=0x%llx sz=0x%x", rioid, raddr, size); in rio_mport_create_outbound_mapping()
373 ret = rio_map_outb_region(mport, rioid, raddr, size, 0, paddr); in rio_mport_create_outbound_mapping()
379 map->rio_addr = raddr; in rio_mport_create_outbound_mapping()
394 u16 rioid, u64 raddr, u32 size, in rio_mport_get_outbound_mapping() argument
405 raddr == map->rio_addr && size == map->size) { in rio_mport_get_outbound_mapping()
410 raddr < (map->rio_addr + map->size - 1) && in rio_mport_get_outbound_mapping()
411 (raddr + size) > map->rio_addr) { in rio_mport_get_outbound_mapping()
419 err = rio_mport_create_outbound_mapping(md, filp, rioid, raddr, in rio_mport_get_outbound_mapping()
1199 u64 raddr, u64 size, in rio_mport_create_inbound_mapping() argument
[all …]
/kernel/linux/linux-5.10/net/ipv6/netfilter/
Dnf_socket_ipv6.c24 const struct in6_addr **raddr, in extract_icmp6_fields() argument
71 *raddr = &inside_iph->daddr; in extract_icmp6_fields()
/kernel/linux/linux-5.10/drivers/net/ethernet/sun/
Dsunvnet.c128 port->raddr); in vnet_get_strings()
214 if (ether_addr_equal(port->raddr, skb->data)) in __tx_port_find()
457 port->raddr[i] = (*rmac >> (5 - i) * 8) & 0xff; in vnet_port_probe()
490 &vp->port_hash[vnet_hashfn(port->raddr)]); in vnet_port_probe()
497 vp->dev->name, port->raddr, switch_port ? " switch-port" : ""); in vnet_port_probe()

1234