Home
last modified time | relevance | path

Searched refs:sk (Results 1 – 12 of 12) sorted by relevance

/fs/dlm/
Dlowcomms.c485 static void lowcomms_data_ready(struct sock *sk) in lowcomms_data_ready() argument
489 read_lock_bh(&sk->sk_callback_lock); in lowcomms_data_ready()
490 con = sock2con(sk); in lowcomms_data_ready()
493 read_unlock_bh(&sk->sk_callback_lock); in lowcomms_data_ready()
496 static void lowcomms_listen_data_ready(struct sock *sk) in lowcomms_listen_data_ready() argument
504 static void lowcomms_write_space(struct sock *sk) in lowcomms_write_space() argument
508 read_lock_bh(&sk->sk_callback_lock); in lowcomms_write_space()
509 con = sock2con(sk); in lowcomms_write_space()
522 con->sock->sk->sk_write_pending--; in lowcomms_write_space()
528 read_unlock_bh(&sk->sk_callback_lock); in lowcomms_write_space()
[all …]
/fs/ocfs2/cluster/
Dtcp.c125 static void o2net_listen_data_ready(struct sock *sk);
583 static void o2net_data_ready(struct sock *sk) in o2net_data_ready() argument
585 void (*ready)(struct sock *sk); in o2net_data_ready()
588 read_lock_bh(&sk->sk_callback_lock); in o2net_data_ready()
589 sc = sk->sk_user_data; in o2net_data_ready()
596 ready = sk->sk_data_ready; in o2net_data_ready()
598 read_unlock_bh(&sk->sk_callback_lock); in o2net_data_ready()
600 ready(sk); in o2net_data_ready()
604 static void o2net_state_change(struct sock *sk) in o2net_state_change() argument
606 void (*state_change)(struct sock *sk); in o2net_state_change()
[all …]
Dtcp.h55 if (sock->sk->sk_state != TCP_ESTABLISHED && in o2net_link_down()
56 sock->sk->sk_state != TCP_CLOSE_WAIT) in o2net_link_down()
Dtcp_internal.h151 void (*sc_state_change)(struct sock *sk);
152 void (*sc_data_ready)(struct sock *sk);
Dnetdebug.c305 inet = inet_sk(sc->sc_sock->sk); in sc_show_sock_container()
/fs/ksmbd/
Dtransport_tcp.c51 tcp_sock_set_nodelay(sock->sk); in ksmbd_tcp_nodelay()
56 sock_set_reuseaddr(sock->sk); in ksmbd_tcp_reuseaddr()
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()
71 sock_set_sndtimeo(sock->sk, secs); in ksmbd_tcp_snd_timeout()
257 client_sk->sk->sk_rcvtimeo = KSMBD_TCP_RECV_TIMEOUT; in ksmbd_kthread_fn()
258 client_sk->sk->sk_sndtimeo = KSMBD_TCP_SEND_TIMEOUT; in ksmbd_kthread_fn()
475 ksmbd_socket->sk->sk_rcvtimeo = KSMBD_TCP_RECV_TIMEOUT; in create_socket()
[all …]
/fs/btrfs/
Dioctl.c2083 struct btrfs_ioctl_search_key *sk) in key_in_sk() argument
2088 test.objectid = sk->min_objectid; in key_in_sk()
2089 test.type = sk->min_type; in key_in_sk()
2090 test.offset = sk->min_offset; in key_in_sk()
2096 test.objectid = sk->max_objectid; in key_in_sk()
2097 test.type = sk->max_type; in key_in_sk()
2098 test.offset = sk->max_offset; in key_in_sk()
2108 struct btrfs_ioctl_search_key *sk, in copy_to_sk() argument
2129 if (btrfs_header_generation(leaf) > sk->max_transid) { in copy_to_sk()
2140 if (!key_in_sk(key, sk)) in copy_to_sk()
[all …]
/fs/afs/
Drxrpc.c48 socket->sk->sk_allocation = GFP_NOFS; in afs_open_socket()
59 ret = rxrpc_sock_set_min_security_level(socket->sk, in afs_open_socket()
653 static void afs_wake_up_call_waiter(struct sock *sk, struct rxrpc_call *rxcall, in afs_wake_up_call_waiter() argument
665 static void afs_wake_up_async_call(struct sock *sk, struct rxrpc_call *rxcall, in afs_wake_up_async_call() argument
759 static void afs_rx_new_call(struct sock *sk, struct rxrpc_call *rxcall, in afs_rx_new_call() argument
762 struct afs_net *net = afs_sock2net(sk); in afs_rx_new_call()
Dinternal.h1209 static inline struct afs_net *afs_sock2net(struct sock *sk) in afs_sock2net() argument
1211 return net_generic(sock_net(sk), afs_net_id); in afs_sock2net()
/fs/cifs/
Dconnect.c2518 struct sock *sk = sock->sk; in cifs_reclassify_socket4() local
2519 BUG_ON(!sock_allow_reclassification(sk)); in cifs_reclassify_socket4()
2520 sock_lock_init_class_and_name(sk, "slock-AF_INET-CIFS", in cifs_reclassify_socket4()
2527 struct sock *sk = sock->sk; in cifs_reclassify_socket6() local
2528 BUG_ON(!sock_allow_reclassification(sk)); in cifs_reclassify_socket6()
2529 sock_lock_init_class_and_name(sk, "slock-AF_INET6-CIFS", in cifs_reclassify_socket6()
2697 socket->sk->sk_allocation = GFP_NOFS; in generic_ip_connect()
2713 socket->sk->sk_rcvtimeo = 7 * HZ; in generic_ip_connect()
2714 socket->sk->sk_sndtimeo = 5 * HZ; in generic_ip_connect()
2718 if (socket->sk->sk_sndbuf < (200 * 1024)) in generic_ip_connect()
[all …]
Dtransport.c334 tcp_sock_set_cork(ssocket->sk, true); in __smb_send_rqst()
423 tcp_sock_set_cork(ssocket->sk, false); in __smb_send_rqst()
/fs/
Deventpoll.c421 struct sock *sk; in ep_set_busy_poll_napi_id() local
430 sk = sock->sk; in ep_set_busy_poll_napi_id()
431 if (!sk) in ep_set_busy_poll_napi_id()
434 napi_id = READ_ONCE(sk->sk_napi_id); in ep_set_busy_poll_napi_id()