Searched refs:rpc_xprt_switch (Results 1 – 10 of 10) sorted by relevance
/linux/include/linux/sunrpc/ |
H A D | xprtmultipath.h | 14 struct rpc_xprt_switch { struct 34 struct rpc_xprt_switch __rcu *xpi_xpswitch; argument 47 extern struct rpc_xprt_switch *xprt_switch_alloc(struct rpc_xprt *xprt, 50 extern struct rpc_xprt_switch *xprt_switch_get(struct rpc_xprt_switch *xps); 51 extern void xprt_switch_put(struct rpc_xprt_switch *xps); 53 extern void rpc_xprt_switch_set_roundrobin(struct rpc_xprt_switch *xps); 55 extern void rpc_xprt_switch_add_xprt(struct rpc_xprt_switch *xps, 57 extern void rpc_xprt_switch_remove_xprt(struct rpc_xprt_switch *xps, 59 extern struct rpc_xprt *rpc_xprt_switch_get_main_xprt(struct rpc_xprt_switch *xp [all...] |
H A D | clnt.h | 37 struct rpc_xprt_switch *xprt_switch; 237 struct rpc_xprt_switch *xps, 242 struct rpc_xprt_switch *, 251 struct rpc_xprt_switch *,
|
H A D | xprt.h | 357 struct rpc_xprt_switch *bc_xps; 535 void xprt_set_offline_locked(struct rpc_xprt *xprt, struct rpc_xprt_switch *xps); 536 void xprt_set_online_locked(struct rpc_xprt *xprt, struct rpc_xprt_switch *xps); 537 void xprt_delete_locked(struct rpc_xprt *xprt, struct rpc_xprt_switch *xps);
|
H A D | svc_xprt.h | 81 struct rpc_xprt_switch *xpt_bc_xps; /* NFSv4.1 backchannel */
|
/linux/net/sunrpc/ |
H A D | xprtmultipath.c | 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() 46 * rpc_xprt_switch_add_xprt - Add a new rpc_xprt to an rpc_xprt_switch 47 * @xps: pointer to struct rpc_xprt_switch 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() 79 * rpc_xprt_switch_remove_xprt - Removes an rpc_xprt from a rpc_xprt_switch 80 * @xps: pointer to struct rpc_xprt_switch 86 void rpc_xprt_switch_remove_xprt(struct rpc_xprt_switch *xps, in rpc_xprt_switch_remove_xprt() 97 * @xps: pointer to struct rpc_xprt_switch [all...] |
H A D | sysfs.h | 11 struct rpc_xprt_switch *xprt_switch; 18 struct rpc_xprt_switch *xprt_switch; 25 struct rpc_xprt_switch *xprt_switch, 28 void rpc_sysfs_xprt_switch_setup(struct rpc_xprt_switch *xprt_switch, 30 void rpc_sysfs_xprt_switch_destroy(struct rpc_xprt_switch *xprt); 31 void rpc_sysfs_xprt_setup(struct rpc_xprt_switch *xprt_switch,
|
H A D | sysfs.c | 81 static inline struct rpc_xprt_switch * 90 static inline struct rpc_xprt_switch * 301 struct rpc_xprt_switch *xprt_switch = in rpc_sysfs_xprt_switch_info_show() 327 struct rpc_xprt_switch *xprt_switch = in rpc_sysfs_xprt_switch_add_xprt_store() 430 struct rpc_xprt_switch *xps = rpc_sysfs_xprt_kobj_get_xprt_switch(kobj); in rpc_sysfs_xprt_state_change() 480 struct rpc_xprt_switch *xps = rpc_sysfs_xprt_kobj_get_xprt_switch(kobj); in rpc_sysfs_xprt_del_xprt() 680 struct rpc_xprt_switch *xprt_switch, in rpc_sysfs_xprt_switch_alloc() 720 struct rpc_xprt_switch *xprt_switch, in rpc_sysfs_client_setup() 748 void rpc_sysfs_xprt_switch_setup(struct rpc_xprt_switch *xprt_switch, in rpc_sysfs_xprt_switch_setup() 752 struct rpc_sysfs_xprt_switch *rpc_xprt_switch; in rpc_sysfs_xprt_switch_setup() local 809 struct rpc_sysfs_xprt_switch *rpc_xprt_switch = xprt_switch->xps_sysfs; rpc_sysfs_xprt_switch_destroy() local [all...] |
H A D | clnt.c | 354 struct rpc_xprt_switch *xps, in rpc_new_client() 454 struct rpc_xprt_switch *xps; in rpc_create_xprt() 627 struct rpc_xprt_switch *xps; in __rpc_clone_client() 731 struct rpc_xprt_switch *xps, *oldxps; in rpc_switch_client_transport() 795 static struct rpc_xprt_switch *rpc_clnt_xprt_switch_get(struct rpc_clnt *clnt) in rpc_clnt_xprt_switch_get() 797 struct rpc_xprt_switch *xps; in rpc_clnt_xprt_switch_get() 808 void func(struct rpc_xprt_iter *xpi, struct rpc_xprt_switch *xps)) in _rpc_clnt_xprt_iter_init() 810 struct rpc_xprt_switch *xps; in _rpc_clnt_xprt_iter_init() 1087 struct rpc_xprt_switch *xps; in rpc_task_get_xprt() 1103 struct rpc_xprt_switch *xp in rpc_task_release_xprt() 3089 rpc_clnt_add_xprt(struct rpc_clnt * clnt,struct xprt_create * xprtargs,int (* setup)(struct rpc_clnt *,struct rpc_xprt_switch *,struct rpc_xprt *,void *),void * data) rpc_clnt_add_xprt() argument [all...] |
H A D | xprt.c | 2183 void xprt_set_offline_locked(struct rpc_xprt *xprt, struct rpc_xprt_switch *xps) in xprt_set_offline_locked() 2192 void xprt_set_online_locked(struct rpc_xprt *xprt, struct rpc_xprt_switch *xps) in xprt_set_online_locked() 2201 void xprt_delete_locked(struct rpc_xprt *xprt, struct rpc_xprt_switch *xps) in xprt_delete_locked()
|
H A D | rpcb_clnt.c | 649 struct rpc_xprt_switch *xps = rcu_access_pointer(clnt->cl_xpi.xpi_xpswitch); in rpcb_find_transport_owner()
|