Lines Matching refs:queues
325 q = &dev->queues->queue[qid]; in aac_get_entry()
524 if (!dev->queues) in aac_fib_send()
596 struct aac_queue * q = &dev->queues->queue[AdapNormCmdQueue]; in aac_fib_send()
777 q = &dev->queues->queue[AdapNormRespQueue]; in aac_fib_adapter_complete()
1371 kfree(aac->queues); in _aac_reset_adapter()
1372 aac->queues = NULL; in _aac_reset_adapter()
1732 add_wait_queue(&dev->queues->queue[HostNormCmdQueue].cmdready, &wait); in aac_command_thread()
1736 spin_lock_irqsave(dev->queues->queue[HostNormCmdQueue].lock, flags); in aac_command_thread()
1737 while(!list_empty(&(dev->queues->queue[HostNormCmdQueue].cmdq))) { in aac_command_thread()
1743 entry = dev->queues->queue[HostNormCmdQueue].cmdq.next; in aac_command_thread()
1746 spin_unlock_irqrestore(dev->queues->queue[HostNormCmdQueue].lock, flags); in aac_command_thread()
1920 spin_lock_irqsave(dev->queues->queue[HostNormCmdQueue].lock, flags); in aac_command_thread()
1925 spin_unlock_irqrestore(dev->queues->queue[HostNormCmdQueue].lock, flags); in aac_command_thread()
1937 } else if (!dev->queues) in aac_command_thread()
1947 if (!ret && !dev->queues) in aac_command_thread()
2011 if (dev->queues) in aac_command_thread()
2012 remove_wait_queue(&dev->queues->queue[HostNormCmdQueue].cmdready, &wait); in aac_command_thread()