void iwlagn_rx_replenish(struct iwl_trans *trans) { unsigned long flags; iwlagn_rx_allocate(trans, GFP_KERNEL); spin_lock_irqsave(&trans->shrd->lock, flags); iwlagn_rx_queue_restock(trans); spin_unlock_irqrestore(&trans->shrd->lock, flags); }
void iwlagn_rx_replenish(struct iwl_trans *trans) { struct iwl_trans_pcie *trans_pcie = IWL_TRANS_GET_PCIE_TRANS(trans); unsigned long flags; iwlagn_rx_allocate(trans, GFP_KERNEL); spin_lock_irqsave(&trans_pcie->irq_lock, flags); iwlagn_rx_queue_restock(trans); spin_unlock_irqrestore(&trans_pcie->irq_lock, flags); }
static void iwlagn_rx_replenish_now(struct iwl_trans *trans) { iwlagn_rx_allocate(trans, GFP_ATOMIC); iwlagn_rx_queue_restock(trans); }