Lines Matching refs:rpc_xprt_switch
22 typedef struct rpc_xprt *(*xprt_switch_find_xprt_t)(struct rpc_xprt_switch *xps,
29 static void xprt_switch_add_xprt_locked(struct rpc_xprt_switch *xps, in xprt_switch_add_xprt_locked()
49 void rpc_xprt_switch_add_xprt(struct rpc_xprt_switch *xps, in rpc_xprt_switch_add_xprt()
60 static void xprt_switch_remove_xprt_locked(struct rpc_xprt_switch *xps, in xprt_switch_remove_xprt_locked()
80 void rpc_xprt_switch_remove_xprt(struct rpc_xprt_switch *xps, in rpc_xprt_switch_remove_xprt()
97 struct rpc_xprt_switch *xprt_switch_alloc(struct rpc_xprt *xprt, in xprt_switch_alloc()
100 struct rpc_xprt_switch *xps; in xprt_switch_alloc()
117 static void xprt_switch_free_entries(struct rpc_xprt_switch *xps) in xprt_switch_free_entries()
135 struct rpc_xprt_switch *xps = container_of(kref, in xprt_switch_free()
136 struct rpc_xprt_switch, xps_kref); in xprt_switch_free()
148 struct rpc_xprt_switch *xprt_switch_get(struct rpc_xprt_switch *xps) in xprt_switch_get()
161 void xprt_switch_put(struct rpc_xprt_switch *xps) in xprt_switch_put()
173 void rpc_xprt_switch_set_roundrobin(struct rpc_xprt_switch *xps) in rpc_xprt_switch_set_roundrobin()
219 struct rpc_xprt_switch *xps = rcu_dereference(xpi->xpi_xpswitch); in xprt_iter_first_entry()
245 struct rpc_xprt_switch *xps = rcu_dereference(xpi->xpi_xpswitch); in xprt_iter_current_entry()
256 bool rpc_xprt_switch_has_addr(struct rpc_xprt_switch *xps, in rpc_xprt_switch_has_addr()
294 struct rpc_xprt *xprt_switch_set_next_cursor(struct rpc_xprt_switch *xps, in xprt_switch_set_next_cursor()
310 struct rpc_xprt_switch *xps = rcu_dereference(xpi->xpi_xpswitch); in xprt_iter_next_entry_multiple()
330 struct rpc_xprt *xprt_switch_find_next_entry_roundrobin(struct rpc_xprt_switch *xps, in xprt_switch_find_next_entry_roundrobin()
362 struct rpc_xprt *xprt_switch_find_next_entry_all(struct rpc_xprt_switch *xps, in xprt_switch_find_next_entry_all()
391 struct rpc_xprt_switch *xps, in __xprt_iter_init()
409 struct rpc_xprt_switch *xps) in xprt_iter_init()
423 struct rpc_xprt_switch *xps) in xprt_iter_init_listall()
435 struct rpc_xprt_switch *xprt_iter_xchg_switch(struct rpc_xprt_iter *xpi, in xprt_iter_xchg_switch()
436 struct rpc_xprt_switch *newswitch) in xprt_iter_xchg_switch()
438 struct rpc_xprt_switch __rcu *oldswitch; in xprt_iter_xchg_switch()