/xen/xen/xsm/flask/ss/ |
A D | mls_types.h | 30 static inline int mls_level_eq(struct mls_level *l1, struct mls_level *l2) in mls_level_eq() argument 35 return ((l1->sens == l2->sens) && in mls_level_eq() 36 ebitmap_cmp(&l1->cat, &l2->cat)); in mls_level_eq() 39 static inline int mls_level_dom(struct mls_level *l1, struct mls_level *l2) in mls_level_dom() argument 44 return ((l1->sens >= l2->sens) && in mls_level_dom() 45 ebitmap_contains(&l1->cat, &l2->cat)); in mls_level_dom() 48 #define mls_level_incomp(l1, l2) \ argument 49 (!mls_level_dom((l1), (l2)) && !mls_level_dom((l2), (l1))) 51 #define mls_level_between(l1, l2, l3) \ argument 52 (mls_level_dom((l1), (l2)) && mls_level_dom((l3), (l1)))
|
A D | services.c | 108 struct mls_level *l1, *l2; in constraint_expr_eval() local 169 l2 = &(tcontext->range.level[0]); in constraint_expr_eval() 173 l2 = &(tcontext->range.level[1]); in constraint_expr_eval() 177 l2 = &(tcontext->range.level[0]); in constraint_expr_eval() 181 l2 = &(tcontext->range.level[1]); in constraint_expr_eval() 185 l2 = &(scontext->range.level[1]); in constraint_expr_eval() 189 l2 = &(tcontext->range.level[1]); in constraint_expr_eval() 195 s[++sp] = mls_level_eq(l1, l2); in constraint_expr_eval() 198 s[++sp] = !mls_level_eq(l1, l2); in constraint_expr_eval() 201 s[++sp] = mls_level_dom(l1, l2); in constraint_expr_eval() [all …]
|
/xen/xen/arch/x86/ |
A D | machine_kexec.c | 38 l2_pgentry_t *l2 = NULL; in machine_kexec_add_page() local 75 l2 = __map_domain_page(l2_page); in machine_kexec_add_page() 76 l2 += l2_table_offset(vaddr); in machine_kexec_add_page() 77 if ( !(l2e_get_flags(*l2) & _PAGE_PRESENT) ) in machine_kexec_add_page() 82 l2e_write(l2, l2e_from_page(l1_page, __PAGE_HYPERVISOR)); in machine_kexec_add_page() 85 l1_page = l2e_get_page(*l2); in machine_kexec_add_page() 95 if ( l2 ) in machine_kexec_add_page() 96 unmap_domain_page(l2); in machine_kexec_add_page()
|
A D | mm.c | 1140 define_get_linear_pagetable(l2); 2287 if ( UPDATE_ENTRY(l2, pl2e, ol2e, nl2e, mfn, vcpu, preserve_ad) ) in mod_l2_entry() 2296 if ( unlikely(!UPDATE_ENTRY(l2, pl2e, ol2e, nl2e, mfn, vcpu, in mod_l2_entry() 2305 else if ( unlikely(!UPDATE_ENTRY(l2, pl2e, ol2e, nl2e, mfn, vcpu, in mod_l2_entry() 6266 void write_32bit_pse_identmap(uint32_t *l2) in write_32bit_pse_identmap() argument 6270 for ( i = 0; i < PAGE_SIZE / sizeof(*l2); i++ ) in write_32bit_pse_identmap() 6271 l2[i] = ((i << 22) | _PAGE_PRESENT | _PAGE_RW | _PAGE_USER | in write_32bit_pse_identmap()
|
A D | domain.c | 2188 PROGRESS(l2): in domain_relinquish_resources()
|
/xen/xen/arch/x86/cpu/ |
A D | intel_cacheinfo.c | 121 unsigned int trace = 0, l1i = 0, l1d = 0, l2 = 0, l3 = 0; /* Cache sizes */ in init_intel_cacheinfo() local 213 l2 += cache_table[k].size; in init_intel_cacheinfo() 239 l2 = new_l2; in init_intel_cacheinfo() 257 if (l2) in init_intel_cacheinfo() 258 printk("CPU: L2 cache: %dK\n", l2); in init_intel_cacheinfo() 264 c->x86_cache_size = l3 ? l3 : (l2 ? l2 : (l1i+l1d)); in init_intel_cacheinfo()
|
/xen/tools/flask/policy/policy/ |
A D | mls | 40 # | l1 role_mls_op l2 42 # | h1 role_mls_op l2 45 # | l2 role_mls_op h2 70 (( h1 dom h2 ) and (( l1 eq l2 ) or (t1 == mls_priv))); 74 ((l1 dom l2) or (t1 == mls_priv)); 78 ((l1 eq l2) or (t1 == mls_priv));
|
/xen/xen/arch/x86/mm/ |
A D | paging.c | 112 mfn_t *l4, *l3, *l2; in paging_free_log_dirty_bitmap() local 263 mfn_t mfn, *l4, *l3, *l2; in paging_mark_pfn_dirty() local 312 l2 = map_domain_page(mfn); in paging_mark_pfn_dirty() 313 mfn = l2[i2]; in paging_mark_pfn_dirty() 316 unmap_domain_page(l2); in paging_mark_pfn_dirty() 357 mfn_t mfn, *l4, *l3, *l2; in paging_mfn_is_dirty() local 386 l2 = map_domain_page(mfn); in paging_mfn_is_dirty() 388 unmap_domain_page(l2); in paging_mfn_is_dirty() 485 l1 = ((l2 && mfn_valid(l2[i2])) ? in paging_log_dirty_op() 509 if ( l2 ) in paging_log_dirty_op() [all …]
|
A D | guest_walk.c | 295 gw->l2e.l2 &= ~_PAGE_PSE; in guest_walk_tables() 318 gfn_t start = _gfn(unfold_pse36(gw->l2e.l2) >> PAGE_SHIFT); in guest_walk_tables() 489 if ( set_ad_bits(&l2p[guest_l2_table_offset(va)].l2, &gw->l2e.l2, in guest_walk_tables()
|
A D | p2m-pt.c | 666 entry_content.l1 = l2e_content.l2; in p2m_pt_set_entry() 833 if ( needs_recalc(l2, *l2e) ) in p2m_pt_get_entry()
|
/xen/xen/include/asm-x86/ |
A D | guest_pt.h | 73 typedef struct { guest_intpte_t l2; } guest_l2e_t; member 80 { return _gfn(gl2e.l2 >> PAGE_SHIFT); } in guest_l2e_get_gfn() 85 { return gl2e.l2 & 0xfff; } in guest_l2e_get_flags() 306 return ((l2e.l2 & (rsvd_bits | GUEST_L2_PAGETABLE_RSVD | in guest_l2e_rsvd_bits() 308 ((l2e.l2 & _PAGE_PSE) && in guest_l2e_rsvd_bits() 309 (l2e.l2 & ((GUEST_PAGING_LEVELS == 2 && guest_can_use_pse36(v->domain)) in guest_l2e_rsvd_bits() 450 gw->l2e.l2, mfn_x(gw->l2mfn)); in print_gw()
|
A D | page.h | 61 #define l2e_get_intpte(x) ((x).l2) 69 ((unsigned long)(((x).l2 & (PADDR_MASK&PAGE_MASK)) >> PAGE_SHIFT)) 85 ((paddr_t)(((x).l2 & (PADDR_MASK&PAGE_MASK)))) 99 #define l2e_get_flags(x) (get_pte_flags((x).l2)) 105 #define l2e_get_pkey(x) get_pte_pkey((x).l2) 168 #define l2e_add_flags(x, flags) ((x).l2 |= put_pte_flags(flags)) 174 #define l2e_remove_flags(x, flags) ((x).l2 &= ~put_pte_flags(flags)) 185 ( !!(((x).l2 ^ (y).l2) & ((PADDR_MASK&PAGE_MASK)|put_pte_flags(flags))) )
|
A D | shadow.h | 221 return pv_l1tf_check_pte(d, 2, l2e.l2); in pv_l1tf_check_l2e()
|
A D | mm.h | 639 void write_32bit_pse_identmap(uint32_t *l2);
|
/xen/xen/common/ |
A D | string.c | 301 size_t l1, l2 = strlen(s2); variable 303 if (!l2) 306 for (l1 = strlen(s1); l1 >= l2; --l1, ++s1) 307 if (!memcmp(s1, s2, l2))
|
/xen/tools/xenmon/ |
A D | xenmon.py | 354 [h2, l2, f2] = summarize(startat, endat, 10 * 10**9, samples) 501 (math.ceil(l2[1]), l2[0], l2[2], math.ceil(l1[1]), l1[0], l1[2]), _c.A_BOLD)
|
/xen/xen/include/asm-x86/x86_64/ |
A D | page.h | 91 typedef struct { intpte_t l2; } l2_pgentry_t; member
|
/xen/docs/features/ |
A D | intel_psr_cat_cdp.pandoc | 66 `-l2`: Show cbm for L2 cache. 82 `-l2`: Specify cbm for L2 cache. 427 root@:~$ xl psr-cat-cbm-set -l2 1 0x7f 429 root@:~$ xl psr-cat-show -l2 1
|
/xen/tools/libfsimage/xfs/ |
A D | xfs.h | 206 xfs_uint32_t l0, l1, l2, l3; member
|
A D | fsys_xfs.c | 134 (((xfs_fsblock_t)le32 (r->l2)) << 11) | in xt_start()
|
/xen/tools/ocaml/xenstored/ |
A D | store.ml | 152 let rec compare l1 l2 = 153 match l1, l2 with 157 (* if l1 or l2 is empty, we found the equal part already *)
|
/xen/xen/arch/x86/mm/shadow/ |
A D | multi.c | 255 mismatch |= (gw->l2e.l2 != l2p[guest_l2_table_offset(va)].l2); in shadow_check_gwalk() 749 _sh_propagate(v, gl2e.l2, sl1mfn, sl2e, 2, ft, p2m_ram_rw); in l2e_propagate_from_guest() 1013 if ( old_sl2e.l2 == new_sl2e.l2 ) return 0; /* Nothing to do */ in shadow_set_l2e() 2039 if ( !user_only || (sl2e->l2 & _PAGE_USER) ) in sh_unhook_32b_mappings() 2051 if ( !user_only || (sl2e->l2 & _PAGE_USER) ) in sh_unhook_pae_mappings()
|