/tools/testing/selftests/x86/ |
D | ioperm.c | 55 static bool try_outb(unsigned short port) in try_outb() argument 62 : : [port] "Nd" (port), "a" (0)); in try_outb() 68 static void expect_ok(unsigned short port) in expect_ok() argument 70 if (!try_outb(port)) { in expect_ok() 71 printf("[FAIL]\toutb to 0x%02hx failed\n", port); in expect_ok() 75 printf("[OK]\toutb to 0x%02hx worked\n", port); in expect_ok() 78 static void expect_gp(unsigned short port) in expect_gp() argument 80 if (try_outb(port)) { in expect_gp() 81 printf("[FAIL]\toutb to 0x%02hx worked\n", port); in expect_gp() 85 printf("[OK]\toutb to 0x%02hx failed\n", port); in expect_gp()
|
/tools/usb/usbip/libsrc/ |
D | vhci_driver.c | 52 int port, status, speed, devid; in parse_status() local 59 hub, &port, &status, &speed, in parse_status() 68 hub, port, status, speed, devid); in parse_status() 72 idev = &vhci_driver->idev[port]; in parse_status() 80 idev->port = port; in parse_status() 188 char *port, unsigned long port_len, char *busid) in read_record() argument 230 if (sscanf(buffer, "%s %s %s\n", host, port, busid) != 3) { in read_record() 351 return vhci_driver->idev[i].port; in usbip_vhci_get_free_port() 357 int usbip_vhci_attach_device2(uint8_t port, int sockfd, uint32_t devid, in usbip_vhci_attach_device2() argument 366 port, sockfd, devid, speed); in usbip_vhci_attach_device2() [all …]
|
D | vhci_driver.h | 24 uint8_t port; member 56 int usbip_vhci_attach_device2(uint8_t port, int sockfd, uint32_t devid, 60 int usbip_vhci_attach_device(uint8_t port, int sockfd, uint8_t busnum, 63 int usbip_vhci_detach_device(uint8_t port);
|
/tools/usb/usbip/src/ |
D | usbip_detach.c | 44 static int detach_port(char *port) in detach_port() argument 50 unsigned int port_len = strlen(port); in detach_port() 53 if (!isdigit(port[i])) { in detach_port() 54 err("invalid port %s", port); in detach_port() 60 portnum = atoi(port); in detach_port()
|
D | usbip_attach.c | 51 static int record_connection(char *host, char *port, char *busid, int rhport) in record_connection() argument 80 host, port, busid); in record_connection() 96 int port; in import_device() local 106 port = usbip_vhci_get_free_port(speed); in import_device() 107 if (port < 0) { in import_device() 112 dbg("got free port %d", port); in import_device() 114 rc = usbip_vhci_attach_device(port, sockfd, udev->busnum, in import_device() 124 return port; in import_device()
|
D | usbip_network.c | 42 unsigned long int port = strtoul(arg, &end, 10); in usbip_setup_port_number() local 54 if (port > UINT16_MAX) { in usbip_setup_port_number() 60 usbip_port = port; in usbip_setup_port_number()
|
D | usbipd.c | 311 char host[NI_MAXHOST], port[NI_MAXSERV]; in do_accept() local 323 port, sizeof(port), NI_NUMERICHOST | NI_NUMERICSERV); in do_accept() 335 info("connection from %s:%s", host, port); in do_accept()
|
D | usbip_network.h | 178 int usbip_net_tcp_connect(char *hostname, char *port);
|
/tools/testing/selftests/net/ |
D | psock_lib.h | 89 static __maybe_unused void pair_udp_open(int fds[], uint16_t port) in pair_udp_open() argument 102 saddr.sin_port = htons(port); in pair_udp_open() 107 daddr.sin_port = htons(port + 1); in pair_udp_open()
|
D | reuseport_bpf.c | 45 static struct sockaddr *new_any_sockaddr(int family, uint16_t port) in new_any_sockaddr() argument 59 addr4->sin_port = htons(port); in new_any_sockaddr() 65 addr6->sin6_port = htons(port); in new_any_sockaddr() 73 static struct sockaddr *new_loopback_sockaddr(int family, uint16_t port) in new_loopback_sockaddr() argument 75 struct sockaddr *addr = new_any_sockaddr(family, port); in new_loopback_sockaddr()
|
/tools/usb/usbip/ |
D | README | 117 client:# usbip port 118 - Show virtual port status. 120 client:# usbip detach --port <port> 224 port 0 attached 228 deux:# usbip port 239 deux:# usbip detach --port 0 240 port 0 detached 251 - usbip now uses TCP port 3240.
|
/tools/testing/selftests/networking/timestamping/ |
D | rxtimestamp.c | 273 int port = (s.type == SOCK_RAW) ? 0 : next_port++; in run_test_case() local 290 addr.sin_port = htons(port); in run_test_case() 293 error(1, errno, "Failed to bind to port %d", port); in run_test_case()
|
/tools/virtio/virtio-trace/ |
D | README | 74 <address type='virtio-serial' controller='0' bus='0' port='0'/> 79 <address type='virtio-serial' controller='0' bus='0' port='1'/>
|
/tools/include/uapi/linux/ |
D | kvm.h | 289 __u16 port; member
|