@@ -118,6 +118,7 @@ int xprt_reserve_xprt(struct rpc_task *task)
118118 rpc_sleep_on (& xprt -> sending , task , NULL , NULL );
119119 return 0 ;
120120}
121+ EXPORT_SYMBOL_GPL (xprt_reserve_xprt );
121122
122123static void xprt_clear_locked (struct rpc_xprt * xprt )
123124{
@@ -167,6 +168,7 @@ int xprt_reserve_xprt_cong(struct rpc_task *task)
167168 rpc_sleep_on (& xprt -> sending , task , NULL , NULL );
168169 return 0 ;
169170}
171+ EXPORT_SYMBOL_GPL (xprt_reserve_xprt_cong );
170172
171173static inline int xprt_lock_write (struct rpc_xprt * xprt , struct rpc_task * task )
172174{
@@ -246,6 +248,7 @@ void xprt_release_xprt(struct rpc_xprt *xprt, struct rpc_task *task)
246248 __xprt_lock_write_next (xprt );
247249 }
248250}
251+ EXPORT_SYMBOL_GPL (xprt_release_xprt );
249252
250253/**
251254 * xprt_release_xprt_cong - allow other requests to use a transport
@@ -262,6 +265,7 @@ void xprt_release_xprt_cong(struct rpc_xprt *xprt, struct rpc_task *task)
262265 __xprt_lock_write_next_cong (xprt );
263266 }
264267}
268+ EXPORT_SYMBOL_GPL (xprt_release_xprt_cong );
265269
266270static inline void xprt_release_write (struct rpc_xprt * xprt , struct rpc_task * task )
267271{
@@ -314,6 +318,7 @@ void xprt_release_rqst_cong(struct rpc_task *task)
314318{
315319 __xprt_put_cong (task -> tk_xprt , task -> tk_rqstp );
316320}
321+ EXPORT_SYMBOL_GPL (xprt_release_rqst_cong );
317322
318323/**
319324 * xprt_adjust_cwnd - adjust transport congestion window
@@ -345,6 +350,7 @@ void xprt_adjust_cwnd(struct rpc_task *task, int result)
345350 xprt -> cwnd = cwnd ;
346351 __xprt_put_cong (xprt , req );
347352}
353+ EXPORT_SYMBOL_GPL (xprt_adjust_cwnd );
348354
349355/**
350356 * xprt_wake_pending_tasks - wake all tasks on a transport's pending queue
@@ -359,6 +365,7 @@ void xprt_wake_pending_tasks(struct rpc_xprt *xprt, int status)
359365 else
360366 rpc_wake_up (& xprt -> pending );
361367}
368+ EXPORT_SYMBOL_GPL (xprt_wake_pending_tasks );
362369
363370/**
364371 * xprt_wait_for_buffer_space - wait for transport output buffer to clear
@@ -373,6 +380,7 @@ void xprt_wait_for_buffer_space(struct rpc_task *task)
373380 task -> tk_timeout = req -> rq_timeout ;
374381 rpc_sleep_on (& xprt -> pending , task , NULL , NULL );
375382}
383+ EXPORT_SYMBOL_GPL (xprt_wait_for_buffer_space );
376384
377385/**
378386 * xprt_write_space - wake the task waiting for transport output buffer space
@@ -393,6 +401,7 @@ void xprt_write_space(struct rpc_xprt *xprt)
393401 }
394402 spin_unlock_bh (& xprt -> transport_lock );
395403}
404+ EXPORT_SYMBOL_GPL (xprt_write_space );
396405
397406/**
398407 * xprt_set_retrans_timeout_def - set a request's retransmit timeout
@@ -406,6 +415,7 @@ void xprt_set_retrans_timeout_def(struct rpc_task *task)
406415{
407416 task -> tk_timeout = task -> tk_rqstp -> rq_timeout ;
408417}
418+ EXPORT_SYMBOL_GPL (xprt_set_retrans_timeout_def );
409419
410420/*
411421 * xprt_set_retrans_timeout_rtt - set a request's retransmit timeout
@@ -425,6 +435,7 @@ void xprt_set_retrans_timeout_rtt(struct rpc_task *task)
425435 if (task -> tk_timeout > max_timeout || task -> tk_timeout == 0 )
426436 task -> tk_timeout = max_timeout ;
427437}
438+ EXPORT_SYMBOL_GPL (xprt_set_retrans_timeout_rtt );
428439
429440static void xprt_reset_majortimeo (struct rpc_rqst * req )
430441{
@@ -500,6 +511,7 @@ void xprt_disconnect(struct rpc_xprt *xprt)
500511 xprt_wake_pending_tasks (xprt , - ENOTCONN );
501512 spin_unlock_bh (& xprt -> transport_lock );
502513}
514+ EXPORT_SYMBOL_GPL (xprt_disconnect );
503515
504516static void
505517xprt_init_autodisconnect (unsigned long data )
@@ -610,6 +622,7 @@ struct rpc_rqst *xprt_lookup_rqst(struct rpc_xprt *xprt, __be32 xid)
610622 xprt -> stat .bad_xids ++ ;
611623 return NULL ;
612624}
625+ EXPORT_SYMBOL_GPL (xprt_lookup_rqst );
613626
614627/**
615628 * xprt_update_rtt - update an RPC client's RTT state after receiving a reply
@@ -629,6 +642,7 @@ void xprt_update_rtt(struct rpc_task *task)
629642 rpc_set_timeo (rtt , timer , req -> rq_ntrans - 1 );
630643 }
631644}
645+ EXPORT_SYMBOL_GPL (xprt_update_rtt );
632646
633647/**
634648 * xprt_complete_rqst - called when reply processing is complete
@@ -653,6 +667,7 @@ void xprt_complete_rqst(struct rpc_task *task, int copied)
653667 req -> rq_received = req -> rq_private_buf .len = copied ;
654668 rpc_wake_up_task (task );
655669}
670+ EXPORT_SYMBOL_GPL (xprt_complete_rqst );
656671
657672static void xprt_timer (struct rpc_task * task )
658673{
0 commit comments