Lines Matching refs:rpc_xprt_switch

24 typedef struct rpc_xprt *(*xprt_switch_find_xprt_t)(struct rpc_xprt_switch *xps,
32 static void xprt_switch_add_xprt_locked(struct rpc_xprt_switch *xps, in xprt_switch_add_xprt_locked()
52 void rpc_xprt_switch_add_xprt(struct rpc_xprt_switch *xps, in rpc_xprt_switch_add_xprt()
64 static void xprt_switch_remove_xprt_locked(struct rpc_xprt_switch *xps, in xprt_switch_remove_xprt_locked()
86 void rpc_xprt_switch_remove_xprt(struct rpc_xprt_switch *xps, in rpc_xprt_switch_remove_xprt()
102 static int xprt_switch_alloc_id(struct rpc_xprt_switch *xps, gfp_t gfp_flags) in xprt_switch_alloc_id()
114 static void xprt_switch_free_id(struct rpc_xprt_switch *xps) in xprt_switch_free_id()
127 struct rpc_xprt_switch *xprt_switch_alloc(struct rpc_xprt *xprt, in xprt_switch_alloc()
130 struct rpc_xprt_switch *xps; in xprt_switch_alloc()
151 static void xprt_switch_free_entries(struct rpc_xprt_switch *xps) in xprt_switch_free_entries()
169 struct rpc_xprt_switch *xps = container_of(kref, in xprt_switch_free()
170 struct rpc_xprt_switch, xps_kref); in xprt_switch_free()
184 struct rpc_xprt_switch *xprt_switch_get(struct rpc_xprt_switch *xps) in xprt_switch_get()
197 void xprt_switch_put(struct rpc_xprt_switch *xps) in xprt_switch_put()
209 void rpc_xprt_switch_set_roundrobin(struct rpc_xprt_switch *xps) in rpc_xprt_switch_set_roundrobin()
268 struct rpc_xprt_switch *xps = rcu_dereference(xpi->xpi_xpswitch); in xprt_iter_first_entry()
306 struct rpc_xprt_switch *xps = rcu_dereference(xpi->xpi_xpswitch); in _xprt_iter_current_entry()
340 bool __rpc_xprt_switch_has_addr(struct rpc_xprt_switch *xps, in __rpc_xprt_switch_has_addr()
360 bool rpc_xprt_switch_has_addr(struct rpc_xprt_switch *xps, in rpc_xprt_switch_has_addr()
395 struct rpc_xprt *xprt_switch_set_next_cursor(struct rpc_xprt_switch *xps, in xprt_switch_set_next_cursor()
411 struct rpc_xprt_switch *xps = rcu_dereference(xpi->xpi_xpswitch); in xprt_iter_next_entry_multiple()
431 struct rpc_xprt *xprt_switch_find_next_entry_roundrobin(struct rpc_xprt_switch *xps, in xprt_switch_find_next_entry_roundrobin()
463 struct rpc_xprt *xprt_switch_find_next_entry_all(struct rpc_xprt_switch *xps, in xprt_switch_find_next_entry_all()
470 struct rpc_xprt *xprt_switch_find_next_entry_offline(struct rpc_xprt_switch *xps, in xprt_switch_find_next_entry_offline()
505 struct rpc_xprt_switch *xps, in __xprt_iter_init()
523 struct rpc_xprt_switch *xps) in xprt_iter_init()
537 struct rpc_xprt_switch *xps) in xprt_iter_init_listall()
543 struct rpc_xprt_switch *xps) in xprt_iter_init_listoffline()
555 struct rpc_xprt_switch *xprt_iter_xchg_switch(struct rpc_xprt_iter *xpi, in xprt_iter_xchg_switch()
556 struct rpc_xprt_switch *newswitch) in xprt_iter_xchg_switch()
558 struct rpc_xprt_switch __rcu *oldswitch; in xprt_iter_xchg_switch()