Lines Matching refs:element

40 static bool tomoyo_struct_used_by_io_buffer(const struct list_head *element)  in tomoyo_struct_used_by_io_buffer()  argument
50 if (head->r.domain == element || head->r.group == element || in tomoyo_struct_used_by_io_buffer()
51 head->r.acl == element || &head->w.domain->list == element) in tomoyo_struct_used_by_io_buffer()
107 static inline void tomoyo_del_transition_control(struct list_head *element) in tomoyo_del_transition_control() argument
110 container_of(element, typeof(*ptr), head.list); in tomoyo_del_transition_control()
122 static inline void tomoyo_del_aggregator(struct list_head *element) in tomoyo_del_aggregator() argument
125 container_of(element, typeof(*ptr), head.list); in tomoyo_del_aggregator()
137 static inline void tomoyo_del_manager(struct list_head *element) in tomoyo_del_manager() argument
140 container_of(element, typeof(*ptr), head.list); in tomoyo_del_manager()
151 static void tomoyo_del_acl(struct list_head *element) in tomoyo_del_acl() argument
154 container_of(element, typeof(*acl), list); in tomoyo_del_acl()
244 static inline void tomoyo_del_domain(struct list_head *element) in tomoyo_del_domain() argument
247 container_of(element, typeof(*domain), list); in tomoyo_del_domain()
269 void tomoyo_del_condition(struct list_head *element) in tomoyo_del_condition() argument
271 struct tomoyo_condition *cond = container_of(element, typeof(*cond), in tomoyo_del_condition()
308 static inline void tomoyo_del_name(struct list_head *element) in tomoyo_del_name() argument
320 static inline void tomoyo_del_path_group(struct list_head *element) in tomoyo_del_path_group() argument
323 container_of(element, typeof(*member), head.list); in tomoyo_del_path_group()
334 static inline void tomoyo_del_group(struct list_head *element) in tomoyo_del_group() argument
337 container_of(element, typeof(*group), head.list); in tomoyo_del_group()
348 static inline void tomoyo_del_address_group(struct list_head *element) in tomoyo_del_address_group() argument
360 static inline void tomoyo_del_number_group(struct list_head *element) in tomoyo_del_number_group() argument
376 struct list_head *element) in tomoyo_try_to_gc() argument
384 __list_del_entry(element); in tomoyo_try_to_gc()
394 if (tomoyo_struct_used_by_io_buffer(element)) in tomoyo_try_to_gc()
398 tomoyo_del_transition_control(element); in tomoyo_try_to_gc()
401 tomoyo_del_manager(element); in tomoyo_try_to_gc()
404 tomoyo_del_aggregator(element); in tomoyo_try_to_gc()
407 tomoyo_del_group(element); in tomoyo_try_to_gc()
410 tomoyo_del_path_group(element); in tomoyo_try_to_gc()
413 tomoyo_del_address_group(element); in tomoyo_try_to_gc()
416 tomoyo_del_number_group(element); in tomoyo_try_to_gc()
419 tomoyo_del_condition(element); in tomoyo_try_to_gc()
427 (container_of(element, typeof(struct tomoyo_name), in tomoyo_try_to_gc()
430 tomoyo_del_name(element); in tomoyo_try_to_gc()
433 tomoyo_del_acl(element); in tomoyo_try_to_gc()
441 (element, typeof(struct tomoyo_domain_info), in tomoyo_try_to_gc()
450 tomoyo_del_domain(element); in tomoyo_try_to_gc()
451 tomoyo_memory_free(element); in tomoyo_try_to_gc()
463 list_add_rcu(element, element->prev); in tomoyo_try_to_gc()