Searched refs:cur_expr (Results 1 – 4 of 4) sorted by relevance
478 cond_expr_t *cur_expr, *next_expr; in cond_expr_destroy() local483 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()
700 cond_expr_t *cur_expr; in cond_write_node() local711 for (cur_expr = node->expr; cur_expr != NULL; cur_expr = cur_expr->next) in cond_write_node()719 for (cur_expr = node->expr; cur_expr != NULL; cur_expr = cur_expr->next) { in cond_write_node()721 buf[items++] = cpu_to_le32(cur_expr->expr_type); in cond_write_node()722 buf[items++] = cpu_to_le32(cur_expr->bool); in cond_write_node()
1528 cond_expr_t *cur_expr; in copy_cond_list() local1546 for (cur_expr = new_node->expr; cur_expr != NULL; in copy_cond_list()1547 cur_expr = cur_expr->next) { in copy_cond_list()1549 if (cur_expr->expr_type != COND_BOOL) in copy_cond_list()1551 assert(module->map[SYM_BOOLS][cur_expr->bool - 1] != 0); in copy_cond_list()1552 cur_expr->bool = in copy_cond_list()1553 module->map[SYM_BOOLS][cur_expr->bool - 1]; in copy_cond_list()
2723 cond_expr_t *cur_expr; in discard_tunables() local2760 for (cur_expr = cur_node->expr; cur_expr != NULL; in discard_tunables()2761 cur_expr = cur_expr->next) { in discard_tunables()2762 if (cur_expr->expr_type != COND_BOOL) in discard_tunables()2764 booldatum = pol->bool_val_to_struct[cur_expr->bool - 1]; in discard_tunables()