Lines Matching refs:list
133 static void cond_av_list_destroy(struct cond_av_list *list) in cond_av_list_destroy() argument
136 for (cur = list; cur; cur = next) { in cond_av_list_destroy()
156 static void cond_list_destroy(struct cond_node *list) in cond_list_destroy() argument
160 if (list == NULL) in cond_list_destroy()
163 for (cur = list; cur; cur = next) { in cond_list_destroy()
275 struct cond_av_list *other = data->other, *list, *cur; in cond_insertf() local
332 list = kzalloc(sizeof(struct cond_av_list), GFP_KERNEL); in cond_insertf()
333 if (!list) { in cond_insertf()
338 list->node = node_ptr; in cond_insertf()
340 data->head = list; in cond_insertf()
342 data->tail->next = list; in cond_insertf()
343 data->tail = list; in cond_insertf()
531 struct cond_av_list *list, struct policy_file *fp) in cond_write_av_list() argument
539 for (cur_list = list; cur_list != NULL; cur_list = cur_list->next) in cond_write_av_list()
550 for (cur_list = list; cur_list != NULL; cur_list = cur_list->next) { in cond_write_av_list()
598 int cond_write_list(struct policydb *p, struct cond_node *list, void *fp) in cond_write_list() argument
606 for (cur = list; cur != NULL; cur = cur->next) in cond_write_list()
613 for (cur = list; cur != NULL; cur = cur->next) { in cond_write_list()