Lines Matching defs:sock
261 /* the caller has to hold the sock lock */
265 struct socket *sock = tc->t_sock;
276 tcp_read_sock(sock->sk, &desc, rds_tcp_data_recv);
284 * We hold the sock lock to serialize our rds_tcp_recv->tcp_read_sock from
293 struct socket *sock = tc->t_sock;
296 rdsdebug("recv worker path [%d] tc %p sock %p\n",
297 cp->cp_index, tc, sock);
299 lock_sock(sock->sk);
301 release_sock(sock->sk);
306 void rds_tcp_data_ready(struct sock *sk)
308 void (*ready)(struct sock *sk);