Home
last modified time | relevance | path

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

/Linux-v5.4/net/bluetooth/
Dhci_sock.c49 #define hci_pi(sk) ((struct hci_pinfo *) sk) macro
64 set_bit(nr, &hci_pi(sk)->flags); in hci_sock_set_flag()
69 clear_bit(nr, &hci_pi(sk)->flags); in hci_sock_clear_flag()
74 return test_bit(nr, &hci_pi(sk)->flags); in hci_sock_test_flag()
79 return hci_pi(sk)->channel; in hci_sock_get_channel()
84 return hci_pi(sk)->cookie; in hci_sock_get_cookie()
89 int id = hci_pi(sk)->cookie; in hci_sock_gen_cookie()
96 hci_pi(sk)->cookie = id; in hci_sock_gen_cookie()
97 get_task_comm(hci_pi(sk)->comm, current); in hci_sock_gen_cookie()
106 int id = hci_pi(sk)->cookie; in hci_sock_free_cookie()
[all …]