Lines Matching refs:cmd_q
41 skb_queue_head_init(&req->cmd_q); in hci_req_init()
48 skb_queue_purge(&req->cmd_q); in hci_req_purge()
63 bt_dev_dbg(hdev, "length %u", skb_queue_len(&req->cmd_q)); in req_run()
69 skb_queue_purge(&req->cmd_q); in req_run()
74 if (skb_queue_empty(&req->cmd_q)) in req_run()
77 skb = skb_peek_tail(&req->cmd_q); in req_run()
85 spin_lock_irqsave(&hdev->cmd_q.lock, flags); in req_run()
86 skb_queue_splice_tail(&req->cmd_q, &hdev->cmd_q); in req_run()
87 spin_unlock_irqrestore(&hdev->cmd_q.lock, flags); in req_run()
340 if (skb_queue_empty(&req->cmd_q)) in hci_req_add_ev()
345 skb_queue_tail(&req->cmd_q, skb); in hci_req_add_ev()