Searched refs:p_commons (Results 1 – 8 of 8) sorted by relevance
/third_party/selinux/libsepol/include/sepol/policydb/ |
D | policydb.h | 524 #define p_commons symtab[SYM_COMMONS] macro
|
/third_party/selinux/libsepol/src/ |
D | expand.c | 293 state->out->p_commons.nprim++; in common_copy_callback() 296 hashtab_insert(state->out->p_commons.table, new_id, in common_copy_callback() 518 hashtab_search(state->out->p_commons.table, in class_copy_callback() 3023 (state.base->p_commons.table, common_copy_callback, &state)) { in expand_module()
|
D | policydb.c | 998 if (!value_isvalid(comdatum->s.value, p->p_commons.nprim)) in common_index() 1131 calloc(p->p_commons.nprim, sizeof(char *)); in policydb_index_classes() 1135 if (hashtab_map(p->p_commons.table, common_index, p)) in policydb_index_classes() 2275 cladatum->comdatum = hashtab_search(p->p_commons.table, in class_read()
|
D | kernel_to_cil.c | 498 used = calloc(pdb->p_commons.nprim, sizeof(*used)); in write_class_decl_rules_to_cil() 508 common = hashtab_search(pdb->p_commons.table, name); in write_class_decl_rules_to_cil()
|
D | kernel_to_conf.c | 546 used = calloc(pdb->p_commons.nprim, sizeof(*used)); in write_class_and_common_rules_to_conf() 556 common = hashtab_search(pdb->p_commons.table, name); in write_class_and_common_rules_to_conf()
|
D | module_to_cil.c | 3749 rc = hashtab_map(pdb->p_commons.table, common_to_cil, NULL); in global_block_to_cil()
|
/third_party/selinux/checkpolicy/ |
D | policy_define.c | 509 comdatum = hashtab_search(policydbp->p_commons.table, id); in define_common_perms() 520 ret = hashtab_insert(policydbp->p_commons.table, in define_common_perms() 531 comdatum->s.value = policydbp->p_commons.nprim + 1; in define_common_perms() 536 policydbp->p_commons.nprim++; in define_common_perms() 627 (common_datum_t *) hashtab_search(policydbp->p_commons. in define_av_perms()
|
/third_party/selinux/libsepol/cil/src/ |
D | cil_binary.c | 323 sepol_common = hashtab_search(pdb->p_commons.table, key); in cil_classorder_to_policydb() 3972 if (common->s.value < 1 || common->s.value > pdb->p_commons.nprim) { in __cil_common_val_array_insert() 4080 policydb->p_common_val_to_name = cil_malloc(sizeof(char *) * policydb->p_commons.nprim); in __cil_policydb_val_arrays_create() 4081 rc = hashtab_map(policydb->p_commons.table, &__cil_common_val_array_insert, policydb); in __cil_policydb_val_arrays_create()
|