Home
last modified time | relevance | path

Searched refs:entry (Results 1 – 25 of 144) sorted by relevance

123456

/xen/xen/drivers/acpi/apei/
A Dapei-base.c78 *val &= entry->mask; in __apei_exec_read_register()
114 val &= entry->mask; in __apei_exec_write_register()
121 valr &= ~(entry->mask << entry->register_region.bit_offset); in __apei_exec_write_register()
140 ctx->value = entry->value; in apei_exec_write_register_value()
161 struct acpi_whea_header *entry; in __apei_exec_run() local
176 if (entry->action != action) in __apei_exec_run()
187 rc = run(ctx, entry); in __apei_exec_run()
217 ins = entry->instruction; in apei_exec_for_each_entry()
225 rc = func(ctx, entry, data); in apei_exec_for_each_entry()
237 u8 ins = entry->instruction; in pre_map_gar_callback()
[all …]
A Dapei-internal.h12 struct acpi_whea_header *entry);
69 int __apei_exec_read_register(struct acpi_whea_header *entry, u64 *val);
70 int __apei_exec_write_register(struct acpi_whea_header *entry, u64 val);
72 struct acpi_whea_header *entry);
74 struct acpi_whea_header *entry);
76 struct acpi_whea_header *entry);
78 struct acpi_whea_header *entry);
80 struct acpi_whea_header *entry);
A Derst.c118 struct acpi_whea_header *entry) in erst_exec_load_var1() argument
124 struct acpi_whea_header *entry) in erst_exec_load_var2() argument
130 struct acpi_whea_header *entry) in erst_exec_store_var1() argument
136 struct acpi_whea_header *entry) in erst_exec_add() argument
143 struct acpi_whea_header *entry) in erst_exec_subtract() argument
164 struct acpi_whea_header *entry) in erst_exec_subtract_value() argument
178 struct acpi_whea_header *entry) in erst_exec_stall() argument
210 struct acpi_whea_header *entry) in erst_exec_skip_next_instruction_if_true() argument
227 struct acpi_whea_header *entry) in erst_exec_goto() argument
234 struct acpi_whea_header *entry) in erst_exec_set_src_address_base() argument
[all …]
/xen/xen/drivers/passthrough/amd/
A Diommu_cmd.c134 cmd[1] = entry; in invalidate_iommu_pages()
145 cmd[2] = entry; in invalidate_iommu_pages()
150 cmd[3] = entry; in invalidate_iommu_pages()
192 cmd[0] = entry; in invalidate_iotlb_pages()
207 cmd[1] = entry; in invalidate_iotlb_pages()
216 cmd[2] = entry; in invalidate_iotlb_pages()
221 cmd[3] = entry; in invalidate_iotlb_pages()
235 cmd[0] = entry; in invalidate_dev_table_entry()
240 cmd[1] = entry; in invalidate_dev_table_entry()
253 cmd[0] = entry; in invalidate_interrupt_table()
[all …]
A Diommu_init.c83 u32 entry; in register_iommu_dev_table_in_mmio_space() local
91 entry = 0; in register_iommu_dev_table_in_mmio_space()
98 entry = 0; in register_iommu_dev_table_in_mmio_space()
108 u32 entry; in register_iommu_cmd_buffer_in_mmio_space() local
116 entry = 0; in register_iommu_cmd_buffer_in_mmio_space()
123 entry = 0; in register_iommu_cmd_buffer_in_mmio_space()
136 u32 entry; in register_iommu_event_log_in_mmio_space() local
144 entry = 0; in register_iommu_event_log_in_mmio_space()
151 entry = 0; in register_iommu_event_log_in_mmio_space()
164 u32 entry; in register_iommu_ppr_log_in_mmio_space() local
[all …]
A Diommu_intr.c199 entry.ptr128->raw[1] = 0; in free_intremap_entry()
202 ACCESS_ONCE(entry.ptr32->raw) = 0; in free_intremap_entry()
226 entry.ptr128->raw[1] = irte.raw[1]; in update_intremap_entry()
263 return entry->full.dest_lo | ((unsigned int)entry->full.dest_hi << 24); in get_full_dest()
274 union irte_ptr entry; in update_intremap_entry_from_ioapic() local
310 entry.ptr32->flds.remap_en = false; in update_intremap_entry_from_ioapic()
343 dest = get_full_dest(entry.ptr128); in update_intremap_entry_from_ioapic()
469 union irte_ptr entry; in amd_iommu_read_ioapic_from_ire() local
500 val = get_full_dest(entry.ptr128); in amd_iommu_read_ioapic_from_ire()
510 union irte_ptr entry; in update_intremap_entry_from_msi_msg() local
[all …]
/xen/xen/arch/x86/
A Dmsi.c315 BUG_ON(!entry); in msi_maskable_irq()
329 BUG_ON(!entry || !entry->dev); in msi_set_mask_bit()
411 return (pci_conf_read32(entry->dev->sbdf, entry->msi.mpos) >> in msi_get_mask_bit()
497 if ( !entry ) in alloc_msi_entry()
510 return entry; in alloc_msi_entry()
578 xfree(entry); in msi_free_irq()
633 if ( !entry ) in msi_capability_init()
664 *desc = entry; in msi_capability_init()
893 if ( entry ) in msix_capability_init()
1256 pos = entry ? entry->msi_attrib.pos in pci_msi_conf_write_intercept()
[all …]
A Dio_apic.c121 entry = irq_2_pin + entry->next; in add_pin_to_irq()
130 entry = irq_2_pin + entry->next; in add_pin_to_irq()
143 for (entry = &irq_2_pin[irq]; ; entry = &irq_2_pin[entry->next]) { in remove_pin_from_irq()
149 entry->pin = entry->apic = -1; in remove_pin_from_irq()
160 entry = &irq_2_pin[entry->next]; in remove_pin_from_irq()
162 entry->pin = entry->apic = -1; in remove_pin_from_irq()
187 entry = irq_2_pin + entry->next; in replace_pin_at_irq()
432 entry = irq_2_pin + entry->next; in modify_IO_APIC_irq()
534 memset(&entry, 0, sizeof(entry)); in clear_IO_APIC_pin()
1064 memset(&entry,0,sizeof(entry)); in setup_ExtINT_IRQ0_pin()
[all …]
/xen/tools/libfsimage/fat/
A Dfat.h85 #define FAT_DIRENTRY_ATTRIB(entry) \ argument
86 (*((__u8 *) (entry+11)))
87 #define FAT_DIRENTRY_VALID(entry) \ argument
88 ( ((*((__u8 *) entry)) != 0) \
89 && ((*((__u8 *) entry)) != 0xE5) \
92 ((*((__u16 *) (entry+26)))+(*((__u16 *) (entry+20)) << 16))
93 #define FAT_DIRENTRY_FILELENGTH(entry) \ argument
94 (*((__u32 *) (entry+28)))
96 #define FAT_LONGDIR_ID(entry) \ argument
97 (*((__u8 *) (entry)))
[all …]
/xen/xen/arch/x86/hvm/
A Dvmsi.c184 struct msixtbl_entry *entry; in msixtbl_find_entry() local
189 addr < entry->gtable + entry->table_len ) in msixtbl_find_entry()
190 return entry; in msixtbl_find_entry()
201 if ( !entry || !entry->pdev ) in msixtbl_addr_to_desc()
228 if ( !entry ) in msixtbl_read()
289 if ( !entry ) in msixtbl_write()
438 entry->pdev = pdev; in add_msixtbl_entry()
450 xfree(entry); in free_msixtbl_entry()
498 entry = new_entry; in msixtbl_pt_register()
857 rc = vpci_msi_enable(pdev, entry->data, entry->addr, in vpci_msix_arch_enable_entry()
[all …]
/xen/xen/common/
A Dhypfs.c159 struct hypfs_entry *entry; in hypfs_get_entry_rel() local
189 return entry; in hypfs_get_entry_rel()
272 e.type = entry->type; in hypfs_read()
273 e.encoding = entry->encoding; in hypfs_read()
274 e.content_len = entry->size; in hypfs_read()
287 ret = entry->read(entry, uaddr); in hypfs_read()
390 if ( !entry->write ) in hypfs_write()
393 ASSERT(entry->max_size); in hypfs_write()
405 struct hypfs_entry *entry; in do_hypfs_op() local
429 entry = hypfs_get_entry(path); in do_hypfs_op()
[all …]
A Dkimage.c98 image->entry_maddr = entry; in do_kimage_alloc()
495 (entry = *ptr) && !(entry & IND_DONE); \
510 kimage_entry_t *ptr, entry; in kimage_free_all_entries() local
524 ind = entry; in kimage_free_all_entries()
551 kimage_entry_t *ptr, entry; in kimage_dst_used() local
840 return entry + 1; in kimage_entry_next()
854 return *entry & 0xf; in kimage_entry_ind()
861 kimage_entry_t *entry; in kimage_build_ind() local
873 for ( entry = page; ; ) in kimage_build_ind()
892 entry = page; in kimage_build_ind()
[all …]
/xen/xen/arch/x86/guest/xen/
A Dpvh-boot.c42 const struct hvm_modlist_entry *entry; in convert_pvh_info() local
71 entry = __va(pvh_info->modlist_paddr); in convert_pvh_info()
74 BUG_ON(entry[i].paddr >> 32); in convert_pvh_info()
75 BUG_ON(entry[i].cmdline_paddr >> 32); in convert_pvh_info()
77 pvh_mbi_mods[i].mod_start = entry[i].paddr; in convert_pvh_info()
78 pvh_mbi_mods[i].mod_end = entry[i].paddr + entry[i].size; in convert_pvh_info()
115 const struct hvm_modlist_entry *entry; in pvh_print_info() local
130 entry = __va(pvh_info->modlist_paddr); in pvh_print_info()
136 i, entry[i].cmdline_paddr); in pvh_print_info()
137 if ( entry[i].cmdline_paddr ) in pvh_print_info()
[all …]
/xen/xen/drivers/vpci/
A Dmsix.c241 entry = get_entry(msix, addr); in msix_read()
247 *data = entry->addr; in msix_read()
255 *data = entry->data; in msix_read()
326 entry->updated = true; in msix_write()
329 entry->addr = data; in msix_write()
333 entry->addr |= data; in msix_write()
337 entry->updated = true; in msix_write()
343 entry->updated = true; in msix_write()
344 entry->data = data; in msix_write()
373 if ( update_entry(entry, pdev, vmsix_entry_nr(msix, entry)) ) in msix_write()
[all …]
/xen/tools/libs/hypfs/
A Dcore.c172 switch(entry->type) { in xenhypfs_set_attrs()
195 switch (entry->encoding) { in xenhypfs_set_attrs()
227 for (sz = BUF_SIZE;; sz = sizeof(*entry) + entry->content_len) { in xenhypfs_read_raw()
236 entry = retbuf; in xenhypfs_read_raw()
251 memcpy(content, entry + 1, entry->content_len); in xenhypfs_read_raw()
393 entry = curr; in xenhypfs_readdir()
410 entry = curr; in xenhypfs_readdir()
415 curr += entry->off_next; in xenhypfs_readdir()
456 entry = buf; in xenhypfs_write()
457 if (!entry->max_write_len) { in xenhypfs_write()
[all …]
/xen/tools/xenstore/
A Dhashtable.c48 h->table = (struct entry **)calloc(size, sizeof(struct entry *)); in create_hashtable()
85 struct entry **newtable; in hashtable_expand()
86 struct entry *e; in hashtable_expand()
87 struct entry **pE; in hashtable_expand()
93 newtable = (struct entry **)calloc(newsize, sizeof(struct entry*)); in hashtable_expand()
152 struct entry *e; in hashtable_insert()
161 e = (struct entry *)calloc(1, sizeof(struct entry)); in hashtable_insert()
176 struct entry *e; in hashtable_search()
197 struct entry *e; in hashtable_remove()
198 struct entry **pE; in hashtable_remove()
[all …]
A Dlist.h154 static inline void list_del(struct list_head *entry) in list_del() argument
156 __list_del(entry->prev, entry->next); in list_del()
157 entry->next = LIST_POISON1; in list_del()
158 entry->prev = LIST_POISON2; in list_del()
172 static inline void list_del_rcu(struct list_head *entry) in list_del_rcu() argument
174 __list_del(entry->prev, entry->next); in list_del_rcu()
175 entry->prev = LIST_POISON2; in list_del_rcu()
182 static inline void list_del_init(struct list_head *entry) in list_del_init() argument
184 __list_del(entry->prev, entry->next); in list_del_init()
185 INIT_LIST_HEAD(entry); in list_del_init()
/xen/tools/libxc/
A Dxc_sr_restore_x86_hvm.c29 struct xc_sr_rec_hvm_params_entry *entry = hdr->param; in handle_hvm_params() local
44 sizeof(*hdr), hdr->count, hdr->count * sizeof(*entry), in handle_hvm_params()
59 for ( i = 0; i < hdr->count; i++, entry++ ) in handle_hvm_params()
61 switch ( entry->index ) in handle_hvm_params()
64 ctx->restore.console_gfn = entry->value; in handle_hvm_params()
65 xc_clear_domain_page(xch, ctx->domid, entry->value); in handle_hvm_params()
68 ctx->restore.xenstore_gfn = entry->value; in handle_hvm_params()
69 xc_clear_domain_page(xch, ctx->domid, entry->value); in handle_hvm_params()
73 xc_clear_domain_page(xch, ctx->domid, entry->value); in handle_hvm_params()
87 rc = xc_hvm_param_set(xch, ctx->domid, entry->index, entry->value); in handle_hvm_params()
[all …]
/xen/xen/drivers/acpi/
A Dtables.c232 struct acpi_subtable_header *entry; in acpi_get_entry() local
250 if (entry->length < sizeof(*entry)) { in acpi_get_entry()
256 if (entry->type == entry_id) { in acpi_get_entry()
258 return entry; in acpi_get_entry()
262 entry = (void *)entry + entry->length; in acpi_get_entry()
293 struct acpi_subtable_header *entry; in acpi_parse_entries() local
315 entry = (struct acpi_subtable_header *) in acpi_parse_entries()
320 if (entry->length < sizeof(*entry)) { in acpi_parse_entries()
326 if (entry->type == entry_id in acpi_parse_entries()
328 if (handler(entry, table_end)) in acpi_parse_entries()
[all …]
/xen/xen/arch/x86/mm/
A Dp2m-ept.c100 entry->r = entry->w = entry->x = 0; in ept_p2m_type_to_flags()
103 entry->r = entry->w = entry->x = 1; in ept_p2m_type_to_flags()
111 entry->d = entry->w && entry->a; in ept_p2m_type_to_flags()
114 entry->r = entry->x = 1; in ept_p2m_type_to_flags()
122 entry->r = entry->x = 1; in ept_p2m_type_to_flags()
140 entry->r = entry->x = 1; in ept_p2m_type_to_flags()
147 entry->r = entry->w = 1; in ept_p2m_type_to_flags()
153 entry->w = entry->x = 0; in ept_p2m_type_to_flags()
164 entry->r = entry->w = entry->x = 0; in ept_p2m_type_to_flags()
167 entry->w = entry->x = 0; in ept_p2m_type_to_flags()
[all …]
/xen/xen/arch/arm/
A Dcpuerrata.c85 install_bp_hardening_vec(const struct arm_cpu_capabilities *entry, in install_bp_hardening_vec() argument
100 if ( !entry->matches(entry) ) in install_bp_hardening_vec()
161 const struct arm_cpu_capabilities *entry = data; in enable_smccc_arch_workaround_1() local
168 if ( !entry->matches(entry) ) in enable_smccc_arch_workaround_1()
211 install_bp_hardening_vecs(const struct arm_cpu_capabilities *entry, in install_bp_hardening_vecs() argument
219 if ( !entry->matches(entry) ) in install_bp_hardening_vecs()
340 printk_once("%s disabled from command-line\n", entry->desc); in has_ssbd_mitigation()
356 printk_once("%s forced from command-line\n", entry->desc); in has_ssbd_mitigation()
384 is_affected_midr_range(const struct arm_cpu_capabilities *entry) in is_affected_midr_range() argument
387 entry->midr_range_min, in is_affected_midr_range()
[all …]
A Dp2m.c308 lpae_t *entry; in p2m_next_level() local
312 entry = *table + offset; in p2m_next_level()
329 mfn = lpae_get_mfn(*entry); in p2m_next_level()
357 lpae_t entry, *table; in p2m_get_entry() local
411 if ( p2m_is_valid(entry) ) in p2m_get_entry()
413 *t = entry.p2m.type; in p2m_get_entry()
780 mfn = lpae_get_mfn(entry); in p2m_free_entry()
829 pte = *entry; in p2m_split_superpage()
984 orig_pte = *entry; in __p2m_set_entry()
1183 lpae_t entry, *table; in p2m_resolve_translation_fault() local
[all …]
/xen/xen/include/xen/
A Dacpi.h48 #define BAD_MADT_ENTRY(entry, end) ( \ argument
49 (!(entry)) || (unsigned long)(entry) + sizeof(*(entry)) > (end) || \
50 (entry)->header.length < sizeof(*(entry)))
A Dvpci.h158 unsigned int entry, bool mask);
169 void vpci_msix_arch_mask_entry(struct vpci_msix_entry *entry,
171 int __must_check vpci_msix_arch_enable_entry(struct vpci_msix_entry *entry,
174 int __must_check vpci_msix_arch_disable_entry(struct vpci_msix_entry *entry,
176 void vpci_msix_arch_init_entry(struct vpci_msix_entry *entry);
208 const struct vpci_msix_entry *entry) in vmsix_entry_nr() argument
210 return entry - msix->entries; in vmsix_entry_nr()
/xen/xen/tools/kconfig/
A Dlist.h126 static inline void list_del(struct list_head *entry) in list_del() argument
128 __list_del(entry->prev, entry->next); in list_del()
129 entry->next = (struct list_head*)LIST_POISON1; in list_del()
130 entry->prev = (struct list_head*)LIST_POISON2; in list_del()

Completed in 82 milliseconds

123456