Lines Matching refs:mcidx
40 unsigned mcidx, argidx, cbidx; member
70 trace_xen_mc_flush(b->mcidx, b->argidx, b->cbidx); in xen_mc_flush()
72 switch (b->mcidx) { in xen_mc_flush()
92 b->mcidx * sizeof(struct multicall_entry)); in xen_mc_flush()
95 if (HYPERVISOR_multicall(b->entries, b->mcidx) != 0) in xen_mc_flush()
97 for (i = 0; i < b->mcidx; i++) in xen_mc_flush()
106 for (i = 0; i < b->mcidx; i++) { in xen_mc_flush()
108 i+1, b->mcidx, in xen_mc_flush()
118 b->mcidx = 0; in xen_mc_flush()
144 if (unlikely(b->mcidx == MC_BATCH || in __xen_mc_entry()
146 trace_xen_mc_flush_reason((b->mcidx == MC_BATCH) ? in __xen_mc_entry()
152 ret.mc = &b->entries[b->mcidx]; in __xen_mc_entry()
154 b->caller[b->mcidx] = __builtin_return_address(0); in __xen_mc_entry()
156 b->mcidx++; in __xen_mc_entry()
172 if (unlikely(b->mcidx == 0 || in xen_mc_extend_args()
173 b->entries[b->mcidx - 1].op != op)) { in xen_mc_extend_args()
183 ret.mc = &b->entries[b->mcidx - 1]; in xen_mc_extend_args()