Searched refs:sk (Results 1 – 11 of 11) sorted by relevance
/fs/dlm/ |
D | lowcomms.c | 402 static void lowcomms_data_ready(struct sock *sk) in lowcomms_data_ready() argument 406 read_lock_bh(&sk->sk_callback_lock); in lowcomms_data_ready() 407 con = sock2con(sk); in lowcomms_data_ready() 410 read_unlock_bh(&sk->sk_callback_lock); in lowcomms_data_ready() 413 static void lowcomms_write_space(struct sock *sk) in lowcomms_write_space() argument 417 read_lock_bh(&sk->sk_callback_lock); in lowcomms_write_space() 418 con = sock2con(sk); in lowcomms_write_space() 425 con->sock->sk->sk_write_pending--; in lowcomms_write_space() 431 read_unlock_bh(&sk->sk_callback_lock); in lowcomms_write_space() 442 static void lowcomms_state_change(struct sock *sk) in lowcomms_state_change() argument [all …]
|
/fs/ocfs2/cluster/ |
D | tcp.c | 127 static void o2net_listen_data_ready(struct sock *sk); 585 static void o2net_data_ready(struct sock *sk) in o2net_data_ready() argument 587 void (*ready)(struct sock *sk); in o2net_data_ready() 590 read_lock_bh(&sk->sk_callback_lock); in o2net_data_ready() 591 sc = sk->sk_user_data; in o2net_data_ready() 598 ready = sk->sk_data_ready; in o2net_data_ready() 600 read_unlock_bh(&sk->sk_callback_lock); in o2net_data_ready() 602 ready(sk); in o2net_data_ready() 606 static void o2net_state_change(struct sock *sk) in o2net_state_change() argument 608 void (*state_change)(struct sock *sk); in o2net_state_change() [all …]
|
D | tcp.h | 57 if (sock->sk->sk_state != TCP_ESTABLISHED && in o2net_link_down() 58 sock->sk->sk_state != TCP_CLOSE_WAIT) in o2net_link_down()
|
D | tcp_internal.h | 153 void (*sc_state_change)(struct sock *sk); 154 void (*sc_data_ready)(struct sock *sk);
|
D | netdebug.c | 307 inet = inet_sk(sc->sc_sock->sk); in sc_show_sock_container()
|
/fs/btrfs/ |
D | ioctl.c | 2093 struct btrfs_ioctl_search_key *sk) in key_in_sk() argument 2098 test.objectid = sk->min_objectid; in key_in_sk() 2099 test.type = sk->min_type; in key_in_sk() 2100 test.offset = sk->min_offset; in key_in_sk() 2106 test.objectid = sk->max_objectid; in key_in_sk() 2107 test.type = sk->max_type; in key_in_sk() 2108 test.offset = sk->max_offset; in key_in_sk() 2118 struct btrfs_ioctl_search_key *sk, in copy_to_sk() argument 2139 if (btrfs_header_generation(leaf) > sk->max_transid) { in copy_to_sk() 2150 if (!key_in_sk(key, sk)) in copy_to_sk() [all …]
|
/fs/afs/ |
D | rxrpc.c | 48 socket->sk->sk_allocation = GFP_NOFS; in afs_open_socket() 59 ret = rxrpc_sock_set_min_security_level(socket->sk, in afs_open_socket() 685 static void afs_wake_up_call_waiter(struct sock *sk, struct rxrpc_call *rxcall, in afs_wake_up_call_waiter() argument 697 static void afs_wake_up_async_call(struct sock *sk, struct rxrpc_call *rxcall, in afs_wake_up_async_call() argument 792 static void afs_rx_new_call(struct sock *sk, struct rxrpc_call *rxcall, in afs_rx_new_call() argument 795 struct afs_net *net = afs_sock2net(sk); in afs_rx_new_call()
|
D | internal.h | 1190 static inline struct afs_net *afs_sock2net(struct sock *sk) in afs_sock2net() argument 1192 return net_generic(sock_net(sk), afs_net_id); in afs_sock2net()
|
/fs/cifs/ |
D | connect.c | 3554 struct sock *sk = sock->sk; in cifs_reclassify_socket4() local 3555 BUG_ON(!sock_allow_reclassification(sk)); in cifs_reclassify_socket4() 3556 sock_lock_init_class_and_name(sk, "slock-AF_INET-CIFS", in cifs_reclassify_socket4() 3563 struct sock *sk = sock->sk; in cifs_reclassify_socket6() local 3564 BUG_ON(!sock_allow_reclassification(sk)); in cifs_reclassify_socket6() 3565 sock_lock_init_class_and_name(sk, "slock-AF_INET6-CIFS", in cifs_reclassify_socket6() 3733 socket->sk->sk_allocation = GFP_NOFS; in generic_ip_connect() 3749 socket->sk->sk_rcvtimeo = 7 * HZ; in generic_ip_connect() 3750 socket->sk->sk_sndtimeo = 5 * HZ; in generic_ip_connect() 3754 if (socket->sk->sk_sndbuf < (200 * 1024)) in generic_ip_connect() [all …]
|
D | transport.c | 347 tcp_sock_set_cork(ssocket->sk, true); in __smb_send_rqst() 436 tcp_sock_set_cork(ssocket->sk, false); in __smb_send_rqst()
|
/fs/ |
D | eventpoll.c | 420 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()
|