Home
last modified time | relevance | path

Searched refs:sock (Results 1 – 13 of 13) sorted by relevance

/fs/smbfs/
Dsock.c59 smb_data_ready(struct sock *sk, int len) in smb_data_ready()
62 void (*data_ready)(struct sock *, int) = server->data_ready; in smb_data_ready()
98 struct socket *sock = server_sock(server); in smb_close_socket() local
100 VERBOSE("closing socket %p\n", sock); in smb_close_socket()
101 sock->sk->sk_data_ready = server->data_ready; in smb_close_socket()
146 struct socket *sock = server_sock(server); in smb_recv_available() local
150 err = sock->ops->ioctl(sock, SIOCINQ, (unsigned long) &avail); in smb_recv_available()
202 struct socket *sock; in smb_receive_header() local
207 sock = server_sock(server); in smb_receive_header()
208 if (!sock) in smb_receive_header()
[all …]
Dproto.h6 struct sock;
49 extern void smb_data_ready(struct sock *sk, int len);
DMakefile7 smbfs-objs := proc.o dir.o cache.o sock.o inode.o file.o ioctl.o getopt.o \
Dproc.c852 struct sock *sk; in smb_newconn()
/fs/dlm/
Dlowcomms.c99 struct socket *sock; /* NULL if not connected */ member
261 static void lowcomms_data_ready(struct sock *sk, int count_unused) in lowcomms_data_ready()
268 static void lowcomms_write_space(struct sock *sk) in lowcomms_write_space()
282 static void lowcomms_state_change(struct sock *sk) in lowcomms_state_change()
289 static int add_sock(struct socket *sock, struct connection *con) in add_sock() argument
291 con->sock = sock; in add_sock()
294 con->sock->sk->sk_data_ready = lowcomms_data_ready; in add_sock()
295 con->sock->sk->sk_write_space = lowcomms_write_space; in add_sock()
296 con->sock->sk->sk_state_change = lowcomms_state_change; in add_sock()
297 con->sock->sk->sk_user_data = con; in add_sock()
[all …]
/fs/ocfs2/cluster/
Dtcp.c139 static void o2net_listen_data_ready(struct sock *sk, int bytes);
541 static void o2net_data_ready(struct sock *sk, int bytes) in o2net_data_ready()
543 void (*ready)(struct sock *sk, int bytes); in o2net_data_ready()
561 static void o2net_state_change(struct sock *sk) in o2net_state_change()
563 void (*state_change)(struct sock *sk); in o2net_state_change()
599 static void o2net_register_callbacks(struct sock *sk, in o2net_register_callbacks()
624 static int o2net_unregister_callbacks(struct sock *sk, in o2net_unregister_callbacks()
855 static int o2net_recv_tcp_msg(struct socket *sock, void *data, size_t len) in o2net_recv_tcp_msg() argument
871 ret = sock_recvmsg(sock, &msg, len, msg.msg_flags); in o2net_recv_tcp_msg()
877 static int o2net_send_tcp_msg(struct socket *sock, struct kvec *vec, in o2net_send_tcp_msg() argument
[all …]
Dtcp.h68 static inline int o2net_link_down(int err, struct socket *sock) in o2net_link_down() argument
70 if (sock) { in o2net_link_down()
71 if (sock->sk->sk_state != TCP_ESTABLISHED && in o2net_link_down()
72 sock->sk->sk_state != TCP_CLOSE_WAIT) in o2net_link_down()
Dtcp_internal.h167 void (*sc_state_change)(struct sock *sk);
168 void (*sc_data_ready)(struct sock *sk, int bytes);
/fs/ncpfs/
Dsock.c34 static int _recv(struct socket *sock, void *buf, int size, unsigned flags) in _recv() argument
38 return kernel_recvmsg(sock, &msg, &iov, 1, size, flags); in _recv()
41 static inline int do_send(struct socket *sock, struct kvec *vec, int count, in do_send() argument
45 return kernel_sendmsg(sock, &msg, vec, count, len); in do_send()
48 static int _send(struct socket *sock, const void *buff, int len) in _send() argument
53 return do_send(sock, &vec, 1, len, 0); in _send()
98 void ncp_tcp_data_ready(struct sock *sk, int len) in ncp_tcp_data_ready()
106 void ncp_tcp_error_report(struct sock *sk) in ncp_tcp_error_report()
114 void ncp_tcp_write_space(struct sock *sk) in ncp_tcp_write_space()
204 static int ncpdgram_send(struct socket *sock, struct ncp_request_reply *req) in ncpdgram_send() argument
[all …]
Dinode.c301 struct sock* sk = server->ncp_sock->sk; in ncp_stop_tasks()
440 struct socket *sock; in ncp_fill_super() local
514 sock = SOCKET_I(sock_inode); in ncp_fill_super()
515 if (!sock) in ncp_fill_super()
518 if (sock->type == SOCK_STREAM) in ncp_fill_super()
534 server->ncp_sock = sock; in ncp_fill_super()
597 server->data_ready = sock->sk->sk_data_ready; in ncp_fill_super()
598 server->write_space = sock->sk->sk_write_space; in ncp_fill_super()
599 server->error_report = sock->sk->sk_error_report; in ncp_fill_super()
600 sock->sk->sk_user_data = server; in ncp_fill_super()
[all …]
DMakefile7 ncpfs-y := dir.o file.o inode.o ioctl.o mmap.o ncplib_kernel.o sock.o \
/fs/afs/
Drxrpc.c28 static void afs_rx_interceptor(struct sock *, unsigned long, struct sk_buff *);
395 static void afs_rx_interceptor(struct sock *sk, unsigned long user_call_ID, in afs_rx_interceptor()
/fs/cifs/
Dconnect.c1687 cifs_reclassify_socket4(struct socket *sock) in cifs_reclassify_socket4() argument
1689 struct sock *sk = sock->sk; in cifs_reclassify_socket4()
1696 cifs_reclassify_socket6(struct socket *sock) in cifs_reclassify_socket6() argument
1698 struct sock *sk = sock->sk; in cifs_reclassify_socket6()
1705 cifs_reclassify_socket4(struct socket *sock) in cifs_reclassify_socket4() argument
1710 cifs_reclassify_socket6(struct socket *sock) in cifs_reclassify_socket6() argument