Lines Matching refs:csock
1217 static int kcm_attach(struct socket *sock, struct socket *csock, in kcm_attach() argument
1233 csk = csock->sk; in kcm_attach()
1322 struct socket *csock; in kcm_attach_ioctl() local
1326 csock = sockfd_lookup(info->fd, &err); in kcm_attach_ioctl()
1327 if (!csock) in kcm_attach_ioctl()
1336 err = kcm_attach(sock, csock, prog); in kcm_attach_ioctl()
1346 sockfd_put(csock); in kcm_attach_ioctl()
1451 struct socket *csock; in kcm_unattach_ioctl() local
1455 csock = sockfd_lookup(info->fd, &err); in kcm_unattach_ioctl()
1456 if (!csock) in kcm_unattach_ioctl()
1459 csk = csock->sk; in kcm_unattach_ioctl()
1494 sockfd_put(csock); in kcm_unattach_ioctl()