Searched refs:EVTCHNS_PER_BUCKET (Results 1 – 3 of 3) sorted by relevance
101 ((group_from_port(d, p))[((p) % EVTCHNS_PER_GROUP) / EVTCHNS_PER_BUCKET])112 if ( p < EVTCHNS_PER_BUCKET ) in evtchn_from_port()114 return bucket_from_port(d, p) + (p % EVTCHNS_PER_BUCKET); in evtchn_from_port()
75 #define EVTCHNS_PER_BUCKET (PAGE_SIZE / next_power_of_2(sizeof(struct evtchn))) macro76 #define EVTCHNS_PER_GROUP (BUCKETS_PER_GROUP * EVTCHNS_PER_BUCKET)
127 chn = xzalloc_array(struct evtchn, EVTCHNS_PER_BUCKET); in alloc_evtchn_bucket()131 for ( i = 0; i < EVTCHNS_PER_BUCKET; i++ ) in alloc_evtchn_bucket()153 for ( i = 0; i < EVTCHNS_PER_BUCKET; i++ ) in free_evtchn_bucket()188 write_atomic(&d->valid_evtchns, d->valid_evtchns + EVTCHNS_PER_BUCKET); in evtchn_allocate_port()1303 d->valid_evtchns = EVTCHNS_PER_BUCKET; in evtchn_init()
Completed in 10 milliseconds