Lines Matching refs:csock
1330 static int kcm_attach(struct socket *sock, struct socket *csock, in kcm_attach() argument
1346 csk = csock->sk; in kcm_attach()
1435 struct socket *csock; in kcm_attach_ioctl() local
1439 csock = sockfd_lookup(info->fd, &err); in kcm_attach_ioctl()
1440 if (!csock) in kcm_attach_ioctl()
1449 err = kcm_attach(sock, csock, prog); in kcm_attach_ioctl()
1459 sockfd_put(csock); in kcm_attach_ioctl()
1564 struct socket *csock; in kcm_unattach_ioctl() local
1568 csock = sockfd_lookup(info->fd, &err); in kcm_unattach_ioctl()
1569 if (!csock) in kcm_unattach_ioctl()
1572 csk = csock->sk; in kcm_unattach_ioctl()
1607 sockfd_put(csock); in kcm_unattach_ioctl()