Home
last modified time | relevance | path

Searched refs:xprt (Results 1 – 9 of 9) sorted by relevance

/include/linux/sunrpc/
Dxprt.h30 #define RPC_MAXCWND(xprt) ((xprt)->max_reqs << RPC_CWNDSHIFT) argument
31 #define RPCXPRT_CONGESTED(xprt) ((xprt)->cong >= (xprt)->cwnd) argument
132 void (*set_buffer_size)(struct rpc_xprt *xprt, size_t sndsize, size_t rcvsize);
133 int (*reserve_xprt)(struct rpc_xprt *xprt, struct rpc_task *task);
134 void (*release_xprt)(struct rpc_xprt *xprt, struct rpc_task *task);
135 void (*alloc_slot)(struct rpc_xprt *xprt, struct rpc_task *task);
136 void (*free_slot)(struct rpc_xprt *xprt,
139 void (*set_port)(struct rpc_xprt *xprt, unsigned short port);
140 void (*connect)(struct rpc_xprt *xprt, struct rpc_task *task);
146 void (*timer)(struct rpc_xprt *xprt, struct rpc_task *task);
[all …]
Dsvc_xprt.h120 static inline bool svc_xprt_is_dead(const struct svc_xprt *xprt) in svc_xprt_is_dead() argument
122 return (test_bit(XPT_DEAD, &xprt->xpt_flags) != 0) || in svc_xprt_is_dead()
123 (test_bit(XPT_CLOSE, &xprt->xpt_flags) != 0); in svc_xprt_is_dead()
133 void svc_xprt_do_enqueue(struct svc_xprt *xprt);
134 void svc_xprt_enqueue(struct svc_xprt *xprt);
135 void svc_xprt_put(struct svc_xprt *xprt);
136 void svc_xprt_copy_addrs(struct svc_rqst *rqstp, struct svc_xprt *xprt);
137 void svc_close_xprt(struct svc_xprt *xprt);
144 void svc_add_new_perm_xprt(struct svc_serv *serv, struct svc_xprt *xprt);
147 static inline void svc_xprt_get(struct svc_xprt *xprt) in svc_xprt_get() argument
[all …]
Dbc_xprt.h35 struct rpc_rqst *xprt_lookup_bc_request(struct rpc_xprt *xprt, __be32 xid);
43 int xprt_setup_bc(struct rpc_xprt *xprt, unsigned int min_reqs);
44 void xprt_destroy_bc(struct rpc_xprt *xprt, unsigned int max_reqs);
46 unsigned int xprt_bc_max_slots(struct rpc_xprt *xprt);
61 static inline int xprt_setup_backchannel(struct rpc_xprt *xprt, in xprt_setup_backchannel() argument
67 static inline void xprt_destroy_backchannel(struct rpc_xprt *xprt, in xprt_destroy_backchannel() argument
Dxprtmultipath.h43 extern struct rpc_xprt_switch *xprt_switch_alloc(struct rpc_xprt *xprt,
52 struct rpc_xprt *xprt);
54 struct rpc_xprt *xprt);
Ddebug.h118 rpc_xprt_debugfs_register(struct rpc_xprt *xprt) in rpc_xprt_debugfs_register() argument
124 rpc_xprt_debugfs_unregister(struct rpc_xprt *xprt) in rpc_xprt_debugfs_unregister() argument
Dclnt.h141 struct rpc_xprt *xprt,
174 struct rpc_xprt *xprt);
215 struct rpc_xprt *xprt,
Dxprtsock.h21 struct rpc_xprt xprt; member
Dsvc.h377 struct svc_xprt *xprt; member
/include/trace/events/
Dsunrpc.h138 const struct rpc_xprt *xprt,
143 TP_ARGS(clnt, xprt, program, server),
147 __string(addr, xprt->address_strings[RPC_DISPLAY_ADDR])
148 __string(port, xprt->address_strings[RPC_DISPLAY_PORT])
155 __assign_str(addr, xprt->address_strings[RPC_DISPLAY_ADDR]);
156 __assign_str(port, xprt->address_strings[RPC_DISPLAY_PORT]);
815 struct rpc_xprt *xprt,
819 TP_ARGS(xprt, socket),
826 xprt->address_strings[RPC_DISPLAY_ADDR])
828 xprt->address_strings[RPC_DISPLAY_PORT])
[all …]