Lines Matching refs:iocq
57 static struct iocq_ktio *iocq; variable
1193 if (list_empty(&iocq[id].head)) in ktio()
1195 pos = iocq[id].head.next; in ktio()
1198 spin_unlock_irq(&iocq[id].lock); in ktio()
1212 spin_lock_irq(&iocq[id].lock); in ktio()
1276 spin_lock_irqsave(&iocq[id].lock, flags); in ktcomplete()
1278 spin_unlock_irqrestore(&iocq[id].lock, flags); in ktcomplete()
1284 spin_lock_irqsave(&iocq[id].lock, flags); in ktcomplete()
1286 list_add_tail(&f->head, &iocq[id].head); in ktcomplete()
1287 spin_unlock_irqrestore(&iocq[id].lock, flags); in ktcomplete()
1651 spin_lock_irqsave(&iocq[id].lock, flags); in aoe_flush_iocq_by_index()
1652 list_splice_init(&iocq[id].head, &flist); in aoe_flush_iocq_by_index()
1653 spin_unlock_irqrestore(&iocq[id].lock, flags); in aoe_flush_iocq_by_index()
1687 iocq = kcalloc(ncpus, sizeof(struct iocq_ktio), GFP_KERNEL); in aoecmd_init()
1688 if (!iocq) in aoecmd_init()
1704 INIT_LIST_HEAD(&iocq[i].head); in aoecmd_init()
1705 spin_lock_init(&iocq[i].lock); in aoecmd_init()
1710 kts[i].lock = &iocq[i].lock; in aoecmd_init()
1726 kfree(iocq); in aoecmd_init()
1745 kfree(iocq); in aoecmd_exit()