Home
last modified time | relevance | path

Searched refs:rp (Results 1 – 2 of 2) sorted by relevance

/tools/perf/arch/x86/util/
Diostat.c76 const struct iio_root_port * const rp) in iio_root_port_show() argument
78 if (output && rp) in iio_root_port_show()
80 rp->die, rp->pmu_idx, rp->domain, rp->bus); in iio_root_port_show()
113 struct iio_root_port *rp; in iio_root_port_find_by_notation() local
117 rp = list->rps[idx]; in iio_root_port_find_by_notation()
118 if (rp && rp->domain == domain && rp->bus == bus) in iio_root_port_find_by_notation()
119 return rp; in iio_root_port_find_by_notation()
126 struct iio_root_port * const rp) in iio_root_ports_list_insert() argument
130 if (list && rp) { in iio_root_ports_list_insert()
131 rp->idx = list->nr_entries++; in iio_root_ports_list_insert()
[all …]
/tools/usb/usbip/src/
Dusbip_network.c263 struct addrinfo hints, *res, *rp; in usbip_net_tcp_connect() local
280 for (rp = res; rp; rp = rp->ai_next) { in usbip_net_tcp_connect()
281 sockfd = socket(rp->ai_family, rp->ai_socktype, in usbip_net_tcp_connect()
282 rp->ai_protocol); in usbip_net_tcp_connect()
291 if (connect(sockfd, rp->ai_addr, rp->ai_addrlen) == 0) in usbip_net_tcp_connect()
299 if (!rp) in usbip_net_tcp_connect()