Lines Matching refs:next
22 * next element in the list. It returns NULL if there are no more items.
25 * the next klist_node. It then drops the lock and returns.
368 * klist_next - Ante up next node in list.
372 * node, if there was one. Grab the next node, increment its reference
373 * count, drop the lock, and return that next node.
379 struct klist_node *next;
385 next = to_klist_node(last->n_node.next);
389 next = to_klist_node(i->i_klist->k_list.next);
392 while (next != to_klist_node(&i->i_klist->k_list)) {
393 if (likely(!knode_dead(next))) {
394 kref_get(&next->n_ref);
395 i->i_cur = next;
398 next = to_klist_node(next->n_node.next);