Home
last modified time | relevance | path

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

/linux/net/bluetooth/
H A Dhci_sock.c47 #define hci_pi(sk) ((struct hci_pinfo *) sk) macro
63 struct hci_dev *hdev = hci_pi(sk)->hdev; in hci_hdev_from_sock()
74 set_bit(nr, &hci_pi(sk)->flags); in hci_sock_set_flag()
79 clear_bit(nr, &hci_pi(sk)->flags); in hci_sock_clear_flag()
84 return test_bit(nr, &hci_pi(sk)->flags); in hci_sock_test_flag()
89 return hci_pi(sk)->channel; in hci_sock_get_channel()
94 return hci_pi(sk)->cookie; in hci_sock_get_cookie()
99 int id = hci_pi(sk)->cookie; in hci_sock_gen_cookie()
106 hci_pi(sk)->cookie = id; in hci_sock_gen_cookie()
107 get_task_comm(hci_pi(sk)->comm, current); in hci_sock_gen_cookie()
[all …]