Lines Matching defs:rpc_xprt
207 struct rpc_xprt { struct
209 const struct rpc_xprt_ops *ops; /* transport methods */ argument
210 unsigned int id; /* transport id */
212 const struct rpc_timeout *timeout; /* timeout parms */
213 struct sockaddr_storage addr; /* server address */
214 size_t addrlen; /* size of server address */
215 int prot; /* IP protocol */
217 unsigned long cong; /* current congestion */
218 unsigned long cwnd; /* congestion window */
220 size_t max_payload; /* largest RPC payload size,
223 struct rpc_wait_queue binding; /* requests waiting on rpcbind */
224 struct rpc_wait_queue sending; /* requests waiting to send */
225 struct rpc_wait_queue pending; /* requests in flight */
226 struct rpc_wait_queue backlog; /* waiting for slot */
227 struct list_head free; /* free slots */
228 unsigned int max_reqs; /* max number of slots */
229 unsigned int min_reqs; /* min number of slots */
230 unsigned int num_reqs; /* total slots */
231 unsigned long state; /* transport state */
232 unsigned char resvport : 1, /* use a reserved port */
233 reuseport : 1; /* reuse port on reconnect */
234 atomic_t swapper; /* we're swapping over this
236 unsigned int bind_index; /* bind function index */
241 struct list_head xprt_switch;
246 unsigned long bind_timeout,
247 reestablish_timeout;
248 struct xprtsec_parms xprtsec;
249 unsigned int connect_cookie; /* A cookie that gets bumped
256 struct work_struct task_cleanup;
257 struct timer_list timer;
258 unsigned long last_used,
259 idle_timeout,
260 connect_timeout,
261 max_reconnect_timeout;
266 atomic_long_t queuelen;
267 spinlock_t transport_lock; /* lock transport info */
268 spinlock_t reserve_lock; /* lock slot table */
269 spinlock_t queue_lock; /* send/receive queue lock */
270 u32 xid; /* Next XID value to use */
271 struct rpc_task * snd_task; /* Task blocked in send */
273 struct list_head xmit_queue; /* Send queue */
274 atomic_long_t xmit_queuelen;
276 struct svc_xprt *bc_xprt; /* NFSv4.1 backchannel */
278 struct svc_serv *bc_serv; /* The RPC service which will */
280 unsigned int bc_alloc_max;
281 unsigned int bc_alloc_count; /* Total number of preallocs */
282 atomic_t bc_slot_count; /* Number of allocated slots */
283 spinlock_t bc_pa_lock; /* Protects the preallocated
285 struct list_head bc_pa_list; /* List of preallocated
289 struct rb_root recv_queue; /* Receive queue */
291 struct {
305 } stat;
307 struct net *xprt_net;
308 netns_tracker ns_tracker;
309 const char *servername;
310 const char *address_strings[RPC_DISPLAY_MAX];
312 struct dentry *debugfs; /* debugfs directory */
314 struct rcu_head rcu;
315 const struct xprt_class *xprt_class;
316 struct rpc_sysfs_xprt *xprt_sysfs;
317 bool main; /*mark if this is the 1st transport */