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()
74 b->mcidx * sizeof(struct multicall_entry)); in xen_mc_flush()
77 switch (b->mcidx) { 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()
104 ret, b->mcidx, smp_processor_id()); in xen_mc_flush()
105 for (i = 0; i < b->mcidx; i++) { in xen_mc_flush()
125 b->mcidx = 0; in xen_mc_flush()
149 if (unlikely(b->mcidx == MC_BATCH || in __xen_mc_entry()
151 trace_xen_mc_flush_reason((b->mcidx == MC_BATCH) ? in __xen_mc_entry()
157 ret.mc = &b->entries[b->mcidx]; in __xen_mc_entry()
159 b->caller[b->mcidx] = __builtin_return_address(0); in __xen_mc_entry()
161 b->mcidx++; in __xen_mc_entry()
177 if (unlikely(b->mcidx == 0 || in xen_mc_extend_args()
178 b->entries[b->mcidx - 1].op != op)) { in xen_mc_extend_args()
188 ret.mc = &b->entries[b->mcidx - 1]; in xen_mc_extend_args()