Lines Matching refs:mcidx
39 unsigned mcidx, argidx, cbidx; member
155 trace_xen_mc_flush(b->mcidx, b->argidx, b->cbidx); in xen_mc_flush()
160 b->mcidx * sizeof(struct multicall_entry)); in xen_mc_flush()
163 switch (b->mcidx) { in xen_mc_flush()
181 if (HYPERVISOR_multicall(b->entries, b->mcidx) != 0) in xen_mc_flush()
183 for (i = 0; i < b->mcidx; i++) in xen_mc_flush()
190 ret, b->mcidx, smp_processor_id()); in xen_mc_flush()
191 for (i = 0; i < b->mcidx; i++) { in xen_mc_flush()
204 b->mcidx = 0; in xen_mc_flush()
228 if (unlikely(b->mcidx == MC_BATCH || in __xen_mc_entry()
230 trace_xen_mc_flush_reason((b->mcidx == MC_BATCH) ? in __xen_mc_entry()
236 ret.mc = &b->entries[b->mcidx]; in __xen_mc_entry()
240 mcdb->caller[b->mcidx] = __builtin_return_address(0); in __xen_mc_entry()
241 mcdb->argsz[b->mcidx] = args; in __xen_mc_entry()
242 mcdb->args[b->mcidx] = (unsigned long *)(&b->args[argidx]); in __xen_mc_entry()
244 b->mcidx++; in __xen_mc_entry()
260 if (unlikely(b->mcidx == 0 || in xen_mc_extend_args()
261 b->entries[b->mcidx - 1].op != op)) { in xen_mc_extend_args()
271 ret.mc = &b->entries[b->mcidx - 1]; in xen_mc_extend_args()