Lines Matching refs:csock
1211 static int kcm_attach(struct socket *sock, struct socket *csock, in kcm_attach() argument
1227 csk = csock->sk; in kcm_attach()
1316 struct socket *csock; in kcm_attach_ioctl() local
1320 csock = sockfd_lookup(info->fd, &err); in kcm_attach_ioctl()
1321 if (!csock) in kcm_attach_ioctl()
1330 err = kcm_attach(sock, csock, prog); in kcm_attach_ioctl()
1340 sockfd_put(csock); in kcm_attach_ioctl()
1445 struct socket *csock; in kcm_unattach_ioctl() local
1449 csock = sockfd_lookup(info->fd, &err); in kcm_unattach_ioctl()
1450 if (!csock) in kcm_unattach_ioctl()
1453 csk = csock->sk; in kcm_unattach_ioctl()
1488 sockfd_put(csock); in kcm_unattach_ioctl()