Searched refs:ctrl_sock (Results 1 – 3 of 3) sorted by relevance
/linux-3.4.99/net/bluetooth/hidp/ |
D | hidp.h | 87 int ctrl_sock; /* Connected control socket */ member 122 int hidp_add_connection(struct hidp_connadd_req *req, struct socket *ctrl_sock, struct socket *intr… 133 struct socket *ctrl_sock; member 180 struct sock *ctrl_sk = session->ctrl_sock->sk; in hidp_schedule()
|
D | core.c | 684 if (hidp_send_frame(session->ctrl_sock, skb->data, skb->len) < 0) { in hidp_process_ctrl_transmit() 697 struct sock *ctrl_sk = session->ctrl_sock->sk; in hidp_session() 766 session->ctrl_sock->sk->sk_err = EUNATCH; in hidp_session() 775 fput(session->ctrl_sock->file); in hidp_session() 789 bdaddr_t *src = &bt_sk(session->ctrl_sock->sk)->src; in hidp_get_connection() 790 bdaddr_t *dst = &bt_sk(session->ctrl_sock->sk)->dst; in hidp_get_connection() 953 strncpy(hid->phys, batostr(&bt_sk(session->ctrl_sock->sk)->src), 64); in hidp_setup_hid() 954 strncpy(hid->uniq, batostr(&bt_sk(session->ctrl_sock->sk)->dst), 64); in hidp_setup_hid() 971 int hidp_add_connection(struct hidp_connadd_req *req, struct socket *ctrl_sock, struct socket *intr… in hidp_add_connection() argument 979 if (bacmp(&bt_sk(ctrl_sock->sk)->src, &bt_sk(intr_sock->sk)->src) || in hidp_add_connection() [all …]
|
D | sock.c | 78 csock = sockfd_lookup(ca.ctrl_sock, &err); in hidp_sock_ioctl() 144 int ctrl_sock; /* Connected control socket */ member 190 if (put_user(ca.ctrl_sock, &uca->ctrl_sock) || in hidp_sock_compat_ioctl()
|