Lines Matching defs:iocq
58 static struct iocq_ktio *iocq;
1187 /* Enters with iocq.lock held.
1201 if (list_empty(&iocq[id].head))
1203 pos = iocq[id].head.next;
1206 spin_unlock_irq(&iocq[id].lock);
1220 spin_lock_irq(&iocq[id].lock);
1284 spin_lock_irqsave(&iocq[id].lock, flags);
1286 spin_unlock_irqrestore(&iocq[id].lock, flags);
1292 spin_lock_irqsave(&iocq[id].lock, flags);
1294 list_add_tail(&f->head, &iocq[id].head);
1295 spin_unlock_irqrestore(&iocq[id].lock, flags);
1659 spin_lock_irqsave(&iocq[id].lock, flags);
1660 list_splice_init(&iocq[id].head, &flist);
1661 spin_unlock_irqrestore(&iocq[id].lock, flags);
1695 iocq = kcalloc(ncpus, sizeof(struct iocq_ktio), GFP_KERNEL);
1696 if (!iocq)
1714 INIT_LIST_HEAD(&iocq[i].head);
1715 spin_lock_init(&iocq[i].lock);
1720 kts[i].lock = &iocq[i].lock;
1736 kfree(iocq);
1752 /* Free up the iocq and thread speicific configuration
1755 kfree(iocq);