Lines Matching +full:total +full:- +full:timeout
1 /* SPDX-License-Identifier: GPL-2.0 */
30 #define RPC_MAXCWND(xprt) ((xprt)->max_reqs << RPC_CWNDSHIFT)
31 #define RPCXPRT_CONGESTED(xprt) ((xprt)->cong >= (xprt)->cwnd)
34 * This describes a timeout strategy
37 unsigned long to_initval, /* initial timeout */
38 to_maxval, /* max timeout */
66 * This is the user-visible part
78 int rq_cong; /* has incremented xprt->cong */
97 size_t rq_xmit_bytes_sent; /* total bytes sent */
98 size_t rq_reply_bytes_recvd; /* total reply bytes */
104 unsigned long rq_majortimeo; /* major timeout alarm */
105 unsigned long rq_minortimeo; /* minor timeout alarm */
106 unsigned long rq_timeout; /* Current timeout value */
107 ktime_t rq_rtt; /* round-trip time */
196 const struct rpc_timeout *timeout; /* timeout parms */ member
214 unsigned int num_reqs; /* total slots */
264 unsigned int bc_alloc_count; /* Total number of preallocs */
275 unsigned long bind_count, /* total number of binds */
276 connect_count, /* total number of connects */
314 return test_bit(RPC_BC_PA_IN_USE, &req->rq_bc_pa_state); in bc_prealloc()
387 return xprt->ops->enable_swap(xprt); in xprt_enable_swap()
393 xprt->ops->disable_swap(xprt); in xprt_disable_swap()
424 * Reserved bit positions in xprt->state
442 set_bit(XPRT_CONNECTED, &xprt->state); in xprt_set_connected()
447 clear_bit(XPRT_CONNECTED, &xprt->state); in xprt_clear_connected()
452 return test_bit(XPRT_CONNECTED, &xprt->state); in xprt_connected()
457 return test_and_set_bit(XPRT_CONNECTED, &xprt->state); in xprt_test_and_set_connected()
462 return test_and_clear_bit(XPRT_CONNECTED, &xprt->state); in xprt_test_and_clear_connected()
468 clear_bit(XPRT_CONNECTING, &xprt->state); in xprt_clear_connecting()
474 return test_bit(XPRT_CONNECTING, &xprt->state); in xprt_connecting()
479 return test_and_set_bit(XPRT_CONNECTING, &xprt->state); in xprt_test_and_set_connecting()
484 test_and_set_bit(XPRT_BOUND, &xprt->state); in xprt_set_bound()
489 return test_bit(XPRT_BOUND, &xprt->state); in xprt_bound()
494 clear_bit(XPRT_BOUND, &xprt->state); in xprt_clear_bound()
500 clear_bit(XPRT_BINDING, &xprt->state); in xprt_clear_binding()
506 return test_and_set_bit(XPRT_BINDING, &xprt->state); in xprt_test_and_set_binding()