Lines Matching full:bind
62 struct mutex bind_mutex; /* serialize bind/unbind operations */
386 * serialized bind operations.) in evtchn_bind_to_user()
414 /* bind failed, should close the port now */ in evtchn_bind_to_user()
442 /* Prevent bind from racing with unbind */ in evtchn_ioctl()
447 struct ioctl_evtchn_bind_virq bind; in evtchn_ioctl() local
455 if (copy_from_user(&bind, uarg, sizeof(bind))) in evtchn_ioctl()
458 bind_virq.virq = bind.virq; in evtchn_ioctl()
472 struct ioctl_evtchn_bind_interdomain bind; in evtchn_ioctl() local
476 if (copy_from_user(&bind, uarg, sizeof(bind))) in evtchn_ioctl()
481 u->restrict_domid != bind.remote_domain) in evtchn_ioctl()
484 bind_interdomain.remote_dom = bind.remote_domain; in evtchn_ioctl()
485 bind_interdomain.remote_port = bind.remote_port; in evtchn_ioctl()
498 struct ioctl_evtchn_bind_unbound_port bind; in evtchn_ioctl() local
506 if (copy_from_user(&bind, uarg, sizeof(bind))) in evtchn_ioctl()
510 alloc_unbound.remote_dom = bind.remote_domain; in evtchn_ioctl()
546 struct ioctl_evtchn_bind bind; in evtchn_ioctl() local
550 if (copy_from_user(&bind, uarg, sizeof(bind))) in evtchn_ioctl()
554 evtchn = find_evtchn(u, bind.port); in evtchn_ioctl()
558 rc = evtchn_bind_to_user(u, bind.port, true); in evtchn_ioctl()