Lines Matching defs:rpc_xprt

168 struct rpc_xprt {  struct
170 struct rpc_xprt_ops * ops; /* transport methods */ argument
172 const struct rpc_timeout *timeout; /* timeout parms */
173 struct sockaddr_storage addr; /* server address */
174 size_t addrlen; /* size of server address */
175 int prot; /* IP protocol */
177 unsigned long cong; /* current congestion */
178 unsigned long cwnd; /* congestion window */
180 size_t max_payload; /* largest RPC payload size,
182 unsigned int tsh_size; /* size of transport specific
185 struct rpc_wait_queue binding; /* requests waiting on rpcbind */
186 struct rpc_wait_queue sending; /* requests waiting to send */
187 struct rpc_wait_queue pending; /* requests in flight */
188 struct rpc_wait_queue backlog; /* waiting for slot */
189 struct list_head free; /* free slots */
190 unsigned int max_reqs; /* max number of slots */
191 unsigned int min_reqs; /* min number of slots */
192 atomic_t num_reqs; /* total slots */
193 unsigned long state; /* transport state */
194 unsigned char resvport : 1; /* use a reserved port */
195 atomic_t swapper; /* we're swapping over this
197 unsigned int bind_index; /* bind function index */
202 unsigned long bind_timeout,
203 reestablish_timeout;
204 unsigned int connect_cookie; /* A cookie that gets bumped
211 struct work_struct task_cleanup;
212 struct timer_list timer;
213 unsigned long last_used,
214 idle_timeout;
219 spinlock_t transport_lock; /* lock transport info */
220 spinlock_t reserve_lock; /* lock slot table */
221 u32 xid; /* Next XID value to use */
222 struct rpc_task * snd_task; /* Task blocked in send */
223 struct svc_xprt *bc_xprt; /* NFSv4.1 backchannel */
225 struct svc_serv *bc_serv; /* The RPC service which will */
227 int bc_alloc_count; /* Total number of preallocs */
228 atomic_t bc_free_slots;
229 spinlock_t bc_pa_lock; /* Protects the preallocated
231 struct list_head bc_pa_list; /* List of preallocated
234 struct list_head recv;
236 struct {
250 } stat;
252 struct net *xprt_net;
253 const char *servername;
254 const char *address_strings[RPC_DISPLAY_MAX];
256 struct dentry *debugfs; /* debugfs directory */
257 atomic_t inject_disconnect;