Lines Matching refs:rpc_xprt

24 typedef struct rpc_xprt *(*xprt_switch_find_xprt_t)(struct rpc_xprt_switch *xps,
25 const struct rpc_xprt *cur);
33 struct rpc_xprt *xprt) in xprt_switch_add_xprt_locked()
53 struct rpc_xprt *xprt) in rpc_xprt_switch_add_xprt()
65 struct rpc_xprt *xprt, bool offline) in xprt_switch_remove_xprt_locked()
87 struct rpc_xprt *xprt, bool offline) in rpc_xprt_switch_remove_xprt()
127 struct rpc_xprt_switch *xprt_switch_alloc(struct rpc_xprt *xprt, in xprt_switch_alloc()
155 struct rpc_xprt *xprt; in xprt_switch_free_entries()
158 struct rpc_xprt, xprt_switch); in xprt_switch_free_entries()
235 bool xprt_is_active(const struct rpc_xprt *xprt) in xprt_is_active()
242 struct rpc_xprt *xprt_switch_find_first_entry(struct list_head *head) in xprt_switch_find_first_entry()
244 struct rpc_xprt *pos; in xprt_switch_find_first_entry()
254 struct rpc_xprt *xprt_switch_find_first_entry_offline(struct list_head *head) in xprt_switch_find_first_entry_offline()
256 struct rpc_xprt *pos; in xprt_switch_find_first_entry_offline()
266 struct rpc_xprt *xprt_iter_first_entry(struct rpc_xprt_iter *xpi) in xprt_iter_first_entry()
276 struct rpc_xprt *_xprt_switch_find_current_entry(struct list_head *head, in _xprt_switch_find_current_entry()
277 const struct rpc_xprt *cur, in _xprt_switch_find_current_entry()
280 struct rpc_xprt *pos; in _xprt_switch_find_current_entry()
294 struct rpc_xprt *xprt_switch_find_current_entry(struct list_head *head, in xprt_switch_find_current_entry()
295 const struct rpc_xprt *cur) in xprt_switch_find_current_entry()
301 struct rpc_xprt * _xprt_iter_current_entry(struct rpc_xprt_iter *xpi, in _xprt_iter_current_entry()
302 struct rpc_xprt *first_entry(struct list_head *head), in _xprt_iter_current_entry()
303 struct rpc_xprt *current_entry(struct list_head *head, in _xprt_iter_current_entry()
304 const struct rpc_xprt *cur)) in _xprt_iter_current_entry()
318 struct rpc_xprt *xprt_iter_current_entry(struct rpc_xprt_iter *xpi) in xprt_iter_current_entry()
325 struct rpc_xprt *xprt_switch_find_current_entry_offline(struct list_head *head, in xprt_switch_find_current_entry_offline()
326 const struct rpc_xprt *cur) in xprt_switch_find_current_entry_offline()
332 struct rpc_xprt *xprt_iter_current_entry_offline(struct rpc_xprt_iter *xpi) in xprt_iter_current_entry_offline()
343 struct rpc_xprt *pos; in rpc_xprt_switch_has_addr()
360 struct rpc_xprt *xprt_switch_find_next_entry(struct list_head *head, in xprt_switch_find_next_entry()
361 const struct rpc_xprt *cur, bool check_active) in xprt_switch_find_next_entry()
363 struct rpc_xprt *pos, *prev = NULL; in xprt_switch_find_next_entry()
382 struct rpc_xprt *xprt_switch_set_next_cursor(struct rpc_xprt_switch *xps, in xprt_switch_set_next_cursor()
383 struct rpc_xprt **cursor, in xprt_switch_set_next_cursor()
386 struct rpc_xprt *pos, *old; in xprt_switch_set_next_cursor()
395 struct rpc_xprt *xprt_iter_next_entry_multiple(struct rpc_xprt_iter *xpi, in xprt_iter_next_entry_multiple()
406 struct rpc_xprt *__xprt_switch_find_next_entry_roundrobin(struct list_head *head, in __xprt_switch_find_next_entry_roundrobin()
407 const struct rpc_xprt *cur) in __xprt_switch_find_next_entry_roundrobin()
409 struct rpc_xprt *ret; in __xprt_switch_find_next_entry_roundrobin()
418 struct rpc_xprt *xprt_switch_find_next_entry_roundrobin(struct rpc_xprt_switch *xps, in xprt_switch_find_next_entry_roundrobin()
419 const struct rpc_xprt *cur) in xprt_switch_find_next_entry_roundrobin()
422 struct rpc_xprt *xprt; in xprt_switch_find_next_entry_roundrobin()
443 struct rpc_xprt *xprt_iter_next_entry_roundrobin(struct rpc_xprt_iter *xpi) in xprt_iter_next_entry_roundrobin()
450 struct rpc_xprt *xprt_switch_find_next_entry_all(struct rpc_xprt_switch *xps, in xprt_switch_find_next_entry_all()
451 const struct rpc_xprt *cur) in xprt_switch_find_next_entry_all()
457 struct rpc_xprt *xprt_switch_find_next_entry_offline(struct rpc_xprt_switch *xps, in xprt_switch_find_next_entry_offline()
458 const struct rpc_xprt *cur) in xprt_switch_find_next_entry_offline()
464 struct rpc_xprt *xprt_iter_next_entry_all(struct rpc_xprt_iter *xpi) in xprt_iter_next_entry_all()
471 struct rpc_xprt *xprt_iter_next_entry_offline(struct rpc_xprt_iter *xpi) in xprt_iter_next_entry_offline()
571 struct rpc_xprt *xprt_iter_xprt(struct rpc_xprt_iter *xpi) in xprt_iter_xprt()
578 struct rpc_xprt *xprt_iter_get_helper(struct rpc_xprt_iter *xpi, in xprt_iter_get_helper()
579 struct rpc_xprt *(*fn)(struct rpc_xprt_iter *)) in xprt_iter_get_helper()
581 struct rpc_xprt *ret; in xprt_iter_get_helper()
599 struct rpc_xprt *xprt_iter_get_xprt(struct rpc_xprt_iter *xpi) in xprt_iter_get_xprt()
601 struct rpc_xprt *xprt; in xprt_iter_get_xprt()
616 struct rpc_xprt *xprt_iter_get_next(struct rpc_xprt_iter *xpi) in xprt_iter_get_next()
618 struct rpc_xprt *xprt; in xprt_iter_get_next()