Home
last modified time | relevance | path

Searched defs:gran (Results 1 – 6 of 6) 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/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/arch/arm/
A Dguest_walk.c243 static bool get_ttbr_and_gran_64bit(uint64_t *ttbr, unsigned int *gran, in get_ttbr_and_gran_64bit()
366 unsigned int level, gran; in guest_walk_ld() local
374 #define OFFSETS(gva, gran) \ in guest_walk_ld() argument
390 #define MASKS(gran) \ in guest_walk_ld() argument
/xen/xen/common/sched/
A Dcpupool.c54 static void sched_gran_print(enum sched_gran mode, unsigned int gran) in sched_gran_print()
94 unsigned int siblings, gran = 0; in cpupool_check_granularity() local
117 unsigned int gran = 0; in cpupool_gran_init() local
A Dcore.c481 unsigned int gran = cpupool_get_granularity(d->cpupool); in sched_alloc_unit() local
626 unsigned int gran = cpupool_get_granularity(c); in sched_move_domain() local
2421 unsigned int gran = sr->granularity; in sched_wait_rendezvous_in() local
2583 unsigned int gran; in schedule() local
A Dprivate.h516 enum sched_gran gran; member

Completed in 81 milliseconds