Lines Matching defs:rpc_xprt

177 struct rpc_xprt {  struct
179 const struct rpc_xprt_ops *ops; /* transport methods */ argument
181 const struct rpc_timeout *timeout; /* timeout parms */
182 struct sockaddr_storage addr; /* server address */
183 size_t addrlen; /* size of server address */
184 int prot; /* IP protocol */
186 unsigned long cong; /* current congestion */
187 unsigned long cwnd; /* congestion window */
189 size_t max_payload; /* largest RPC payload size,
191 unsigned int tsh_size; /* size of transport specific
194 struct rpc_wait_queue binding; /* requests waiting on rpcbind */
195 struct rpc_wait_queue sending; /* requests waiting to send */
196 struct rpc_wait_queue pending; /* requests in flight */
197 struct rpc_wait_queue backlog; /* waiting for slot */
198 struct list_head free; /* free slots */
199 unsigned int max_reqs; /* max number of slots */
200 unsigned int min_reqs; /* min number of slots */
201 unsigned int num_reqs; /* total slots */
202 unsigned long state; /* transport state */
203 unsigned char resvport : 1; /* use a reserved port */
204 atomic_t swapper; /* we're swapping over this
206 unsigned int bind_index; /* bind function index */
211 struct list_head xprt_switch;
216 unsigned long bind_timeout,
217 reestablish_timeout;
218 unsigned int connect_cookie; /* A cookie that gets bumped
225 struct work_struct task_cleanup;
226 struct timer_list timer;
227 unsigned long last_used,
228 idle_timeout,
229 connect_timeout,
230 max_reconnect_timeout;
235 spinlock_t transport_lock; /* lock transport info */
236 spinlock_t reserve_lock; /* lock slot table */
237 spinlock_t recv_lock; /* lock receive list */
238 u32 xid; /* Next XID value to use */
239 struct rpc_task * snd_task; /* Task blocked in send */
240 struct svc_xprt *bc_xprt; /* NFSv4.1 backchannel */
242 struct svc_serv *bc_serv; /* The RPC service which will */
244 int bc_alloc_count; /* Total number of preallocs */
245 atomic_t bc_free_slots;
246 spinlock_t bc_pa_lock; /* Protects the preallocated
248 struct list_head bc_pa_list; /* List of preallocated
251 struct list_head recv;
253 struct {
267 } stat;
269 struct net *xprt_net;
270 const char *servername;
271 const char *address_strings[RPC_DISPLAY_MAX];
273 struct dentry *debugfs; /* debugfs directory */
274 atomic_t inject_disconnect;
276 struct rcu_head rcu;