Lines Matching refs:sock
79 struct sock *notify_sock;
1185 struct sock *sock; in SYSCALL_DEFINE2() local
1200 sock = NULL; in SYSCALL_DEFINE2()
1235 sock = netlink_getsockbyfilp(f.file); in SYSCALL_DEFINE2()
1237 if (IS_ERR(sock)) { in SYSCALL_DEFINE2()
1238 ret = PTR_ERR(sock); in SYSCALL_DEFINE2()
1239 sock = NULL; in SYSCALL_DEFINE2()
1244 ret = netlink_attachskb(sock, nc, &timeo, NULL); in SYSCALL_DEFINE2()
1248 sock = NULL; in SYSCALL_DEFINE2()
1283 info->notify_sock = sock; in SYSCALL_DEFINE2()
1285 sock = NULL; in SYSCALL_DEFINE2()
1304 if (sock) { in SYSCALL_DEFINE2()
1305 netlink_detachskb(sock, nc); in SYSCALL_DEFINE2()