Lines Matching refs:list
46 list_for_each_entry(head, &tomoyo_io_buffer_list, list) { in tomoyo_struct_used_by_io_buffer()
51 head->r.acl == element || &head->w.domain->list == element) in tomoyo_struct_used_by_io_buffer()
78 list_for_each_entry(head, &tomoyo_io_buffer_list, list) { in tomoyo_name_used_by_io_buffer()
112 container_of(element, typeof(*ptr), head.list); in tomoyo_del_transition_control()
128 container_of(element, typeof(*ptr), head.list); in tomoyo_del_aggregator()
144 container_of(element, typeof(*ptr), head.list); in tomoyo_del_manager()
159 container_of(element, typeof(*acl), list); in tomoyo_del_acl()
254 container_of(element, typeof(*domain), list); in tomoyo_del_domain()
263 list_for_each_entry_safe(acl, tmp, &domain->acl_info_list, list) { in tomoyo_del_domain()
264 tomoyo_del_acl(&acl->list); in tomoyo_del_domain()
280 head.list); in tomoyo_del_condition()
332 container_of(element, typeof(*member), head.list); in tomoyo_del_path_group()
347 container_of(element, typeof(*group), head.list); in tomoyo_del_group()
439 head.list)->entry.name)) in tomoyo_try_to_gc()
453 list)->users)) in tomoyo_try_to_gc()
491 list_for_each_entry_safe(member, tmp, member_list, list) { in tomoyo_collect_member()
495 tomoyo_try_to_gc(id, &member->list); in tomoyo_collect_member()
506 static void tomoyo_collect_acl(struct list_head *list) in tomoyo_collect_acl() argument
511 list_for_each_entry_safe(acl, tmp, list, list) { in tomoyo_collect_acl()
515 tomoyo_try_to_gc(TOMOYO_ID_ACL, &acl->list); in tomoyo_collect_acl()
536 list) { in tomoyo_collect_entry()
540 tomoyo_try_to_gc(TOMOYO_ID_DOMAIN, &domain->list); in tomoyo_collect_entry()
554 list) { in tomoyo_collect_entry()
558 tomoyo_try_to_gc(TOMOYO_ID_CONDITION, &ptr->list); in tomoyo_collect_entry()
563 struct list_head *list = &ns->group_list[i]; in tomoyo_collect_entry() local
578 list_for_each_entry_safe(group, tmp, list, head.list) { in tomoyo_collect_entry()
586 &group->head.list); in tomoyo_collect_entry()
591 struct list_head *list = &tomoyo_name_list[i]; in tomoyo_collect_entry() local
595 list_for_each_entry_safe(ptr, tmp, list, list) { in tomoyo_collect_entry()
599 tomoyo_try_to_gc(TOMOYO_ID_NAME, &ptr->list); in tomoyo_collect_entry()
626 list) { in tomoyo_gc_thread()
629 list_del(&head->list); in tomoyo_gc_thread()
657 list_add(&head->list, &tomoyo_io_buffer_list); in tomoyo_notify_gc()
661 list_del(&head->list); in tomoyo_notify_gc()