Lines Matching defs:rc
107 int rc;
123 rc = -EFBIG;
137 rc = wait_event_interruptible(u->evtchn_wait,
139 if (rc)
140 return rc;
161 rc = -EFAULT;
169 rc = bytes1 + bytes2;
173 return rc;
179 int rc, i;
189 rc = 0;
196 rc = -EFAULT;
206 rc = count;
210 return rc;
215 int rc = 0;
228 rc = bind_evtchn_to_irqhandler(port, evtchn_interrupt, IRQF_DISABLED,
230 if (rc >= 0)
231 rc = 0;
233 return rc;
251 int rc;
263 rc = -EFAULT;
269 rc = HYPERVISOR_event_channel_op(EVTCHNOP_bind_virq,
271 if (rc != 0)
274 rc = evtchn_bind_to_user(u, bind_virq.port);
275 if (rc == 0)
276 rc = bind_virq.port;
284 rc = -EFAULT;
290 rc = HYPERVISOR_event_channel_op(EVTCHNOP_bind_interdomain,
292 if (rc != 0)
295 rc = evtchn_bind_to_user(u, bind_interdomain.local_port);
296 if (rc == 0)
297 rc = bind_interdomain.local_port;
305 rc = -EFAULT;
311 rc = HYPERVISOR_event_channel_op(EVTCHNOP_alloc_unbound,
313 if (rc != 0)
316 rc = evtchn_bind_to_user(u, alloc_unbound.port);
317 if (rc == 0)
318 rc = alloc_unbound.port;
325 rc = -EFAULT;
329 rc = -EINVAL;
335 rc = -ENOTCONN;
345 rc = 0;
352 rc = -EFAULT;
357 rc = -EINVAL;
359 rc = -ENOTCONN;
362 rc = 0;
374 rc = 0;
379 rc = -ENOSYS;
384 return rc;