Lines Matching refs:iocq
58 static struct iocq_ktio *iocq; variable
1201 if (list_empty(&iocq[id].head)) in ktio()
1203 pos = iocq[id].head.next; in ktio()
1206 spin_unlock_irq(&iocq[id].lock); in ktio()
1220 spin_lock_irq(&iocq[id].lock); in ktio()
1284 spin_lock_irqsave(&iocq[id].lock, flags); in ktcomplete()
1286 spin_unlock_irqrestore(&iocq[id].lock, flags); in ktcomplete()
1292 spin_lock_irqsave(&iocq[id].lock, flags); in ktcomplete()
1294 list_add_tail(&f->head, &iocq[id].head); in ktcomplete()
1295 spin_unlock_irqrestore(&iocq[id].lock, flags); in ktcomplete()
1659 spin_lock_irqsave(&iocq[id].lock, flags); in aoe_flush_iocq_by_index()
1660 list_splice_init(&iocq[id].head, &flist); in aoe_flush_iocq_by_index()
1661 spin_unlock_irqrestore(&iocq[id].lock, flags); in aoe_flush_iocq_by_index()
1695 iocq = kcalloc(ncpus, sizeof(struct iocq_ktio), GFP_KERNEL); in aoecmd_init()
1696 if (!iocq) in aoecmd_init()
1714 INIT_LIST_HEAD(&iocq[i].head); in aoecmd_init()
1715 spin_lock_init(&iocq[i].lock); in aoecmd_init()
1720 kts[i].lock = &iocq[i].lock; in aoecmd_init()
1736 kfree(iocq); in aoecmd_init()
1755 kfree(iocq); in aoecmd_exit()