Lines Matching refs:argidx
39 unsigned mcidx, argidx, cbidx; member
155 trace_xen_mc_flush(b->mcidx, b->argidx, b->cbidx); in xen_mc_flush()
166 BUG_ON(b->argidx != 0); in xen_mc_flush()
205 b->argidx = 0; in xen_mc_flush()
221 unsigned argidx = roundup(b->argidx, sizeof(u64)); in __xen_mc_entry() local
226 BUG_ON(b->argidx >= MC_ARGS); in __xen_mc_entry()
229 (argidx + args) >= MC_ARGS)) { in __xen_mc_entry()
233 argidx = roundup(b->argidx, sizeof(u64)); in __xen_mc_entry()
242 mcdb->args[b->mcidx] = (unsigned long *)(&b->args[argidx]); in __xen_mc_entry()
245 ret.args = &b->args[argidx]; in __xen_mc_entry()
246 b->argidx = argidx + args; in __xen_mc_entry()
248 BUG_ON(b->argidx >= MC_ARGS); in __xen_mc_entry()
258 BUG_ON(b->argidx >= MC_ARGS); in xen_mc_extend_args()
266 if (unlikely((b->argidx + size) >= MC_ARGS)) { in xen_mc_extend_args()
272 ret.args = &b->args[b->argidx]; in xen_mc_extend_args()
273 b->argidx += size; in xen_mc_extend_args()
275 BUG_ON(b->argidx >= MC_ARGS); in xen_mc_extend_args()