Lines Matching refs:mcidx
39 unsigned mcidx, argidx, cbidx; member
69 trace_xen_mc_flush(b->mcidx, b->argidx, b->cbidx); in xen_mc_flush()
71 switch (b->mcidx) { in xen_mc_flush()
91 b->mcidx * sizeof(struct multicall_entry)); in xen_mc_flush()
94 if (HYPERVISOR_multicall(b->entries, b->mcidx) != 0) in xen_mc_flush()
96 for (i = 0; i < b->mcidx; i++) in xen_mc_flush()
105 for (i = 0; i < b->mcidx; i++) { in xen_mc_flush()
107 i+1, b->mcidx, in xen_mc_flush()
117 b->mcidx = 0; in xen_mc_flush()
143 if (unlikely(b->mcidx == MC_BATCH || in __xen_mc_entry()
145 trace_xen_mc_flush_reason((b->mcidx == MC_BATCH) ? in __xen_mc_entry()
151 ret.mc = &b->entries[b->mcidx]; in __xen_mc_entry()
153 b->caller[b->mcidx] = __builtin_return_address(0); in __xen_mc_entry()
155 b->mcidx++; in __xen_mc_entry()
171 if (unlikely(b->mcidx == 0 || in xen_mc_extend_args()
172 b->entries[b->mcidx - 1].op != op)) { in xen_mc_extend_args()
182 ret.mc = &b->entries[b->mcidx - 1]; in xen_mc_extend_args()