Lines Matching refs:xpt_flags
147 if (test_bit(XPT_CACHE_AUTH, &xprt->xpt_flags)) in svc_xprt_free()
185 set_bit(XPT_BUSY, &xprt->xpt_flags); in svc_xprt_init()
246 if (!test_bit(XPT_BUSY, &xprt->xpt_flags)) { in svc_xprt_received()
256 clear_bit(XPT_BUSY, &xprt->xpt_flags); in svc_xprt_received()
263 clear_bit(XPT_TEMP, &new->xpt_flags); in svc_add_new_perm_xprt()
383 unsigned long xpt_flags; in svc_xprt_ready() local
394 xpt_flags = READ_ONCE(xprt->xpt_flags); in svc_xprt_ready()
396 if (xpt_flags & (BIT(XPT_CONN) | BIT(XPT_CLOSE))) in svc_xprt_ready()
398 if (xpt_flags & (BIT(XPT_DATA) | BIT(XPT_DEFERRED))) { in svc_xprt_ready()
422 if (test_and_set_bit(XPT_BUSY, &xprt->xpt_flags)) in svc_xprt_do_enqueue()
461 if (test_bit(XPT_BUSY, &xprt->xpt_flags)) in svc_xprt_enqueue()
630 set_bit(XPT_CLOSE, &xprt->xpt_flags); in svc_check_conn_limits()
766 set_bit(XPT_TEMP, &newxpt->xpt_flags); in svc_add_new_temp_xprt()
784 if (test_bit(XPT_CLOSE, &xprt->xpt_flags)) { in svc_handle_xprt()
785 if (test_and_clear_bit(XPT_KILL_TEMP, &xprt->xpt_flags)) in svc_handle_xprt()
791 if (test_bit(XPT_LISTENER, &xprt->xpt_flags)) { in svc_handle_xprt()
863 clear_bit(XPT_OLD, &xprt->xpt_flags); in svc_recv()
947 if (!test_and_set_bit(XPT_OLD, &xprt->xpt_flags)) in svc_age_temp_xprts()
950 test_bit(XPT_BUSY, &xprt->xpt_flags)) in svc_age_temp_xprts()
953 set_bit(XPT_CLOSE, &xprt->xpt_flags); in svc_age_temp_xprts()
991 set_bit(XPT_CLOSE, &xprt->xpt_flags); in svc_age_temp_xprts_now()
992 set_bit(XPT_KILL_TEMP, &xprt->xpt_flags); in svc_age_temp_xprts_now()
1021 if (test_and_set_bit(XPT_DEAD, &xprt->xpt_flags)) in svc_delete_xprt()
1032 if (test_bit(XPT_TEMP, &xprt->xpt_flags)) in svc_delete_xprt()
1046 set_bit(XPT_CLOSE, &xprt->xpt_flags); in svc_close_xprt()
1047 if (test_and_set_bit(XPT_BUSY, &xprt->xpt_flags)) in svc_close_xprt()
1070 set_bit(XPT_CLOSE, &xprt->xpt_flags); in svc_close_list()
1105 set_bit(XPT_CLOSE, &xprt->xpt_flags); in svc_clean_up_xprts()
1145 set_bit(XPT_DEFERRED, &xprt->xpt_flags); in svc_revisit()
1146 if (too_many || test_bit(XPT_DEAD, &xprt->xpt_flags)) { in svc_revisit()
1242 if (!test_bit(XPT_DEFERRED, &xprt->xpt_flags)) in svc_deferred_dequeue()
1251 clear_bit(XPT_DEFERRED, &xprt->xpt_flags); in svc_deferred_dequeue()