Lines Matching refs:entry
42 static inline void resource_list_add(struct resource_entry *entry, in resource_list_add() argument
45 list_add(&entry->node, head); in resource_list_add()
48 static inline void resource_list_add_tail(struct resource_entry *entry, in resource_list_add_tail() argument
51 list_add_tail(&entry->node, head); in resource_list_add_tail()
54 static inline void resource_list_del(struct resource_entry *entry) in resource_list_del() argument
56 list_del(&entry->node); in resource_list_del()
59 static inline void resource_list_free_entry(struct resource_entry *entry) in resource_list_free_entry() argument
61 kfree(entry); in resource_list_free_entry()
65 resource_list_destroy_entry(struct resource_entry *entry) in resource_list_destroy_entry() argument
67 resource_list_del(entry); in resource_list_destroy_entry()
68 resource_list_free_entry(entry); in resource_list_destroy_entry()
71 #define resource_list_for_each_entry(entry, list) \ argument
72 list_for_each_entry((entry), (list), node)
74 #define resource_list_for_each_entry_safe(entry, tmp, list) \ argument
75 list_for_each_entry_safe((entry), (tmp), (list), node)