Lines Matching refs:element

39 static bool tomoyo_struct_used_by_io_buffer(const struct list_head *element)  in tomoyo_struct_used_by_io_buffer()  argument
49 if (head->r.domain == element || head->r.group == element || in tomoyo_struct_used_by_io_buffer()
50 head->r.acl == element || &head->w.domain->list == element) in tomoyo_struct_used_by_io_buffer()
106 static inline void tomoyo_del_transition_control(struct list_head *element) in tomoyo_del_transition_control() argument
109 container_of(element, typeof(*ptr), head.list); in tomoyo_del_transition_control()
121 static inline void tomoyo_del_aggregator(struct list_head *element) in tomoyo_del_aggregator() argument
124 container_of(element, typeof(*ptr), head.list); in tomoyo_del_aggregator()
136 static inline void tomoyo_del_manager(struct list_head *element) in tomoyo_del_manager() argument
139 container_of(element, typeof(*ptr), head.list); in tomoyo_del_manager()
150 static void tomoyo_del_acl(struct list_head *element) in tomoyo_del_acl() argument
153 container_of(element, typeof(*acl), list); in tomoyo_del_acl()
243 static inline void tomoyo_del_domain(struct list_head *element) in tomoyo_del_domain() argument
246 container_of(element, typeof(*domain), list); in tomoyo_del_domain()
268 void tomoyo_del_condition(struct list_head *element) in tomoyo_del_condition() argument
270 struct tomoyo_condition *cond = container_of(element, typeof(*cond), in tomoyo_del_condition()
307 static inline void tomoyo_del_name(struct list_head *element) in tomoyo_del_name() argument
319 static inline void tomoyo_del_path_group(struct list_head *element) in tomoyo_del_path_group() argument
322 container_of(element, typeof(*member), head.list); in tomoyo_del_path_group()
333 static inline void tomoyo_del_group(struct list_head *element) in tomoyo_del_group() argument
336 container_of(element, typeof(*group), head.list); in tomoyo_del_group()
347 static inline void tomoyo_del_address_group(struct list_head *element) in tomoyo_del_address_group() argument
359 static inline void tomoyo_del_number_group(struct list_head *element) in tomoyo_del_number_group() argument
375 struct list_head *element) in tomoyo_try_to_gc() argument
383 __list_del_entry(element); in tomoyo_try_to_gc()
393 if (tomoyo_struct_used_by_io_buffer(element)) in tomoyo_try_to_gc()
397 tomoyo_del_transition_control(element); in tomoyo_try_to_gc()
400 tomoyo_del_manager(element); in tomoyo_try_to_gc()
403 tomoyo_del_aggregator(element); in tomoyo_try_to_gc()
406 tomoyo_del_group(element); in tomoyo_try_to_gc()
409 tomoyo_del_path_group(element); in tomoyo_try_to_gc()
412 tomoyo_del_address_group(element); in tomoyo_try_to_gc()
415 tomoyo_del_number_group(element); in tomoyo_try_to_gc()
418 tomoyo_del_condition(element); in tomoyo_try_to_gc()
426 (container_of(element, typeof(struct tomoyo_name), in tomoyo_try_to_gc()
429 tomoyo_del_name(element); in tomoyo_try_to_gc()
432 tomoyo_del_acl(element); in tomoyo_try_to_gc()
440 (element, typeof(struct tomoyo_domain_info), in tomoyo_try_to_gc()
449 tomoyo_del_domain(element); in tomoyo_try_to_gc()
450 tomoyo_memory_free(element); in tomoyo_try_to_gc()
462 list_add_rcu(element, element->prev); in tomoyo_try_to_gc()