Home | History | Annotate | Download | only in src

Lines Matching refs:cur

129 				    cond_av_list_t *cur, avtab_t *avtab,
135 for (; cur; cur = cur->next) {
136 avtab_ptr_t n = cur->node;
174 static void bounds_destroy_cond_info(struct bounds_cond_info *cur)
178 for (; cur; cur = next) {
179 next = cur->next;
180 avtab_destroy(&cur->true_avtab);
181 avtab_destroy(&cur->false_avtab);
182 cur->next = NULL;
183 free(cur);
194 cond_list_t *cur;
208 for (cur = p->cond_list; cur; cur = cur->next) {
214 ci->cond_list = cur;
217 if (cur->true_list) {
220 rc = bounds_expand_cond_rules(handle, p, cur->true_list,
225 if (cur->false_list) {
228 rc = bounds_expand_cond_rules(handle, p, cur->false_list,
333 cond_av_list_t *cur;
335 for (cur = rules; cur; cur = cur->next) {
336 avtab_ptr_t ap = cur->node;
383 struct bounds_cond_info *cur;
395 for (cur = cond_info; cur; cur = cur->next) {
396 cond_list_t *node = cur->cond_list;
398 &cur->true_avtab,
404 &cur->false_avtab,
444 uint32_t parent, avtab_ptr_t cur)
449 for (; cur; cur = cur->next) {
451 p->p_type_val_to_name[cur->key.source_type - 1],
452 p->p_type_val_to_name[cur->key.target_type - 1],
453 p->p_class_val_to_name[cur->key.target_class - 1],
454 sepol_av_to_string(p, cur->key.target_class,
455 cur->datum.data));
459 void bounds_destroy_bad(avtab_ptr_t cur)
463 for (; cur; cur = next) {
464 next = cur->next;
465 cur->next = NULL;
466 free(cur);