Lines Matching refs:csock
1369 static int kcm_attach(struct socket *sock, struct socket *csock, in kcm_attach() argument
1385 csk = csock->sk; in kcm_attach()
1475 struct socket *csock; in kcm_attach_ioctl() local
1479 csock = sockfd_lookup(info->fd, &err); in kcm_attach_ioctl()
1480 if (!csock) in kcm_attach_ioctl()
1489 err = kcm_attach(sock, csock, prog); in kcm_attach_ioctl()
1499 sockfd_put(csock); in kcm_attach_ioctl()
1604 struct socket *csock; in kcm_unattach_ioctl() local
1608 csock = sockfd_lookup(info->fd, &err); in kcm_unattach_ioctl()
1609 if (!csock) in kcm_unattach_ioctl()
1612 csk = csock->sk; in kcm_unattach_ioctl()
1647 sockfd_put(csock); in kcm_unattach_ioctl()