Home
last modified time | relevance | path

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

/external/selinux/libsepol/src/
Dpolicydb.c1012 avrule_block_t *curblock; in policydb_index_decls() local
1018 for (curblock = p->global; curblock != NULL; curblock = curblock->next) { in policydb_index_decls()
1019 for (decl = curblock->branch_list; decl != NULL; in policydb_index_decls()
1031 for (curblock = p->global; curblock != NULL; curblock = curblock->next) { in policydb_index_decls()
1032 for (decl = curblock->branch_list; decl != NULL; in policydb_index_decls()
3498 avrule_block_t *last_block = NULL, *curblock; in avrule_block_read() local
3512 if ((curblock = calloc(1, sizeof(*curblock))) == NULL) { in avrule_block_read()
3517 free(curblock); in avrule_block_read()
3522 curblock->flags |= AVRULE_OPTIONAL; in avrule_block_read()
3527 avrule_block_destroy(curblock); in avrule_block_read()
[all …]
Dexpand.c2685 avrule_block_t *curblock = state->base->global; in copy_and_expand_avrule_block() local
2699 while (curblock) { in copy_and_expand_avrule_block()
2700 avrule_decl_t *decl = curblock->enabled; in copy_and_expand_avrule_block()
2752 prevblock = curblock; in copy_and_expand_avrule_block()
2753 curblock = curblock->next; in copy_and_expand_avrule_block()
2759 state->base->global = curblock; in copy_and_expand_avrule_block()
2909 avrule_block_t *curblock; in expand_module() local
3059 for (curblock = state.base->global; curblock != NULL; in expand_module()
3060 curblock = curblock->next) { in expand_module()
3061 avrule_decl_t *decl = curblock->enabled; in expand_module()