Searched refs:sk (Results 1 – 11 of 11) sorted by relevance
/fs/ocfs2/cluster/ |
D | tcp.c | 140 static void o2net_listen_data_ready(struct sock *sk, int bytes); 602 static void o2net_data_ready(struct sock *sk, int bytes) in o2net_data_ready() argument 604 void (*ready)(struct sock *sk, int bytes); in o2net_data_ready() 606 read_lock(&sk->sk_callback_lock); in o2net_data_ready() 607 if (sk->sk_user_data) { in o2net_data_ready() 608 struct o2net_sock_container *sc = sk->sk_user_data; in o2net_data_ready() 614 ready = sk->sk_data_ready; in o2net_data_ready() 616 read_unlock(&sk->sk_callback_lock); in o2net_data_ready() 618 ready(sk, bytes); in o2net_data_ready() 622 static void o2net_state_change(struct sock *sk) in o2net_state_change() argument [all …]
|
D | tcp.h | 71 if (sock->sk->sk_state != TCP_ESTABLISHED && in o2net_link_down() 72 sock->sk->sk_state != TCP_CLOSE_WAIT) in o2net_link_down()
|
D | tcp_internal.h | 167 void (*sc_state_change)(struct sock *sk); 168 void (*sc_data_ready)(struct sock *sk, int bytes);
|
D | netdebug.c | 342 inet = inet_sk(sc->sc_sock->sk); in sc_show_sock_container()
|
/fs/ncpfs/ |
D | ncp_fs_sb.h | 114 void (*data_ready)(struct sock* sk, int len); 115 void (*error_report)(struct sock* sk); 116 void (*write_space)(struct sock* sk); /* STREAM mode only */ 156 extern void ncp_tcp_data_ready(struct sock* sk, int len); 157 extern void ncp_tcp_write_space(struct sock* sk); 158 extern void ncp_tcp_error_report(struct sock* sk);
|
D | inode.c | 308 struct sock* sk = server->ncp_sock->sk; in ncp_stop_tasks() local 310 lock_sock(sk); in ncp_stop_tasks() 311 sk->sk_error_report = server->error_report; in ncp_stop_tasks() 312 sk->sk_data_ready = server->data_ready; in ncp_stop_tasks() 313 sk->sk_write_space = server->write_space; in ncp_stop_tasks() 314 release_sock(sk); in ncp_stop_tasks() 318 if (sk->sk_socket->type == SOCK_STREAM) in ncp_stop_tasks() 633 lock_sock(sock->sk); in ncp_fill_super() 634 server->data_ready = sock->sk->sk_data_ready; in ncp_fill_super() 635 server->write_space = sock->sk->sk_write_space; in ncp_fill_super() [all …]
|
D | sock.c | 99 void ncp_tcp_data_ready(struct sock *sk, int len) in ncp_tcp_data_ready() argument 101 struct ncp_server *server = sk->sk_user_data; in ncp_tcp_data_ready() 103 server->data_ready(sk, len); in ncp_tcp_data_ready() 107 void ncp_tcp_error_report(struct sock *sk) in ncp_tcp_error_report() argument 109 struct ncp_server *server = sk->sk_user_data; in ncp_tcp_error_report() 111 server->error_report(sk); in ncp_tcp_error_report() 115 void ncp_tcp_write_space(struct sock *sk) in ncp_tcp_write_space() argument 117 struct ncp_server *server = sk->sk_user_data; in ncp_tcp_write_space() 121 server->write_space(sk); in ncp_tcp_write_space() 449 hdrl = sock->sk->sk_family == AF_INET ? 8 : 6; in ncpdgram_rcv_proc()
|
/fs/dlm/ |
D | lowcomms.c | 292 static void lowcomms_data_ready(struct sock *sk, int count_unused) in lowcomms_data_ready() argument 294 struct connection *con = sock2con(sk); in lowcomms_data_ready() 299 static void lowcomms_write_space(struct sock *sk) in lowcomms_write_space() argument 301 struct connection *con = sock2con(sk); in lowcomms_write_space() 309 con->sock->sk->sk_write_pending--; in lowcomms_write_space() 325 static void lowcomms_state_change(struct sock *sk) in lowcomms_state_change() argument 327 if (sk->sk_state == TCP_ESTABLISHED) in lowcomms_state_change() 328 lowcomms_write_space(sk); in lowcomms_state_change() 355 con->sock->sk->sk_data_ready = lowcomms_data_ready; in add_sock() 356 con->sock->sk->sk_write_space = lowcomms_write_space; in add_sock() [all …]
|
/fs/btrfs/ |
D | ioctl.c | 1601 struct btrfs_ioctl_search_key *sk) in key_in_sk() argument 1606 test.objectid = sk->min_objectid; in key_in_sk() 1607 test.type = sk->min_type; in key_in_sk() 1608 test.offset = sk->min_offset; in key_in_sk() 1614 test.objectid = sk->max_objectid; in key_in_sk() 1615 test.type = sk->max_type; in key_in_sk() 1616 test.offset = sk->max_offset; in key_in_sk() 1627 struct btrfs_ioctl_search_key *sk, in copy_to_sk() argument 1646 if (btrfs_header_generation(leaf) > sk->max_transid) { in copy_to_sk() 1657 if (!key_in_sk(key, sk)) in copy_to_sk() [all …]
|
/fs/cifs/ |
D | connect.c | 2881 struct sock *sk = sock->sk; in cifs_reclassify_socket4() local 2882 BUG_ON(sock_owned_by_user(sk)); in cifs_reclassify_socket4() 2883 sock_lock_init_class_and_name(sk, "slock-AF_INET-CIFS", in cifs_reclassify_socket4() 2890 struct sock *sk = sock->sk; in cifs_reclassify_socket6() local 2891 BUG_ON(sock_owned_by_user(sk)); in cifs_reclassify_socket6() 2892 sock_lock_init_class_and_name(sk, "slock-AF_INET6-CIFS", in cifs_reclassify_socket6() 3056 socket->sk->sk_allocation = GFP_NOFS; in generic_ip_connect() 3072 socket->sk->sk_rcvtimeo = 7 * HZ; in generic_ip_connect() 3073 socket->sk->sk_sndtimeo = 5 * HZ; in generic_ip_connect() 3077 if (socket->sk->sk_sndbuf < (200 * 1024)) in generic_ip_connect() [all …]
|
/fs/afs/ |
D | rxrpc.c | 88 socket->sk->sk_allocation = GFP_NOFS; in afs_open_socket() 400 static void afs_rx_interceptor(struct sock *sk, unsigned long user_call_ID, in afs_rx_interceptor() argument 410 ASSERTCMP(sk, ==, afs_socket->sk); in afs_rx_interceptor()
|