Home
last modified time | relevance | path

Searched refs:EVTCHNS_PER_BUCKET (Results 1 – 3 of 3) sorted by relevance

/xen/xen/include/xen/
A Devent.h106 ((group_from_port(d, p))[((p) % EVTCHNS_PER_GROUP) / EVTCHNS_PER_BUCKET])
146 if ( p < EVTCHNS_PER_BUCKET ) in evtchn_from_port()
147 return &d->evtchn[array_index_nospec(p, EVTCHNS_PER_BUCKET)]; in evtchn_from_port()
148 return bucket_from_port(d, p) + (p % EVTCHNS_PER_BUCKET); in evtchn_from_port()
A Dsched.h79 #define EVTCHNS_PER_BUCKET (PAGE_SIZE / next_power_of_2(sizeof(struct evtchn))) macro
80 #define EVTCHNS_PER_GROUP (BUCKETS_PER_GROUP * EVTCHNS_PER_BUCKET)
/xen/xen/common/
A Devent_channel.c154 chn = xzalloc_array(struct evtchn, EVTCHNS_PER_BUCKET); in alloc_evtchn_bucket()
158 for ( i = 0; i < EVTCHNS_PER_BUCKET; i++ ) in alloc_evtchn_bucket()
180 for ( i = 0; i < EVTCHNS_PER_BUCKET; i++ ) in free_evtchn_bucket()
223 write_atomic(&d->valid_evtchns, d->valid_evtchns + EVTCHNS_PER_BUCKET); in evtchn_allocate_port()
1440 d->valid_evtchns = EVTCHNS_PER_BUCKET; in evtchn_init()

Completed in 9 milliseconds