Searched refs:to_klist_node (Results 1 – 1 of 1) sorted by relevance
320 static struct klist_node *to_klist_node(struct list_head *n) in to_klist_node() function343 prev = to_klist_node(last->n_node.prev); in klist_prev()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()356 prev = to_klist_node(prev->n_node.prev); in klist_prev()385 next = to_klist_node(last->n_node.next); in klist_next()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()398 next = to_klist_node(next->n_node.next); in klist_next()