Searched refs:sock (Results 1 – 10 of 10) sorted by relevance
/fs/dlm/ |
D | lowcomms.c | 68 struct socket *sock; /* NULL if not connected */ member 104 struct socket *sock; member 151 int (*connect)(struct connection *con, struct socket *sock, 153 void (*sockopts)(struct socket *sock); 154 int (*bind)(struct socket *sock); 156 void (*listen_sockopts)(struct socket *sock); 157 int (*listen_bind)(struct socket *sock); 165 void (*sk_error_report)(struct sock *); 166 void (*sk_data_ready)(struct sock *); 167 void (*sk_state_change)(struct sock *); [all …]
|
/fs/ocfs2/cluster/ |
D | tcp.c | 125 static void o2net_listen_data_ready(struct sock *sk); 583 static void o2net_data_ready(struct sock *sk) in o2net_data_ready() 585 void (*ready)(struct sock *sk); in o2net_data_ready() 604 static void o2net_state_change(struct sock *sk) in o2net_state_change() 606 void (*state_change)(struct sock *sk); in o2net_state_change() 645 static void o2net_register_callbacks(struct sock *sk, in o2net_register_callbacks() 670 static int o2net_unregister_callbacks(struct sock *sk, in o2net_unregister_callbacks() 899 static int o2net_recv_tcp_msg(struct socket *sock, void *data, size_t len) in o2net_recv_tcp_msg() argument 904 return sock_recvmsg(sock, &msg, MSG_DONTWAIT); in o2net_recv_tcp_msg() 907 static int o2net_send_tcp_msg(struct socket *sock, struct kvec *vec, in o2net_send_tcp_msg() argument [all …]
|
D | tcp.h | 52 static inline int o2net_link_down(int err, struct socket *sock) in o2net_link_down() argument 54 if (sock) { in o2net_link_down() 55 if (sock->sk->sk_state != TCP_ESTABLISHED && in o2net_link_down() 56 sock->sk->sk_state != TCP_CLOSE_WAIT) in o2net_link_down()
|
D | tcp_internal.h | 151 void (*sc_state_change)(struct sock *sk); 152 void (*sc_data_ready)(struct sock *sk);
|
D | netdebug.c | 113 s64 sock, send, status; in nst_seq_show() local 121 sock = ktime_to_us(ktime_sub(now, nst->st_sock_time)); in nst_seq_show() 143 (long long)sock, in nst_seq_show()
|
/fs/ksmbd/ |
D | transport_tcp.c | 35 struct socket *sock; member 49 static inline void ksmbd_tcp_nodelay(struct socket *sock) in ksmbd_tcp_nodelay() argument 51 tcp_sock_set_nodelay(sock->sk); in ksmbd_tcp_nodelay() 54 static inline void ksmbd_tcp_reuseaddr(struct socket *sock) in ksmbd_tcp_reuseaddr() argument 56 sock_set_reuseaddr(sock->sk); in ksmbd_tcp_reuseaddr() 59 static inline void ksmbd_tcp_rcv_timeout(struct socket *sock, s64 secs) in ksmbd_tcp_rcv_timeout() argument 61 lock_sock(sock->sk); in ksmbd_tcp_rcv_timeout() 63 sock->sk->sk_rcvtimeo = secs * HZ; in ksmbd_tcp_rcv_timeout() 65 sock->sk->sk_rcvtimeo = MAX_SCHEDULE_TIMEOUT; in ksmbd_tcp_rcv_timeout() 66 release_sock(sock->sk); in ksmbd_tcp_rcv_timeout() [all …]
|
/fs/afs/ |
D | rxrpc.c | 19 static void afs_wake_up_call_waiter(struct sock *, struct rxrpc_call *, unsigned long); 20 static void afs_wake_up_async_call(struct sock *, struct rxrpc_call *, unsigned long); 22 static void afs_rx_new_call(struct sock *, struct rxrpc_call *, unsigned long); 280 static void afs_notify_end_request_tx(struct sock *sock, in afs_notify_end_request_tx() argument 653 static void afs_wake_up_call_waiter(struct sock *sk, struct rxrpc_call *rxcall, in afs_wake_up_call_waiter() 665 static void afs_wake_up_async_call(struct sock *sk, struct rxrpc_call *rxcall, in afs_wake_up_async_call() 759 static void afs_rx_new_call(struct sock *sk, struct rxrpc_call *rxcall, in afs_rx_new_call() 801 static void afs_notify_end_reply_tx(struct sock *sock, in afs_notify_end_reply_tx() argument
|
D | internal.h | 1209 static inline struct afs_net *afs_sock2net(struct sock *sk) in afs_sock2net()
|
/fs/ |
D | eventpoll.c | 420 struct socket *sock; in ep_set_busy_poll_napi_id() local 421 struct sock *sk; in ep_set_busy_poll_napi_id() 426 sock = sock_from_file(epi->ffd.file); in ep_set_busy_poll_napi_id() 427 if (!sock) in ep_set_busy_poll_napi_id() 430 sk = sock->sk; in ep_set_busy_poll_napi_id()
|
/fs/cifs/ |
D | connect.c | 2516 cifs_reclassify_socket4(struct socket *sock) in cifs_reclassify_socket4() argument 2518 struct sock *sk = sock->sk; in cifs_reclassify_socket4() 2525 cifs_reclassify_socket6(struct socket *sock) in cifs_reclassify_socket6() argument 2527 struct sock *sk = sock->sk; in cifs_reclassify_socket6() 2534 cifs_reclassify_socket4(struct socket *sock) in cifs_reclassify_socket4() argument 2539 cifs_reclassify_socket6(struct socket *sock) in cifs_reclassify_socket6() argument
|