/tools/testing/selftests/cgroup/ |
D | cgroup_util.h | 22 extern char *cg_control(const char *cgroup, const char *control); 25 extern int cg_read(const char *cgroup, const char *control, 27 extern int cg_read_strcmp(const char *cgroup, const char *control, 29 extern int cg_read_strstr(const char *cgroup, const char *control, 31 extern long cg_read_long(const char *cgroup, const char *control); 32 long cg_read_key_long(const char *cgroup, const char *control, const char *key); 33 extern long cg_read_lc(const char *cgroup, const char *control); 34 extern int cg_write(const char *cgroup, const char *control, char *buf);
|
D | cgroup_util.c | 78 char *cg_control(const char *cgroup, const char *control) in cg_control() argument 80 size_t len = strlen(cgroup) + strlen(control) + 2; in cg_control() 83 snprintf(ret, len, "%s/%s", cgroup, control); in cg_control() 88 int cg_read(const char *cgroup, const char *control, char *buf, size_t len) in cg_read() argument 92 snprintf(path, sizeof(path), "%s/%s", cgroup, control); in cg_read() 100 int cg_read_strcmp(const char *cgroup, const char *control, in cg_read_strcmp() argument 117 if (cg_read(cgroup, control, buf, size)) { in cg_read_strcmp() 127 int cg_read_strstr(const char *cgroup, const char *control, const char *needle) in cg_read_strstr() argument 131 if (cg_read(cgroup, control, buf, sizeof(buf))) in cg_read_strstr() 137 long cg_read_long(const char *cgroup, const char *control) in cg_read_long() argument [all …]
|
/tools/testing/selftests/kvm/x86_64/ |
D | vmx_apic_access_test.c | 46 uint32_t control; in l1_guest_code() local 54 control = vmreadz(CPU_BASED_VM_EXEC_CONTROL); in l1_guest_code() 55 control |= CPU_BASED_ACTIVATE_SECONDARY_CONTROLS; in l1_guest_code() 56 vmwrite(CPU_BASED_VM_EXEC_CONTROL, control); in l1_guest_code() 57 control = vmreadz(SECONDARY_VM_EXEC_CONTROL); in l1_guest_code() 58 control |= SECONDARY_EXEC_VIRTUALIZE_APIC_ACCESSES; in l1_guest_code() 59 vmwrite(SECONDARY_VM_EXEC_CONTROL, control); in l1_guest_code()
|
D | vmx_tsc_adjust_test.c | 87 uint32_t control; in l1_guest_code() local 100 control = vmreadz(CPU_BASED_VM_EXEC_CONTROL); in l1_guest_code() 101 control |= CPU_BASED_USE_MSR_BITMAPS | CPU_BASED_USE_TSC_OFFSETTING; in l1_guest_code() 102 vmwrite(CPU_BASED_VM_EXEC_CONTROL, control); in l1_guest_code()
|
D | debug_regs.c | 93 debug.control = KVM_GUESTDBG_ENABLE | KVM_GUESTDBG_USE_SW_BP; in main() 107 debug.control = KVM_GUESTDBG_ENABLE | KVM_GUESTDBG_USE_HW_BP; in main() 129 debug.control = KVM_GUESTDBG_ENABLE | KVM_GUESTDBG_USE_HW_BP; in main() 158 debug.control = KVM_GUESTDBG_ENABLE | KVM_GUESTDBG_SINGLESTEP; in main() 175 debug.control = KVM_GUESTDBG_ENABLE | KVM_GUESTDBG_USE_HW_BP; in main()
|
D | svm_vmcall_test.c | 36 GUEST_ASSERT(vmcb->control.exit_code == SVM_EXIT_VMMCALL); in l1_guest_code()
|
D | state_test.c | 48 GUEST_ASSERT(vmcb->control.exit_code == SVM_EXIT_VMMCALL); in svm_l1_guest_code() 52 GUEST_ASSERT(vmcb->control.exit_code == SVM_EXIT_VMMCALL); in svm_l1_guest_code()
|
/tools/testing/vsock/ |
D | README | 23 --control-port=1234 \ 26 --control-host=$HOST_IP \ 27 --control-port=1234 \ 32 --control-port=1234 \ 35 --control-port=$GUEST_IP \ 36 --control-port=1234 \
|
D | Makefile | 4 vsock_test: vsock_test.o timeout.o control.o util.o 5 vsock_diag_test: vsock_diag_test.o timeout.o control.o util.o
|
/tools/virtio/ |
D | virtio_test.c | 40 int control; member 80 r = ioctl(dev->control, VHOST_SET_FEATURES, &features); in vhost_vq_setup() 83 r = ioctl(dev->control, VHOST_SET_VRING_NUM, &state); in vhost_vq_setup() 86 r = ioctl(dev->control, VHOST_SET_VRING_BASE, &state); in vhost_vq_setup() 88 r = ioctl(dev->control, VHOST_SET_VRING_ADDR, &addr); in vhost_vq_setup() 91 r = ioctl(dev->control, VHOST_SET_VRING_KICK, &file); in vhost_vq_setup() 94 r = ioctl(dev->control, VHOST_SET_VRING_CALL, &file); in vhost_vq_setup() 137 dev->control = open("/dev/vhost-test", O_RDWR); in vdev_info_init() 138 assert(dev->control >= 0); in vdev_info_init() 139 r = ioctl(dev->control, VHOST_SET_OWNER, NULL); in vdev_info_init() [all …]
|
/tools/testing/selftests/net/ |
D | ipv6_flowlabel.c | 40 char control[CMSG_SPACE(sizeof(flowlabel))] = {0}; in do_send() local 54 cm = (void *)control; in do_send() 60 msg.msg_control = control; in do_send() 61 msg.msg_controllen = sizeof(control); in do_send() 76 char control[CMSG_SPACE(sizeof(expect))]; in do_recv() local 90 memset(control, 0, sizeof(control)); in do_recv() 91 msg.msg_control = control; in do_recv() 92 msg.msg_controllen = sizeof(control); in do_recv()
|
D | so_txtime.c | 66 char control[CMSG_SPACE(sizeof(uint64_t))]; in do_send_one() local 80 memset(control, 0, sizeof(control)); in do_send_one() 81 msg.msg_control = &control; in do_send_one() 82 msg.msg_controllen = sizeof(control); in do_send_one() 142 char control[CMSG_SPACE(sizeof(struct sock_extended_err)) + in do_recv_errqueue_timeout() local 159 msg.msg_control = control; in do_recv_errqueue_timeout() 160 msg.msg_controllen = sizeof(control); in do_recv_errqueue_timeout() 208 msg.msg_controllen = sizeof(control); in do_recv_errqueue_timeout()
|
D | udpgso_bench_tx.c | 212 char control[CMSG_SPACE(sizeof(struct scm_timestamping)) + in flush_errqueue_recv() local 220 msg.msg_control = control; in flush_errqueue_recv() 221 msg.msg_controllen = sizeof(control); in flush_errqueue_recv() 327 char control[CMSG_SPACE(sizeof(cfg_tx_ts))] = {0}; in send_udp_sendmmsg() local 341 msg.msg_control = control; in send_udp_sendmmsg() 342 msg.msg_controllen = sizeof(control); in send_udp_sendmmsg() 362 mmsgs[i].msg_hdr.msg_control = control; in send_udp_sendmmsg() 391 char control[CMSG_SPACE(sizeof(cfg_gso_size)) + in send_udp_segment() local 405 msg.msg_control = control; in send_udp_segment() 406 msg.msg_controllen = sizeof(control); in send_udp_segment()
|
D | udpgso_bench_rx.c | 217 char control[CMSG_SPACE(sizeof(int))] = {0}; in recv_msg() local 229 msg.msg_control = control; in recv_msg() 230 msg.msg_controllen = sizeof(control); in recv_msg()
|
D | timestamping.c | 268 char control[512]; in recvpacket() member 269 } control; in recvpacket() local 279 msg.msg_control = &control; in recvpacket() 280 msg.msg_controllen = sizeof(control); in recvpacket()
|
D | txtimestamp.c | 482 char control[CMSG_SPACE(sizeof(uint32_t))]; in do_test() local 623 memset(control, 0, sizeof(control)); in do_test() 625 msg.msg_control = control; in do_test() 626 msg.msg_controllen = sizeof(control); in do_test()
|
/tools/testing/selftests/bpf/progs/ |
D | test_cls_redirect.h | 31 uint8_t hlen : 5, control : 1, variant : 2; member 33 uint8_t variant : 2, control : 1, hlen : 5;
|
/tools/memory-model/litmus-tests/ |
D | LB+fencembonceonce+ctrlonceonce.litmus | 9 * combination of a control dependency and a full memory barrier are enough 11 * another control dependency and order would still be maintained.)
|
/tools/testing/selftests/livepatch/ |
D | functions.sh | 56 DYNAMIC_DEBUG=$(grep '^kernel/livepatch' /sys/kernel/debug/dynamic_debug/control | \ 63 echo -n "$DYNAMIC_DEBUG" > /sys/kernel/debug/dynamic_debug/control 71 cat <<-EOF > /sys/kernel/debug/dynamic_debug/control
|
/tools/thermal/tmon/ |
D | README | 41 -c, --control cooling device in control
|
/tools/testing/selftests/breakpoints/ |
D | breakpoint_test_arm64.c | 88 const unsigned int control = byte_mask << 5 | type << 3 | enable; in set_watchpoint() local 94 dreg_state.dbg_regs[0].ctrl = control; in set_watchpoint()
|
/tools/testing/selftests/zram/ |
D | zram_lib.sh | 66 echo $i > /sys/class/zram-control/hot_remove 88 cat /sys/class/zram-control/hot_add > /dev/null
|
/tools/testing/selftests/uevent/ |
D | uevent_filtering.c | 86 char control[CMSG_SPACE(sizeof(struct ucred))]; in uevent_listener() local 89 control, sizeof(control), 0, in uevent_listener()
|
/tools/usb/ |
D | hcd-tests.sh | 104 control)
|
/tools/testing/selftests/rcutorture/doc/ |
D | rcu-test-image.txt | 9 Suppose you need to run some scripts, perhaps to monitor or control 19 scripts need starting to properly monitor or control your testing.
|