Lines Matching defs:in
7 * Redistribution and use in source and binary forms, with or without
12 * 2. Redistributions in binary form must reproduce the above copyright
13 * notice, this list of conditions and the following disclaimer in the
68 default_inout(struct vmctx *ctx, int vcpu, int in, int port, int bytes,
71 if (in) {
108 int addrsize, bytes, flags, in, port, prot, rep;
119 in = vmexit->u.inout.in;
133 if (in) {
146 prot = in ? PROT_WRITE : PROT_READ;
150 idxreg = in ? VM_REG_GUEST_RDI : VM_REG_GUEST_RSI;
156 /* Limit number of back-to-back in/out emulations to 16 */
184 if (!in)
187 retval = handler(ctx, vcpu, in, port, bytes, &val, arg);
191 if (in)
226 retval = handler(ctx, vcpu, in, port, bytes, &val, arg);
227 if (retval == 0 && in) {