Home
last modified time | relevance | path

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

/OK3568_Linux_fs/kernel/net/bluetooth/hidp/
H A Dsock.c55 struct socket *csock; in do_hidp_sock_ioctl() local
69 csock = sockfd_lookup(ca.ctrl_sock, &err); in do_hidp_sock_ioctl()
70 if (!csock) in do_hidp_sock_ioctl()
75 sockfd_put(csock); in do_hidp_sock_ioctl()
80 err = hidp_connection_add(&ca, csock, isock); in do_hidp_sock_ioctl()
84 sockfd_put(csock); in do_hidp_sock_ioctl()
174 struct socket *csock; in hidp_sock_compat_ioctl() local
198 csock = sockfd_lookup(ca.ctrl_sock, &err); in hidp_sock_compat_ioctl()
199 if (!csock) in hidp_sock_compat_ioctl()
204 sockfd_put(csock); in hidp_sock_compat_ioctl()
[all …]
/OK3568_Linux_fs/kernel/net/kcm/
H A Dkcmsock.c1331 static int kcm_attach(struct socket *sock, struct socket *csock, in kcm_attach() argument
1347 csk = csock->sk; in kcm_attach()
1436 struct socket *csock; in kcm_attach_ioctl() local
1440 csock = sockfd_lookup(info->fd, &err); in kcm_attach_ioctl()
1441 if (!csock) in kcm_attach_ioctl()
1450 err = kcm_attach(sock, csock, prog); in kcm_attach_ioctl()
1460 fput(csock->file); in kcm_attach_ioctl()
1565 struct socket *csock; in kcm_unattach_ioctl() local
1569 csock = sockfd_lookup(info->fd, &err); in kcm_unattach_ioctl()
1570 if (!csock) in kcm_unattach_ioctl()
[all …]