• Home
  • Raw
  • Download

Lines Matching refs:rpc_xprt_switch

24 typedef struct rpc_xprt *(*xprt_switch_find_xprt_t)(struct rpc_xprt_switch *xps,
31 static void xprt_switch_add_xprt_locked(struct rpc_xprt_switch *xps, in xprt_switch_add_xprt_locked()
51 void rpc_xprt_switch_add_xprt(struct rpc_xprt_switch *xps, in rpc_xprt_switch_add_xprt()
63 static void xprt_switch_remove_xprt_locked(struct rpc_xprt_switch *xps, in xprt_switch_remove_xprt_locked()
84 void rpc_xprt_switch_remove_xprt(struct rpc_xprt_switch *xps, in rpc_xprt_switch_remove_xprt()
100 static int xprt_switch_alloc_id(struct rpc_xprt_switch *xps, gfp_t gfp_flags) in xprt_switch_alloc_id()
112 static void xprt_switch_free_id(struct rpc_xprt_switch *xps) in xprt_switch_free_id()
125 struct rpc_xprt_switch *xprt_switch_alloc(struct rpc_xprt *xprt, in xprt_switch_alloc()
128 struct rpc_xprt_switch *xps; in xprt_switch_alloc()
149 static void xprt_switch_free_entries(struct rpc_xprt_switch *xps) in xprt_switch_free_entries()
167 struct rpc_xprt_switch *xps = container_of(kref, in xprt_switch_free()
168 struct rpc_xprt_switch, xps_kref); in xprt_switch_free()
182 struct rpc_xprt_switch *xprt_switch_get(struct rpc_xprt_switch *xps) in xprt_switch_get()
195 void xprt_switch_put(struct rpc_xprt_switch *xps) in xprt_switch_put()
207 void rpc_xprt_switch_set_roundrobin(struct rpc_xprt_switch *xps) in rpc_xprt_switch_set_roundrobin()
254 struct rpc_xprt_switch *xps = rcu_dereference(xpi->xpi_xpswitch); in xprt_iter_first_entry()
280 struct rpc_xprt_switch *xps = rcu_dereference(xpi->xpi_xpswitch); in xprt_iter_current_entry()
292 bool __rpc_xprt_switch_has_addr(struct rpc_xprt_switch *xps, in __rpc_xprt_switch_has_addr()
312 bool rpc_xprt_switch_has_addr(struct rpc_xprt_switch *xps, in rpc_xprt_switch_has_addr()
342 struct rpc_xprt *xprt_switch_set_next_cursor(struct rpc_xprt_switch *xps, in xprt_switch_set_next_cursor()
358 struct rpc_xprt_switch *xps = rcu_dereference(xpi->xpi_xpswitch); in xprt_iter_next_entry_multiple()
378 struct rpc_xprt *xprt_switch_find_next_entry_roundrobin(struct rpc_xprt_switch *xps, in xprt_switch_find_next_entry_roundrobin()
410 struct rpc_xprt *xprt_switch_find_next_entry_all(struct rpc_xprt_switch *xps, in xprt_switch_find_next_entry_all()
439 struct rpc_xprt_switch *xps, in __xprt_iter_init()
457 struct rpc_xprt_switch *xps) in xprt_iter_init()
471 struct rpc_xprt_switch *xps) in xprt_iter_init_listall()
483 struct rpc_xprt_switch *xprt_iter_xchg_switch(struct rpc_xprt_iter *xpi, in xprt_iter_xchg_switch()
484 struct rpc_xprt_switch *newswitch) in xprt_iter_xchg_switch()
486 struct rpc_xprt_switch __rcu *oldswitch; in xprt_iter_xchg_switch()