Searched refs:cmd_q (Results 1 – 8 of 8) sorted by relevance
39 skb_queue_head_init(&req->cmd_q); in hci_req_init()46 skb_queue_purge(&req->cmd_q); in hci_req_purge()61 BT_DBG("length %u", skb_queue_len(&req->cmd_q)); in req_run()67 skb_queue_purge(&req->cmd_q); in req_run()72 if (skb_queue_empty(&req->cmd_q)) in req_run()75 skb = skb_peek_tail(&req->cmd_q); in req_run()83 spin_lock_irqsave(&hdev->cmd_q.lock, flags); in req_run()84 skb_queue_splice_tail(&req->cmd_q, &hdev->cmd_q); in req_run()85 spin_unlock_irqrestore(&hdev->cmd_q.lock, flags); in req_run()338 if (skb_queue_empty(&req->cmd_q)) in hci_req_add_ev()[all …]
1578 skb_queue_purge(&hdev->cmd_q); in hci_dev_do_open()1754 skb_queue_purge(&hdev->cmd_q); in hci_dev_do_close()1768 skb_queue_purge(&hdev->cmd_q); in hci_dev_do_close()1836 skb_queue_purge(&hdev->cmd_q); in hci_dev_do_reset()3272 skb_queue_head_init(&hdev->cmd_q); in hci_alloc_dev()3649 skb_queue_tail(&hdev->cmd_q, skb); in hci_send_cmd()4371 skb = skb_peek(&hdev->cmd_q); in hci_req_is_complete()4396 skb_queue_head(&hdev->cmd_q, skb); in hci_resend_last()4449 spin_lock_irqsave(&hdev->cmd_q.lock, flags); in hci_req_cmd_complete()4450 while ((skb = __skb_dequeue(&hdev->cmd_q))) { in hci_req_cmd_complete()[all …]
30 struct sk_buff_head cmd_q; member
1835 skb_queue_tail(&hdev->cmd_q, skb); in hci_sock_sendmsg()
3506 if (atomic_read(&hdev->cmd_cnt) && !skb_queue_empty(&hdev->cmd_q)) in hci_cmd_complete_evt()3619 if (atomic_read(&hdev->cmd_cnt) && !skb_queue_empty(&hdev->cmd_q)) in hci_cmd_status_evt()
6767 if (skb_queue_empty(&req.cmd_q) || in remove_advertising()
528 skb_queue_purge(&ndev->cmd_q); in nci_open_device()570 skb_queue_purge(&ndev->cmd_q); in nci_close_device()1245 skb_queue_head_init(&ndev->cmd_q); in nci_register_device()1371 skb_queue_tail(&ndev->cmd_q, skb); in nci_send_cmd()1551 skb = skb_dequeue(&ndev->cmd_q); in nci_cmd_work()
369 if (!skb_queue_empty(&ndev->cmd_q)) in nci_rsp_packet()