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 */
212 const struct rpc_timeout *timeout; /* timeout parms */ member
230 unsigned int num_reqs; /* total slots */
281 unsigned int bc_alloc_count; /* Total number of preallocs */
292 unsigned long bind_count, /* total number of binds */
293 connect_count, /* total number of connects */
331 return test_bit(RPC_BC_PA_IN_USE, &req->rq_bc_pa_state); in bc_prealloc()
407 return xprt->ops->enable_swap(xprt); in xprt_enable_swap()
413 xprt->ops->disable_swap(xprt); in xprt_disable_swap()
444 * Reserved bit positions in xprt->state
462 set_bit(XPRT_CONNECTED, &xprt->state); in xprt_set_connected()
467 clear_bit(XPRT_CONNECTED, &xprt->state); in xprt_clear_connected()
472 return test_bit(XPRT_CONNECTED, &xprt->state); in xprt_connected()
477 return test_and_set_bit(XPRT_CONNECTED, &xprt->state); in xprt_test_and_set_connected()
482 return test_and_clear_bit(XPRT_CONNECTED, &xprt->state); in xprt_test_and_clear_connected()
488 clear_bit(XPRT_CONNECTING, &xprt->state); in xprt_clear_connecting()
494 return test_bit(XPRT_CONNECTING, &xprt->state); in xprt_connecting()
499 return test_and_set_bit(XPRT_CONNECTING, &xprt->state); in xprt_test_and_set_connecting()
504 test_and_set_bit(XPRT_BOUND, &xprt->state); in xprt_set_bound()
509 return test_bit(XPRT_BOUND, &xprt->state); in xprt_bound()
514 clear_bit(XPRT_BOUND, &xprt->state); in xprt_clear_bound()
520 clear_bit(XPRT_BINDING, &xprt->state); in xprt_clear_binding()
526 return test_and_set_bit(XPRT_BINDING, &xprt->state); in xprt_test_and_set_binding()