Home
last modified time | relevance | path

Searched refs:tattr (Results 1 – 12 of 12) sorted by relevance

/external/linux-kselftest/tools/testing/selftests/bpf/prog_tests/
Dskb_ctx.c15 struct bpf_prog_test_run_attr tattr = { in test_skb_ctx() local
28 &tattr.prog_fd); in test_skb_ctx()
34 tattr.ctx_size_in = 0; in test_skb_ctx()
35 err = bpf_prog_test_run_xattr(&tattr); in test_skb_ctx()
37 tattr.ctx_size_in = sizeof(skb); in test_skb_ctx()
41 tattr.ctx_size_out = 0; in test_skb_ctx()
42 err = bpf_prog_test_run_xattr(&tattr); in test_skb_ctx()
44 tattr.ctx_size_out = sizeof(skb); in test_skb_ctx()
49 err = bpf_prog_test_run_xattr(&tattr); in test_skb_ctx()
54 err = bpf_prog_test_run_xattr(&tattr); in test_skb_ctx()
[all …]
Dprog_run_xattr.c10 struct bpf_prog_test_run_attr tattr = { in test_prog_run_xattr() local
19 &tattr.prog_fd); in test_prog_run_xattr()
25 err = bpf_prog_test_run_xattr(&tattr); in test_prog_run_xattr()
26 CHECK_ATTR(err != -1 || errno != ENOSPC || tattr.retval, "run", in test_prog_run_xattr()
27 "err %d errno %d retval %d\n", err, errno, tattr.retval); in test_prog_run_xattr()
29 CHECK_ATTR(tattr.data_size_out != sizeof(pkt_v4), "data_size_out", in test_prog_run_xattr()
31 sizeof(pkt_v4), tattr.data_size_out); in test_prog_run_xattr()
36 tattr.data_out = NULL; in test_prog_run_xattr()
37 tattr.data_size_out = 0; in test_prog_run_xattr()
40 err = bpf_prog_test_run_xattr(&tattr); in test_prog_run_xattr()
[all …]
Dkfree_skb.c53 struct bpf_prog_test_run_attr tattr = { in test_kfree_skb() local
76 &obj, &tattr.prog_fd); in test_kfree_skb()
122 err = bpf_prog_test_run_xattr(&tattr); in test_kfree_skb()
123 duration = tattr.duration; in test_kfree_skb()
124 CHECK(err || tattr.retval, "ipv6", in test_kfree_skb()
126 err, errno, tattr.retval, duration); in test_kfree_skb()
Dflow_dissector.c459 struct bpf_prog_test_run_attr tattr = { in test_flow_dissector() local
468 tattr.ctx_in = &ctx; in test_flow_dissector()
469 tattr.ctx_size_in = sizeof(ctx); in test_flow_dissector()
473 err = bpf_prog_test_run_xattr(&tattr); in test_flow_dissector()
474 CHECK_ATTR(tattr.data_size_out != sizeof(flow_keys) || in test_flow_dissector()
475 err || tattr.retval != 1, in test_flow_dissector()
478 err, errno, tattr.retval, tattr.duration, in test_flow_dissector()
479 tattr.data_size_out, sizeof(flow_keys)); in test_flow_dissector()
501 struct bpf_prog_test_run_attr tattr = {}; in test_flow_dissector() local
/external/libhevc/encoder/
Dosal_thread.c131 pthread_attr_t tattr; in osal_thread_create() local
150 if(0 != pthread_attr_init(&tattr)) in osal_thread_create()
159 &tattr, /* Attributes */ in osal_thread_create()
171 pthread_attr_destroy(&tattr); in osal_thread_create()
/external/selinux/libsepol/src/
Dassertion.c151 ebitmap_t *tattr = &p->type_attr_map[ttype]; in report_assertion_extended_permissions() local
161 ebitmap_for_each_positive_bit(tattr, tnode, j) { in report_assertion_extended_permissions()
331 ebitmap_t *tattr = &p->type_attr_map[ttype]; in check_assertion_extended_permissions_avtab() local
340 ebitmap_for_each_positive_bit(tattr, tnode, j) { in check_assertion_extended_permissions_avtab()
Dexpand.c3259 ebitmap_t *tattr = &p->attr_type_map[k->target_type - 1]; in expand_avtab_node() local
3276 ebitmap_for_each_positive_bit(tattr, tnode, j) { in expand_avtab_node()
3299 ebitmap_for_each_positive_bit(tattr, tnode, j) { in expand_avtab_node()
3381 ebitmap_t *tattr = &p->attr_type_map[k->target_type - 1]; in expand_cond_av_node() local
3398 ebitmap_for_each_positive_bit(tattr, tnode, j) { in expand_cond_av_node()
3421 ebitmap_for_each_positive_bit(tattr, tnode, j) { in expand_cond_av_node()
Dservices.c907 ebitmap_t *sattr, *tattr; in context_struct_compute_av() local
935 tattr = &policydb->type_attr_map[tcontext->type - 1]; in context_struct_compute_av()
937 ebitmap_for_each_positive_bit(tattr, tnode, j) { in context_struct_compute_av()
/external/linux-kselftest/tools/testing/selftests/bpf/
Dtest_progs.h126 _CHECK(condition, tag, tattr.duration, format)
/external/libcups/cups/
Ddest-options.c1399 ipp_attribute_t *tattr, /* Testing attribute */ in cups_collection_contains() local
1406 if ((tattr = ippFindAttribute(test, ippGetName(mattr), IPP_TAG_ZERO)) == NULL) in cups_collection_contains()
1409 tcount = ippGetCount(tattr); in cups_collection_contains()
1415 if (ippGetValueTag(tattr) != ippGetValueTag(mattr)) in cups_collection_contains()
1420 if (!ippContainsInteger(mattr, ippGetInteger(tattr, i))) in cups_collection_contains()
1426 if (ippGetValueTag(tattr) != IPP_TAG_INTEGER) in cups_collection_contains()
1431 if (!ippContainsInteger(mattr, ippGetInteger(tattr, i))) in cups_collection_contains()
1437 …if (ippGetValueTag(tattr) != IPP_TAG_BOOLEAN || ippGetBoolean(tattr, 0) != ippGetBoolean(mattr, 0)) in cups_collection_contains()
1453 if ((tval = ippGetString(tattr, i, NULL)) == NULL || !ippContainsString(mattr, tval)) in cups_collection_contains()
1461 ipp_t *tcol = ippGetCollection(tattr, i); in cups_collection_contains()
/external/libcups/ppdc/
Dppdc.h501 const char *tattr, const char *nattr);
Dppdc-source.cxx1085 const char *tattr, in get_generic() argument
1120 if (tattr) in get_generic()
1123 tattr, name, nattr, val); in get_generic()
1132 tattr, name); in get_generic()