Lines Matching defs:rpc_xprt

149 struct rpc_xprt {  struct
151 struct rpc_xprt_ops * ops; /* transport methods */ argument
153 const struct rpc_timeout *timeout; /* timeout parms */
154 struct sockaddr_storage addr; /* server address */
155 size_t addrlen; /* size of server address */
156 int prot; /* IP protocol */
158 unsigned long cong; /* current congestion */
159 unsigned long cwnd; /* congestion window */
161 size_t max_payload; /* largest RPC payload size,
163 unsigned int tsh_size; /* size of transport specific
166 struct rpc_wait_queue binding; /* requests waiting on rpcbind */
167 struct rpc_wait_queue sending; /* requests waiting to send */
168 struct rpc_wait_queue pending; /* requests in flight */
169 struct rpc_wait_queue backlog; /* waiting for slot */
170 struct list_head free; /* free slots */
171 unsigned int max_reqs; /* max number of slots */
172 unsigned int min_reqs; /* min number of slots */
173 atomic_t num_reqs; /* total slots */
174 unsigned long state; /* transport state */
175 unsigned char shutdown : 1, /* being shut down */
176 resvport : 1; /* use a reserved port */
177 unsigned int bind_index; /* bind function index */
182 unsigned long bind_timeout,
183 reestablish_timeout;
184 unsigned int connect_cookie; /* A cookie that gets bumped
191 struct work_struct task_cleanup;
192 struct timer_list timer;
193 unsigned long last_used,
194 idle_timeout;
199 spinlock_t transport_lock; /* lock transport info */
200 spinlock_t reserve_lock; /* lock slot table */
201 u32 xid; /* Next XID value to use */
202 struct rpc_task * snd_task; /* Task blocked in send */
203 struct svc_xprt *bc_xprt; /* NFSv4.1 backchannel */
205 struct svc_serv *bc_serv; /* The RPC service which will */
207 unsigned int bc_alloc_count; /* Total number of preallocs */
208 spinlock_t bc_pa_lock; /* Protects the preallocated
210 struct list_head bc_pa_list; /* List of preallocated
213 struct list_head recv;
215 struct {
226 } stat;
228 struct net *xprt_net;
229 const char *address_strings[RPC_DISPLAY_MAX];