Home
last modified time | relevance | path

Searched refs:curblock (Results 1 – 2 of 2) sorted by relevance

/external/libsepol/src/
Dpolicydb.c996 avrule_block_t *curblock; in policydb_index_decls() local
1002 for (curblock = p->global; curblock != NULL; curblock = curblock->next) { in policydb_index_decls()
1003 for (decl = curblock->branch_list; decl != NULL; in policydb_index_decls()
1015 for (curblock = p->global; curblock != NULL; curblock = curblock->next) { in policydb_index_decls()
1016 for (decl = curblock->branch_list; decl != NULL; in policydb_index_decls()
3457 avrule_block_t *last_block = NULL, *curblock; in avrule_block_read() local
3471 if ((curblock = calloc(1, sizeof(*curblock))) == NULL) { in avrule_block_read()
3476 free(curblock); in avrule_block_read()
3481 curblock->flags |= AVRULE_OPTIONAL; in avrule_block_read()
3486 avrule_block_destroy(curblock); in avrule_block_read()
[all …]
Dexpand.c2720 avrule_block_t *curblock = state->base->global; in copy_and_expand_avrule_block() local
2734 while (curblock) { in copy_and_expand_avrule_block()
2735 avrule_decl_t *decl = curblock->enabled; in copy_and_expand_avrule_block()
2787 prevblock = curblock; in copy_and_expand_avrule_block()
2788 curblock = curblock->next; in copy_and_expand_avrule_block()
2794 state->base->global = curblock; in copy_and_expand_avrule_block()
2944 avrule_block_t *curblock; in expand_module() local
3094 for (curblock = state.base->global; curblock != NULL; in expand_module()
3095 curblock = curblock->next) { in expand_module()
3096 avrule_decl_t *decl = curblock->enabled; in expand_module()