/xen/tools/misc/ |
A D | xenhypfs.c | 88 switch (ent->type) { in xenhypfs_type() 117 struct xenhypfs_dirent *ent; in xenhypfs_ls() local 121 ent = xenhypfs_readdir(hdl, path, &n); in xenhypfs_ls() 122 if (!ent) { in xenhypfs_ls() 129 ent[i].name); in xenhypfs_ls() 131 free(ent); in xenhypfs_ls() 139 struct xenhypfs_dirent *ent; in xenhypfs_tree_sub() local 144 ent = xenhypfs_readdir(hdl, path, &n); in xenhypfs_tree_sub() 145 if (!ent) in xenhypfs_tree_sub() 153 ent[i].name) < 0) { in xenhypfs_tree_sub() [all …]
|
/xen/xen/arch/x86/hvm/ |
A D | vioapic.c | 236 ent = *pent; in vioapic_write_redirent() 241 ent.bits = (uint32_t)ent.bits | ((uint64_t)val << 32); in vioapic_write_redirent() 245 unmasked = ent.fields.mask; in vioapic_write_redirent() 247 ent.bits = ((ent.bits >> 32) << 32) | val; in vioapic_write_redirent() 253 *pent = ent; in vioapic_write_redirent() 261 else if ( !ent.fields.mask && in vioapic_write_redirent() 488 union vioapic_redir_entry *ent; in vioapic_irq_positive_edge() local 501 ent = &vioapic->redirtbl[pin]; in vioapic_irq_positive_edge() 502 if ( ent->fields.mask ) in vioapic_irq_positive_edge() 511 ent->fields.remote_irr = 1; in vioapic_irq_positive_edge() [all …]
|
A D | vmsi.c | 164 #define acc_bit(what, ent, slot, idx) \ argument 165 what##_bit((slot) * 3 + (idx), (ent)->acc_valid)
|
/xen/xen/common/ |
A D | argo.c | 1034 wildcard_pending_list_remove(ent->domain_id, ent); in pending_remove_all() 1036 xfree(ent); in pending_remove_all() 1054 xfree(ent); in pending_notify() 1088 wildcard_pending_list_remove(ent->domain_id, ent); in pending_find() 1111 if ( !ent ) in pending_queue() 1114 ent->len = len; in pending_queue() 1174 wildcard_pending_list_remove(ent->domain_id, ent); in pending_cancel() 1202 xfree(ent); in wildcard_rings_pending_remove() 1329 ent.ring.domain_id, ent.ring.aport); in fill_ring_data() 1331 ent.flags = 0; in fill_ring_data() [all …]
|
/xen/xen/include/asm-x86/hvm/vmx/ |
A D | vmcs.h | 593 const struct vmx_msr_entry *ent = vmx_find_msr(v, msr, VMX_MSR_GUEST); in vmx_read_guest_msr() local 595 if ( !ent ) in vmx_read_guest_msr() 601 *val = ent->data; in vmx_read_guest_msr() 609 const struct vmx_msr_entry *ent = in vmx_read_guest_loadonly_msr() local 612 if ( !ent ) in vmx_read_guest_loadonly_msr() 618 *val = ent->data; in vmx_read_guest_loadonly_msr() 626 struct vmx_msr_entry *ent = vmx_find_msr(v, msr, VMX_MSR_GUEST); in vmx_write_guest_msr() local 628 if ( !ent ) in vmx_write_guest_msr() 631 ent->data = val; in vmx_write_guest_msr()
|
/xen/xen/common/efi/ |
A D | runtime.c | 272 const struct efi_pci_rom *ent; in efi_get_info() local 274 for ( ent = efi_pci_roms; ent; ent = ent->next ) in efi_get_info() 275 if ( info->pci_rom.segment == ent->segment && in efi_get_info() 276 info->pci_rom.bus == ent->bus && in efi_get_info() 277 info->pci_rom.devfn == ent->devfn && in efi_get_info() 278 info->pci_rom.vendor == ent->vendor && in efi_get_info() 279 info->pci_rom.devid == ent->devid ) in efi_get_info() 281 info->pci_rom.address = __pa(ent->data); in efi_get_info() 282 info->pci_rom.size = ent->size; in efi_get_info()
|
/xen/xen/arch/x86/hvm/vmx/ |
A D | vmcs.c | 1370 struct vmx_msr_entry *start = NULL, *ent, *end; in vmx_find_msr() local 1404 return ((ent < end) && (ent->index == msr)) ? ent : NULL; in vmx_find_msr() 1478 if ( (ent < end) && (ent->index == msr) ) in vmx_add_msr() 1482 if ( total == (PAGE_SIZE / sizeof(*ent)) ) in vmx_add_msr() 1488 memmove(ent + 1, ent, sizeof(*ent) * (end - ent)); in vmx_add_msr() 1490 ent->index = msr; in vmx_add_msr() 1491 ent->mbz = 0; in vmx_add_msr() 1510 ent->data = val; in vmx_add_msr() 1522 struct vmx_msr_entry *start = NULL, *ent, *end; in vmx_del_msr() local 1556 if ( (ent == end) || (ent->index != msr) ) in vmx_del_msr() [all …]
|
/xen/tools/ocaml/xenstored/ |
A D | store.ml | 208 let ent = Node.find node name in 209 Node.replace_child node ent nnode 250 let ent = Node.find node name in 265 let ent = Node.find node name in 268 Node.replace_child node ent nent 283 let ent = Node.find node name in 317 let ent = Node.find node name in 318 Node.check_perm ent perm Perms.READ; 319 ent.Node.value 322 let ent = store.root in [all …]
|
/xen/xen/arch/x86/mm/ |
A D | p2m-pt.c | 60 #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 384 l1_pgentry_t ent = ptab[i]; in do_recalc() local 386 if ( (l1e_get_flags(ent) & _PAGE_PRESENT) && in do_recalc() 387 !needs_recalc(l1, ent) ) in do_recalc() 389 set_recalc(l1, ent); in do_recalc() 391 ent, level); in do_recalc()
|
/xen/xen/lib/x86/ |
A D | msr.c | 13 const xen_msr_entry_t ent = { .idx = idx, .val = val }; in copy_msr_to_buffer() local 18 if ( copy_to_buffer_offset(msrs, *curr_entry, &ent, 1) ) in copy_msr_to_buffer()
|
/xen/xen/drivers/passthrough/ |
A D | io.c | 954 const union vioapic_redir_entry *ent) in hvm_pirq_eoi() argument 971 (ent && ent->fields.mask) || in hvm_pirq_eoi() 981 const union vioapic_redir_entry *ent) in __hvm_dpci_eoi() argument 988 hvm_pirq_eoi(pirq, ent); in __hvm_dpci_eoi() 992 const union vioapic_redir_entry *ent) in hvm_gsi_eoi() argument 1001 hvm_pirq_eoi(pirq, ent); in hvm_gsi_eoi() 1005 const union vioapic_redir_entry *ent) in hvm_dpci_eoi() argument 1016 hvm_gsi_eoi(d, guest_gsi, ent); in hvm_dpci_eoi() 1033 __hvm_dpci_eoi(d, girq, ent); in hvm_dpci_eoi()
|
/xen/xen/arch/x86/cpu/mcheck/ |
A D | mce.c | 1107 struct intpose_ent *ent = intpose_lookup(cpu_nr, msr, NULL); in intpose_add() local 1110 if ( ent ) in intpose_add() 1112 ent->val = val; in intpose_add() 1116 for ( i = 0, ent = &intpose_arr[0]; i < INTPOSE_NENT; i++, ent++ ) in intpose_add() 1118 if ( ent->cpu_nr == -1 ) in intpose_add() 1120 ent->cpu_nr = cpu_nr; in intpose_add() 1121 ent->msr = msr; in intpose_add() 1122 ent->val = val; in intpose_add() 1132 struct intpose_ent *ent = intpose_lookup(cpu_nr, msr, NULL); in intpose_inval() local 1134 if ( !ent ) in intpose_inval() [all …]
|
/xen/stubdom/vtpmmgr/ |
A D | disk_read.c | 507 const struct disk_rb_mac_entry *ent = &root->rb_macs[j]; in load_root_post() local 515 if (be32_native(ent->id) < i) { in load_root_post() 521 if (j >= nr_disk_rbs || be32_native(ent->id) != i) { in load_root_post() 532 if (aes_cmac_verify(&ent->mac, &root->v, sizeof(root->v), &key_e)) { in load_root_post()
|
/xen/xen/include/xen/ |
A D | mm.h | 312 # define INIT_PAGE_LIST_ENTRY(ent) ((ent)->prev = (ent)->next = PAGE_LIST_NULL) argument
|
/xen/xen/include/asm-x86/hvm/ |
A D | io.h | 122 const union vioapic_redir_entry *ent);
|
/xen/xen/arch/x86/x86_64/ |
A D | entry.S | 972 .macro entrypoint ent 974 .quad \ent
|
/xen/xen/arch/x86/ |
A D | io_apic.c | 968 #define SET_DEST(ent, mode, val) do { \ argument 970 (ent).dest.dest32 = (val); \ 972 (ent).dest.mode.mode##_dest = (val); \
|
A D | mm.c | 4557 e820entry_t ent; in _handle_iomem_range() local 4561 ent.addr = (uint64_t)ctxt->s << PAGE_SHIFT; in _handle_iomem_range() 4562 ent.size = (uint64_t)(s - ctxt->s) << PAGE_SHIFT; in _handle_iomem_range() 4563 ent.type = E820_RESERVED; in _handle_iomem_range() 4564 if ( __copy_to_guest_offset(ctxt->map.buffer, ctxt->n, &ent, 1) ) in _handle_iomem_range()
|