Lines Matching refs:i_klist
283 i->i_klist = k; in klist_iter_init_node()
335 void (*put)(struct klist_node *) = i->i_klist->put; in klist_prev()
340 spin_lock_irqsave(&i->i_klist->k_lock, flags); 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()
359 spin_unlock_irqrestore(&i->i_klist->k_lock, flags); in klist_prev()
377 void (*put)(struct klist_node *) = i->i_klist->put; in klist_next()
382 spin_lock_irqsave(&i->i_klist->k_lock, flags); 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()
401 spin_unlock_irqrestore(&i->i_klist->k_lock, flags); in klist_next()