Home
last modified time | relevance | path

Searched refs:cur_expr (Results 1 – 4 of 4) sorted by relevance

/external/selinux/libsepol/src/
Dconditional.c478 cond_expr_t *cur_expr, *next_expr; in cond_expr_destroy() local
483 for (cur_expr = expr; cur_expr != NULL; cur_expr = next_expr) { in cond_expr_destroy()
484 next_expr = cur_expr->next; in cond_expr_destroy()
485 free(cur_expr); in cond_expr_destroy()
Dwrite.c729 cond_expr_t *cur_expr; in cond_write_node() local
740 for (cur_expr = node->expr; cur_expr != NULL; cur_expr = cur_expr->next) in cond_write_node()
748 for (cur_expr = node->expr; cur_expr != NULL; cur_expr = cur_expr->next) { in cond_write_node()
750 buf[items++] = cpu_to_le32(cur_expr->expr_type); in cond_write_node()
751 buf[items++] = cpu_to_le32(cur_expr->bool); in cond_write_node()
Dlink.c1551 cond_expr_t *cur_expr; in copy_cond_list() local
1569 for (cur_expr = new_node->expr; cur_expr != NULL; in copy_cond_list()
1570 cur_expr = cur_expr->next) { in copy_cond_list()
1572 if (cur_expr->expr_type != COND_BOOL) in copy_cond_list()
1574 assert(module->map[SYM_BOOLS][cur_expr->bool - 1] != 0); in copy_cond_list()
1575 cur_expr->bool = in copy_cond_list()
1576 module->map[SYM_BOOLS][cur_expr->bool - 1]; in copy_cond_list()
Dexpand.c2803 cond_expr_t *cur_expr; in discard_tunables() local
2840 for (cur_expr = cur_node->expr; cur_expr != NULL; in discard_tunables()
2841 cur_expr = cur_expr->next) { in discard_tunables()
2842 if (cur_expr->expr_type != COND_BOOL) in discard_tunables()
2844 booldatum = pol->bool_val_to_struct[cur_expr->bool - 1]; in discard_tunables()