Searched refs:p_classes (Results 1 – 4 of 4) sorted by relevance
234 #define p_classes symtab[SYM_CLASSES] macro
671 if (unlikely(!tclass || tclass > policydb.p_classes.nprim)) { in context_struct_compute_av()799 if (!tclass || tclass > policydb.p_classes.nprim) { in security_validate_transition()1039 if (unlikely(!tclass || tclass > policydb.p_classes.nprim)) { in security_compute_xperms_decision()1623 if (tclass && tclass <= policydb.p_classes.nprim) in security_compute_sid()2903 *nclasses = policydb.p_classes.nprim; in security_get_classes()2908 rc = hashtab_map(policydb.p_classes.table, get_classes_callback, in security_get_classes()2943 match = hashtab_search(policydb.p_classes.table, class); in security_get_permissions()
353 if (!cladatum->value || cladatum->value > p->p_classes.nprim) in class_index()531 p->p_classes.nprim, p->te_avtab.nel); in policydb_index()540 kmalloc(p->p_classes.nprim * sizeof(*(p->class_val_to_struct)), in policydb_index()921 if (!class || class > p->p_classes.nprim) in policydb_class_isvalid()1807 cladatum = hashtab_search(p->p_classes.table, name); in string_to_security_class()1820 if (!tclass || tclass > p->p_classes.nprim) in string_to_av_perm()
530 if (tclass && tclass <= policydb.p_classes.nprim) { in mls_compute_sid()