Lines Matching refs:csock
1371 static int kcm_attach(struct socket *sock, struct socket *csock, in kcm_attach() argument
1387 csk = csock->sk; in kcm_attach()
1477 struct socket *csock; in kcm_attach_ioctl() local
1481 csock = sockfd_lookup(info->fd, &err); in kcm_attach_ioctl()
1482 if (!csock) in kcm_attach_ioctl()
1491 err = kcm_attach(sock, csock, prog); in kcm_attach_ioctl()
1501 fput(csock->file); in kcm_attach_ioctl()
1606 struct socket *csock; in kcm_unattach_ioctl() local
1610 csock = sockfd_lookup(info->fd, &err); in kcm_unattach_ioctl()
1611 if (!csock) in kcm_unattach_ioctl()
1614 csk = csock->sk; in kcm_unattach_ioctl()
1649 fput(csock->file); in kcm_unattach_ioctl()