Home
last modified time | relevance | path

Searched refs:xpt_flags (Results 1 – 12 of 12) sorted by relevance

/linux/net/sunrpc/
H A Dsvc_xprt.c161 if (!test_and_set_bit(XPT_CLOSE, &xprt->xpt_flags)) in svc_xprt_deferred_close()
171 if (test_bit(XPT_CACHE_AUTH, &xprt->xpt_flags)) in svc_xprt_free()
208 set_bit(XPT_BUSY, &xprt->xpt_flags); in svc_xprt_init()
226 if (!test_bit(XPT_BUSY, &xprt->xpt_flags)) { in svc_xprt_received()
236 clear_bit(XPT_BUSY, &xprt->xpt_flags); in svc_xprt_received()
244 clear_bit(XPT_TEMP, &new->xpt_flags); in svc_add_new_perm_xprt()
440 unsigned long xpt_flags; in svc_xprt_ready() local
451 xpt_flags = READ_ONCE(xprt->xpt_flags); in svc_xprt_ready()
453 trace_svc_xprt_enqueue(xprt, xpt_flags); in svc_xprt_ready()
454 if (xpt_flags & BIT(XPT_BUSY)) in svc_xprt_ready()
[all …]
H A Dsvcsock.c350 clear_bit(XPT_DATA, &svsk->sk_xprt.xpt_flags); in svc_tcp_read_msg()
370 set_bit(XPT_DATA, &svsk->sk_xprt.xpt_flags); in svc_tcp_read_msg()
414 if (test_bit(XPT_HANDSHAKE, &svsk->sk_xprt.xpt_flags)) in svc_data_ready()
416 if (!test_and_set_bit(XPT_DATA, &svsk->sk_xprt.xpt_flags)) in svc_data_ready()
441 if (test_bit(XPT_LISTENER, &xprt->xpt_flags)) in svc_tcp_has_wspace()
471 set_bit(XPT_PEER_AUTH, &xprt->xpt_flags); in svc_tcp_handshake_done()
472 set_bit(XPT_TLS_SESSION, &xprt->xpt_flags); in svc_tcp_handshake_done()
474 clear_bit(XPT_HANDSHAKE, &xprt->xpt_flags); in svc_tcp_handshake_done()
496 clear_bit(XPT_TLS_SESSION, &xprt->xpt_flags); in svc_tcp_handshake()
514 if (!test_bit(XPT_TLS_SESSION, &xprt->xpt_flags)) { in svc_tcp_handshake()
[all …]
H A Dsvcauth_unix.c343 if (test_bit(XPT_CACHE_AUTH, &xprt->xpt_flags)) { in ip_map_cached_get()
369 if (test_bit(XPT_CACHE_AUTH, &xprt->xpt_flags)) { in ip_map_cached_put()
879 set_bit(XPT_HANDSHAKE, &xprt->xpt_flags); in svcauth_tls_accept()
H A Dsvc.c1295 !test_bit(XPT_CONG_CTRL, &rqstp->rq_xprt->xpt_flags)) in svc_generic_init_request()
1454 if (rqstp->rq_xprt && test_bit(XPT_TEMP, &rqstp->rq_xprt->xpt_flags)) in svc_process_common()
H A Dxprtsock.c3032 if (test_bit(XPT_DEAD, &xprt->xpt_flags)) in bc_send_request()
/linux/include/linux/sunrpc/
H A Dsvc_xprt.h59 unsigned long xpt_flags; member
120 if (test_bit(XPT_TEMP, &xpt->xpt_flags) && in svc_xprt_set_valid()
121 !test_and_set_bit(XPT_PEER_VALID, &xpt->xpt_flags)) { in svc_xprt_set_valid()
140 if (test_bit(XPT_CLOSE, &xpt->xpt_flags)) { in register_xpt_user()
156 return (test_bit(XPT_DEAD, &xprt->xpt_flags) != 0) || in svc_xprt_is_dead()
157 (test_bit(XPT_CLOSE, &xprt->xpt_flags) != 0); in svc_xprt_is_dead()
/linux/net/sunrpc/xprtrdma/
H A Dsvc_rdma_transport.c197 set_bit(XPT_CONG_CTRL, &cma_xprt->sc_xprt.xpt_flags); in svc_rdma_create_xprt()
276 set_bit(XPT_CONN, &listen_xprt->sc_xprt.xpt_flags); in handle_connect_req()
366 set_bit(XPT_LISTENER, &cma_xprt->sc_xprt.xpt_flags); in svc_rdma_create()
420 clear_bit(XPT_CONN, &xprt->xpt_flags); in svc_rdma_accept()
429 set_bit(XPT_CONN, &listen_rdma->sc_xprt.xpt_flags); in svc_rdma_accept()
633 if (!test_bit(XPT_LISTENER, &rdma->sc_xprt.xpt_flags)) in svc_rdma_free()
H A Dsvc_rdma_backchannel.c187 if (test_bit(XPT_DEAD, &sxprt->xpt_flags)) in xprt_rdma_bc_send_request()
H A Dsvc_rdma_sendto.c366 while (!test_bit(XPT_CLOSE, &rdma->sc_xprt.xpt_flags)) { in svc_rdma_post_send()
H A Dsvc_rdma_rw.c336 set_bit(XPT_DATA, &rdma->sc_xprt.xpt_flags); in svc_rdma_wc_read_done()
/linux/fs/nfsd/
H A Dexport.c1104 if (!test_bit(XPT_TLS_SESSION, &xprt->xpt_flags)) in check_xprtsec_policy()
1108 if (test_bit(XPT_TLS_SESSION, &xprt->xpt_flags) && in check_xprtsec_policy()
1109 !test_bit(XPT_PEER_AUTH, &xprt->xpt_flags)) in check_xprtsec_policy()
1113 if (test_bit(XPT_TLS_SESSION, &xprt->xpt_flags) && in check_xprtsec_policy()
1114 test_bit(XPT_PEER_AUTH, &xprt->xpt_flags)) in check_xprtsec_policy()
/linux/include/trace/events/
H A Dsunrpc.h1995 __entry->flags = (x)->xpt_flags; \
2290 __entry->flags = xprt->xpt_flags;
2336 __entry->flags = xprt->xpt_flags;
2364 __entry->flags = xprt->xpt_flags;