Lines Matching refs:sent_cmd
1512 if (hdev->sent_cmd) { in hci_dev_do_open()
1513 kfree_skb(hdev->sent_cmd); in hci_dev_do_open()
1514 hdev->sent_cmd = NULL; in hci_dev_do_open()
1704 if (hdev->sent_cmd) { in hci_dev_do_close()
1706 kfree_skb(hdev->sent_cmd); in hci_dev_do_close()
1707 hdev->sent_cmd = NULL; in hci_dev_do_close()
2652 if (hdev->sent_cmd) { in hci_cmd_timeout()
2653 struct hci_command_hdr *sent = (void *) hdev->sent_cmd->data; in hci_cmd_timeout()
4260 if (!hdev->sent_cmd) in hci_sent_cmd_data()
4263 hdr = (void *) hdev->sent_cmd->data; in hci_sent_cmd_data()
4270 return hdev->sent_cmd->data + HCI_COMMAND_HDR_SIZE; in hci_sent_cmd_data()
4960 if (!hdev->sent_cmd) in hci_resend_last()
4963 sent = (void *) hdev->sent_cmd->data; in hci_resend_last()
4968 skb = skb_clone(hdev->sent_cmd, GFP_KERNEL); in hci_resend_last()
5014 if (bt_cb(hdev->sent_cmd)->hci.req_flags & HCI_REQ_SKB) { in hci_req_cmd_complete()
5015 *req_complete_skb = bt_cb(hdev->sent_cmd)->hci.req_complete_skb; in hci_req_cmd_complete()
5019 if (bt_cb(hdev->sent_cmd)->hci.req_complete) { in hci_req_cmd_complete()
5020 *req_complete = bt_cb(hdev->sent_cmd)->hci.req_complete; in hci_req_cmd_complete()
5118 kfree_skb(hdev->sent_cmd); in hci_cmd_work()
5120 hdev->sent_cmd = skb_clone(skb, GFP_KERNEL); in hci_cmd_work()
5121 if (hdev->sent_cmd) { in hci_cmd_work()