26 #include <asm/xen/hypercall.h>
35 #define MC_ARGS (MC_BATCH * 16)
96 for (i = 0; i < b->
mcidx; i++)
105 for (i = 0; i < b->
mcidx; i++) {
120 for (i = 0; i < b->
cbidx; i++) {
138 trace_xen_mc_entry_alloc(
args);
145 trace_xen_mc_flush_reason((
b->mcidx ==
MC_BATCH) ?
151 ret.
mc = &
b->entries[
b->mcidx];
153 b->caller[
b->mcidx] = __builtin_return_address(0);
156 ret.
args = &
b->args[argidx];
157 b->argidx = argidx +
args;
172 b->entries[
b->mcidx - 1].op !=
op)) {
182 ret.
mc = &
b->entries[
b->mcidx - 1];
183 ret.
args = &
b->args[
b->argidx];
203 trace_xen_mc_callback(
fn, data);