rba 518 drivers/net/wireless/intel/iwlwifi/pcie/internal.h struct iwl_rb_allocator rba; rba 538 drivers/net/wireless/intel/iwlwifi/pcie/rx.c struct iwl_rb_allocator *rba = &trans_pcie->rba; rba 540 drivers/net/wireless/intel/iwlwifi/pcie/rx.c int pending = atomic_read(&rba->req_pending); rba 545 drivers/net/wireless/intel/iwlwifi/pcie/rx.c spin_lock(&rba->lock); rba 547 drivers/net/wireless/intel/iwlwifi/pcie/rx.c list_replace_init(&rba->rbd_empty, &local_empty); rba 548 drivers/net/wireless/intel/iwlwifi/pcie/rx.c spin_unlock(&rba->lock); rba 595 drivers/net/wireless/intel/iwlwifi/pcie/rx.c atomic_dec(&rba->req_pending); rba 599 drivers/net/wireless/intel/iwlwifi/pcie/rx.c pending = atomic_read(&rba->req_pending); rba 606 drivers/net/wireless/intel/iwlwifi/pcie/rx.c spin_lock(&rba->lock); rba 608 drivers/net/wireless/intel/iwlwifi/pcie/rx.c list_splice_tail(&local_allocated, &rba->rbd_allocated); rba 610 drivers/net/wireless/intel/iwlwifi/pcie/rx.c list_splice_tail_init(&rba->rbd_empty, &local_empty); rba 611 drivers/net/wireless/intel/iwlwifi/pcie/rx.c spin_unlock(&rba->lock); rba 613 drivers/net/wireless/intel/iwlwifi/pcie/rx.c atomic_inc(&rba->req_ready); rba 617 drivers/net/wireless/intel/iwlwifi/pcie/rx.c spin_lock(&rba->lock); rba 619 drivers/net/wireless/intel/iwlwifi/pcie/rx.c list_splice_tail(&local_empty, &rba->rbd_empty); rba 620 drivers/net/wireless/intel/iwlwifi/pcie/rx.c spin_unlock(&rba->lock); rba 637 drivers/net/wireless/intel/iwlwifi/pcie/rx.c struct iwl_rb_allocator *rba = &trans_pcie->rba; rba 650 drivers/net/wireless/intel/iwlwifi/pcie/rx.c if (atomic_dec_if_positive(&rba->req_ready) < 0) rba 653 drivers/net/wireless/intel/iwlwifi/pcie/rx.c spin_lock(&rba->lock); rba 657 drivers/net/wireless/intel/iwlwifi/pcie/rx.c list_first_entry(&rba->rbd_allocated, rba 662 drivers/net/wireless/intel/iwlwifi/pcie/rx.c spin_unlock(&rba->lock); rba 673 drivers/net/wireless/intel/iwlwifi/pcie/rx.c container_of(rba_p, struct iwl_trans_pcie, rba); rba 808 drivers/net/wireless/intel/iwlwifi/pcie/rx.c struct iwl_rb_allocator *rba = &trans_pcie->rba; rba 822 drivers/net/wireless/intel/iwlwifi/pcie/rx.c spin_lock_init(&rba->lock); rba 1040 drivers/net/wireless/intel/iwlwifi/pcie/rx.c struct iwl_rb_allocator *rba = &trans_pcie->rba; rba 1050 drivers/net/wireless/intel/iwlwifi/pcie/rx.c cancel_work_sync(&rba->rx_alloc); rba 1052 drivers/net/wireless/intel/iwlwifi/pcie/rx.c spin_lock(&rba->lock); rba 1053 drivers/net/wireless/intel/iwlwifi/pcie/rx.c atomic_set(&rba->req_pending, 0); rba 1054 drivers/net/wireless/intel/iwlwifi/pcie/rx.c atomic_set(&rba->req_ready, 0); rba 1055 drivers/net/wireless/intel/iwlwifi/pcie/rx.c INIT_LIST_HEAD(&rba->rbd_allocated); rba 1056 drivers/net/wireless/intel/iwlwifi/pcie/rx.c INIT_LIST_HEAD(&rba->rbd_empty); rba 1057 drivers/net/wireless/intel/iwlwifi/pcie/rx.c spin_unlock(&rba->lock); rba 1102 drivers/net/wireless/intel/iwlwifi/pcie/rx.c list_add(&rxb->list, &rba->rbd_empty); rba 1152 drivers/net/wireless/intel/iwlwifi/pcie/rx.c struct iwl_rb_allocator *rba = &trans_pcie->rba; rba 1167 drivers/net/wireless/intel/iwlwifi/pcie/rx.c cancel_work_sync(&rba->rx_alloc); rba 1192 drivers/net/wireless/intel/iwlwifi/pcie/rx.c struct iwl_rb_allocator *rba) rba 1194 drivers/net/wireless/intel/iwlwifi/pcie/rx.c spin_lock(&rba->lock); rba 1195 drivers/net/wireless/intel/iwlwifi/pcie/rx.c list_splice_tail_init(&rxq->rx_used, &rba->rbd_empty); rba 1196 drivers/net/wireless/intel/iwlwifi/pcie/rx.c spin_unlock(&rba->lock); rba 1210 drivers/net/wireless/intel/iwlwifi/pcie/rx.c struct iwl_rb_allocator *rba = &trans_pcie->rba; rba 1230 drivers/net/wireless/intel/iwlwifi/pcie/rx.c iwl_pcie_rx_move_to_allocator(rxq, rba); rba 1232 drivers/net/wireless/intel/iwlwifi/pcie/rx.c atomic_inc(&rba->req_pending); rba 1233 drivers/net/wireless/intel/iwlwifi/pcie/rx.c queue_work(rba->alloc_wq, &rba->rx_alloc); rba 1457 drivers/net/wireless/intel/iwlwifi/pcie/rx.c struct iwl_rb_allocator *rba = &trans_pcie->rba; rba 1461 drivers/net/wireless/intel/iwlwifi/pcie/rx.c atomic_read(&trans_pcie->rba.req_pending) * rba 1466 drivers/net/wireless/intel/iwlwifi/pcie/rx.c iwl_pcie_rx_move_to_allocator(rxq, rba); rba 1495 drivers/net/wireless/intel/iwlwifi/pcie/rx.c iwl_pcie_rx_move_to_allocator(rxq, rba); rba 1982 drivers/net/wireless/intel/iwlwifi/pcie/trans.c if (trans_pcie->rba.alloc_wq) { rba 1983 drivers/net/wireless/intel/iwlwifi/pcie/trans.c destroy_workqueue(trans_pcie->rba.alloc_wq); rba 1984 drivers/net/wireless/intel/iwlwifi/pcie/trans.c trans_pcie->rba.alloc_wq = NULL; rba 3506 drivers/net/wireless/intel/iwlwifi/pcie/trans.c trans_pcie->rba.alloc_wq = alloc_workqueue("rb_allocator", rba 3508 drivers/net/wireless/intel/iwlwifi/pcie/trans.c if (!trans_pcie->rba.alloc_wq) { rba 3512 drivers/net/wireless/intel/iwlwifi/pcie/trans.c INIT_WORK(&trans_pcie->rba.rx_alloc, iwl_pcie_rx_allocator_work); rba 3659 drivers/net/wireless/intel/iwlwifi/pcie/trans.c destroy_workqueue(trans_pcie->rba.alloc_wq);