Searched refs:klist_node (Results 1 – 12 of 12) sorted by relevance
/linux-6.1.9/include/linux/ |
D | klist.h | 17 struct klist_node; 21 void (*get)(struct klist_node *); 22 void (*put)(struct klist_node *); 34 extern void klist_init(struct klist *k, void (*get)(struct klist_node *), 35 void (*put)(struct klist_node *)); 37 struct klist_node { struct 43 extern void klist_add_tail(struct klist_node *n, struct klist *k); argument 44 extern void klist_add_head(struct klist_node *n, struct klist *k); 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); [all …]
|
/linux-6.1.9/lib/ |
D | klist.c | 47 static struct klist *knode_klist(struct klist_node *knode) in knode_klist() 53 static bool knode_dead(struct klist_node *knode) in knode_dead() 58 static void knode_set_klist(struct klist_node *knode, struct klist *klist) in knode_set_klist() 65 static void knode_kill(struct klist_node *knode) in knode_kill() 84 void klist_init(struct klist *k, void (*get)(struct klist_node *), in klist_init() argument 85 void (*put)(struct klist_node *)) in klist_init() argument 94 static void add_head(struct klist *k, struct klist_node *n) in add_head() 101 static void add_tail(struct klist *k, struct klist_node *n) in add_tail() 108 static void klist_node_init(struct klist *k, struct klist_node *n) in klist_node_init() 122 void klist_add_head(struct klist_node *n, struct klist *k) in klist_add_head() [all …]
|
/linux-6.1.9/drivers/base/ |
D | base.h | 61 struct klist_node knode_bus; 90 struct klist_node knode_parent; 91 struct klist_node knode_driver; 92 struct klist_node knode_bus; 93 struct klist_node knode_class;
|
D | attribute_container.c | 26 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); \
|
D | class.c | 121 static struct device *klist_class_to_dev(struct klist_node *n) in klist_class_to_dev() 127 static void klist_class_dev_get(struct klist_node *n) in klist_class_dev_get() 134 static void klist_class_dev_put(struct klist_node *n) in klist_class_dev_put() 289 struct klist_node *start_knode = NULL; in class_dev_iter_init() 312 struct klist_node *knode; in class_dev_iter_next()
|
D | bus.c | 258 struct klist_node *n = klist_next(i); in next_device() 385 struct klist_node *n = klist_next(i); in next_driver() 742 static void klist_devices_get(struct klist_node *n) in klist_devices_get() 750 static void klist_devices_put(struct klist_node *n) in klist_devices_put() 917 struct klist_node *n; in device_insertion_sort_klist() 938 struct klist_node *n, *tmp; in bus_sort_breadthfirst() 971 struct klist_node *start_knode = NULL; in subsys_dev_iter_init() 994 struct klist_node *knode; in subsys_dev_iter_next()
|
D | driver.c | 22 struct klist_node *n = klist_next(i); in next_device()
|
D | core.c | 2940 static void klist_children_get(struct klist_node *n) in klist_children_get() 2948 static void klist_children_put(struct klist_node *n) in klist_children_put() 3743 struct klist_node *n = klist_prev(i); in prev_device() 3756 struct klist_node *n = klist_next(i); in next_device()
|
/linux-6.1.9/drivers/crypto/ux500/cryp/ |
D | cryp.h | 248 struct klist_node list_node;
|
D | cryp_core.c | 422 struct klist_node *device_node; in cryp_get_device_data()
|
/linux-6.1.9/drivers/crypto/ux500/hash/ |
D | hash_alg.h | 367 struct klist_node list_node;
|
D | hash_core.c | 371 struct klist_node *device_node; in hash_get_device_data()
|