Searched refs:rba (Results 1 – 3 of 3) sorted by relevance
567 struct iwl_rb_allocator *rba = &trans_pcie->rba; in iwl_pcie_rx_allocator() local569 int pending = atomic_read(&rba->req_pending); in iwl_pcie_rx_allocator()574 spin_lock(&rba->lock); in iwl_pcie_rx_allocator()576 list_replace_init(&rba->rbd_empty, &local_empty); in iwl_pcie_rx_allocator()577 spin_unlock(&rba->lock); in iwl_pcie_rx_allocator()626 atomic_dec(&rba->req_pending); in iwl_pcie_rx_allocator()630 pending = atomic_read(&rba->req_pending); in iwl_pcie_rx_allocator()637 spin_lock(&rba->lock); in iwl_pcie_rx_allocator()639 list_splice_tail(&local_allocated, &rba->rbd_allocated); in iwl_pcie_rx_allocator()641 list_splice_tail_init(&rba->rbd_empty, &local_empty); in iwl_pcie_rx_allocator()[all …]
1964 if (trans_pcie->rba.alloc_wq) { in iwl_trans_pcie_free()1965 destroy_workqueue(trans_pcie->rba.alloc_wq); in iwl_trans_pcie_free()1966 trans_pcie->rba.alloc_wq = NULL; in iwl_trans_pcie_free()3515 trans_pcie->rba.alloc_wq = alloc_workqueue("rb_allocator", in iwl_trans_pcie_alloc()3517 if (!trans_pcie->rba.alloc_wq) { in iwl_trans_pcie_alloc()3521 INIT_WORK(&trans_pcie->rba.rx_alloc, iwl_pcie_rx_allocator_work); in iwl_trans_pcie_alloc()3655 destroy_workqueue(trans_pcie->rba.alloc_wq); in iwl_trans_pcie_alloc()
384 struct iwl_rb_allocator rba; member