Lines Matching defs:rpc_xprt
185 struct rpc_xprt { struct
187 const struct rpc_xprt_ops *ops; /* transport methods */ argument
189 const struct rpc_timeout *timeout; /* timeout parms */
190 struct sockaddr_storage addr; /* server address */
191 size_t addrlen; /* size of server address */
192 int prot; /* IP protocol */
194 unsigned long cong; /* current congestion */
195 unsigned long cwnd; /* congestion window */
197 size_t max_payload; /* largest RPC payload size,
200 struct rpc_wait_queue binding; /* requests waiting on rpcbind */
201 struct rpc_wait_queue sending; /* requests waiting to send */
202 struct rpc_wait_queue pending; /* requests in flight */
203 struct rpc_wait_queue backlog; /* waiting for slot */
204 struct list_head free; /* free slots */
205 unsigned int max_reqs; /* max number of slots */
206 unsigned int min_reqs; /* min number of slots */
207 unsigned int num_reqs; /* total slots */
208 unsigned long state; /* transport state */
209 unsigned char resvport : 1, /* use a reserved port */
210 reuseport : 1; /* reuse port on reconnect */
211 atomic_t swapper; /* we're swapping over this
213 unsigned int bind_index; /* bind function index */
218 struct list_head xprt_switch;
223 unsigned long bind_timeout,
224 reestablish_timeout;
225 unsigned int connect_cookie; /* A cookie that gets bumped
232 struct work_struct task_cleanup;
233 struct timer_list timer;
234 unsigned long last_used,
235 idle_timeout,
236 connect_timeout,
237 max_reconnect_timeout;
242 atomic_long_t queuelen;
243 spinlock_t transport_lock; /* lock transport info */
244 spinlock_t reserve_lock; /* lock slot table */
245 spinlock_t queue_lock; /* send/receive queue lock */
246 u32 xid; /* Next XID value to use */
247 struct rpc_task * snd_task; /* Task blocked in send */
249 struct list_head xmit_queue; /* Send queue */
251 struct svc_xprt *bc_xprt; /* NFSv4.1 backchannel */
253 struct svc_serv *bc_serv; /* The RPC service which will */
255 unsigned int bc_alloc_max;
256 unsigned int bc_alloc_count; /* Total number of preallocs */
257 atomic_t bc_slot_count; /* Number of allocated slots */
258 spinlock_t bc_pa_lock; /* Protects the preallocated
260 struct list_head bc_pa_list; /* List of preallocated
264 struct rb_root recv_queue; /* Receive queue */
266 struct {
280 } stat;
282 struct net *xprt_net;
283 const char *servername;
284 const char *address_strings[RPC_DISPLAY_MAX];
286 struct dentry *debugfs; /* debugfs directory */
287 atomic_t inject_disconnect;
289 struct rcu_head rcu;