Lines Matching refs:sent_cmd
1468 if (hdev->sent_cmd) { in hci_dev_do_open()
1469 kfree_skb(hdev->sent_cmd); in hci_dev_do_open()
1470 hdev->sent_cmd = NULL; in hci_dev_do_open()
1644 if (hdev->sent_cmd) { in hci_dev_do_close()
1646 kfree_skb(hdev->sent_cmd); in hci_dev_do_close()
1647 hdev->sent_cmd = NULL; in hci_dev_do_close()
2515 if (hdev->sent_cmd) { in hci_cmd_timeout()
2516 struct hci_command_hdr *sent = (void *) hdev->sent_cmd->data; in hci_cmd_timeout()
3406 if (!hdev->sent_cmd) in hci_sent_cmd_data()
3409 hdr = (void *) hdev->sent_cmd->data; in hci_sent_cmd_data()
3416 return hdev->sent_cmd->data + HCI_COMMAND_HDR_SIZE; in hci_sent_cmd_data()
4080 if (!hdev->sent_cmd) in hci_resend_last()
4083 sent = (void *) hdev->sent_cmd->data; in hci_resend_last()
4088 skb = skb_clone(hdev->sent_cmd, GFP_KERNEL); in hci_resend_last()
4131 if (bt_cb(hdev->sent_cmd)->req.complete) { in hci_req_cmd_complete()
4132 *req_complete = bt_cb(hdev->sent_cmd)->req.complete; in hci_req_cmd_complete()
4136 if (bt_cb(hdev->sent_cmd)->req.complete_skb) { in hci_req_cmd_complete()
4137 *req_complete_skb = bt_cb(hdev->sent_cmd)->req.complete_skb; in hci_req_cmd_complete()
4225 kfree_skb(hdev->sent_cmd); in hci_cmd_work()
4227 hdev->sent_cmd = skb_clone(skb, GFP_KERNEL); in hci_cmd_work()
4228 if (hdev->sent_cmd) { in hci_cmd_work()