/tools/testing/selftests/net/ |
D | l2tp.sh | 138 for ns in host-1 host-2 router 149 ip -netns host-1 l2tp add tunnel tunnel_id 1041 peer_tunnel_id 1042 \ 151 ip -netns host-1 l2tp add session name l2tp4 tunnel_id 1041 \ 153 ip -netns host-1 link set dev l2tp4 up 154 ip -netns host-1 addr add dev l2tp4 172.16.1.1 peer 172.16.1.2 159 ip -netns host-2 l2tp add tunnel tunnel_id 1042 peer_tunnel_id 1041 \ 161 ip -netns host-2 l2tp add session name l2tp4 tunnel_id 1042 \ 163 ip -netns host-2 link set dev l2tp4 up 164 ip -netns host-2 addr add dev l2tp4 172.16.1.2 peer 172.16.1.1 169 ip -netns host-1 ro add 172.16.101.2/32 via 172.16.1.2 [all …]
|
D | tcp_mmap.c | 306 char *host = NULL; in main() local 326 host = optarg; in main() 366 setup_sockaddr(cfg_family, host, &listenaddr); in main() 398 setup_sockaddr(cfg_family, host, &addr); in main()
|
D | route_localnet.sh | 30 ip route add local 127.0.0.0/8 dev lo proto kernel scope host src 127.0.0.1
|
/tools/virtio/ringtest/ |
D | ring.c | 67 struct host { struct 74 } host; argument 95 host.used_idx = 0; in alloc_ring() 96 host.called_used_idx = -1; in alloc_ring() 213 event->kick_index = host.used_idx; in enable_kick() 221 unsigned head = (ring_size - 1) & host.used_idx; in avail_empty() 228 unsigned head = (ring_size - 1) & host.used_idx; in use_buf() 250 host.used_idx++; in use_buf() 263 host.used_idx, in call_used() 264 host.called_used_idx); in call_used() [all …]
|
D | virtio_ring_0_9.c | 54 struct host { struct 61 } host; argument 87 host.used_idx = 0; in alloc_ring() 88 host.called_used_idx = -1; in alloc_ring() 252 vring_avail_event(&ring) = host.used_idx; in enable_kick() 260 unsigned head = host.used_idx; in avail_empty() 272 unsigned used_idx = host.used_idx; in use_buf() 313 host.used_idx++; in use_buf() 314 ring.used->idx = host.used_idx; in use_buf() 327 host.used_idx, in call_used() [all …]
|
D | run-on-all.sh | 20 "$@" --host-affinity $HOST_AFFINITY --guest-affinity $cpu 24 "$@" --host-affinity $HOST_AFFINITY
|
D | main.c | 295 pthread_t host, guest; in main() local 381 ret = pthread_create(&host, NULL, start_host, host_arg); in main() 388 ret = pthread_join(host, &tret); in main()
|
/tools/testing/vsock/ |
D | README | 3 These tests exercise net/vmw_vsock/ host<->guest sockets for VMware, KVM, and 14 2. Install the kernel and tests on the host. 20 # host=server, guest=client 21 (host)# $TEST_BINARY --mode=server \ 25 --control-host=$HOST_IP \ 29 # host=client, guest=server 33 (host)# $TEST_BINARY --mode=client \
|
/tools/usb/usbip/src/ |
D | usbip_attach.c | 39 static int record_connection(char *host, char *port, char *busid, int rhport) in record_connection() argument 68 host, port, busid); in record_connection() 174 static int attach_device(char *host, char *busid) in attach_device() argument 180 sockfd = usbip_net_tcp_connect(host, usbip_port_string); in attach_device() 192 rc = record_connection(host, usbip_port_string, busid, rhport); in attach_device() 209 char *host = NULL; in usbip_attach() local 222 host = optarg; in usbip_attach() 233 if (!host || !busid) in usbip_attach() 236 ret = attach_device(host, busid); in usbip_attach()
|
D | usbip_list.c | 43 static int get_exported_devices(char *host, int sockfd) in get_exported_devices() argument 78 info("no exportable devices found on %s", host); in get_exported_devices() 84 printf(" - %s\n", host); in get_exported_devices() 127 static int list_exported_devices(char *host) in list_exported_devices() argument 132 sockfd = usbip_net_tcp_connect(host, usbip_port_string); in list_exported_devices() 134 err("could not connect to %s:%s: %s", host, in list_exported_devices() 138 dbg("connected to %s:%s", host, usbip_port_string); in list_exported_devices() 140 rc = get_exported_devices(host, sockfd); in list_exported_devices() 142 err("failed to get device list from %s", host); in list_exported_devices()
|
D | usbipd.c | 313 char host[NI_MAXHOST], port[NI_MAXSERV]; in do_accept() local 324 rc = getnameinfo((struct sockaddr *)&ss, len, host, sizeof(host), in do_accept() 332 info("denied access from %s", host); in do_accept() 337 info("connection from %s:%s", host, port); in do_accept() 426 static struct addrinfo *do_getaddrinfo(char *host, int ai_family) in do_getaddrinfo() argument 436 rc = getaddrinfo(host, usbip_port_string, &hints, &ai_head); in do_getaddrinfo()
|
/tools/virtio/virtio-trace/ |
D | README | 15 3) A controller thread does poll() for a start order of a host. 16 4) After the controller of the trace agent receives a start order from a host, 20 6) If the controller receives a stop order from a host, the read/write threads 41 1) Make FIFO in a host 53 2) Set up of virtio-serial pipe in a host 103 read/write threads in the agent wait for start order from host. If you add -o 106 3) Open FIFO in a host 108 If a host does not open these, trace data get stuck in buffers of virtio. Then, 112 4) Start to read trace data by ordering from a host 113 A host injects read start order to the guest via virtio-serial. [all …]
|
/tools/perf/Documentation/ |
D | perf-kvm.txt | 11 'perf kvm' [--host] [--guest] [--guestmount=<path> 14 'perf kvm' [--host] [--guest] [--guestkallsyms=<path> --guestmodules=<path> 28 default behavior of perf kvm as --guest, so if neither --host nor --guest 29 is input, the perf data file name is perf.data.guest. If --host is input, 31 perf.data.host, please input --host --no-guest. The behaviors are shown as 34 --host -> perf.data.kvm 36 --host --guest -> perf.data.kvm 37 --host --no-guest -> perf.data.host 75 --host:: 76 Collect host side performance profile. [all …]
|
/tools/usb/usbip/ |
D | README | 19 - usbip-host (stub driver) 69 server:# insmod usbip-host.ko 78 - Bind usbip-host.ko to the device with busid 1-2. 109 client:# usbip list --remote <host> 110 - List exported USB devices on the <host>. 112 client:# usbip attach --remote <host> --busid 1-2 128 Physically attach your USB devices to this host. 131 trois:# insmod path/to/usbip-host.ko 135 attached to this host. 166 "exportable"; the device is bound to the usbip-host driver. Please [all …]
|
/tools/build/ |
D | Makefile.build | 91 host = host_ 97 $(call if_changed_dep,$(host)cc_o_c) 105 $(call if_changed_dep,$(host)cc_o_c) 145 $(call if_changed,$(host)ld_multi)
|
/tools/usb/usbip/libsrc/ |
D | vhci_driver.c | 187 static int read_record(int rhport, char *host, unsigned long host_len, in read_record() argument 230 if (sscanf(buffer, "%s %s %s\n", host, port, busid) != 3) { in read_record() 429 char host[NI_MAXHOST] = "unknown host"; in usbip_vhci_imported_device_dump() local 438 ret = read_record(idev->port, host, sizeof(host), serv, sizeof(serv), in usbip_vhci_imported_device_dump() 456 host, serv, remote_busid); in usbip_vhci_imported_device_dump()
|
/tools/perf/trace/beauty/ |
D | pid.c | 8 struct thread *thread = machine__findnew_thread(trace->host, pid, pid); in syscall_arg__scnprintf_pid()
|
/tools/lib/traceevent/Documentation/ |
D | libtraceevent-endian_read.txt | 20 account the endianness of the raw data and the current host. The _tep_ argument 27 the current host. In case of an error, 0 is returned.
|
/tools/power/pm-graph/ |
D | README | 490 script on the device, then pull the ftrace log back to the host and run 497 host%> wget https://raw.githubusercontent.com/intel/pm-graph/master/tools/android.sh 498 host%> adb connect 192.168.1.6 499 host%> adb root 501 host%> adb push android.sh /sdcard/ 505 host%> adb shell 508 host : asus_t100 544 host%> adb connect 192.168.1.6 546 host%> adb pull /sdcard/ftrace.txt 548 host%> adb pull /sdcard/dmesg.txt [all …]
|
/tools/perf/tests/ |
D | thread-mg-share.c | 31 machine = &machines.host; in test__thread_mg_share()
|
/tools/perf/ |
D | builtin-trace.c | 139 struct machine *host; member 1238 struct thread *thread = machine__find_thread(trace->host, pid, pid); in pid__scnprintf_fd() 1418 trace->host = machine__new_host(); in trace__symbols_init() 1419 if (trace->host == NULL) in trace__symbols_init() 1422 err = trace_event__register_resolver(trace->host, trace__machine__resolve_kernel_addr); in trace__symbols_init() 1426 err = __machine__synthesize_threads(trace->host, &trace->tool, &trace->opts.target, in trace__symbols_init() 1438 machine__exit(trace->host); in trace__symbols__exit() 1439 trace->host = NULL; in trace__symbols__exit() 2010 thread = machine__findnew_thread(trace->host, sample->pid, sample->tid); in trace__sys_enter() 2086 thread = machine__findnew_thread(trace->host, sample->pid, sample->tid); in trace__fprintf_sys_enter() [all …]
|
/tools/testing/ktest/examples/ |
D | README | 20 on a host.
|
/tools/perf/util/ |
D | build-id.c | 367 int err = machine__write_buildid_table(&session->machines.host, fd); in perf_session__write_buildid_table() 402 err = machine__hit_all_dsos(&session->machines.host); in dsos__hit_all() 858 ret = machine__cache_build_ids(&session->machines.host); in perf_session__cache_build_ids() 876 bool ret = machine__read_build_ids(&session->machines.host, with_hits); in perf_session__read_build_ids()
|
D | arm-spe.c | 212 spe->machine = &session->machines.host; /* No kvm support */ in arm_spe_process_auxtrace_info()
|
/tools/kvm/kvm_stat/ |
D | kvm_stat.txt | 18 This tool is useful for observing guest behavior from the host perspective.
|