Lines Matching refs:avkey
656 struct avtab_key avkey; in context_struct_compute_av() local
683 avkey.target_class = tclass; in context_struct_compute_av()
684 avkey.specified = AVTAB_AV | AVTAB_XPERMS; in context_struct_compute_av()
691 avkey.source_type = i + 1; in context_struct_compute_av()
692 avkey.target_type = j + 1; in context_struct_compute_av()
693 for (node = avtab_search_node(&policydb.te_avtab, &avkey); in context_struct_compute_av()
695 node = avtab_search_node_next(node, avkey.specified)) { in context_struct_compute_av()
707 cond_compute_av(&policydb.te_cond_avtab, &avkey, in context_struct_compute_av()
1001 struct avtab_key avkey; in security_compute_xperms_decision() local
1044 avkey.target_class = tclass; in security_compute_xperms_decision()
1045 avkey.specified = AVTAB_XPERMS; in security_compute_xperms_decision()
1054 avkey.source_type = i + 1; in security_compute_xperms_decision()
1055 avkey.target_type = j + 1; in security_compute_xperms_decision()
1056 for (node = avtab_search_node(&policydb.te_avtab, &avkey); in security_compute_xperms_decision()
1058 node = avtab_search_node_next(node, avkey.specified)) in security_compute_xperms_decision()
1062 &avkey, xpermd); in security_compute_xperms_decision()
1579 struct avtab_key avkey; in security_compute_sid() local
1674 avkey.source_type = scontext->type; in security_compute_sid()
1675 avkey.target_type = tcontext->type; in security_compute_sid()
1676 avkey.target_class = tclass; in security_compute_sid()
1677 avkey.specified = specified; in security_compute_sid()
1678 avdatum = avtab_search(&policydb.te_avtab, &avkey); in security_compute_sid()
1682 node = avtab_search_node(&policydb.te_cond_avtab, &avkey); in security_compute_sid()