Home
last modified time | relevance | path

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

/openbmc/linux/net/bluetooth/
H A Dhci_sock.c49 #define hci_pi(sk) ((struct hci_pinfo *) sk) macro
65 struct hci_dev *hdev = hci_pi(sk)->hdev; in hci_hdev_from_sock()
76 set_bit(nr, &hci_pi(sk)->flags); in hci_sock_set_flag()
81 clear_bit(nr, &hci_pi(sk)->flags); in hci_sock_clear_flag()
86 return test_bit(nr, &hci_pi(sk)->flags); in hci_sock_test_flag()
91 return hci_pi(sk)->channel; in hci_sock_get_channel()
96 return hci_pi(sk)->cookie; in hci_sock_get_cookie()
101 int id = hci_pi(sk)->cookie; in hci_sock_gen_cookie()
108 hci_pi(sk)->cookie = id; in hci_sock_gen_cookie()
109 get_task_comm(hci_pi(sk)->comm, current); in hci_sock_gen_cookie()
[all …]