Lines Matching refs:cur
28 struct cond_expr *cur; in cond_evaluate_expr() local
32 for (cur = expr; cur; cur = cur->next) { in cond_evaluate_expr()
33 switch (cur->expr_type) { in cond_evaluate_expr()
38 s[sp] = p->bool_val_to_struct[cur->bool - 1]->state; in cond_evaluate_expr()
92 struct cond_av_list *cur; in evaluate_cond_node() local
100 for (cur = node->true_list; cur; cur = cur->next) { in evaluate_cond_node()
102 cur->node->key.specified &= ~AVTAB_ENABLED; in evaluate_cond_node()
104 cur->node->key.specified |= AVTAB_ENABLED; in evaluate_cond_node()
107 for (cur = node->false_list; cur; cur = cur->next) { in evaluate_cond_node()
110 cur->node->key.specified &= ~AVTAB_ENABLED; in evaluate_cond_node()
112 cur->node->key.specified |= AVTAB_ENABLED; in evaluate_cond_node()
134 struct cond_av_list *cur, *next; in cond_av_list_destroy() local
135 for (cur = list; cur; cur = next) { in cond_av_list_destroy()
136 next = cur->next; in cond_av_list_destroy()
138 kfree(cur); in cond_av_list_destroy()
157 struct cond_node *next, *cur; in cond_list_destroy() local
162 for (cur = list; cur; cur = next) { in cond_list_destroy()
163 next = cur->next; in cond_list_destroy()
164 cond_node_destroy(cur); in cond_list_destroy()
274 struct cond_av_list *other = data->other, *list, *cur; in cond_insertf() local
305 for (cur = other; cur; cur = cur->next) { in cond_insertf()
306 if (cur->node == node_ptr) { in cond_insertf()
594 struct cond_node *cur; in cond_write_list() local
600 for (cur = list; cur != NULL; cur = cur->next) in cond_write_list()
607 for (cur = list; cur != NULL; cur = cur->next) { in cond_write_list()
608 rc = cond_write_node(p, cur, fp); in cond_write_list()