/xen/xen/arch/x86/mm/hap/ |
A D | nested_ept.c | 144 static int ept_lvl_table_offset(unsigned long gpa, int lvl) in ept_lvl_table_offset() argument 153 int lvl; in nept_walk_tables() local 163 for (lvl = 4; lvl > 0; lvl--) in nept_walk_tables() 168 gw->lxe[lvl] = lxp[ept_lvl_table_offset(l2ga, lvl)]; in nept_walk_tables() 172 if ( nept_non_present_check(gw->lxe[lvl]) ) in nept_walk_tables() 175 if ( nept_misconfiguration_check(gw->lxe[lvl], lvl) ) in nept_walk_tables() 178 if ( (lvl == 2 || lvl == 3) && gw->lxe[lvl].sp ) in nept_walk_tables() 183 gfn_t start = _gfn(gw->lxe[lvl].mfn); in nept_walk_tables() 187 gflags = (gw->lxe[lvl].epte & EPTE_FLAG_MASK) | in nept_walk_tables() 192 if ( lvl > 1 ) in nept_walk_tables() [all …]
|
/xen/tools/xl/ |
A D | xl_psr.c | 359 switch (lvl) { in psr_print_one_domain_val() 430 if (lvl == 3) { in psr_print_socket() 465 unsigned int lvl) in psr_val_show() argument 473 if (lvl != 2 && lvl != 3) { in psr_val_show() 480 if (lvl) { in psr_val_show() 647 unsigned int lvl = 3; in main_psr_cat_cbm_set() local 681 lvl = atoi(optarg); in main_psr_cat_cbm_set() 685 if (lvl == 2) in main_psr_cat_cbm_set() 687 else if (lvl == 3) { in main_psr_cat_cbm_set() 725 unsigned int lvl = 3; in main_psr_cat_show() local [all …]
|
/xen/xen/include/xen/ |
A D | lib.h | 129 #define gprintk(lvl, fmt, args...) \ argument 130 printk(XENLOG_GUEST lvl "%pv " fmt, current, ## args) 136 dprintk(const char *lvl, const char *fmt, ...) {} in dprintk() argument 140 gdprintk(const char *lvl, const char *fmt, ...) {} in gdprintk() argument 144 #define dprintk(lvl, fmt, args...) \ argument 145 printk(lvl "%s:%d: " fmt, __FILE__, __LINE__, ## args) 146 #define gdprintk(lvl, fmt, args...) \ argument 147 printk(XENLOG_GUEST lvl "%s:%d:%pv " fmt, \
|
A D | init.h | 18 #define __init_call(lvl) __used_section(".initcall" lvl ".init") argument
|
/xen/tools/libxl/ |
A D | libxl_psr.c | 342 libxl_psr_feat_type type, unsigned int lvl) in libxl__feat_type_to_libxc_feat_type() argument 348 assert(lvl == 3 || lvl == 2); in libxl__feat_type_to_libxc_feat_type() 350 if (lvl == 3) in libxl__feat_type_to_libxc_feat_type() 352 if (lvl == 2) in libxl__feat_type_to_libxc_feat_type() 379 unsigned int *nr, unsigned int lvl) in libxl_psr_cat_get_info() argument 387 rc = libxl_psr_get_hw_info(ctx, LIBXL_PSR_FEAT_TYPE_CAT, lvl, nr, &hw_info); in libxl_psr_cat_get_info() 496 unsigned int lvl, unsigned int *nr, in libxl_psr_get_hw_info() argument 509 xc_type = libxl__feat_type_to_libxc_feat_type(type, lvl); in libxl_psr_get_hw_info()
|
A D | libxl.h | 2639 unsigned int *nr, unsigned int lvl); 2666 unsigned int lvl, unsigned int *nr,
|
/xen/xen/arch/x86/mm/ |
A D | mm-locks.h | 77 int lvl = _lock_level(d, l); in _check_lock_level() local 79 if ( unlikely(_get_lock_level() > lvl) ) in _check_lock_level() 81 printk("mm locking order violation: %i > %i\n", _get_lock_level(), lvl); in _check_lock_level()
|
/xen/tools/libxc/ |
A D | xc_dom_x86.c | 409 struct xc_dom_x86_mapping_lvl *lvl; in setup_pgtables_pv() local 428 lvl = (l > 0) ? map2->lvls + l - 1 : &map2->area; in setup_pgtables_pv() 429 if ( l > 0 && lvl->pgtables == 0 ) in setup_pgtables_pv() 431 if ( lvl->from >= to || lvl->to <= from ) in setup_pgtables_pv() 433 p_s = (max(from, lvl->from) - from) >> in setup_pgtables_pv() 435 p_e = (min(to, lvl->to) - from) >> in setup_pgtables_pv() 437 pfn = ((max(from, lvl->from) - lvl->from) >> in setup_pgtables_pv() 438 (PAGE_SHIFT_X86 + l * PGTBL_LEVEL_SHIFT_X86)) + lvl->pfn; in setup_pgtables_pv() 554 unsigned lvl; in alloc_p2m_list_x86_64() local 565 for ( lvl = 0; lvl < 4; lvl++ ) in alloc_p2m_list_x86_64() [all …]
|
/xen/xen/drivers/char/ |
A D | console.c | 265 static char *loglvl_str(int lvl) in loglvl_str() argument 267 switch ( lvl ) in loglvl_str()
|
/xen/xen/drivers/passthrough/arm/ |
A D | ipmmu-vmsa.c | 58 #define dev_print(dev, lvl, fmt, ...) \ argument 59 printk(lvl "ipmmu: %s: " fmt, dev_name(dev), ## __VA_ARGS__)
|
A D | smmu.c | 133 #define dev_print(dev, lvl, fmt, ...) \ argument 134 printk(lvl "smmu: %s: " fmt, dt_node_full_name(dev_to_dt(dev)), ## __VA_ARGS__)
|