Searched refs:p_commons (Results 1 – 6 of 6) sorted by relevance
/external/selinux/libsepol/include/sepol/policydb/ |
D | policydb.h | 504 #define p_commons symtab[SYM_COMMONS] macro
|
/external/selinux/libsepol/src/ |
D | expand.c | 261 state->out->p_commons.nprim++; in common_copy_callback() 264 hashtab_insert(state->out->p_commons.table, new_id, in common_copy_callback() 483 hashtab_search(state->out->p_commons.table, in class_copy_callback() 3007 (state.base->p_commons.table, common_copy_callback, &state)) { in expand_module()
|
D | policydb.c | 850 if (!comdatum->s.value || comdatum->s.value > p->p_commons.nprim) in common_index() 971 malloc(p->p_commons.nprim * sizeof(char *)); in policydb_index_classes() 975 if (hashtab_map(p->p_commons.table, common_index, p)) in policydb_index_classes() 2122 cladatum->comdatum = hashtab_search(p->p_commons.table, in class_read()
|
D | module_to_cil.c | 3603 rc = hashtab_map(pdb->p_commons.table, common_to_cil, NULL); in global_block_to_cil()
|
/external/selinux/checkpolicy/ |
D | policy_define.c | 505 comdatum = hashtab_search(policydbp->p_commons.table, id); in define_common_perms() 516 ret = hashtab_insert(policydbp->p_commons.table, in define_common_perms() 527 comdatum->s.value = policydbp->p_commons.nprim + 1; in define_common_perms() 532 policydbp->p_commons.nprim++; in define_common_perms() 623 (common_datum_t *) hashtab_search(policydbp->p_commons. in define_av_perms()
|
/external/selinux/libsepol/cil/src/ |
D | cil_binary.c | 325 sepol_common = hashtab_search(pdb->p_commons.table, key); in cil_classorder_to_policydb() 3684 if (common->s.value < 1 || common->s.value > pdb->p_commons.nprim) { in __cil_common_val_array_insert() 3792 policydb->p_common_val_to_name = cil_malloc(sizeof(char *) * policydb->p_commons.nprim); in __cil_policydb_val_arrays_create() 3793 rc = hashtab_map(policydb->p_commons.table, &__cil_common_val_array_insert, policydb); in __cil_policydb_val_arrays_create()
|