Lines Matching refs:sent_cmd
1508 if (hdev->sent_cmd) { in hci_dev_do_open()
1509 kfree_skb(hdev->sent_cmd); in hci_dev_do_open()
1510 hdev->sent_cmd = NULL; in hci_dev_do_open()
1695 if (hdev->sent_cmd) { in hci_dev_do_close()
1697 kfree_skb(hdev->sent_cmd); in hci_dev_do_close()
1698 hdev->sent_cmd = NULL; in hci_dev_do_close()
2572 if (hdev->sent_cmd) { in hci_cmd_timeout()
2573 struct hci_command_hdr *sent = (void *) hdev->sent_cmd->data; in hci_cmd_timeout()
3541 if (!hdev->sent_cmd) in hci_sent_cmd_data()
3544 hdr = (void *) hdev->sent_cmd->data; in hci_sent_cmd_data()
3551 return hdev->sent_cmd->data + HCI_COMMAND_HDR_SIZE; in hci_sent_cmd_data()
4234 if (!hdev->sent_cmd) in hci_resend_last()
4237 sent = (void *) hdev->sent_cmd->data; in hci_resend_last()
4242 skb = skb_clone(hdev->sent_cmd, GFP_KERNEL); in hci_resend_last()
4285 if (bt_cb(hdev->sent_cmd)->hci.req_flags & HCI_REQ_SKB) { in hci_req_cmd_complete()
4286 *req_complete_skb = bt_cb(hdev->sent_cmd)->hci.req_complete_skb; in hci_req_cmd_complete()
4290 if (bt_cb(hdev->sent_cmd)->hci.req_complete) { in hci_req_cmd_complete()
4291 *req_complete = bt_cb(hdev->sent_cmd)->hci.req_complete; in hci_req_cmd_complete()
4381 kfree_skb(hdev->sent_cmd); in hci_cmd_work()
4383 hdev->sent_cmd = skb_clone(skb, GFP_KERNEL); in hci_cmd_work()
4384 if (hdev->sent_cmd) { in hci_cmd_work()