Lines Matching refs:csock
1222 static int kcm_attach(struct socket *sock, struct socket *csock, in kcm_attach() argument
1238 csk = csock->sk; in kcm_attach()
1327 struct socket *csock; in kcm_attach_ioctl() local
1331 csock = sockfd_lookup(info->fd, &err); in kcm_attach_ioctl()
1332 if (!csock) in kcm_attach_ioctl()
1341 err = kcm_attach(sock, csock, prog); in kcm_attach_ioctl()
1351 sockfd_put(csock); in kcm_attach_ioctl()
1456 struct socket *csock; in kcm_unattach_ioctl() local
1460 csock = sockfd_lookup(info->fd, &err); in kcm_unattach_ioctl()
1461 if (!csock) in kcm_unattach_ioctl()
1464 csk = csock->sk; in kcm_unattach_ioctl()
1499 sockfd_put(csock); in kcm_unattach_ioctl()