Lines Matching refs:iocq
58 static struct iocq_ktio *iocq; variable
1203 if (list_empty(&iocq[id].head)) in ktio()
1205 pos = iocq[id].head.next; in ktio()
1208 spin_unlock_irq(&iocq[id].lock); in ktio()
1222 spin_lock_irq(&iocq[id].lock); in ktio()
1286 spin_lock_irqsave(&iocq[id].lock, flags); in ktcomplete()
1288 spin_unlock_irqrestore(&iocq[id].lock, flags); in ktcomplete()
1294 spin_lock_irqsave(&iocq[id].lock, flags); in ktcomplete()
1296 list_add_tail(&f->head, &iocq[id].head); in ktcomplete()
1297 spin_unlock_irqrestore(&iocq[id].lock, flags); in ktcomplete()
1661 spin_lock_irqsave(&iocq[id].lock, flags); in aoe_flush_iocq_by_index()
1662 list_splice_init(&iocq[id].head, &flist); in aoe_flush_iocq_by_index()
1663 spin_unlock_irqrestore(&iocq[id].lock, flags); in aoe_flush_iocq_by_index()
1697 iocq = kcalloc(ncpus, sizeof(struct iocq_ktio), GFP_KERNEL); in aoecmd_init()
1698 if (!iocq) in aoecmd_init()
1716 INIT_LIST_HEAD(&iocq[i].head); in aoecmd_init()
1717 spin_lock_init(&iocq[i].lock); in aoecmd_init()
1722 kts[i].lock = &iocq[i].lock; in aoecmd_init()
1738 kfree(iocq); in aoecmd_init()
1757 kfree(iocq); in aoecmd_exit()