Searched refs:curblock (Results 1 – 2 of 2) sorted by relevance
996 avrule_block_t *curblock; in policydb_index_decls() local1002 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() local3471 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 …]
2720 avrule_block_t *curblock = state->base->global; in copy_and_expand_avrule_block() local2734 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() local3094 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()