Lines Matching refs:head
205 struct rpc_xprt *xprt_switch_find_first_entry(struct list_head *head)
209 list_for_each_entry_rcu(pos, head, xprt_switch) {
227 struct rpc_xprt *xprt_switch_find_current_entry(struct list_head *head,
233 list_for_each_entry_rcu(pos, head, xprt_switch) {
246 struct list_head *head;
250 head = &xps->xps_xprt_list;
252 return xprt_switch_find_first_entry(head);
253 return xprt_switch_find_current_entry(head, xpi->xpi_cursor);
260 struct list_head *head;
266 head = &xps->xps_xprt_list;
267 list_for_each_entry_rcu(pos, head, xprt_switch) {
290 struct rpc_xprt *xprt_switch_find_next_entry(struct list_head *head,
296 list_for_each_entry_rcu(pos, head, xprt_switch) {
331 struct rpc_xprt *__xprt_switch_find_next_entry_roundrobin(struct list_head *head,
336 ret = xprt_switch_find_next_entry(head, cur);
339 return xprt_switch_find_first_entry(head);
346 struct list_head *head = &xps->xps_xprt_list;
353 xprt = __xprt_switch_find_next_entry_roundrobin(head, cur);