Home
last modified time | relevance | path

Searched refs:test_attr (Results 1 – 4 of 4) sorted by relevance

/openbmc/linux/tools/testing/selftests/bpf/prog_tests/
H A Dtest_profiler.c11 LIBBPF_OPTS(bpf_test_run_opts, test_attr); in sanity_run()
16 test_attr.ctx_in = args; in sanity_run()
17 test_attr.ctx_size_in = sizeof(args); in sanity_run()
18 err = bpf_prog_test_run_opts(prog_fd, &test_attr); in sanity_run()
22 if (!ASSERT_OK(test_attr.retval, "test_run retval")) in sanity_run()
/openbmc/linux/tools/bpf/bpftool/
H A Dprog.c1280 LIBBPF_OPTS(bpf_test_run_opts, test_attr); in do_run()
1318 test_attr.data_size_out = strtoul(*argv, &endptr, 0); in do_run()
1346 test_attr.ctx_size_out = strtoul(*argv, &endptr, 0); in do_run()
1374 err = get_run_data(data_fname_in, &data_in, &test_attr.data_size_in); in do_run()
1379 if (!test_attr.data_size_out) in do_run()
1380 test_attr.data_size_out = default_size; in do_run()
1381 err = alloc_run_data(&data_out, test_attr.data_size_out); in do_run()
1386 err = get_run_data(ctx_fname_in, &ctx_in, &test_attr.ctx_size_in); in do_run()
1391 if (!test_attr.ctx_size_out) in do_run()
1392 test_attr.ctx_size_out = default_size; in do_run()
[all …]
/openbmc/linux/net/ethtool/
H A Dbitset.c527 const struct nlattr *test_attr; in ethnl_compact_sanity_checks() local
566 test_attr = no_mask ? tb[ETHTOOL_A_BITSET_VALUE] : in ethnl_compact_sanity_checks()
568 if (ethnl_bitmap32_not_zero(nla_data(test_attr), nbits, attr_nbits)) { in ethnl_compact_sanity_checks()
569 NL_SET_ERR_MSG_ATTR(extack, test_attr, in ethnl_compact_sanity_checks()
/openbmc/qemu/hw/intc/
H A Ds390_flic_kvm.c613 struct kvm_device_attr test_attr = {0}; in DECLARE_CLASS_CHECKERS() local
634 test_attr.group = KVM_DEV_FLIC_CLEAR_IO_IRQ; in DECLARE_CLASS_CHECKERS()
636 KVM_HAS_DEVICE_ATTR, test_attr); in DECLARE_CLASS_CHECKERS()