Searched refs:curblock (Results 1 – 2 of 2) sorted by relevance
1108 avrule_block_t *curblock; in policydb_index_decls() local1114 for (curblock = p->global; curblock != NULL; curblock = curblock->next) { in policydb_index_decls()1115 for (decl = curblock->branch_list; decl != NULL; in policydb_index_decls()1127 for (curblock = p->global; curblock != NULL; curblock = curblock->next) { in policydb_index_decls()1128 for (decl = curblock->branch_list; decl != NULL; in policydb_index_decls()3659 avrule_block_t *last_block = NULL, *curblock; in avrule_block_read() local3673 if ((curblock = calloc(1, sizeof(*curblock))) == NULL) { in avrule_block_read()3678 free(curblock); in avrule_block_read()3683 curblock->flags |= AVRULE_OPTIONAL; in avrule_block_read()3688 avrule_block_destroy(curblock); in avrule_block_read()[all …]
2735 avrule_block_t *curblock = state->base->global; in copy_and_expand_avrule_block() local2749 while (curblock) { in copy_and_expand_avrule_block()2750 avrule_decl_t *decl = curblock->enabled; in copy_and_expand_avrule_block()2801 prevblock = curblock; in copy_and_expand_avrule_block()2802 curblock = curblock->next; in copy_and_expand_avrule_block()2808 state->base->global = curblock; in copy_and_expand_avrule_block()2958 avrule_block_t *curblock; in expand_module() local3108 for (curblock = state.base->global; curblock != NULL; in expand_module()3109 curblock = curblock->next) { in expand_module()3110 avrule_decl_t *decl = curblock->enabled; in expand_module()