Searched refs:hci_pi (Results 1 – 1 of 1) sorted by relevance
49 #define hci_pi(sk) ((struct hci_pinfo *) sk) macro64 struct hci_dev *hdev = hci_pi(sk)->hdev; in hci_hdev_from_sock()75 set_bit(nr, &hci_pi(sk)->flags); in hci_sock_set_flag()80 clear_bit(nr, &hci_pi(sk)->flags); in hci_sock_clear_flag()85 return test_bit(nr, &hci_pi(sk)->flags); in hci_sock_test_flag()90 return hci_pi(sk)->channel; in hci_sock_get_channel()95 return hci_pi(sk)->cookie; in hci_sock_get_cookie()100 int id = hci_pi(sk)->cookie; in hci_sock_gen_cookie()107 hci_pi(sk)->cookie = id; in hci_sock_gen_cookie()108 get_task_comm(hci_pi(sk)->comm, current); in hci_sock_gen_cookie()[all …]