Lines Matching refs:csock
1216 static int kcm_attach(struct socket *sock, struct socket *csock, in kcm_attach() argument
1232 csk = csock->sk; in kcm_attach()
1321 struct socket *csock; in kcm_attach_ioctl() local
1325 csock = sockfd_lookup(info->fd, &err); in kcm_attach_ioctl()
1326 if (!csock) in kcm_attach_ioctl()
1335 err = kcm_attach(sock, csock, prog); in kcm_attach_ioctl()
1345 sockfd_put(csock); in kcm_attach_ioctl()
1450 struct socket *csock; in kcm_unattach_ioctl() local
1454 csock = sockfd_lookup(info->fd, &err); in kcm_unattach_ioctl()
1455 if (!csock) in kcm_unattach_ioctl()
1458 csk = csock->sk; in kcm_unattach_ioctl()
1493 sockfd_put(csock); in kcm_unattach_ioctl()