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)
56 * This is the user-visible part
68 int rq_cong; /* has incremented xprt->cong */
87 size_t rq_xmit_bytes_sent; /* total bytes sent */
88 size_t rq_reply_bytes_recvd; /* total reply bytes */
94 unsigned long rq_majortimeo; /* major timeout alarm */
95 unsigned long rq_minortimeo; /* minor timeout alarm */
96 unsigned long rq_timeout; /* Current timeout value */
97 ktime_t rq_rtt; /* round-trip time */
203 const struct rpc_timeout *timeout; /* timeout parms */ member
221 unsigned int num_reqs; /* total slots */
272 unsigned int bc_alloc_count; /* Total number of preallocs */
283 unsigned long bind_count, /* total number of binds */
284 connect_count, /* total number of connects */
322 return test_bit(RPC_BC_PA_IN_USE, &req->rq_bc_pa_state); in bc_prealloc()
398 return xprt->ops->enable_swap(xprt); in xprt_enable_swap()
404 xprt->ops->disable_swap(xprt); in xprt_disable_swap()
435 * Reserved bit positions in xprt->state
453 set_bit(XPRT_CONNECTED, &xprt->state); in xprt_set_connected()
458 clear_bit(XPRT_CONNECTED, &xprt->state); in xprt_clear_connected()
463 return test_bit(XPRT_CONNECTED, &xprt->state); in xprt_connected()
468 return test_and_set_bit(XPRT_CONNECTED, &xprt->state); in xprt_test_and_set_connected()
473 return test_and_clear_bit(XPRT_CONNECTED, &xprt->state); in xprt_test_and_clear_connected()
479 clear_bit(XPRT_CONNECTING, &xprt->state); in xprt_clear_connecting()
485 return test_bit(XPRT_CONNECTING, &xprt->state); in xprt_connecting()
490 return test_and_set_bit(XPRT_CONNECTING, &xprt->state); in xprt_test_and_set_connecting()
495 test_and_set_bit(XPRT_BOUND, &xprt->state); in xprt_set_bound()
500 return test_bit(XPRT_BOUND, &xprt->state); in xprt_bound()
505 clear_bit(XPRT_BOUND, &xprt->state); in xprt_clear_bound()
511 clear_bit(XPRT_BINDING, &xprt->state); in xprt_clear_binding()
517 return test_and_set_bit(XPRT_BINDING, &xprt->state); in xprt_test_and_set_binding()