Home
last modified time | relevance | path

Searched refs:level (Results 1 – 25 of 153) sorted by relevance

1234567

/xen/xen/tools/
A Dget-fields.sh26 level=$(expr $level + 1)
29 level=$(expr $level - 1)
57 level=$(expr $level + 1)
60 level=$(expr $level - 1)
83 level=$(expr $level + 1)
86 level=$(expr $level - 1)
164 level=$(expr $level + 1) id=
167 level=$(expr $level - 1) id=
295 level=$(expr $level + 1) id=
298 level=$(expr $level - 1) id=
[all …]
/xen/xen/xsm/flask/ss/
A Dcontext.h48 dst->range.level[0].sens = src->range.level[0].sens; in mls_context_cpy()
49 rc = ebitmap_cpy(&dst->range.level[0].cat, &src->range.level[0].cat); in mls_context_cpy()
53 dst->range.level[1].sens = src->range.level[1].sens; in mls_context_cpy()
54 rc = ebitmap_cpy(&dst->range.level[1].cat, &src->range.level[1].cat); in mls_context_cpy()
71 dst->range.level[0].sens = src->range.level[0].sens; in mls_context_cpy_low()
72 rc = ebitmap_cpy(&dst->range.level[0].cat, &src->range.level[0].cat); in mls_context_cpy_low()
76 dst->range.level[1].sens = src->range.level[0].sens; in mls_context_cpy_low()
89 return ((c1->range.level[0].sens == c2->range.level[0].sens) && in mls_context_cmp()
90 ebitmap_cmp(&c1->range.level[0].cat,&c2->range.level[0].cat) && in mls_context_cmp()
91 (c1->range.level[1].sens == c2->range.level[1].sens) && in mls_context_cmp()
[all …]
A Dmls.c49 e = &context->range.level[l].cat; in mls_compute_context_len()
114 e = &context->range.level[l].cat; in mls_sid_to_context()
204 mls_level_dom(&r->level[1], &r->level[0])); in mls_range_isvalid()
286 context->range.level[l].sens = levdatum->level->sens; in mls_context_to_sid()
366 context->range.level[1].sens = context->range.level[0].sens; in mls_context_to_sid()
368 &context->range.level[0].cat); in mls_context_to_sid()
389 context->range.level[l].sens = range->level[l].sens; in mls_range_set()
391 &range->level[l].cat); in mls_range_set()
423 c->range.level[l].sens = levdatum->level->sens; in mls_convert_context()
438 ebitmap_destroy(&c->range.level[l].cat); in mls_convert_context()
[all …]
A Dmls_types.h27 struct mls_level level[2]; /* low == level[0], high == level[1] */ member
55 (mls_level_dom(&(r2).level[0], &(r1).level[0]) && \
56 mls_level_dom(&(r1).level[1], &(r2).level[1]))
/xen/tools/ocaml/libs/xentoollog/
A Dgenlevels.py23 olevels = [level[4:].capitalize() for level in levels]
33 for level in olevels:
34 s += '\t| %s\n' % level
38 for level in olevels:
39 s += '\t| %s -> "%s"\n' % (level, level)
43 for index,level in enumerate(olevels):
44 s += '\t| %s -> %d\n' % (level, index)
54 for level in olevels:
55 s += '\t| %s\n' % level
61 def gen_c(level): argument
[all …]
A Dxentoollog.mli.in18 val level_to_string : level -> string
19 val compare_level : level -> level -> int
25 level: level as above
35 vmessage : level -> int option -> string option -> string -> unit;
/xen/tools/libs/toollog/
A Dxtl_core.c36 const char *xtl_level_to_string(xentoollog_level level) { in xtl_level_to_string() argument
37 assert(level >= 0 && level < XTL_NUM_LEVELS); in xtl_level_to_string()
38 return level_strings[level]; in xtl_level_to_string()
42 xentoollog_level level, in xtl_logv() argument
48 assert(level > XTL_NONE && level < XTL_NUM_LEVELS); in xtl_logv()
49 logger->vmessage(logger,level,errnoval,context,format,al); in xtl_logv()
54 xentoollog_level level, in xtl_log() argument
61 xtl_logv(logger,level,errnoval,context,format,al); in xtl_log()
A Dxtl_logger_stdio.c47 xentoollog_level level, in stdiostream_vmessage() argument
54 if (level < lg->min_level) in stdiostream_vmessage()
77 fprintf(lg->f, "%s: ", xtl_level_to_string(level)); in stdiostream_vmessage()
89 xentoollog_level level, in stdiostream_message() argument
95 stdiostream_vmessage(logger_in, level, -1, context, format, al); in stdiostream_message()
/xen/xen/arch/arm/
A Dp2m.c325 ASSERT(level < 3); in p2m_next_level()
379 for ( level = P2M_ROOT_LEVEL; level < 3; level++ ) in p2m_get_entry()
400 for ( level = P2M_ROOT_LEVEL; level < 3; level++ ) in p2m_get_entry()
402 rc = p2m_next_level(p2m, true, level, &table, offsets[level]); in p2m_get_entry()
759 if ( level == 3 ) in p2m_free_entry()
901 for ( level = P2M_ROOT_LEVEL; level < target; level++ ) in __p2m_set_entry()
908 level, &table, offsets[level]); in __p2m_set_entry()
963 for ( ; level < target; level++ ) in __p2m_set_entry()
965 rc = p2m_next_level(p2m, true, level, &table, offsets[level]); in __p2m_set_entry()
1209 for ( level = P2M_ROOT_LEVEL; level <= 3; level++ ) in p2m_resolve_translation_fault()
[all …]
A Dguest_walk.c366 unsigned int level, gran; in guest_walk_ld() local
496 level = 4 - DIV_ROUND_UP((input_size - grainsizes[gran]), (grainsizes[gran] - 3)); in guest_walk_ld()
515 for ( ; ; level++ ) in guest_walk_ld()
521 paddr |= offsets[gran][level] << 3; in guest_walk_ld()
549 if ( level == 3 || !lpae_is_valid(pte) || lpae_is_superpage(pte, level) ) in guest_walk_ld()
569 if ( !lpae_is_valid(pte) || !lpae_is_mapping(pte, level) ) in guest_walk_ld()
574 *ipa = (pfn_to_paddr(pte.walk.base) & mask) | (gva & masks[gran][level]); in guest_walk_ld()
/xen/tools/ocaml/test/
A Dxtl.ml4 let stdio_vmessage min_level level errno ctx msg =
5 let level_str = level_to_string level
8 if compare min_level level <= 0 then begin
18 let create_stdio_logger ?(level=Info) () =
20 vmessage = stdio_vmessage level;
24 let do_test level =
25 let lgr = create_stdio_logger ~level:level () in
/xen/tools/ocaml/xenstored/
A Dlogging.ml38 let level = match level with
44 Printf.sprintf "[%s%s%s] " date level key
58 write: ?level:level -> string -> unit }
101 let write ?level:_ s =
145 let write ?level s =
146 let level = match level with
154 Syslog.log facility level s in
191 let level' = string_of_level level in
192 let prefix = prefix !xenstored_log_destination ~level:level' ~key date in
299 logger.write ~level msg)
[all …]
A Dsyslog_stubs.c35 value stub_syslog(value facility, value level, value msg) in stub_syslog() argument
37 CAMLparam3(facility, level, msg); in stub_syslog()
40 | __syslog_level_table[Int_val(level)]; in stub_syslog()
/xen/xen/drivers/passthrough/amd/
A Diommu_map.c191 unsigned int level; in iommu_pde_from_dfn() local
196 level = hd->arch.paging_mode; in iommu_pde_from_dfn()
198 BUG_ON( table == NULL || level < 1 || level > 6 ); in iommu_pde_from_dfn()
209 while ( level > 1 ) in iommu_pde_from_dfn()
211 unsigned int next_level = level - 1; in iommu_pde_from_dfn()
212 pt_mfn[level] = next_table_mfn; in iommu_pde_from_dfn()
282 level--; in iommu_pde_from_dfn()
286 pt_mfn[level] = next_table_mfn; in iommu_pde_from_dfn()
478 while ( level ) in amd_iommu_quarantine_init()
506 level--; in amd_iommu_quarantine_init()
[all …]
/xen/xen/arch/x86/mm/
A Dp2m-pt.c60 #define set_recalc(level, ent) level##e_remove_flags(ent, RECALC_FLAGS) argument
61 #define clear_recalc(level, ent) level##e_add_flags(ent, RECALC_FLAGS) argument
63 #define needs_recalc(level, ent) _needs_recalc(level##e_get_flags(ent)) argument
64 #define valid_recalc(level, ent) (!(level##e_get_flags(ent) & _PAGE_ACCESSED)) argument
105 ASSERT(!level); in p2m_type_to_flags()
180 mfn = p2m_alloc_ptp(p2m, level); in p2m_next_level()
198 switch ( level ) in p2m_next_level()
279 for ( i = 4; i-- > level; ) in p2m_pt_set_recalc_range()
341 unsigned int level = 4; in do_recalc() local
347 while ( --level ) in do_recalc()
[all …]
A Dmm-locks.h92 const char *func, int level, int rec) in _mm_lock() argument
95 _check_lock_level(d, level); in _mm_lock()
104 _set_lock_level(_lock_level(d, level)); in _mm_lock()
107 static inline void _mm_enforce_order_lock_pre(const struct domain *d, int level) in _mm_enforce_order_lock_pre() argument
109 _check_lock_level(d, level); in _mm_enforce_order_lock_pre()
125 _set_lock_level(_lock_level(d, level)); in _mm_enforce_order_lock_post()
143 const char *func, int level) in _mm_write_lock() argument
147 _check_lock_level(d, level); in _mm_write_lock()
152 _set_lock_level(_lock_level(d, level)); in _mm_write_lock()
168 int level) in _mm_read_lock() argument
[all …]
A Dp2m-ept.c51 int level) in atomic_write_ept_entry() argument
240 if ( level > 1 ) in ept_free_entry()
262 if ( level <= target ) in ept_split_super_page()
271 trunk = 1UL << ((level - 1) * EPT_TABLE_ORDER); in ept_split_super_page()
278 epte->sp = (level > 1); in ept_split_super_page()
284 if ( (level - 1) == target ) in ept_split_super_page()
384 if ( !level ) in ept_invalidate_emt_subtree()
502 unsigned int level = ept->wl; in resolve_misconfig() local
510 for ( ; ; --level ) in resolve_misconfig()
526 if ( level == 0 ) in resolve_misconfig()
[all …]
/xen/tools/libxc/
A Dxc_pagetab.c34 int size, level, pt_levels = 2; in xc_translate_foreign_address() local
83 for (level = pt_levels; level > 0; level--) { in xc_translate_foreign_address()
96 if ((level == 2 || (level == 3 && pt_levels == 4)) && (pte & PTE_PSE)) { in xc_translate_foreign_address()
/xen/xen/drivers/passthrough/vtd/
A Dutils.c82 static u32 get_level_index(unsigned long gmfn, int level) in get_level_index() argument
84 while ( --level ) in get_level_index()
96 u32 l_index, level; in print_vtd_entries() local
142 level = agaw_to_level(context_address_width(ctxt_entry[devfn])); in print_vtd_entries()
144 if ( level != VTD_PAGE_TABLE_LEVEL_3 && in print_vtd_entries()
145 level != VTD_PAGE_TABLE_LEVEL_4) in print_vtd_entries()
147 printk("Unsupported VTD page table level (%d)!\n", level); in print_vtd_entries()
156 printk(" l%u == NULL\n", level); in print_vtd_entries()
159 l_index = get_level_index(gmfn, level); in print_vtd_entries()
166 printk(" l%u[%03x] not present\n", level, l_index); in print_vtd_entries()
[all …]
/xen/xen/arch/x86/mm/hap/
A Dnested_ept.c57 static bool_t nept_rsv_bits_check(ept_entry_t e, uint32_t level) in nept_rsv_bits_check() argument
61 switch ( level ) in nept_rsv_bits_check()
67 rsv_bits |= ((1ull << (9 * (level - 1))) - 1) << PAGE_SHIFT; in nept_rsv_bits_check()
75 gdprintk(XENLOG_ERR,"Unsupported EPT paging level: %d\n", level); in nept_rsv_bits_check()
83 static bool_t nept_emt_bits_check(ept_entry_t e, uint32_t level) in nept_emt_bits_check() argument
85 if ( e.sp || level == 1 ) in nept_emt_bits_check()
137 static bool_t nept_misconfiguration_check(ept_entry_t e, uint32_t level) in nept_misconfiguration_check() argument
139 return nept_rsv_bits_check(e, level) || in nept_misconfiguration_check()
140 nept_emt_bits_check(e, level) || in nept_misconfiguration_check()
A DMakefile8 guest_walk_%level.o: guest_walk.c Makefile
11 guest_walk_%level.i: guest_walk.c Makefile
14 guest_walk_%level.s: guest_walk.c Makefile
/xen/xen/include/asm-arm/
A Dlpae.h141 static inline bool lpae_is_table(lpae_t pte, unsigned int level) in lpae_is_table() argument
143 return (level < 3) && pte.walk.table; in lpae_is_table()
146 static inline bool lpae_is_mapping(lpae_t pte, unsigned int level) in lpae_is_mapping() argument
148 if ( level == 3 ) in lpae_is_mapping()
154 static inline bool lpae_is_superpage(lpae_t pte, unsigned int level) in lpae_is_superpage() argument
156 return (level < 3) && lpae_is_mapping(pte, level); in lpae_is_superpage()
/xen/xen/arch/x86/cpu/mtrr/
A Dgeneric.c144 static void __init print_fixed_last(const char *level) in print_fixed_last() argument
164 const mtrr_type *types, const char *level) in print_fixed() argument
178 print_fixed_last(level); in print_fixed()
188 printk("%sMTRR default type: %s\n", level, in print_mtrr_state()
195 printk("%sMTRR fixed ranges %sabled:\n", level, in print_mtrr_state()
199 print_fixed(base, step, fr, level); in print_mtrr_state()
203 print_fixed_last(level); in print_mtrr_state()
205 printk("%sMTRR variable ranges %sabled:\n", level, in print_mtrr_state()
212 level, i, in print_mtrr_state()
218 printk("%s %u disabled\n", level, i); in print_mtrr_state()
[all …]
/xen/tools/libfsimage/ufs/
A Dfsys_ufs.c170 int level, bound, i, index; in sbmap() local
180 level = 0; in sbmap()
184 level++; in sbmap()
188 if (level >= UFS_NIADDR) /* bn too big */ in sbmap()
192 nb = INODE->ic_ib[level]; in sbmap()
209 for (i = 1; i <= level; i++) { in sbmap()
/xen/tools/hotplug/Linux/
A Dlogging.sh18 local level="$1"
20 logger -p "daemon.$level" -- "$0:" "$@" || echo "$0 $@" >&2

Completed in 33 milliseconds

1234567