Lines Matching defs:rpc_xprt
156 struct rpc_xprt { struct
158 struct rpc_xprt_ops * ops; /* transport methods */ argument
160 const struct rpc_timeout *timeout; /* timeout parms */
161 struct sockaddr_storage addr; /* server address */
162 size_t addrlen; /* size of server address */
163 int prot; /* IP protocol */
165 unsigned long cong; /* current congestion */
166 unsigned long cwnd; /* congestion window */
168 size_t max_payload; /* largest RPC payload size,
170 unsigned int tsh_size; /* size of transport specific
173 struct rpc_wait_queue binding; /* requests waiting on rpcbind */
174 struct rpc_wait_queue sending; /* requests waiting to send */
175 struct rpc_wait_queue pending; /* requests in flight */
176 struct rpc_wait_queue backlog; /* waiting for slot */
177 struct list_head free; /* free slots */
178 unsigned int max_reqs; /* max number of slots */
179 unsigned int min_reqs; /* min number of slots */
180 atomic_t num_reqs; /* total slots */
181 unsigned long state; /* transport state */
182 unsigned char resvport : 1; /* use a reserved port */
183 unsigned int swapper; /* we're swapping over this
185 unsigned int bind_index; /* bind function index */
190 unsigned long bind_timeout,
191 reestablish_timeout;
192 unsigned int connect_cookie; /* A cookie that gets bumped
199 struct work_struct task_cleanup;
200 struct timer_list timer;
201 unsigned long last_used,
202 idle_timeout;
207 spinlock_t transport_lock; /* lock transport info */
208 spinlock_t reserve_lock; /* lock slot table */
209 u32 xid; /* Next XID value to use */
210 struct rpc_task * snd_task; /* Task blocked in send */
211 struct svc_xprt *bc_xprt; /* NFSv4.1 backchannel */
213 struct svc_serv *bc_serv; /* The RPC service which will */
215 unsigned int bc_alloc_count; /* Total number of preallocs */
216 spinlock_t bc_pa_lock; /* Protects the preallocated
218 struct list_head bc_pa_list; /* List of preallocated
221 struct list_head recv;
223 struct {
237 } stat;
239 struct net *xprt_net;
240 const char *servername;
241 const char *address_strings[RPC_DISPLAY_MAX];
243 struct dentry *debugfs; /* debugfs directory */