Home
last modified time | relevance | path

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

1234

/linux-6.1.9/drivers/phy/microchip/
Dsparx5_serdes.h55 int raddr, int rinst, in sdx5_addr() argument
63 raddr + ((rinst) * rwidth); in sdx5_addr()
69 int raddr, int rinst, in sdx5_inst_baseaddr() argument
76 raddr + ((rinst) * rwidth); in sdx5_inst_baseaddr()
82 int raddr, int rinst, int rcnt, int rwidth) in sdx5_rmw() argument
88 raddr, rinst, rcnt, rwidth); in sdx5_rmw()
97 int raddr, int rinst, int rcnt, int rwidth) in sdx5_inst_rmw() argument
103 raddr, rinst, rcnt, rwidth); in sdx5_inst_rmw()
128 int raddr, in sdx5_inst_addr() argument
132 raddr, rinst, rcnt, rwidth); in sdx5_inst_addr()
/linux-6.1.9/arch/s390/mm/
Dgmap.c1195 if (temp->raddr == rmap->raddr) { in gmap_insert_rmap()
1218 static int gmap_protect_rmap(struct gmap *sg, unsigned long raddr, in gmap_protect_rmap() argument
1237 rmap->raddr = raddr; in gmap_protect_rmap()
1299 static void gmap_unshadow_page(struct gmap *sg, unsigned long raddr) in gmap_unshadow_page() argument
1304 table = gmap_table_walk(sg, raddr, 0); /* get page table pointer */ in gmap_unshadow_page()
1307 gmap_call_notifier(sg, raddr, raddr + _PAGE_SIZE - 1); in gmap_unshadow_page()
1308 ptep_unshadow_pte(sg->mm, raddr, (pte_t *) table); in gmap_unshadow_page()
1319 static void __gmap_unshadow_pgt(struct gmap *sg, unsigned long raddr, in __gmap_unshadow_pgt() argument
1325 for (i = 0; i < _PAGE_ENTRIES; i++, raddr += _PAGE_SIZE) in __gmap_unshadow_pgt()
1336 static void gmap_unshadow_pgt(struct gmap *sg, unsigned long raddr) in gmap_unshadow_pgt() argument
[all …]
/linux-6.1.9/drivers/net/ethernet/microchip/sparx5/
Dsparx5_main.h426 int raddr, int rinst, in spx5_offset() argument
433 raddr + ((rinst) * rwidth); in spx5_offset()
443 int raddr, int rinst, in spx5_addr() argument
451 raddr + ((rinst) * rwidth); in spx5_addr()
457 int raddr, int rinst, in spx5_inst_addr() argument
464 raddr + ((rinst) * rwidth); in spx5_inst_addr()
469 int raddr, int rinst, int rcnt, int rwidth) in spx5_rd() argument
472 gcnt, gwidth, raddr, rinst, rcnt, rwidth)); in spx5_rd()
477 int raddr, int rinst, int rcnt, int rwidth) in spx5_inst_rd() argument
480 gcnt, gwidth, raddr, rinst, rcnt, rwidth)); in spx5_inst_rd()
[all …]
/linux-6.1.9/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 …]
/linux-6.1.9/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()
/linux-6.1.9/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()
102 __u32 raddr = 0; in main() local
164 raddr = rin.sin_addr.s_addr; in main()
224 if (bpf_map_update_elem(map_fd, &raddr, &pinginfo, BPF_ANY)) { in main()
243 ret = get_stats(map_fd, count, raddr); in main()
/linux-6.1.9/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()
/linux-6.1.9/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.c807 unsigned int *raddr; in this_cpu_inc_rm() local
810 raddr = per_cpu_ptr(addr, cpu); in this_cpu_inc_rm()
811 l = (unsigned long)raddr; in this_cpu_inc_rm()
814 l = vmalloc_to_phys(raddr); in this_cpu_inc_rm()
815 raddr = (unsigned int *)l; in this_cpu_inc_rm()
817 ++*raddr; in this_cpu_inc_rm()
/linux-6.1.9/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()
/linux-6.1.9/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()
140 const struct in6_addr *remote = &p->raddr; in vti6_tnl_bucket()
258 const struct in6_addr *remote = &p->raddr; in vti6_locate()
268 ipv6_addr_equal(remote, &t->parms.raddr)) { in vti6_locate()
413 return ipv6_addr_equal(&t->parms.raddr, &hdr->saddr); in vti6_addr_conflict()
499 if (!vti6_state_check(x, &t->parms.raddr, &t->parms.laddr)) in vti6_xmit()
664 memcpy(dev->broadcast, &p->raddr, sizeof(struct in6_addr)); in vti6_link_config()
668 p->flags |= ip6_tnl_get_cap(t, &p->laddr, &p->raddr); in vti6_link_config()
681 int strict = (ipv6_addr_type(&p->raddr) & in vti6_link_config()
[all …]
Dip6_tunnel.c124 !ipv6_addr_equal(remote, &t->parms.raddr) || in ip6_tnl_lookup()
138 !ipv6_addr_any(&t->parms.raddr) || in ip6_tnl_lookup()
150 if (!ipv6_addr_equal(remote, &t->parms.raddr) || in ip6_tnl_lookup()
190 const struct in6_addr *remote = &p->raddr; in ip6_tnl_bucket()
341 const struct in6_addr *remote = &p->raddr; in ip6_tnl_locate()
351 ipv6_addr_equal(remote, &t->parms.raddr) && in ip6_tnl_locate()
740 const struct in6_addr *raddr) in ip6_tnl_get_cap() argument
744 int rtype = ipv6_addr_type(raddr); in ip6_tnl_get_cap()
765 const struct in6_addr *raddr) in ip6_tnl_rcv_ctl() argument
773 (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()
757 fl6->daddr = tunnel->parms.raddr; in __gre6_xmit()
852 if (ipv6_addr_equal(&t->parms.raddr, &ipv6h->saddr)) in ip6gre_xmit_ipv6()
890 return ipv6_addr_equal(&t->parms.raddr, &hdr->saddr); in ip6gre_tnl_addr_conflict()
925 if (!ip6_tnl_xmit_ctl(t, &t->parms.laddr, &t->parms.raddr)) in ip6gre_tunnel_xmit()
[all …]
/linux-6.1.9/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()
/linux-6.1.9/include/net/
Dip6_tunnel.h31 struct in6_addr raddr; /* remote tunnel end-point address */ member
139 const struct in6_addr *raddr);
144 const struct in6_addr *raddr);
149 const struct in6_addr *raddr);
/linux-6.1.9/net/mptcp/
Dpm_userspace.c250 struct nlattr *raddr = info->attrs[MPTCP_PM_ATTR_ADDR_REMOTE]; in mptcp_nl_cmd_sf_create() local
260 if (!laddr || !raddr || !token) { in mptcp_nl_cmd_sf_create()
290 err = mptcp_pm_parse_addr(raddr, info, &addr_r); in mptcp_nl_cmd_sf_create()
292 NL_SET_ERR_MSG_ATTR(info->extack, raddr, "error parsing remote addr"); in mptcp_nl_cmd_sf_create()
365 struct nlattr *raddr = info->attrs[MPTCP_PM_ATTR_ADDR_REMOTE]; in mptcp_nl_cmd_sf_destroy() local
375 if (!laddr || !raddr || !token) { in mptcp_nl_cmd_sf_destroy()
399 err = mptcp_pm_parse_addr(raddr, info, &addr_r); in mptcp_nl_cmd_sf_destroy()
401 NL_SET_ERR_MSG_ATTR(info->extack, raddr, "error parsing remote addr"); in mptcp_nl_cmd_sf_destroy()
/linux-6.1.9/drivers/net/ethernet/microchip/lan966x/
Dlan966x_main.h534 int raddr, int rinst, in lan_addr() argument
542 raddr + ((rinst) * rwidth); in lan_addr()
547 int raddr, int rinst, int rcnt, int rwidth) in lan_rd() argument
550 gcnt, gwidth, raddr, rinst, rcnt, rwidth)); in lan_rd()
556 int raddr, int rinst, int rcnt, int rwidth) in lan_wr() argument
560 raddr, rinst, rcnt, rwidth)); in lan_wr()
566 int raddr, int rinst, int rcnt, int rwidth) in lan_rmw() argument
571 gcnt, gwidth, raddr, rinst, rcnt, rwidth)); in lan_rmw()
574 gcnt, gwidth, raddr, rinst, rcnt, rwidth)); in lan_rmw()
/linux-6.1.9/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
/linux-6.1.9/drivers/infiniband/hw/irdma/
Dtrace_cm.h218 __dynamic_array(u32, raddr, 4)
235 memcpy(__get_dynamic_array(raddr),
251 __print_ip_addr(__get_dynamic_array(raddr),
294 __dynamic_array(u32, raddr, 4)
309 memcpy(__get_dynamic_array(raddr),
323 __print_ip_addr(__get_dynamic_array(raddr),
414 __dynamic_array(u32, raddr, 4)
428 memcpy(__get_dynamic_array(raddr),
441 __print_ip_addr(__get_dynamic_array(raddr),
/linux-6.1.9/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 …]
/linux-6.1.9/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 …]
/linux-6.1.9/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()
1200 u64 raddr, u64 size, in rio_mport_create_inbound_mapping() argument
[all …]

1234