Home
last modified time | relevance | path

Searched refs:klist_node (Results 1 – 8 of 8) sorted by relevance

/linux-6.3-rc2/include/linux/
A Dklist.h17 struct klist_node;
21 void (*get)(struct klist_node *);
22 void (*put)(struct klist_node *);
35 void (*put)(struct klist_node *));
37 struct klist_node { struct
45 extern void klist_add_behind(struct klist_node *n, struct klist_node *pos);
46 extern void klist_add_before(struct klist_node *n, struct klist_node *pos);
48 extern void klist_del(struct klist_node *n);
49 extern void klist_remove(struct klist_node *n);
56 struct klist_node *i_cur;
[all …]
/linux-6.3-rc2/lib/
A Dklist.c85 void (*put)(struct klist_node *)) in klist_init() argument
146 void klist_add_behind(struct klist_node *n, struct klist_node *pos) in klist_add_behind()
162 void klist_add_before(struct klist_node *n, struct klist_node *pos) in klist_add_before()
175 struct klist_node *node;
186 struct klist_node *n = container_of(kref, struct klist_node, n_ref); in klist_release()
228 void klist_del(struct klist_node *n) in klist_del()
281 struct klist_node *n) in klist_iter_init_node()
336 struct klist_node *last = i->i_cur; in klist_prev()
337 struct klist_node *prev; in klist_prev()
378 struct klist_node *last = i->i_cur; in klist_next()
[all …]
/linux-6.3-rc2/drivers/base/
A Dbase.h76 struct klist_node knode_bus;
105 struct klist_node knode_parent;
106 struct klist_node knode_driver;
107 struct klist_node knode_bus;
108 struct klist_node knode_class;
A Dattribute_container.c26 struct klist_node node;
31 static void internal_container_klist_get(struct klist_node *n) in internal_container_klist_get()
38 static void internal_container_klist_put(struct klist_node *n) in internal_container_klist_put()
184 struct klist_node *n = klist_next(iter); \
A Dclass.c125 static struct device *klist_class_to_dev(struct klist_node *n) in klist_class_to_dev()
131 static void klist_class_dev_get(struct klist_node *n) in klist_class_dev_get()
138 static void klist_class_dev_put(struct klist_node *n) in klist_class_dev_put()
299 struct klist_node *start_knode = NULL; in class_dev_iter_init()
322 struct klist_node *knode; in class_dev_iter_next()
A Dbus.c324 struct klist_node *n = klist_next(i); in next_device()
414 struct klist_node *n = klist_next(i); in next_driver()
795 static void klist_devices_get(struct klist_node *n) in klist_devices_get()
803 static void klist_devices_put(struct klist_node *n) in klist_devices_put()
1017 struct klist_node *n; in device_insertion_sort_klist()
1039 struct klist_node *n, *tmp; in bus_sort_breadthfirst()
1080 struct klist_node *start_knode = NULL; in subsys_dev_iter_init()
1102 struct klist_node *knode; in subsys_dev_iter_next()
A Ddriver.c22 struct klist_node *n = klist_next(i); in next_device()
A Dcore.c3007 static void klist_children_get(struct klist_node *n) in klist_children_get()
3015 static void klist_children_put(struct klist_node *n) in klist_children_put()
3812 struct klist_node *n = klist_prev(i); in prev_device()
3825 struct klist_node *n = klist_next(i); in next_device()

Completed in 19 milliseconds