Home
last modified time | relevance | path

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

/linux/tools/testing/selftests/bpf/prog_tests/
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()
/linux/tools/bpf/bpftool/
A Dprog.c1376 if (!test_attr.data_size_out) in do_run()
1388 if (!test_attr.ctx_size_out) in do_run()
1395 test_attr.repeat = repeat; in do_run()
1396 test_attr.data_in = data_in; in do_run()
1398 test_attr.ctx_in = ctx_in; in do_run()
1399 test_attr.ctx_out = ctx_out; in do_run()
1415 if (test_attr.data_size_out) in do_run()
1417 test_attr.data_size_out, in do_run()
1419 if (test_attr.ctx_size_out) in do_run()
1421 test_attr.ctx_size_out, in do_run()
[all …]
/linux/net/ethtool/
A Dbitset.c487 const struct nlattr *test_attr; in ethnl_compact_sanity_checks() local
526 test_attr = no_mask ? tb[ETHTOOL_A_BITSET_VALUE] : in ethnl_compact_sanity_checks()
528 if (ethnl_bitmap32_not_zero(nla_data(test_attr), nbits, attr_nbits)) { in ethnl_compact_sanity_checks()
529 NL_SET_ERR_MSG_ATTR(extack, test_attr, in ethnl_compact_sanity_checks()

Completed in 14 milliseconds