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()
1370 kfree(aac->queues); in _aac_reset_adapter()
1371 aac->queues = NULL; in _aac_reset_adapter()
1703 add_wait_queue(&dev->queues->queue[HostNormCmdQueue].cmdready, &wait); in aac_command_thread()
1707 spin_lock_irqsave(dev->queues->queue[HostNormCmdQueue].lock, flags); in aac_command_thread()
1708 while(!list_empty(&(dev->queues->queue[HostNormCmdQueue].cmdq))) { in aac_command_thread()
1714 entry = dev->queues->queue[HostNormCmdQueue].cmdq.next; in aac_command_thread()
1717 spin_unlock_irqrestore(dev->queues->queue[HostNormCmdQueue].lock, flags); in aac_command_thread()
1891 spin_lock_irqsave(dev->queues->queue[HostNormCmdQueue].lock, flags); in aac_command_thread()
1896 spin_unlock_irqrestore(dev->queues->queue[HostNormCmdQueue].lock, flags); in aac_command_thread()
1908 } else if (!dev->queues) in aac_command_thread()
1918 if (!ret && !dev->queues) in aac_command_thread()
1982 if (dev->queues) in aac_command_thread()
1983 remove_wait_queue(&dev->queues->queue[HostNormCmdQueue].cmdready, &wait); in aac_command_thread()