Home
last modified time | relevance | path

Searched refs:csock (Results 1 – 2 of 2) sorted by relevance

/Linux-v4.19/net/bluetooth/hidp/
Dsock.c56 struct socket *csock; in hidp_sock_ioctl() local
70 csock = sockfd_lookup(ca.ctrl_sock, &err); in hidp_sock_ioctl()
71 if (!csock) in hidp_sock_ioctl()
76 sockfd_put(csock); in hidp_sock_ioctl()
80 err = hidp_connection_add(&ca, csock, isock); in hidp_sock_ioctl()
84 sockfd_put(csock); in hidp_sock_ioctl()
/Linux-v4.19/net/kcm/
Dkcmsock.c1370 static int kcm_attach(struct socket *sock, struct socket *csock, in kcm_attach() argument
1386 csk = csock->sk; in kcm_attach()
1476 struct socket *csock; in kcm_attach_ioctl() local
1480 csock = sockfd_lookup(info->fd, &err); in kcm_attach_ioctl()
1481 if (!csock) in kcm_attach_ioctl()
1490 err = kcm_attach(sock, csock, prog); in kcm_attach_ioctl()
1500 fput(csock->file); in kcm_attach_ioctl()
1605 struct socket *csock; in kcm_unattach_ioctl() local
1609 csock = sockfd_lookup(info->fd, &err); in kcm_unattach_ioctl()
1610 if (!csock) in kcm_unattach_ioctl()
[all …]