Home
last modified time | relevance | path

Searched refs:num_var_ranges (Results 1 – 5 of 5) sorted by relevance

/xen/xen/arch/x86/hvm/
A Dmtrr.c126 unsigned int num_var_ranges = in hvm_vcpu_cacheattr_init() local
131 if ( num_var_ranges > MTRR_VCNT_MAX ) in hvm_vcpu_cacheattr_init()
135 v->domain->domain_id, num_var_ranges, MTRR_VCNT_MAX); in hvm_vcpu_cacheattr_init()
136 num_var_ranges = MTRR_VCNT_MAX; in hvm_vcpu_cacheattr_init()
141 m->var_ranges = xzalloc_array(struct mtrr_var_range, num_var_ranges); in hvm_vcpu_cacheattr_init()
145 m->mtrr_cap = (1u << 10) | (1u << 8) | num_var_ranges; in hvm_vcpu_cacheattr_init()
168 for ( i = 0; i < num_var_ranges; i++ ) in hvm_vcpu_cacheattr_init()
203 unsigned int seg, num_var_ranges = MASK_EXTR(m->mtrr_cap, MTRRcap_VCNT); in get_mtrr_type() local
245 for ( seg = 0; seg < num_var_ranges; seg++ ) in get_mtrr_type()
519 if ( num_var_ranges != MASK_EXTR(ms->mtrr_cap, MTRRcap_VCNT) || in mtrr_pat_not_equal()
[all …]
/xen/xen/arch/x86/cpu/mtrr/
A Dgeneric.c58 unsigned int num_var_ranges = MASK_EXTR(m->mtrr_cap, MTRRcap_VCNT); in is_var_mtrr_overlapped() local
60 for ( i = 0; i < num_var_ranges; i++ ) in is_var_mtrr_overlapped()
68 for ( seg = i + 1; seg < num_var_ranges; seg++ ) in is_var_mtrr_overlapped()
101 num_var_ranges); in get_mtrr_state()
110 for (i = 0; i < num_var_ranges; i++) in get_mtrr_state()
209 for (i = 0; i < num_var_ranges; ++i) { in print_mtrr_state()
301 max = num_var_ranges; in generic_get_free_region()
411 for (i = 0; i < num_var_ranges; i++) in set_mtrr_state()
A Dmain.c52 u32 __read_mostly num_var_ranges = 0; variable
98 num_var_ranges = MASK_EXTR(config, MTRRcap_VCNT); in set_num_var_ranges()
105 max = num_var_ranges; in init_table()
352 for (i = 0; i < num_var_ranges; ++i) { in mtrr_add_page()
492 max = num_var_ranges; in mtrr_del_page()
A Dmtrr.h44 extern unsigned int num_var_ranges;
/xen/xen/arch/x86/
A Dplatform_hypercall.c270 if ( op->u.read_memtype.reg < num_var_ranges ) in do_platform_op()

Completed in 8 milliseconds