Searched refs:chn (Results 1 – 10 of 10) sorted by relevance
/xen/xen/common/ |
A D | event_channel.c | 151 struct evtchn *chn; in alloc_evtchn_bucket() local 155 if ( !chn ) in alloc_evtchn_bucket() 164 xfree(chn); in alloc_evtchn_bucket() 170 return chn; in alloc_evtchn_bucket() 195 if ( chn->state != ECS_FREE || evtchn_is_busy(d, chn) ) in evtchn_allocate_port() 212 if ( !chn ) in evtchn_allocate_port() 281 struct evtchn *chn; in evtchn_alloc_unbound() local 846 evtchn_port_set_pending(d, chn->notify_vcpu_id, chn); in send_guest_global_virq() 874 evtchn_port_set_pending(d, chn->notify_vcpu_id, chn); in send_guest_pirq() 1051 unlink_pirq_port(chn, d->vcpu[chn->notify_vcpu_id]); in evtchn_bind_vcpu() [all …]
|
/xen/xen/include/asm-x86/ |
A D | event.h | 52 # define arch_evtchn_is_special(chn) \ argument 53 (pv_shim && (chn)->port && (chn)->state == ECS_RESERVED)
|
/xen/xen/include/xsm/ |
A D | xsm.h | 61 void (*evtchn_close_post) (struct evtchn *chn); 62 int (*evtchn_send) (struct domain *d, struct evtchn *chn); 75 int (*alloc_security_evtchn) (struct evtchn *chn); 76 void (*free_security_evtchn) (struct evtchn *chn); 248 return xsm_ops->evtchn_unbound(d1, chn, id2); in xsm_evtchn_unbound() 259 xsm_ops->evtchn_close_post(chn); in xsm_evtchn_close_post() 264 return xsm_ops->evtchn_send(d, chn); in xsm_evtchn_send() 269 return xsm_ops->evtchn_status(d, chn); in xsm_evtchn_status() 320 return xsm_ops->alloc_security_evtchn(chn); in xsm_alloc_security_evtchn() 325 (void)xsm_ops->free_security_evtchn(chn); in xsm_free_security_evtchn() [all …]
|
A D | dummy.h | 275 static XSM_INLINE int xsm_evtchn_unbound(XSM_DEFAULT_ARG struct domain *d, struct evtchn *chn, in xsm_evtchn_unbound() argument 289 static XSM_INLINE void xsm_evtchn_close_post(struct evtchn *chn) in xsm_evtchn_close_post() argument 294 static XSM_INLINE int xsm_evtchn_send(XSM_DEFAULT_ARG struct domain *d, struct evtchn *chn) in xsm_evtchn_send() argument 300 static XSM_INLINE int xsm_evtchn_status(XSM_DEFAULT_ARG struct domain *d, struct evtchn *chn) in xsm_evtchn_status() argument 312 static XSM_INLINE int xsm_alloc_security_evtchn(struct evtchn *chn) in xsm_alloc_security_evtchn() argument 317 static XSM_INLINE void xsm_free_security_evtchn(struct evtchn *chn) in xsm_free_security_evtchn() argument 322 static XSM_INLINE char *xsm_show_security_evtchn(struct domain *d, const struct evtchn *chn) in xsm_show_security_evtchn() argument
|
/xen/xen/xsm/flask/ |
A D | hooks.c | 58 static u32 evtchn_sid(const struct evtchn *chn) in evtchn_sid() argument 60 return chn->ssid.flask_sid; in evtchn_sid() 94 u32 esid = evtchn_sid(chn); in domain_has_evtchn() 225 chn->ssid.flask_sid = newsid; in flask_evtchn_unbound() 277 chn->ssid.flask_sid = SECINITSID_UNLABELED; in flask_evtchn_close_post() 284 switch ( chn->state ) in flask_evtchn_send() 312 chn->ssid.flask_sid = SECINITSID_UNLABELED; in flask_alloc_security_evtchn() 319 if ( !chn ) in flask_free_security_evtchn() 322 chn->ssid.flask_sid = SECINITSID_UNLABELED; in flask_free_security_evtchn() 332 switch ( chn->state ) in flask_show_security_evtchn() [all …]
|
A D | flask_op.c | 555 struct evtchn *chn; in flask_get_peer_sid() local 563 chn = evtchn_from_port(d, arg->evtchn); in flask_get_peer_sid() 564 if ( chn->state != ECS_INTERDOMAIN ) in flask_get_peer_sid() 567 peer = chn->u.interdomain.remote_dom; in flask_get_peer_sid()
|
/xen/xen/xsm/ |
A D | silo.c | 36 static int silo_evtchn_unbound(struct domain *d1, struct evtchn *chn, in silo_evtchn_unbound() argument 47 rc = xsm_evtchn_unbound(d1, chn, id2); in silo_evtchn_unbound()
|
/xen/xen/arch/x86/pv/ |
A D | shim.c | 662 struct evtchn *chn = evtchn_from_port(guest, port); in pv_shim_inject_evtchn() local 664 if ( evtchn_read_trylock(chn) ) in pv_shim_inject_evtchn() 666 evtchn_port_set_pending(guest, chn->notify_vcpu_id, chn); in pv_shim_inject_evtchn() 667 evtchn_read_unlock(chn); in pv_shim_inject_evtchn()
|
/xen/tools/xl/ |
A D | xl_parse.c | 2162 libxl_device_channel *chn; in parse_config_data() local 2167 chn = ARRAY_EXTEND_INIT(d_config->channels, d_config->num_channels, in parse_config_data() 2187 replace_string(&chn->backend_domname, value); in parse_config_data() 2189 replace_string(&chn->name, value); in parse_config_data() 2194 chn->connection = LIBXL_CHANNEL_CONNECTION_PTY; in parse_config_data() 2196 chn->connection = LIBXL_CHANNEL_CONNECTION_SOCKET; in parse_config_data() 2211 switch (chn->connection) { in parse_config_data() 2220 chn->u.socket.path = xstrdup(path); in parse_config_data() 2227 chn->connection); in parse_config_data()
|
/xen/xen/include/xen/ |
A D | event.h | 69 void evtchn_free(struct domain *d, struct evtchn *chn);
|
Completed in 29 milliseconds