Searched refs:csock (Results 1 - 4 of 4) sorted by relevance
/kernel/linux/linux-5.10/net/bluetooth/hidp/ |
H A D | sock.c | 55 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...] |
/kernel/linux/linux-6.6/net/bluetooth/hidp/ |
H A D | sock.c | 56 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...] |
/kernel/linux/linux-5.10/net/kcm/ |
H A D | kcmsock.c | 1334 static int kcm_attach(struct socket *sock, struct socket *csock, in kcm_attach() argument 1350 csk = csock->sk; in kcm_attach() 1439 struct socket *csock; in kcm_attach_ioctl() local 1443 csock = sockfd_lookup(info->fd, &err); in kcm_attach_ioctl() 1444 if (!csock) in kcm_attach_ioctl() 1453 err = kcm_attach(sock, csock, prog); in kcm_attach_ioctl() 1463 fput(csock->file); in kcm_attach_ioctl() 1568 struct socket *csock; in kcm_unattach_ioctl() local 1572 csock = sockfd_lookup(info->fd, &err); in kcm_unattach_ioctl() 1573 if (!csock) in kcm_unattach_ioctl() [all...] |
/kernel/linux/linux-6.6/net/kcm/ |
H A D | kcmsock.c | 1212 static int kcm_attach(struct socket *sock, struct socket *csock, in kcm_attach() argument 1228 csk = csock->sk; in kcm_attach() 1317 struct socket *csock; in kcm_attach_ioctl() local 1321 csock = sockfd_lookup(info->fd, &err); in kcm_attach_ioctl() 1322 if (!csock) in kcm_attach_ioctl() 1331 err = kcm_attach(sock, csock, prog); in kcm_attach_ioctl() 1341 sockfd_put(csock); in kcm_attach_ioctl() 1446 struct socket *csock; in kcm_unattach_ioctl() local 1450 csock = sockfd_lookup(info->fd, &err); in kcm_unattach_ioctl() 1451 if (!csock) in kcm_unattach_ioctl() [all...] |
Completed in 5 milliseconds