Lines Matching refs:cmd_q
104 if (skb_queue_empty(&req->cmd_q)) in hci_cmd_sync_add()
109 skb_queue_tail(&req->cmd_q, skb); in hci_cmd_sync_add()
118 bt_dev_dbg(hdev, "length %u", skb_queue_len(&req->cmd_q)); in hci_cmd_sync_run()
124 skb_queue_purge(&req->cmd_q); in hci_cmd_sync_run()
129 if (skb_queue_empty(&req->cmd_q)) in hci_cmd_sync_run()
132 skb = skb_peek_tail(&req->cmd_q); in hci_cmd_sync_run()
136 spin_lock_irqsave(&hdev->cmd_q.lock, flags); in hci_cmd_sync_run()
137 skb_queue_splice_tail(&req->cmd_q, &hdev->cmd_q); in hci_cmd_sync_run()
138 spin_unlock_irqrestore(&hdev->cmd_q.lock, flags); in hci_cmd_sync_run()
4699 skb_queue_purge(&hdev->cmd_q); in hci_dev_open_sync()
4847 skb_queue_purge(&hdev->cmd_q); in hci_dev_close_sync()
4861 skb_queue_purge(&hdev->cmd_q); in hci_dev_close_sync()