Lines Matching refs:csock
1331 static int kcm_attach(struct socket *sock, struct socket *csock, in kcm_attach() argument
1347 csk = csock->sk; in kcm_attach()
1436 struct socket *csock; in kcm_attach_ioctl() local
1440 csock = sockfd_lookup(info->fd, &err); in kcm_attach_ioctl()
1441 if (!csock) in kcm_attach_ioctl()
1450 err = kcm_attach(sock, csock, prog); in kcm_attach_ioctl()
1460 fput(csock->file); in kcm_attach_ioctl()
1565 struct socket *csock; in kcm_unattach_ioctl() local
1569 csock = sockfd_lookup(info->fd, &err); in kcm_unattach_ioctl()
1570 if (!csock) in kcm_unattach_ioctl()
1573 csk = csock->sk; in kcm_unattach_ioctl()
1608 fput(csock->file); in kcm_unattach_ioctl()