Home
last modified time | relevance | path

Searched refs:k_list (Results 1 – 5 of 5) sorted by relevance

/openbmc/linux/include/linux/
H A Dklist.h20 struct list_head k_list; member
27 .k_list = LIST_HEAD_INIT(_name.k_list), \
/openbmc/linux/lib/
H A Dklist.c87 INIT_LIST_HEAD(&k->k_list); in klist_init()
97 list_add(&n->n_node, &k->k_list); in add_head()
104 list_add_tail(&n->n_node, &k->k_list); in add_tail()
347 prev = to_klist_node(i->i_klist->k_list.prev); in klist_prev()
350 while (prev != to_klist_node(&i->i_klist->k_list)) { in klist_prev()
389 next = to_klist_node(i->i_klist->k_list.next); in klist_next()
392 while (next != to_klist_node(&i->i_klist->k_list)) { in klist_next()
/openbmc/linux/drivers/base/
H A Dattribute_container.c99 if (!list_empty(&cont->containers.k_list)) in attribute_container_unregister()
H A Ddd.c1348 if (list_empty(&drv->p->klist_devices.k_list)) { in driver_detach()
1352 dev_prv = list_last_entry(&drv->p->klist_devices.k_list, in driver_detach()
H A Dbus.c1060 list_for_each_entry_safe(n, tmp, &device_klist->k_list, n_node) { in bus_sort_breadthfirst()
1065 list_splice(&sorted_devices, &device_klist->k_list); in bus_sort_breadthfirst()