Lines Matching defs:rpc_xprt

198 struct rpc_xprt {  struct
200 const struct rpc_xprt_ops *ops; /* transport methods */ argument
201 unsigned int id; /* transport id */
203 const struct rpc_timeout *timeout; /* timeout parms */
204 struct sockaddr_storage addr; /* server address */
205 size_t addrlen; /* size of server address */
206 int prot; /* IP protocol */
208 unsigned long cong; /* current congestion */
209 unsigned long cwnd; /* congestion window */
211 size_t max_payload; /* largest RPC payload size,
214 struct rpc_wait_queue binding; /* requests waiting on rpcbind */
215 struct rpc_wait_queue sending; /* requests waiting to send */
216 struct rpc_wait_queue pending; /* requests in flight */
217 struct rpc_wait_queue backlog; /* waiting for slot */
218 struct list_head free; /* free slots */
219 unsigned int max_reqs; /* max number of slots */
220 unsigned int min_reqs; /* min number of slots */
221 unsigned int num_reqs; /* total slots */
222 unsigned long state; /* transport state */
223 unsigned char resvport : 1, /* use a reserved port */
224 reuseport : 1; /* reuse port on reconnect */
225 atomic_t swapper; /* we're swapping over this
227 unsigned int bind_index; /* bind function index */
232 struct list_head xprt_switch;
237 unsigned long bind_timeout,
238 reestablish_timeout;
239 struct xprtsec_parms xprtsec;
240 unsigned int connect_cookie; /* A cookie that gets bumped
247 struct work_struct task_cleanup;
248 struct timer_list timer;
249 unsigned long last_used,
250 idle_timeout,
251 connect_timeout,
252 max_reconnect_timeout;
257 atomic_long_t queuelen;
258 spinlock_t transport_lock; /* lock transport info */
259 spinlock_t reserve_lock; /* lock slot table */
260 spinlock_t queue_lock; /* send/receive queue lock */
261 u32 xid; /* Next XID value to use */
262 struct rpc_task * snd_task; /* Task blocked in send */
264 struct list_head xmit_queue; /* Send queue */
265 atomic_long_t xmit_queuelen;
267 struct svc_xprt *bc_xprt; /* NFSv4.1 backchannel */
269 struct svc_serv *bc_serv; /* The RPC service which will */
271 unsigned int bc_alloc_max;
272 unsigned int bc_alloc_count; /* Total number of preallocs */
273 atomic_t bc_slot_count; /* Number of allocated slots */
274 spinlock_t bc_pa_lock; /* Protects the preallocated
276 struct list_head bc_pa_list; /* List of preallocated
280 struct rb_root recv_queue; /* Receive queue */
282 struct {
296 } stat;
298 struct net *xprt_net;
299 netns_tracker ns_tracker;
300 const char *servername;
301 const char *address_strings[RPC_DISPLAY_MAX];
303 struct dentry *debugfs; /* debugfs directory */
305 struct rcu_head rcu;
306 const struct xprt_class *xprt_class;
307 struct rpc_sysfs_xprt *xprt_sysfs;
308 bool main; /*mark if this is the 1st transport */