Home
last modified time | relevance | path

Searched refs:l1 (Results 1 – 22 of 22) sorted by relevance

/xen/xen/xsm/flask/ss/
A Dmls_types.h30 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 Dservices.c108 struct mls_level *l1, *l2; in constraint_expr_eval() local
168 l1 = &(scontext->range.level[0]); in constraint_expr_eval()
172 l1 = &(scontext->range.level[0]); in constraint_expr_eval()
176 l1 = &(scontext->range.level[1]); in constraint_expr_eval()
180 l1 = &(scontext->range.level[1]); in constraint_expr_eval()
184 l1 = &(scontext->range.level[0]); in constraint_expr_eval()
188 l1 = &(tcontext->range.level[0]); 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 Dmachine_kexec.c39 l1_pgentry_t *l1 = NULL; in machine_kexec_add_page() local
87 l1 = __map_domain_page(l1_page); in machine_kexec_add_page()
88 l1 += l1_table_offset(vaddr); in machine_kexec_add_page()
89 l1e_write(l1, l1e_from_pfn(maddr >> PAGE_SHIFT, __PAGE_HYPERVISOR)); in machine_kexec_add_page()
93 if ( l1 ) in machine_kexec_add_page()
94 unmap_domain_page(l1); in machine_kexec_add_page()
A Dmm.c2207 rc = UPDATE_ENTRY(l1, pl1e, ol1e, nl1e, gl1mfn, pt_vcpu, in mod_l1_entry()
2232 if ( unlikely(!UPDATE_ENTRY(l1, pl1e, ol1e, nl1e, gl1mfn, pt_vcpu, in mod_l1_entry()
2241 else if ( unlikely(!UPDATE_ENTRY(l1, pl1e, ol1e, nl1e, gl1mfn, pt_vcpu, in mod_l1_entry()
/xen/tools/flask/policy/policy/
A Dmls40 # | l1 role_mls_op l2
41 # | l1 role_mls_op h2
44 # | l1 role_mls_op h1
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 Dpaging.c264 unsigned long *l1; in paging_mark_pfn_dirty() local
320 l1 = map_domain_page(mfn); in paging_mark_pfn_dirty()
322 unmap_domain_page(l1); in paging_mark_pfn_dirty()
358 unsigned long *l1; in paging_mfn_is_dirty() local
392 l1 = map_domain_page(mfn); in paging_mfn_is_dirty()
394 unmap_domain_page(l1); in paging_mfn_is_dirty()
408 unsigned long *l1 = NULL; in paging_log_dirty_op() local
502 if ( l1 ) in paging_log_dirty_op()
505 clear_page(l1); in paging_log_dirty_op()
577 if ( l1 ) in paging_log_dirty_op()
[all …]
A Dp2m-pt.c312 set_recalc(l1, e); in p2m_pt_set_recalc_range()
373 if ( needs_recalc(l1, *pent) ) in do_recalc()
378 if ( !valid_recalc(l1, e) ) in do_recalc()
389 set_recalc(l1, ent); in do_recalc()
403 clear_recalc(l1, e); in do_recalc()
418 needs_recalc(l1, *pent) ) in do_recalc()
424 if ( !valid_recalc(l1, e) ) in do_recalc()
448 ASSERT(!needs_recalc(l1, e)); in do_recalc()
451 clear_recalc(l1, e); in do_recalc()
887 !needs_recalc(l1, e) ) in p2m_pt_change_entry_type_global()
[all …]
A Dguest_walk.c481 if ( set_ad_bits(&l1p[guest_l1_table_offset(va)].l1, &gw->l1e.l1, in guest_walk_tables()
/xen/xen/arch/x86/mm/shadow/
A Dtypes.h299 return (sl1e.l1 & SH_L1E_MAGIC) == SH_L1E_MAGIC; in sh_l1e_is_magic()
310 return sl1e.l1 == sh_l1e_gnp().l1; in sh_l1e_is_gnp()
332 return (sl1e.l1 & SH_L1E_MMIO_MAGIC_MASK) == SH_L1E_MMIO_MAGIC; in sh_l1e_is_mmio()
337 return _gfn(MASK_EXTR(sl1e.l1, SH_L1E_MMIO_GFN_MASK)); in sh_l1e_mmio_get_gfn()
342 return sl1e.l1 & (_PAGE_USER | _PAGE_RW); in sh_l1e_mmio_get_flags()
A Dmulti.c262 mismatch |= (gw->l1e.l1 != l1p[guest_l1_table_offset(va)].l1); in shadow_check_gwalk()
280 nl1e.l1 = l1p[guest_l1_table_offset(gw->va)].l1; in shadow_check_gl1e()
283 return gw->l1e.l1 != nl1e.l1; in shadow_check_gl1e()
700 fetch_type_names[ft], level, guest_entry.l1, sp->l1); in _sh_propagate()
764 _sh_propagate(v, gl1e.l1, gmfn, sl1e, 1, ft, p2mt); in l1e_propagate_from_guest()
1194 if ( old_sl1e.l1 == new_sl1e.l1 ) return 0; /* Nothing to do */ in shadow_set_l1e()
2556 if ( ptr_sl1e[i].l1 != 0 ) in sh_prefetch()
2749 d.write_val.l1 = this_cpu(trace_emulate_write_val); in trace_shadow_emulate()
/xen/xen/include/asm-x86/
A Dpage.h60 #define l1e_get_intpte(x) ((x).l1)
67 ((unsigned long)(((x).l1 & (PADDR_MASK&PAGE_MASK)) >> PAGE_SHIFT))
83 ((paddr_t)(((x).l1 & (PADDR_MASK&PAGE_MASK))))
98 #define l1e_get_flags(x) (get_pte_flags((x).l1))
104 #define l1e_get_pkey(x) get_pte_pkey((x).l1)
167 #define l1e_add_flags(x, flags) ((x).l1 |= put_pte_flags(flags))
173 #define l1e_remove_flags(x, flags) ((x).l1 &= ~put_pte_flags(flags))
179 #define l1e_flip_flags(x, flags) ((x).l1 ^= put_pte_flags(flags))
183 ( !!(((x).l1 ^ (y).l1) & ((PADDR_MASK&PAGE_MASK)|put_pte_flags(flags))) )
A Dguest_pt.h72 typedef struct { guest_intpte_t l1; } guest_l1e_t; member
78 { return _gfn(gl1e.l1 >> PAGE_SHIFT); } in guest_l1e_get_gfn()
83 { return gl1e.l1 & 0xfff; } in guest_l1e_get_flags()
298 return l1e.l1 & (guest_rsvd_bits(v) | GUEST_L1_PAGETABLE_RSVD); in guest_l1e_rsvd_bits()
456 gw->l1e.l1, mfn_x(gw->l1mfn)); in print_gw()
A Dshadow.h216 return pv_l1tf_check_pte(d, 1, l1e.l1); in pv_l1tf_check_l1e()
/xen/xen/arch/x86/guest/xen/
A Dxen.c183 unsigned int l1 = find_first_set_bit(pending); in xen_evtchn_upcall() local
184 unsigned long evtchn = xchg(&XEN_shared_info->evtchn_pending[l1], 0); in xen_evtchn_upcall()
186 __clear_bit(l1, &pending); in xen_evtchn_upcall()
187 evtchn &= ~XEN_shared_info->evtchn_mask[l1]; in xen_evtchn_upcall()
193 port += l1 * BITS_PER_LONG; in xen_evtchn_upcall()
/xen/xen/common/
A Dstring.c301 size_t l1, l2 = strlen(s2); variable
306 for (l1 = strlen(s1); l1 >= l2; --l1, ++s1)
/xen/xen/arch/x86/pv/
A Dgrant_table.c111 if ( UPDATE_ENTRY(l1, pl1e, ol1e, nl1e, gl1mfn, curr, 0) ) in create_grant_pv_mapping()
168 okay = UPDATE_ENTRY(l1, pl1e, ol1e, l1e_empty(), gl1mfn, curr, 0); in steal_linear_address()
296 if ( UPDATE_ENTRY(l1, pl1e, ol1e, nl1e, gl1mfn, curr, 0) ) in replace_grant_pv_mapping()
A Dro-page-fault.c192 if ( !UPDATE_ENTRY(l1, pl1e, ol1e, nl1e, mfn, v, 0) ) in ptwr_emulated_update()
/xen/tools/xenmon/
A Dxenmon.py353 [h1, l1, f1] = summarize(startat, endat, 10**9, samples)
497 if l1[1] > 1 :
501 (math.ceil(l2[1]), l2[0], l2[2], math.ceil(l1[1]), l1[0], l1[2]), _c.A_BOLD)
631 [h1,l1, f1] = summarize(startat, endat, options.interval * 10**6, samples)
/xen/tools/libfsimage/xfs/
A Dxfs.h206 xfs_uint32_t l0, l1, l2, l3; member
210 xfs_uint64_t l0, l1; member
A Dfsys_xfs.c133 return (((xfs_fsblock_t)(le32 (r->l1) & mask32lo(9))) << 43) | in xt_start()
143 (((xfs_fileoff_t)le32 (r->l1)) >> 9); in xt_offset()
/xen/xen/include/asm-x86/x86_64/
A Dpage.h90 typedef struct { intpte_t l1; } l1_pgentry_t; member
/xen/tools/ocaml/xenstored/
A Dstore.ml152 let rec compare l1 l2 =
153 match l1, l2 with
157 (* if l1 or l2 is empty, we found the equal part already *)

Completed in 47 milliseconds