Lines Matching refs:csock
1334 static int kcm_attach(struct socket *sock, struct socket *csock, in kcm_attach() argument
1350 csk = csock->sk; in kcm_attach()
1439 struct socket *csock; in kcm_attach_ioctl() local
1443 csock = sockfd_lookup(info->fd, &err); in kcm_attach_ioctl()
1444 if (!csock) in kcm_attach_ioctl()
1453 err = kcm_attach(sock, csock, prog); in kcm_attach_ioctl()
1463 sockfd_put(csock); in kcm_attach_ioctl()
1568 struct socket *csock; in kcm_unattach_ioctl() local
1572 csock = sockfd_lookup(info->fd, &err); in kcm_unattach_ioctl()
1573 if (!csock) in kcm_unattach_ioctl()
1576 csk = csock->sk; in kcm_unattach_ioctl()
1611 sockfd_put(csock); in kcm_unattach_ioctl()