Home
last modified time | relevance | path

Searched refs:gran (Results 1 – 8 of 8) sorted by relevance

/xen/xen/include/asm-arm/
A Dlpae.h172 #define lpae_entries(gran) (_AC(1,U) << LPAE_SHIFT_##gran) argument
173 #define lpae_entry_mask(gran) (lpae_entries(gran) - 1) argument
175 #define third_shift(gran) (PAGE_SHIFT_##gran) argument
176 #define third_size(gran) ((paddr_t)1 << third_shift(gran)) argument
178 #define second_shift(gran) (third_shift(gran) + LPAE_SHIFT_##gran) argument
179 #define second_size(gran) ((paddr_t)1 << second_shift(gran)) argument
181 #define first_shift(gran) (second_shift(gran) + LPAE_SHIFT_##gran) argument
182 #define first_size(gran) ((paddr_t)1 << first_shift(gran)) argument
185 #define zeroeth_shift(gran) (first_shift(gran) + LPAE_SHIFT_##gran) argument
186 #define zeroeth_size(gran) ((paddr_t)1 << zeroeth_shift(gran)) argument
[all …]
/xen/xen/arch/arm/
A Dguest_walk.c366 unsigned int level, gran; in guest_walk_ld() local
374 #define OFFSETS(gva, gran) \ in guest_walk_ld() argument
376 zeroeth_table_offset_##gran(gva), \ in guest_walk_ld()
377 first_table_offset_##gran(gva), \ in guest_walk_ld()
378 second_table_offset_##gran(gva), \ in guest_walk_ld()
379 third_table_offset_##gran(gva) \ in guest_walk_ld()
390 #define MASKS(gran) \ in guest_walk_ld() argument
392 zeroeth_size(gran) - 1, \ in guest_walk_ld()
393 first_size(gran) - 1, \ in guest_walk_ld()
450 gran = GRANULE_SIZE_INDEX_4K; in guest_walk_ld()
[all …]
/xen/xen/include/xen/
A Dpage-defs.h5 #define PAGE_SIZE_GRAN(gran) ((paddr_t)1 << PAGE_SHIFT_##gran) argument
6 #define PAGE_MASK_GRAN(gran) (-PAGE_SIZE_GRAN(gran)) argument
7 #define PAGE_ALIGN_GRAN(gran, addr) ((addr + ~PAGE_MASK_##gran) & PAGE_MASK_##gran) argument
/xen/xen/common/sched/
A Dcpupool.c69 name, gran, gran == 1 ? "" : "s"); in sched_gran_print()
94 unsigned int siblings, gran = 0; in cpupool_check_granularity() local
103 if ( gran == 0 ) in cpupool_check_granularity()
104 gran = siblings; in cpupool_check_granularity()
105 else if ( gran != siblings ) in cpupool_check_granularity()
111 return gran; in cpupool_check_granularity()
117 unsigned int gran = 0; in cpupool_gran_init() local
120 while ( gran == 0 ) in cpupool_gran_init()
124 if ( gran == 0 ) in cpupool_gran_init()
148 sched_granularity = gran; in cpupool_gran_init()
[all …]
A Dcore.c481 unsigned int gran = cpupool_get_granularity(d->cpupool); in sched_alloc_unit() local
484 if ( unit->unit_id / gran == v->vcpu_id / gran ) in sched_alloc_unit()
626 unsigned int gran = cpupool_get_granularity(c); in sched_move_domain() local
644 unit_priv = xzalloc_array(void *, DIV_ROUND_UP(d->max_vcpus, gran)); in sched_move_domain()
2421 unsigned int gran = sr->granularity; in sched_wait_rendezvous_in() local
2426 atomic_set(&next->rendezvous_out_cnt, gran + 1); in sched_wait_rendezvous_in()
2583 unsigned int gran; in schedule() local
2594 gran = sr->granularity; in schedule()
2614 if ( gran > 1 ) in schedule()
2618 prev->rendezvous_in_cnt = gran; in schedule()
[all …]
A Dprivate.h516 enum sched_gran gran; member
A Dcredit2.c1000 if ( rqd->refcnt < max_cpus_runq && (ops->cpupool->gran != SCHED_GRAN_cpu || in cpu_add_to_runqueue()
/xen/docs/misc/
A Dxen-command-line.pandoc1907 ### sched-gran (x86)
1910 > Default: `sched-gran=cpu`

Completed in 25 milliseconds