Home
last modified time | relevance | path

Searched refs:p_commons (Results 1 – 4 of 4) sorted by relevance

/external/libsepol/include/sepol/policydb/
Dpolicydb.h476 #define p_commons symtab[SYM_COMMONS] macro
/external/checkpolicy/
Dpolicy_define.c468 comdatum = hashtab_search(policydbp->p_commons.table, id); in define_common_perms()
479 ret = hashtab_insert(policydbp->p_commons.table, in define_common_perms()
490 comdatum->s.value = policydbp->p_commons.nprim + 1; in define_common_perms()
495 policydbp->p_commons.nprim++; in define_common_perms()
586 (common_datum_t *) hashtab_search(policydbp->p_commons. in define_av_perms()
/external/libsepol/src/
Dexpand.c260 state->out->p_commons.nprim++; in common_copy_callback()
263 hashtab_insert(state->out->p_commons.table, new_id, in common_copy_callback()
465 hashtab_search(state->out->p_commons.table, in class_copy_callback()
2910 (state.base->p_commons.table, common_copy_callback, &state)) { in expand_module()
Dpolicydb.c792 if (!comdatum->s.value || comdatum->s.value > p->p_commons.nprim) in common_index()
913 malloc(p->p_commons.nprim * sizeof(char *)); in policydb_index_classes()
917 if (hashtab_map(p->p_commons.table, common_index, p)) in policydb_index_classes()
2060 cladatum->comdatum = hashtab_search(p->p_commons.table, in class_read()