Symbol: hci_pi
net/bluetooth/hci_sock.c
106
hci_pi(sk)->cookie = id;
net/bluetooth/hci_sock.c
107
get_task_comm(hci_pi(sk)->comm, current);
net/bluetooth/hci_sock.c
1080
if (hci_pi(sk)->channel != HCI_CHANNEL_RAW) {
net/bluetooth/hci_sock.c
116
int id = hci_pi(sk)->cookie;
net/bluetooth/hci_sock.c
119
hci_pi(sk)->cookie = 0;
net/bluetooth/hci_sock.c
1213
hdev = hci_pi(sk)->hdev;
net/bluetooth/hci_sock.c
1215
hci_pi(sk)->hdev = NULL;
net/bluetooth/hci_sock.c
1228
if (hci_pi(sk)->hdev) {
net/bluetooth/hci_sock.c
1243
hci_pi(sk)->channel = haddr.hci_channel;
net/bluetooth/hci_sock.c
1263
hci_pi(sk)->hdev = hdev;
net/bluetooth/hci_sock.c
1275
if (hci_pi(sk)->hdev) {
net/bluetooth/hci_sock.c
1335
hci_pi(sk)->channel = haddr.hci_channel;
net/bluetooth/hci_sock.c
1356
hci_pi(sk)->hdev = hdev;
net/bluetooth/hci_sock.c
1380
hci_pi(sk)->channel = haddr.hci_channel;
net/bluetooth/hci_sock.c
1409
hci_pi(sk)->channel = haddr.hci_channel;
net/bluetooth/hci_sock.c
1431
hci_pi(sk)->channel = haddr.hci_channel;
net/bluetooth/hci_sock.c
1443
if (hci_pi(sk)->channel == HCI_CHANNEL_CONTROL) {
net/bluetooth/hci_sock.c
1478
if (!hci_pi(sk)->mtu)
net/bluetooth/hci_sock.c
1479
hci_pi(sk)->mtu = HCI_MAX_FRAME_SIZE;
net/bluetooth/hci_sock.c
1511
haddr->hci_channel= hci_pi(sk)->channel;
net/bluetooth/hci_sock.c
1522
__u8 mask = hci_pi(sk)->cmsg_mask;
net/bluetooth/hci_sock.c
1570
if (hci_pi(sk)->channel == HCI_CHANNEL_LOGGING)
net/bluetooth/hci_sock.c
1590
switch (hci_pi(sk)->channel) {
net/bluetooth/hci_sock.c
1599
if (hci_mgmt_chan_find(hci_pi(sk)->channel))
net/bluetooth/hci_sock.c
169
flt = &hci_pi(sk)->filter;
net/bluetooth/hci_sock.c
1816
if (len < 4 || len > hci_pi(sk)->mtu)
net/bluetooth/hci_sock.c
1825
switch (hci_pi(sk)->channel) {
net/bluetooth/hci_sock.c
1837
chan = __hci_mgmt_chan_find(hci_pi(sk)->channel);
net/bluetooth/hci_sock.c
1861
if (hci_pi(sk)->channel == HCI_CHANNEL_USER) {
net/bluetooth/hci_sock.c
1947
if (hci_pi(sk)->channel != HCI_CHANNEL_RAW) {
net/bluetooth/hci_sock.c
1959
hci_pi(sk)->cmsg_mask |= HCI_CMSG_DIR;
net/bluetooth/hci_sock.c
1961
hci_pi(sk)->cmsg_mask &= ~HCI_CMSG_DIR;
net/bluetooth/hci_sock.c
1970
hci_pi(sk)->cmsg_mask |= HCI_CMSG_TSTAMP;
net/bluetooth/hci_sock.c
1972
hci_pi(sk)->cmsg_mask &= ~HCI_CMSG_TSTAMP;
net/bluetooth/hci_sock.c
1977
struct hci_filter *f = &hci_pi(sk)->filter;
net/bluetooth/hci_sock.c
1996
struct hci_filter *f = &hci_pi(sk)->filter;
net/bluetooth/hci_sock.c
2036
switch (hci_pi(sk)->channel) {
net/bluetooth/hci_sock.c
2050
hci_pi(sk)->mtu = opt;
net/bluetooth/hci_sock.c
2076
if (hci_pi(sk)->channel != HCI_CHANNEL_RAW) {
net/bluetooth/hci_sock.c
2083
if (hci_pi(sk)->cmsg_mask & HCI_CMSG_DIR)
net/bluetooth/hci_sock.c
2094
if (hci_pi(sk)->cmsg_mask & HCI_CMSG_TSTAMP)
net/bluetooth/hci_sock.c
2106
struct hci_filter *f = &hci_pi(sk)->filter;
net/bluetooth/hci_sock.c
213
if (sk->sk_state != BT_BOUND || hci_pi(sk)->hdev != hdev)
net/bluetooth/hci_sock.c
2150
mtu = hci_pi(sk)->mtu;
net/bluetooth/hci_sock.c
220
if (hci_pi(sk)->channel == HCI_CHANNEL_RAW) {
net/bluetooth/hci_sock.c
229
} else if (hci_pi(sk)->channel == HCI_CHANNEL_USER) {
net/bluetooth/hci_sock.c
335
if (hci_pi(sk)->channel != channel)
net/bluetooth/hci_sock.c
442
if (hci_pi(sk)->channel != HCI_CHANNEL_CONTROL)
net/bluetooth/hci_sock.c
457
put_unaligned_le32(hci_pi(sk)->cookie, skb_put(skb, 4));
net/bluetooth/hci_sock.c
566
if (!hci_pi(sk)->cookie)
net/bluetooth/hci_sock.c
569
switch (hci_pi(sk)->channel) {
net/bluetooth/hci_sock.c
597
put_unaligned_le32(hci_pi(sk)->cookie, skb_put(skb, 4));
net/bluetooth/hci_sock.c
602
skb_put_data(skb, hci_pi(sk)->comm, TASK_COMM_LEN);
net/bluetooth/hci_sock.c
608
if (hci_pi(sk)->hdev)
net/bluetooth/hci_sock.c
609
hdr->index = cpu_to_le16(hci_pi(sk)->hdev->id);
net/bluetooth/hci_sock.c
623
if (!hci_pi(sk)->cookie)
net/bluetooth/hci_sock.c
626
switch (hci_pi(sk)->channel) {
net/bluetooth/hci_sock.c
63
struct hci_dev *hdev = hci_pi(sk)->hdev;
net/bluetooth/hci_sock.c
642
put_unaligned_le32(hci_pi(sk)->cookie, skb_put(skb, 4));
net/bluetooth/hci_sock.c
648
if (hci_pi(sk)->hdev)
net/bluetooth/hci_sock.c
649
hdr->index = cpu_to_le16(hci_pi(sk)->hdev->id);
net/bluetooth/hci_sock.c
670
put_unaligned_le32(hci_pi(sk)->cookie, skb_put(skb, 4));
net/bluetooth/hci_sock.c
74
set_bit(nr, &hci_pi(sk)->flags);
net/bluetooth/hci_sock.c
79
clear_bit(nr, &hci_pi(sk)->flags);
net/bluetooth/hci_sock.c
84
return test_bit(nr, &hci_pi(sk)->flags);
net/bluetooth/hci_sock.c
840
if (hci_pi(sk)->hdev == hdev) {
net/bluetooth/hci_sock.c
89
return hci_pi(sk)->channel;
net/bluetooth/hci_sock.c
912
switch (hci_pi(sk)->channel) {
net/bluetooth/hci_sock.c
933
hdev = hci_pi(sk)->hdev;
net/bluetooth/hci_sock.c
935
if (hci_pi(sk)->channel == HCI_CHANNEL_USER &&
net/bluetooth/hci_sock.c
94
return hci_pi(sk)->cookie;
net/bluetooth/hci_sock.c
99
int id = hci_pi(sk)->cookie;