Home
last modified time | relevance | path

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

/linux-6.3-rc2/net/bluetooth/hidp/
A Dsock.c56 struct socket *csock; in do_hidp_sock_ioctl() local
70 csock = sockfd_lookup(ca.ctrl_sock, &err); in do_hidp_sock_ioctl()
71 if (!csock) in do_hidp_sock_ioctl()
76 sockfd_put(csock); in do_hidp_sock_ioctl()
81 err = hidp_connection_add(&ca, csock, isock); in do_hidp_sock_ioctl()
85 sockfd_put(csock); in do_hidp_sock_ioctl()
175 struct socket *csock; in hidp_sock_compat_ioctl() local
199 csock = sockfd_lookup(ca.ctrl_sock, &err); in hidp_sock_compat_ioctl()
200 if (!csock) in hidp_sock_compat_ioctl()
205 sockfd_put(csock); in hidp_sock_compat_ioctl()
[all …]
/linux-6.3-rc2/net/kcm/
A Dkcmsock.c1349 csk = csock->sk; in kcm_attach()
1438 struct socket *csock; in kcm_attach_ioctl() local
1442 csock = sockfd_lookup(info->fd, &err); in kcm_attach_ioctl()
1443 if (!csock) in kcm_attach_ioctl()
1452 err = kcm_attach(sock, csock, prog); in kcm_attach_ioctl()
1462 sockfd_put(csock); in kcm_attach_ioctl()
1567 struct socket *csock; in kcm_unattach_ioctl() local
1571 csock = sockfd_lookup(info->fd, &err); in kcm_unattach_ioctl()
1572 if (!csock) in kcm_unattach_ioctl()
1575 csk = csock->sk; in kcm_unattach_ioctl()
[all …]

Completed in 6 milliseconds