Searched refs:test_attr (Results 1 – 2 of 2) sorted by relevance
11 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()
527 const struct nlattr *test_attr; in ethnl_compact_sanity_checks() local566 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()