Lines Matching refs:list
45 list_for_each_entry(head, &tomoyo_io_buffer_list, list) { in tomoyo_struct_used_by_io_buffer()
50 head->r.acl == element || &head->w.domain->list == element) in tomoyo_struct_used_by_io_buffer()
77 list_for_each_entry(head, &tomoyo_io_buffer_list, list) { in tomoyo_name_used_by_io_buffer()
109 container_of(element, typeof(*ptr), head.list); in tomoyo_del_transition_control()
124 container_of(element, typeof(*ptr), head.list); in tomoyo_del_aggregator()
139 container_of(element, typeof(*ptr), head.list); in tomoyo_del_manager()
153 container_of(element, typeof(*acl), list); in tomoyo_del_acl()
246 container_of(element, typeof(*domain), list); in tomoyo_del_domain()
254 list_for_each_entry_safe(acl, tmp, &domain->acl_info_list, list) { in tomoyo_del_domain()
255 tomoyo_del_acl(&acl->list); in tomoyo_del_domain()
271 head.list); in tomoyo_del_condition()
322 container_of(element, typeof(*member), head.list); in tomoyo_del_path_group()
336 container_of(element, typeof(*group), head.list); in tomoyo_del_group()
427 head.list)->entry.name)) in tomoyo_try_to_gc()
441 list)->users)) in tomoyo_try_to_gc()
478 list_for_each_entry_safe(member, tmp, member_list, list) { in tomoyo_collect_member()
482 tomoyo_try_to_gc(id, &member->list); in tomoyo_collect_member()
493 static void tomoyo_collect_acl(struct list_head *list) in tomoyo_collect_acl() argument
497 list_for_each_entry_safe(acl, tmp, list, list) { in tomoyo_collect_acl()
501 tomoyo_try_to_gc(TOMOYO_ID_ACL, &acl->list); in tomoyo_collect_acl()
520 list) { in tomoyo_collect_entry()
524 tomoyo_try_to_gc(TOMOYO_ID_DOMAIN, &domain->list); in tomoyo_collect_entry()
537 list) { in tomoyo_collect_entry()
541 tomoyo_try_to_gc(TOMOYO_ID_CONDITION, &ptr->list); in tomoyo_collect_entry()
546 struct list_head *list = &ns->group_list[i]; in tomoyo_collect_entry() local
560 list_for_each_entry_safe(group, tmp, list, head.list) { in tomoyo_collect_entry()
568 &group->head.list); in tomoyo_collect_entry()
573 struct list_head *list = &tomoyo_name_list[i]; in tomoyo_collect_entry() local
576 list_for_each_entry_safe(ptr, tmp, list, list) { in tomoyo_collect_entry()
580 tomoyo_try_to_gc(TOMOYO_ID_NAME, &ptr->list); in tomoyo_collect_entry()
606 list) { in tomoyo_gc_thread()
609 list_del(&head->list); in tomoyo_gc_thread()
637 list_add(&head->list, &tomoyo_io_buffer_list); in tomoyo_notify_gc()
641 list_del(&head->list); in tomoyo_notify_gc()