Home
last modified time | relevance | path

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

/third_party/selinux/libsepol/src/
Dpolicydb.c1172 avrule_block_t *curblock; in policydb_index_decls() local
1178 for (curblock = p->global; curblock != NULL; curblock = curblock->next) { in policydb_index_decls()
1179 for (decl = curblock->branch_list; decl != NULL; in policydb_index_decls()
1191 for (curblock = p->global; curblock != NULL; curblock = curblock->next) { in policydb_index_decls()
1192 for (decl = curblock->branch_list; decl != NULL; in policydb_index_decls()
3999 avrule_block_t *last_block = NULL, *curblock; in avrule_block_read() local
4013 if ((curblock = calloc(1, sizeof(*curblock))) == NULL) { in avrule_block_read()
4018 free(curblock); in avrule_block_read()
4023 curblock->flags |= AVRULE_OPTIONAL; in avrule_block_read()
4028 avrule_block_destroy(curblock); in avrule_block_read()
[all …]
Dexpand.c2719 avrule_block_t *curblock = state->base->global; in copy_and_expand_avrule_block() local
2733 while (curblock) { in copy_and_expand_avrule_block()
2734 avrule_decl_t *decl = curblock->enabled; in copy_and_expand_avrule_block()
2785 prevblock = curblock; in copy_and_expand_avrule_block()
2786 curblock = curblock->next; in copy_and_expand_avrule_block()
2792 state->base->global = curblock; in copy_and_expand_avrule_block()
2942 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()