Lines Matching refs:head

263 struct rpc_xprt *xprt_switch_find_first_entry(struct list_head *head)  in xprt_switch_find_first_entry()  argument
267 list_for_each_entry_rcu(pos, head, xprt_switch) { in xprt_switch_find_first_entry()
275 struct rpc_xprt *xprt_switch_find_first_entry_offline(struct list_head *head) in xprt_switch_find_first_entry_offline() argument
279 list_for_each_entry_rcu(pos, head, xprt_switch) { in xprt_switch_find_first_entry_offline()
297 struct rpc_xprt *_xprt_switch_find_current_entry(struct list_head *head, in _xprt_switch_find_current_entry() argument
304 list_for_each_entry_rcu(pos, head, xprt_switch) { in _xprt_switch_find_current_entry()
315 struct rpc_xprt *xprt_switch_find_current_entry(struct list_head *head, in xprt_switch_find_current_entry() argument
318 return _xprt_switch_find_current_entry(head, cur, true); in xprt_switch_find_current_entry()
323 struct rpc_xprt *first_entry(struct list_head *head), in _xprt_iter_current_entry() argument
324 struct rpc_xprt *current_entry(struct list_head *head, in _xprt_iter_current_entry() argument
328 struct list_head *head; in _xprt_iter_current_entry() local
332 head = &xps->xps_xprt_list; in _xprt_iter_current_entry()
334 return first_entry(head); in _xprt_iter_current_entry()
335 return current_entry(head, xpi->xpi_cursor); in _xprt_iter_current_entry()
346 struct rpc_xprt *xprt_switch_find_current_entry_offline(struct list_head *head, in xprt_switch_find_current_entry_offline() argument
349 return _xprt_switch_find_current_entry(head, cur, false); in xprt_switch_find_current_entry_offline()
364 struct list_head *head; in __rpc_xprt_switch_has_addr() local
370 head = &xps->xps_xprt_list; in __rpc_xprt_switch_has_addr()
371 list_for_each_entry_rcu(pos, head, xprt_switch) { in __rpc_xprt_switch_has_addr()
394 struct rpc_xprt *xprt_switch_find_next_entry(struct list_head *head, in xprt_switch_find_next_entry() argument
400 list_for_each_entry_rcu(pos, head, xprt_switch) { in xprt_switch_find_next_entry()
440 struct rpc_xprt *__xprt_switch_find_next_entry_roundrobin(struct list_head *head, in __xprt_switch_find_next_entry_roundrobin() argument
445 ret = xprt_switch_find_next_entry(head, cur, true); in __xprt_switch_find_next_entry_roundrobin()
448 return xprt_switch_find_first_entry(head); in __xprt_switch_find_next_entry_roundrobin()
455 struct list_head *head = &xps->xps_xprt_list; in xprt_switch_find_next_entry_roundrobin() local
462 xprt = __xprt_switch_find_next_entry_roundrobin(head, cur); in xprt_switch_find_next_entry_roundrobin()