/xen/xen/include/ |
A D | xlat.lst | 4 ? dom0_vga_console_info xen.h 5 ? xenctl_bitmap xen.h 6 ? mmu_update xen.h 7 ! mmuext_op xen.h 8 ! start_info xen.h 9 ? vcpu_time_info xen.h 33 ? argo_addr argo.h 34 ! argo_iov argo.h 36 ? argo_ring argo.h 134 ? pmu_data pmu.h [all …]
|
A D | Makefile | 6 compat/argo.h \ 7 compat/callback.h \ 8 compat/elfnote.h \ 12 compat/hypfs.h \ 13 compat/kexec.h \ 15 compat/nmi.h \ 18 compat/sched.h \ 20 compat/vcpu.h \ 22 compat/xen.h \ 31 headers-y += compat/arch-$(compat-arch-y).h compat/pmu.h compat/xlat.h [all …]
|
/xen/tools/xentrace/ |
A D | mread.c | 13 mread_handle_t h; in mread_init() local 17 if (!h) in mread_init() 25 h->fd = fd; in mread_init() 30 return h; in mread_init() 71 if ( h->map[h->last].buffer in mread64() 98 if(h->map[h->clock].buffer == NULL) in mread64() 103 if(!h->map[h->clock].accessed) in mread64() 108 h->map[h->clock].accessed=0; in mread64() 110 if(h->map[h->clock].buffer) in mread64() 125 if ( h->map[h->clock].buffer == MAP_FAILED ) in mread64() [all …]
|
A D | xenalyze.c | 2967 if(h->exit_reason < h->exit_reason_max) in __hvm_set_summary_handler() 3495 h->v->d->did, h->v->vid, in hvm_vlapic_icr_handler() 3526 h->v->d->did, h->v->vid, in hvm_vlapic_icr_handler() 3554 h->v->d->did, h->v->vid); in hvm_vlapic_eoi_handler() 4143 if(h->exit_reason < h->exit_reason_max) in hvm_cr_write_postprocess() 4438 h->v->d->did, h->v->vid, in hvm_intr_process() 4587 h->v->d->did, h->v->vid, in hvm_rdtsc_process() 5125 if(h->v->cr3.data && h->entry_tsc) { in hvm_vmexit_process() 5174 (h->post_process)(h); in hvm_close_vmexit() 5226 h->v->d->did, h->v->vid); in hvm_vmentry_process() [all …]
|
/xen/xen/arch/x86/hvm/ |
A D | hpet.c | 56 #define timer_config(h, n) (h->hpet.timers[n].config) argument 69 ((1u << timer_int_route(h, n)) & timer_int_route_cap(h, n)) 90 if ( hpet_enabled(h) && timer_is_periodic(h, tn) ) in hpet_get_comparator() 193 val = hpet_read64(h, addr, guest_time_hpet(h)); in hpet_read() 254 (timer_level(h, tn) && test_bit(tn, &h->hpet.isr)) ) in hpet_set_timer() 317 create_periodic_time(vhpet_vcpu(h), &h->pt[tn], in hpet_set_timer() 393 h->mc_offset = h->hpet.mc64 - guest_time; in hpet_write() 407 h->hpet.mc64 = h->mc_offset + guest_time; in hpet_write() 528 if ( hpet_enabled(h) && timer_enabled(h, tn) ) in hpet_write() 664 rec = (struct hvm_hw_hpet *)&h->data[h->cur]; in hpet_load() [all …]
|
A D | save.c | 284 ASSERT(h->cur <= h->size); in hvm_save() 312 if ( h->size - h->cur < sizeof(struct hvm_save_descriptor) ) in hvm_load() 322 desc = (struct hvm_save_descriptor *)(&h->data[h->cur]); in hvm_load() 353 = (struct hvm_save_descriptor *)&h->data[h->cur]; in _hvm_init_entry() 355 if ( h->size - h->cur < len + sizeof (*d) ) in _hvm_init_entry() 374 memcpy(&h->data[h->cur], src, src_len); in _hvm_write_entry() 382 = (struct hvm_save_descriptor *)&h->data[h->cur]; in _hvm_check_entry() 384 if ( sizeof(*d) > h->size - h->cur) in _hvm_check_entry() 394 (d->length > (h->size - h->cur - sizeof(*d))) ) in _hvm_check_entry() 400 d->typecode, d->length, h->size - h->cur - sizeof(*d)); in _hvm_check_entry() [all …]
|
/xen/tools/xenstore/ |
A D | hashtable.c | 46 if (NULL == h) in create_hashtable() 58 return h; in create_hashtable() 61 free(h); in create_hashtable() 116 memset(newtable[h->tablelength], 0, newsize - h->tablelength); in hashtable_expand() 153 if (++(h->entrycount) > h->loadlimit) in hashtable_insert() 163 e->h = hash(h,k); in hashtable_insert() 164 index = indexFor(h->tablelength,e->h); in hashtable_insert() 184 if ((hashvalue == e->h) && (h->eqfn(k, e->k))) return e->v; in hashtable_search() 203 index = indexFor(h->tablelength,hash(h,k)); in hashtable_remove() 209 if ((hashvalue == e->h) && (h->eqfn(k, e->k))) in hashtable_remove() [all …]
|
A D | xs.c | 121 #define read_thread_exists(h) (h->read_thr_exists) argument 233 struct xs_handle *h = CONTAINER_OF(ah, *h, tc_ah); in all_restrict_cb() local 243 h = malloc(sizeof(*h)); in get_handle() 247 memset(h, 0, sizeof(*h)); in get_handle() 248 h->fd = -1; in get_handle() 268 h->watch_pipe[0] = h->watch_pipe[1] = -1; in get_handle() 282 return h; in get_handle() 287 if (h) { in get_handle() 292 free(h); in get_handle() 354 free(h); in close_fds_free() [all …]
|
A D | hashtable.h | 99 hashtable_insert(struct hashtable *h, void *k, void *v); 102 int fnname (struct hashtable *h, keytype *k, valuetype *v) \ 104 return hashtable_insert(h,k,v); \ 117 hashtable_search(struct hashtable *h, void *k); 120 valuetype * fnname (struct hashtable *h, keytype *k) \ 122 return (valuetype *) (hashtable_search(h,k)); \ 135 hashtable_remove(struct hashtable *h, void *k); 138 valuetype * fnname (struct hashtable *h, keytype *k) \ 140 return (valuetype *) (hashtable_remove(h,k)); \ 152 hashtable_count(struct hashtable *h); [all …]
|
/xen/xen/xsm/flask/ss/ |
A D | hashtab.c | 42 if ( !h || h->nel == HASHTAB_MAX_NODES ) in hashtab_insert() 45 hvalue = h->hash_value(h, key); in hashtab_insert() 48 while ( cur && h->keycmp(h, key, cur->key) > 0 ) in hashtab_insert() 54 if ( cur && (h->keycmp(h, key, cur->key) == 0) ) in hashtab_insert() 73 h->nel++; in hashtab_insert() 82 if ( !h ) in hashtab_search() 85 hvalue = h->hash_value(h, key); in hashtab_search() 87 while ( cur != NULL && h->keycmp(h, key, cur->key) > 0 ) in hashtab_search() 101 if ( !h ) in hashtab_destroy() 119 xfree(h); in hashtab_destroy() [all …]
|
A D | avtab.c | 58 h->nel++; in avtab_insert_node() 69 if ( !h || !h->htable ) in avtab_insert() 110 if ( !h || !h->htable ) in avtab_insert_nonunique() 142 if ( !h || !h->htable ) in avtab_search() 177 if ( !h || !h->htable ) in avtab_search_node() 237 if ( !h || !h->htable ) in avtab_destroy() 253 h->nslot = 0; in avtab_destroy() 254 h->mask = 0; in avtab_destroy() 260 h->nel = 0; in avtab_init() 294 h->nel = 0; in avtab_alloc() [all …]
|
A D | hashtab.h | 25 u32 (*hash_value)(struct hashtab *h, const void *key); 27 int (*keycmp)(struct hashtab *h, const void *key1, const void *key2); 42 struct hashtab *hashtab_create(u32 (*hash_value)(struct hashtab *h, 44 int (*keycmp)(struct hashtab *h, const void *key1, 55 int hashtab_insert(struct hashtab *h, void *k, void *d); 63 void *hashtab_search(struct hashtab *h, const void *k); 68 void hashtab_destroy(struct hashtab *h); 81 int hashtab_map(struct hashtab *h, 85 void hashtab_stat(struct hashtab *h, struct hashtab_info *info);
|
/xen/tools/xenstore/include/ |
A D | xenstore.h | 108 char **xs_directory(struct xs_handle *h, xs_transaction_t t, 116 void *xs_read(struct xs_handle *h, xs_transaction_t t, 122 bool xs_write(struct xs_handle *h, xs_transaction_t t, 128 bool xs_mkdir(struct xs_handle *h, xs_transaction_t t, 134 bool xs_rm(struct xs_handle *h, xs_transaction_t t, 140 bool xs_restrict(struct xs_handle *h, unsigned domid); 187 int xs_fileno(struct xs_handle *h); 203 char **xs_check_watch(struct xs_handle *h); 221 xs_transaction_t xs_transaction_start(struct xs_handle *h); 235 bool xs_introduce_domain(struct xs_handle *h, [all …]
|
/xen/tools/include/xen-foreign/ |
A D | Makefile | 7 headers := $(patsubst %, %.h, $(architectures)) 27 arm32.h: mkheader.py structs.py $(ROOT)/arch-arm.h $(ROOT)/xen.h 28 $(PYTHON) $< $* $@.tmp $(filter %.h,$^) 34 arm64.h: mkheader.py structs.py $(ROOT)/arch-arm.h $(ROOT)/xen.h 35 $(PYTHON) $< $* $@.tmp $(filter %.h,$^) 41 x86_32.h: mkheader.py structs.py $(ROOT)/arch-x86/xen-x86_32.h $(ROOT)/arch-x86/xen.h $(ROOT)/xen.h 42 $(PYTHON) $< $* $@.tmp $(filter %.h,$^) 48 x86_64.h: mkheader.py structs.py $(ROOT)/arch-x86/xen-x86_64.h $(ROOT)/arch-x86/xen.h $(ROOT)/xen.h 49 $(PYTHON) $< $* $@.tmp $(filter %.h,$^)
|
/xen/tools/tests/vpci/ |
A D | Makefile | 13 $(TARGET): vpci.c vpci.h list.h main.c emul.h 18 rm -rf $(TARGET) *.o *~ vpci.h vpci.c list.h 30 list.h: $(XEN_ROOT)/xen/include/xen/list.h 31 vpci.h: $(XEN_ROOT)/xen/include/xen/vpci.h 32 list.h vpci.h:
|
/xen/tools/ocaml/xenstored/ |
A D | trie.ml | 64 | h :: tl when h.Node.key = key -> node :: tl 65 | h :: tl -> h :: aux tl 72 | h :: tl when h.Node.key = key -> tl 73 | h :: tl -> h :: aux tl 106 | h::t -> 107 if mem_node tree h 126 | h::t -> 127 mem_node tree h 136 | h::l -> 155 | h::t -> [all …]
|
/xen/tools/fuzz/x86_instruction_emulator/ |
A D | Makefile | 19 x86-emulate.c x86-emulate.h wrappers.c: %: 28 x86.h := $(addprefix $(XEN_ROOT)/tools/include/xen/asm/,\ 29 x86-vendors.h x86-defns.h msr-index.h) \ 31 cpuid.h cpuid-autogen.h) 32 x86_emulate.h := x86-emulate.h x86_emulate/x86_emulate.h $(x86.h) 35 x86-emulate.o x86-emulate-cov.o: x86_emulate/x86_emulate.c $(x86_emulate.h) 37 fuzz-emul.o fuzz-emulate-cov.o cpuid.o wrappers.o: $(x86_emulate.h) 54 rm -f x86_emulate x86-emulate.c x86-emulate.h
|
/xen/xen/test/livepatch/ |
A D | Makefile | 59 rm -f *.o .*.o.d *.livepatch config.h expect_config.h 65 .PHONY: config.h 77 xen_hello_world.o: config.h 129 xen_bye_world.o: config.h 135 xen_replace_world.o: config.h 141 xen_nop.o: config.h 149 xen_no_xen_buildid.o: config.h 155 xen_prepost_hooks.o: config.h 167 xen_action_hooks.o: config.h 199 .PHONY: expect_config.h [all …]
|
/xen/stubdom/vtpmmgr/ |
A D | README.source | 11 log.h 12 marshal.h 13 tcg.h 15 tpm.h 17 tpm2.h 18 tpm2_marshal.h 20 vtpm_manager.h 22 vtpmmgr.h 24 uuid.h - This file does not appear to be part of the original
|
/xen/xen/arch/x86/boot/ |
A D | Makefile | 3 DEFS_H_DEPS = defs.h $(BASEDIR)/include/xen/stdbool.h 5 CMDLINE_DEPS = $(DEFS_H_DEPS) video.h 8 $(BASEDIR)/include/generated/autoconf.h \ 9 $(BASEDIR)/include/xen/kconfig.h \ 10 $(BASEDIR)/include/xen/multiboot.h \ 11 $(BASEDIR)/include/xen/multiboot2.h \ 12 $(BASEDIR)/include/public/arch-x86/hvm/start_info.h
|
/xen/xen/include/asm-x86/hvm/ |
A D | save.h | 33 int _hvm_init_entry(struct hvm_domain_context *h, 37 void _hvm_write_entry(struct hvm_domain_context *h, 50 int _hvm_check_entry(struct hvm_domain_context *h, 54 void _hvm_read_entry(struct hvm_domain_context *h, 87 static inline unsigned int hvm_load_instance(const struct hvm_domain_context *h) in hvm_load_instance() argument 89 const struct hvm_save_descriptor *d = (const void *)&h->data[h->cur]; in hvm_load_instance() 99 hvm_domain_context_t *h); 101 hvm_domain_context_t *h); 134 int hvm_save(struct domain *d, hvm_domain_context_t *h); 137 int hvm_load(struct domain *d, hvm_domain_context_t *h);
|
/xen/tools/libacpi/ |
A D | Makefile | 28 H_SRC = $(addprefix $(ACPI_BUILD_DIR)/, ssdt_s3.h ssdt_s4.h ssdt_pm.h ssdt_tpm.h ssdt_laptop_slate.… 44 $(H_SRC): $(ACPI_BUILD_DIR)/%.h: %.asl iasl 92 build.o: ssdt_s3.h ssdt_s4.h ssdt_pm.h ssdt_tpm.h ssdt_laptop_slate.h
|
/xen/tools/include/ |
A D | Makefile | 15 XEN_PUBLIC_INCLUDES = $(wildcard $(XEN_ROOT)/xen/include/public/*.h) 16 …ES = $(filter-out %autogen.h, $(XEN_ROOT)/xen/include/xen/lib/x86/Makefile $(wildcard $(XEN_ROOT)/… 25 ln -sf $(addprefix $(XEN_ROOT)/xen/include/xen/,libelf.h elfstructs.h) xen/libelf/ 61 $(INSTALL_DATA) xen/*.h $(DESTDIR)$(includedir)/xen 62 $(INSTALL_DATA) xen/arch-x86/*.h $(DESTDIR)$(includedir)/xen/arch-x86 63 $(INSTALL_DATA) xen/arch-x86/hvm/*.h $(DESTDIR)$(includedir)/xen/arch-x86/hvm 69 $(INSTALL_DATA) xen/foreign/*.h $(DESTDIR)$(includedir)/xen/foreign 70 $(INSTALL_DATA) xen/hvm/*.h $(DESTDIR)$(includedir)/xen/hvm 71 $(INSTALL_DATA) xen/io/*.h $(DESTDIR)$(includedir)/xen/io 72 $(INSTALL_DATA) xen/sys/*.h $(DESTDIR)$(includedir)/xen/sys [all …]
|
/xen/tools/misc/ |
A D | xenwatchdogd.c | 13 xc_interface *h; variable 42 xc_watchdog(h, id, 300); in catch_exit() 49 xc_watchdog(h, id, 0); in catch_usr1() 63 h = xc_interface_open(NULL, NULL, 0); in main() 64 if (h == NULL) in main() 89 id = xc_watchdog(h, 0, t); in main() 95 ret = xc_watchdog(h, id, t); in main()
|
/xen/tools/tests/x86_emulator/ |
A D | Makefile | 188 $(addsuffix .h,$(TESTCASES)): %.h: %.c testcase.mk Makefile 207 $(addsuffix -opmask.h,$(OPMASK)): %.h: opmask.S testcase.mk Makefile 247 $(addsuffix .h,$(SIMD) $(FMA) $(SG) $(AES) $(CLMUL) $(SHA) $(GF)): simd.h 249 xop.h avx512f.h: simd-fma.c 259 rm -rf $(TARGET) $(addsuffix .h,$(TESTCASES)) $(addsuffix -opmask.h,$(OPMASK)) 269 run32: $(addsuffix .h,$(TESTCASES)) $(addsuffix -opmask.h,$(OPMASK)) 286 x86.h := $(addprefix $(XEN_ROOT)/tools/include/xen/asm/,\ 287 x86-vendors.h x86-defns.h msr-index.h) \ 289 cpuid.h cpuid-autogen.h) 290 x86_emulate.h := x86-emulate.h x86_emulate/x86_emulate.h $(x86.h) [all …]
|