Searched refs:k_list (Results 1 – 5 of 5) sorted by relevance
87 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()
20 struct list_head k_list; member27 .k_list = LIST_HEAD_INIT(_name.k_list), \
99 if (!list_empty(&cont->containers.k_list)) in attribute_container_unregister()
1348 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()
1056 list_for_each_entry_safe(n, tmp, &device_klist->k_list, n_node) { in bus_sort_breadthfirst()1061 list_splice(&sorted_devices, &device_klist->k_list); in bus_sort_breadthfirst()