Home
last modified time | relevance | path

Searched refs:sock_state (Results 1 – 5 of 5) sorted by relevance

/Linux-v5.4/net/sunrpc/
Dxprtsock.c693 clear_bit(XPRT_SOCK_DATA_READY, &transport->sock_state); in xs_poll_check_readable()
696 if (!test_and_set_bit(XPRT_SOCK_DATA_READY, &transport->sock_state)) in xs_poll_check_readable()
1124 if (test_bit(XPRT_SOCK_UPD_TIMEOUT, &transport->sock_state)) in xs_tcp_send_request()
1220 clear_bit(XPRT_SOCK_DATA_READY, &transport->sock_state); in xs_sock_reset_state_flags()
1221 clear_bit(XPRT_SOCK_WAKE_ERROR, &transport->sock_state); in xs_sock_reset_state_flags()
1222 clear_bit(XPRT_SOCK_WAKE_WRITE, &transport->sock_state); in xs_sock_reset_state_flags()
1223 clear_bit(XPRT_SOCK_WAKE_DISCONNECT, &transport->sock_state); in xs_sock_reset_state_flags()
1228 set_bit(nr, &transport->sock_state); in xs_run_error_worker()
1476 if (!test_and_set_bit(XPRT_SOCK_DATA_READY, &transport->sock_state)) in xs_data_ready()
1524 clear_bit(XPRT_SOCK_CONNECTING, &transport->sock_state); in xs_tcp_state_change()
[all …]
/Linux-v5.4/include/linux/sunrpc/
Dxprtsock.h57 unsigned long sock_state; member
/Linux-v5.4/include/trace/events/
Dsunrpc.h560 __field(unsigned int, sock_state)
571 __entry->sock_state = socket->sk->sk_state;
585 __entry->sock_state,
586 rpc_show_sock_state(__entry->sock_state)
610 __field(unsigned int, sock_state)
621 __entry->sock_state = socket->sk->sk_state;
637 __entry->sock_state,
638 rpc_show_sock_state(__entry->sock_state)
/Linux-v5.4/include/linux/ceph/
Dmessenger.h260 atomic_t sock_state; member
/Linux-v5.4/net/ceph/
Dmessenger.c306 old_state = atomic_xchg(&con->sock_state, CON_SOCK_STATE_CLOSED); in con_sock_state_init()
317 old_state = atomic_xchg(&con->sock_state, CON_SOCK_STATE_CONNECTING); in con_sock_state_connecting()
328 old_state = atomic_xchg(&con->sock_state, CON_SOCK_STATE_CONNECTED); in con_sock_state_connected()
339 old_state = atomic_xchg(&con->sock_state, CON_SOCK_STATE_CLOSING); in con_sock_state_closing()
352 old_state = atomic_xchg(&con->sock_state, CON_SOCK_STATE_CLOSED); in con_sock_state_closed()