Lines Matching defs:sock
43 #include <net/sock.h>
149 struct sock *notify_sock;
1320 struct sock *sock;
1328 sock = NULL;
1362 sock = netlink_getsockbyfilp(f.file);
1364 if (IS_ERR(sock)) {
1365 ret = PTR_ERR(sock);
1370 ret = netlink_attachskb(sock, nc, &timeo, NULL);
1372 sock = NULL;
1408 info->notify_sock = sock;
1410 sock = NULL;
1430 if (sock)
1431 netlink_detachskb(sock, nc);