Home
last modified time | relevance | path

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

/external/selinux/libsepol/src/
Dpolicydb.c1169 avrule_block_t *curblock; in policydb_index_decls() local
1175 for (curblock = p->global; curblock != NULL; curblock = curblock->next) { in policydb_index_decls()
1176 for (decl = curblock->branch_list; decl != NULL; in policydb_index_decls()
1188 for (curblock = p->global; curblock != NULL; curblock = curblock->next) { in policydb_index_decls()
1189 for (decl = curblock->branch_list; decl != NULL; in policydb_index_decls()
3821 avrule_block_t *last_block = NULL, *curblock; in avrule_block_read() local
3835 if ((curblock = calloc(1, sizeof(*curblock))) == NULL) { in avrule_block_read()
3840 free(curblock); in avrule_block_read()
3845 curblock->flags |= AVRULE_OPTIONAL; in avrule_block_read()
3850 avrule_block_destroy(curblock); in avrule_block_read()
[all …]
Dexpand.c2715 avrule_block_t *curblock = state->base->global; in copy_and_expand_avrule_block() local
2729 while (curblock) { in copy_and_expand_avrule_block()
2730 avrule_decl_t *decl = curblock->enabled; in copy_and_expand_avrule_block()
2781 prevblock = curblock; in copy_and_expand_avrule_block()
2782 curblock = curblock->next; in copy_and_expand_avrule_block()
2788 state->base->global = curblock; in copy_and_expand_avrule_block()
2938 avrule_block_t *curblock; in expand_module() local
3088 for (curblock = state.base->global; curblock != NULL; in expand_module()
3089 curblock = curblock->next) { in expand_module()
3090 avrule_decl_t *decl = curblock->enabled; in expand_module()