/tools/usb/usbip/libsrc/ |
D | usbip_device_driver.c | 24 #define copy_descr_attr16(dev, descr, attr) \ argument 25 ((dev)->attr = le16toh((descr)->attr)) \ 27 #define copy_descr_attr(dev, descr, attr) \ argument 28 ((dev)->attr = (descr)->attr) \ 67 struct usb_device_descriptor descr; in read_usb_vudc_device() local 81 ret = fread((char *) &descr, sizeof(descr), 1, fd); in read_usb_vudc_device() 88 copy_descr_attr(dev, &descr, bDeviceClass); in read_usb_vudc_device() 89 copy_descr_attr(dev, &descr, bDeviceSubClass); in read_usb_vudc_device() 90 copy_descr_attr(dev, &descr, bDeviceProtocol); in read_usb_vudc_device() 91 copy_descr_attr(dev, &descr, bNumConfigurations); in read_usb_vudc_device() [all …]
|
/tools/testing/selftests/bpf/prog_tests/ |
D | sockopt.c | 19 const char *descr; member 41 .descr = "getsockopt: no expected_attach_type", 53 .descr = "getsockopt: wrong expected_attach_type", 65 .descr = "getsockopt: bypass bpf hook", 87 .descr = "getsockopt: return EPERM from bpf hook", 102 .descr = "getsockopt: no optval bounds check, deny loading", 121 .descr = "getsockopt: read ctx->level", 150 .descr = "getsockopt: deny writing to ctx->level", 164 .descr = "getsockopt: read ctx->optname", 193 .descr = "getsockopt: read ctx->retval", [all …]
|
D | btf.c | 64 const char *descr; member 108 .descr = "struct test #1", 160 .descr = "struct test #2", 201 .descr = "struct test #3 Invalid member offset", 237 .descr = "global data test #1", 277 .descr = "global data test #2", 312 .descr = "global data test #3", 334 .descr = "global data test #4, unsupported linkage", 358 .descr = "global data test #5, invalid var type", 380 .descr = "global data test #6, invalid var type (fwd type)", [all …]
|
D | align.c | 13 const char *descr; member 30 .descr = "mov", 52 .descr = "shift", 86 .descr = "addsub", 110 .descr = "mul", 146 .descr = "unknown shift", 180 .descr = "unknown mul", 210 .descr = "packet const offset", 248 .descr = "packet variable offset", 365 .descr = "packet variable offset 2", [all …]
|
D | global_func_args.c | 18 const char *descr; in test_global_func_args0() member 35 CHECK(err || actual_value != expected_value, tests[i].descr, in test_global_func_args0()
|
/tools/testing/selftests/powerpc/vphn/ |
D | test-vphn.c | 22 char *descr; member 396 for (test = all_tests; test->descr; test++) { in test_vphn() 400 test_finish(test->descr, ret); in test_vphn()
|
/tools/testing/selftests/bpf/progs/ |
D | strobemeta.h | 390 struct strobe_map_descr* descr = &data->map_descrs[idx]; in read_map_var() local 396 descr->tag_len = 0; /* presume no tag is set */ in read_map_var() 397 descr->cnt = -1; /* presume no value is set */ in read_map_var() 407 descr->id = map.id; in read_map_var() 408 descr->cnt = map.cnt; in read_map_var() 416 descr->tag_len = len; in read_map_var() 429 descr->key_lens[i] = 0; in read_map_var() 433 descr->key_lens[i] = len; in read_map_var() 436 descr->val_lens[i] = 0; in read_map_var() 440 descr->val_lens[i] = len; in read_map_var()
|
/tools/testing/selftests/bpf/ |
D | test_sysctl.c | 28 const char *descr; member 48 .descr = "sysctl wrong attach_type", 59 .descr = "sysctl:read allow all", 70 .descr = "sysctl:read deny all", 81 .descr = "ctx:write sysctl:read read ok", 102 .descr = "ctx:write sysctl:write read ok", 124 .descr = "ctx:write sysctl:write read ok narrow", 147 .descr = "ctx:write sysctl:read write reject", 162 .descr = "ctx:file_pos sysctl:read read ok", 184 .descr = "ctx:file_pos sysctl:read read ok narrow", [all …]
|
D | test_sock.c | 27 const char *descr; member 404 printf("Test case: %s .. ", test->descr); in run_test_case()
|
D | test_verifier.c | 73 const char *descr; member 1323 printf("#%d/u %s SKIP\n", i, test->descr); in do_test() 1328 printf("#%d/u %s ", i, test->descr); in do_test() 1335 printf("#%d/p %s SKIP\n", i, test->descr); in do_test() 1338 printf("#%d/p %s ", i, test->descr); in do_test()
|
/tools/testing/selftests/arm64/signal/testcases/ |
D | mangle_pstate_invalid_compat_toggle.c | 27 .descr = "Mangling uc_mcontext with INVALID STATE_TOGGLE",
|
D | fake_sigreturn_misaligned_sp.c | 33 .descr = "Triggers a sigreturn with a misaligned sigframe",
|
D | mangle_pstate_invalid_daif_bits.c | 31 .descr = "Mangling uc_mcontext with INVALID DAIF_BITS",
|
D | mangle_pstate_invalid_mode_template.h | 24 .descr = "Mangling uc_mcontext INVALID MODE EL"#_mode, \
|
D | fake_sigreturn_bad_size_for_magic0.c | 42 .descr = "Trigger a sigreturn using non-zero size terminator",
|
D | fake_sigreturn_duplicated_fpsimd.c | 46 .descr = "Triggers a sigreturn including two fpsimd_context",
|
D | fake_sigreturn_bad_magic.c | 48 .descr = "Trigger a sigreturn with a sigframe with a bad magic",
|
D | fake_sigreturn_missing_fpsimd.c | 46 .descr = "Triggers a sigreturn with a missing fpsimd_context",
|
D | sve_vl.c | 63 .descr = "Check that we get the right SVE VL reported",
|
D | fake_sigreturn_bad_size.c | 73 .descr = "Triggers a sigreturn with a overrun __reserved area",
|
D | fake_sigreturn_sve_change_vl.c | 86 .descr = "Attempt to change SVE VL",
|
D | sve_regs.c | 121 .descr = "Check that we get the right SVE registers reported",
|
/tools/testing/selftests/arm64/signal/ |
D | test_signals.c | 21 ksft_print_msg("%s :: %s\n", current->name, current->descr); in main()
|
D | test_signals.h | 54 char *descr; member
|
/tools/testing/selftests/net/ |
D | ioam6.sh | 475 local descr="${desc/<n>/$i}" 482 log_test_passed "$descr" 485 log_test_failed "$descr" 488 run_test "out_bit$i" "$descr" ioam-node-alpha ioam-node-beta \
|