Home
last modified time | relevance | path

Searched refs:descr (Results 1 – 25 of 26) sorted by relevance

12

/tools/usb/usbip/libsrc/
Dusbip_device_driver.c24 #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/
Dsockopt.c19 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 …]
Dbtf.c64 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 …]
Dalign.c13 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 …]
Dglobal_func_args.c18 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/
Dtest-vphn.c22 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/
Dstrobemeta.h390 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/
Dtest_sysctl.c28 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 …]
Dtest_sock.c27 const char *descr; member
404 printf("Test case: %s .. ", test->descr); in run_test_case()
Dtest_verifier.c73 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/
Dmangle_pstate_invalid_compat_toggle.c27 .descr = "Mangling uc_mcontext with INVALID STATE_TOGGLE",
Dfake_sigreturn_misaligned_sp.c33 .descr = "Triggers a sigreturn with a misaligned sigframe",
Dmangle_pstate_invalid_daif_bits.c31 .descr = "Mangling uc_mcontext with INVALID DAIF_BITS",
Dmangle_pstate_invalid_mode_template.h24 .descr = "Mangling uc_mcontext INVALID MODE EL"#_mode, \
Dfake_sigreturn_bad_size_for_magic0.c42 .descr = "Trigger a sigreturn using non-zero size terminator",
Dfake_sigreturn_duplicated_fpsimd.c46 .descr = "Triggers a sigreturn including two fpsimd_context",
Dfake_sigreturn_bad_magic.c48 .descr = "Trigger a sigreturn with a sigframe with a bad magic",
Dfake_sigreturn_missing_fpsimd.c46 .descr = "Triggers a sigreturn with a missing fpsimd_context",
Dsve_vl.c63 .descr = "Check that we get the right SVE VL reported",
Dfake_sigreturn_bad_size.c73 .descr = "Triggers a sigreturn with a overrun __reserved area",
Dfake_sigreturn_sve_change_vl.c86 .descr = "Attempt to change SVE VL",
Dsve_regs.c121 .descr = "Check that we get the right SVE registers reported",
/tools/testing/selftests/arm64/signal/
Dtest_signals.c21 ksft_print_msg("%s :: %s\n", current->name, current->descr); in main()
Dtest_signals.h54 char *descr; member
/tools/testing/selftests/net/
Dioam6.sh475 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 \

12