Searched refs:p_cats (Results 1 – 7 of 7) sorted by relevance
/external/selinux/libsepol/src/ |
D | mls.c | 292 if (i > p->p_cats.nprim) in mls_context_isvalid() 383 p_cats.table, in mls_context_to_sid() 399 hashtab_search(policydb->p_cats. in mls_context_to_sid() 585 (cat_datum_t *) hashtab_search(newp->p_cats. in mls_convert_context()
|
D | expand.c | 1203 state->out->p_cats.nprim++; in cats_copy_callback() 1204 if (hashtab_insert(state->out->p_cats.table, in cats_copy_callback() 3048 if (hashtab_map(state.base->p_cats.table, cats_copy_callback, &state)) in expand_module()
|
D | policydb.c | 949 if (!catdatum->s.value || catdatum->s.value > p->p_cats.nprim) in cat_index() 1058 p->p_levels.nprim, p->p_cats.nprim); in policydb_index_others()
|
D | link.c | 719 base_cat = hashtab_search(state->base->p_cats.table, id); in cat_copy_callback()
|
/external/selinux/checkpolicy/ |
D | policy_define.c | 1070 (cat_datum_t *) hashtab_search(policydbp->p_cats. in define_level() 1081 (cat_datum_t *) hashtab_search(policydbp->p_cats. in define_level() 1099 (cat_datum_t *) hashtab_search(policydbp->p_cats. in define_level() 4069 cdatum = (cat_datum_t *) hashtab_search(policydbp->p_cats.table, in parse_categories() 4077 cdatum = (cat_datum_t *) hashtab_search(policydbp->p_cats.table, in parse_categories() 4090 cdatum = (cat_datum_t *) hashtab_search(policydbp->p_cats.table, in parse_categories() 4131 cdatum = (cat_datum_t *) hashtab_search(policydbp->p_cats.table, in parse_semantic_categories() 4140 cdatum = (cat_datum_t *) hashtab_search(policydbp->p_cats.table, in parse_semantic_categories() 4148 cdatum = (cat_datum_t *) hashtab_search(policydbp->p_cats.table, in parse_semantic_categories()
|
/external/selinux/libsepol/include/sepol/policydb/ |
D | policydb.h | 511 #define p_cats symtab[SYM_CATS] macro
|
/external/selinux/libsepol/cil/src/ |
D | cil_binary.c | 127 *sepol_cat = hashtab_search(pdb->p_cats.table, datum->fqn); in __cil_get_sepol_cat_datum() 3780 if (cat->s.value < 1 || cat->s.value > pdb->p_cats.nprim) { in __cil_cat_val_array_insert() 3839 policydb->p_cat_val_to_name = cil_malloc(sizeof(char *) * policydb->p_cats.nprim); in __cil_policydb_val_arrays_create() 3840 rc = hashtab_map(policydb->p_cats.table, &__cil_cat_val_array_insert, policydb); in __cil_policydb_val_arrays_create()
|