Home
last modified time | relevance | path

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

123456

/xen-4.10.0-shim-comet/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.c117 struct acpi_whea_header *entry) in erst_exec_load_var1() argument
123 struct acpi_whea_header *entry) in erst_exec_load_var2() argument
129 struct acpi_whea_header *entry) in erst_exec_store_var1() argument
135 struct acpi_whea_header *entry) in erst_exec_add() argument
142 struct acpi_whea_header *entry) in erst_exec_subtract() argument
163 struct acpi_whea_header *entry) in erst_exec_subtract_value() argument
177 struct acpi_whea_header *entry) in erst_exec_stall() argument
209 struct acpi_whea_header *entry) in erst_exec_skip_next_instruction_if_true() argument
226 struct acpi_whea_header *entry) in erst_exec_goto() argument
233 struct acpi_whea_header *entry) in erst_exec_set_src_address_base() argument
[all …]
/xen-4.10.0-shim-comet/xen/drivers/passthrough/amd/
A Diommu_init.c71 u32 entry; in set_iommu_ht_flags() local
101 u32 entry; in register_iommu_dev_table_in_mmio_space() local
109 entry = 0; in register_iommu_dev_table_in_mmio_space()
116 entry = 0; in register_iommu_dev_table_in_mmio_space()
126 u32 entry; in register_iommu_cmd_buffer_in_mmio_space() local
134 entry = 0; in register_iommu_cmd_buffer_in_mmio_space()
141 entry = 0; in register_iommu_cmd_buffer_in_mmio_space()
154 u32 entry; in register_iommu_event_log_in_mmio_space() local
162 entry = 0; in register_iommu_event_log_in_mmio_space()
169 entry = 0; in register_iommu_event_log_in_mmio_space()
[all …]
A Diommu_map.c53 u32 entry; in set_iommu_pde_present() local
90 pde[1] = entry; in set_iommu_pde_present()
102 pde[0] = entry; in set_iommu_pde_present()
129 u32 entry; in amd_iommu_set_root_page_table() local
133 dte[2] = entry; in amd_iommu_set_root_page_table()
147 dte[1] = entry; in amd_iommu_set_root_page_table()
167 u32 entry; in iommu_dte_set_iotlb() local
180 u32 entry; in amd_iommu_set_intremap_table() local
216 u32 entry; in iommu_dte_add_device_entry() local
293 entry[0], in amd_iommu_get_next_table_from_pte()
[all …]
A Diommu_cmd.c145 cmd[1] = entry; in invalidate_iommu_pages()
156 cmd[2] = entry; in invalidate_iommu_pages()
161 cmd[3] = entry; in invalidate_iommu_pages()
203 cmd[0] = entry; in invalidate_iotlb_pages()
218 cmd[1] = entry; in invalidate_iotlb_pages()
227 cmd[2] = entry; in invalidate_iotlb_pages()
232 cmd[3] = entry; in invalidate_iotlb_pages()
246 cmd[0] = entry; in invalidate_dev_table_entry()
251 cmd[1] = entry; in invalidate_dev_table_entry()
264 cmd[0] = entry; in invalidate_interrupt_table()
[all …]
A Diommu_intr.c117 memset(entry, 0, sizeof(u32)); in free_intremap_entry()
130 set_field_in_reg_u32(int_type, *entry, in update_intremap_entry()
139 set_field_in_reg_u32((u32)dest, *entry, in update_intremap_entry()
142 set_field_in_reg_u32((u32)vector, *entry, in update_intremap_entry()
166 u32* entry; in update_intremap_entry_from_ioapic() local
204 vector = get_field_from_reg_u32(*entry, in update_intremap_entry_from_ioapic()
231 u32* entry; in amd_iommu_setup_ioapic_remapping() local
414 val |= get_field_from_reg_u32(*entry, in amd_iommu_read_ioapic_from_ire()
417 val |= get_field_from_reg_u32(*entry, in amd_iommu_read_ioapic_from_ire()
430 u32* entry; in update_intremap_entry_from_msi_msg() local
[all …]
/xen-4.10.0-shim-comet/xen/arch/x86/
A Dmsi.c381 BUG_ON(!entry); in msi_maskable_irq()
395 BUG_ON(!entry || !entry->dev); in msi_set_mask_bit()
478 return (pci_conf_read32(entry->dev->seg, entry->dev->bus, in msi_get_mask_bit()
572 if ( !entry ) in alloc_msi_entry()
585 return entry; in alloc_msi_entry()
656 xfree(entry); in msi_free_irq()
712 if ( !entry ) in msi_capability_init()
950 if ( entry ) in msix_capability_init()
1287 pos = entry ? entry->msi_attrib.pos in pci_msi_conf_write_intercept()
1306 if ( entry && entry->msi_attrib.maskbit ) in pci_msi_conf_write_intercept()
[all …]
A Dio_apic.c119 entry = irq_2_pin + entry->next; in add_pin_to_irq()
128 entry = irq_2_pin + entry->next; in add_pin_to_irq()
141 for (entry = &irq_2_pin[irq]; ; entry = &irq_2_pin[entry->next]) { in remove_pin_from_irq()
147 entry->pin = entry->apic = -1; in remove_pin_from_irq()
158 entry = &irq_2_pin[entry->next]; in remove_pin_from_irq()
160 entry->pin = entry->apic = -1; in remove_pin_from_irq()
185 entry = irq_2_pin + entry->next; in replace_pin_at_irq()
428 entry = irq_2_pin + entry->next; in __modify_IO_APIC_irq()
529 memset(&entry, 0, sizeof(entry)); in clear_IO_APIC_pin()
1060 memset(&entry,0,sizeof(entry)); in setup_ExtINT_IRQ0_pin()
[all …]
/xen-4.10.0-shim-comet/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-4.10.0-shim-comet/xen/arch/x86/hvm/
A Dvmsi.c180 struct msixtbl_entry *entry; in msixtbl_find_entry() local
185 addr < entry->gtable + entry->table_len ) in msixtbl_find_entry()
186 return entry; in msixtbl_find_entry()
197 if ( !entry || !entry->pdev ) in msixtbl_addr_to_desc()
214 struct msixtbl_entry *entry; in msixtbl_read() local
224 if ( !entry ) in msixtbl_read()
283 if ( !entry ) in msixtbl_write()
424 INIT_RCU_HEAD(&entry->rcu); in add_msixtbl_entry()
428 entry->pdev = pdev; in add_msixtbl_entry()
440 xfree(entry); in free_msixtbl_entry()
[all …]
/xen-4.10.0-shim-comet/xen/arch/x86/guest/
A Dpvh-boot.c41 const struct hvm_modlist_entry *entry; in convert_pvh_info() local
62 entry = __va(pvh_info->modlist_paddr); in convert_pvh_info()
65 BUG_ON(entry[i].paddr >> 32); in convert_pvh_info()
66 BUG_ON(entry[i].cmdline_paddr >> 32); in convert_pvh_info()
68 mod[i].mod_start = entry[i].paddr; in convert_pvh_info()
69 mod[i].mod_end = entry[i].paddr + entry[i].size; in convert_pvh_info()
70 mod[i].string = entry[i].cmdline_paddr; in convert_pvh_info()
103 const struct hvm_modlist_entry *entry; in pvh_print_info() local
118 entry = __va(pvh_info->modlist_paddr); in pvh_print_info()
124 i, entry[i].cmdline_paddr); in pvh_print_info()
[all …]
/xen-4.10.0-shim-comet/tools/blktap2/control/
A Dtap-ctl-list.c43 if (entry->type) { in free_list()
44 free(entry->type); in free_list()
48 if (entry->path) { in free_list()
49 free(entry->path); in free_list()
53 free(entry); in free_list()
97 err = _parse_params(params, &entry->type, &entry->path); in init_list()
131 if (!entry) in tap_ctl_alloc_list()
136 list[i] = entry; in tap_ctl_alloc_list()
521 if (type && (!entry->type || strcmp(entry->type, type))) in tap_ctl_find()
524 if (path && (!entry->path || strcmp(entry->path, path))) in tap_ctl_find()
[all …]
A Dtap-ctl.c58 if (entry->pid != -1) in tap_ctl_list_row()
61 if (entry->minor != -1) in tap_ctl_list_row()
64 if (entry->state != -1) in tap_ctl_list_row()
69 entry->type ? : "-", entry->path ? : "-"); in tap_ctl_list_row()
77 if (entry->pid != -1) { in tap_ctl_list_dict()
82 if (entry->minor != -1) { in tap_ctl_list_dict()
87 if (entry->state != -1) { in tap_ctl_list_dict()
92 if (entry->type && entry->path) { in tap_ctl_list_dict()
94 d = printf("args=%s:%s", entry->type, entry->path); in tap_ctl_list_dict()
150 if (type && (!entry->type || strcmp(entry->type, type))) in tap_cli_list()
[all …]
/xen-4.10.0-shim-comet/xen/common/
A Dkimage.c104 image->entry_maddr = entry; in do_kimage_alloc()
501 (entry = *ptr) && !(entry & IND_DONE); \
516 kimage_entry_t *ptr, entry; in kimage_free_all_entries() local
530 ind = entry; in kimage_free_all_entries()
557 kimage_entry_t *ptr, entry; in kimage_dst_used() local
846 return entry + 1; in kimage_entry_next()
860 return *entry & 0xf; in kimage_entry_ind()
867 kimage_entry_t *entry; in kimage_build_ind() local
879 for ( entry = page; ; ) in kimage_build_ind()
898 entry = page; in kimage_build_ind()
[all …]
/xen-4.10.0-shim-comet/tools/blktap2/vhd/lib/
A Dlibvhd-journal.c252 BE32_IN(&entry->type); in vhd_journal_entry_in()
253 BE32_IN(&entry->size); in vhd_journal_entry_in()
262 BE32_OUT(&entry->type); in vhd_journal_entry_out()
263 BE32_OUT(&entry->size); in vhd_journal_entry_out()
278 entry->checksum = 0; in vhd_journal_checksum_entry()
288 entry->checksum = tmp; in vhd_journal_checksum_entry()
295 if (entry->size == 0) in vhd_journal_validate_entry()
347 checksum = vhd_journal_checksum_entry(entry, buf, entry->size); in vhd_journal_validate_entry_data()
365 entry.type = type; in vhd_journal_update()
366 entry.size = size; in vhd_journal_update()
[all …]
/xen-4.10.0-shim-comet/tools/blktap2/drivers/
A Dhashtable.c48 h->table = (struct entry **)malloc(sizeof(struct entry*) * size); in create_hashtable()
79 struct entry **newtable; in hashtable_expand()
80 struct entry *e; in hashtable_expand()
81 struct entry **pE; in hashtable_expand()
87 newtable = (struct entry **)malloc(sizeof(struct entry*) * newsize); in hashtable_expand()
146 struct entry *e; in hashtable_insert()
155 e = (struct entry *)malloc(sizeof(struct entry)); in hashtable_insert()
170 struct entry *e; in hashtable_search()
191 struct entry *e; in hashtable_remove()
192 struct entry **pE; in hashtable_remove()
[all …]
/xen-4.10.0-shim-comet/tools/xenstore/
A Dhashtable.c53 h->table = (struct entry **)calloc(size, sizeof(struct entry *)); in create_hashtable()
90 struct entry **newtable; in hashtable_expand()
91 struct entry *e; in hashtable_expand()
92 struct entry **pE; in hashtable_expand()
98 newtable = (struct entry **)calloc(newsize, sizeof(struct entry*)); in hashtable_expand()
157 struct entry *e; in hashtable_insert()
166 e = (struct entry *)calloc(1, sizeof(struct entry)); in hashtable_insert()
181 struct entry *e; in hashtable_search()
202 struct entry *e; in hashtable_remove()
203 struct entry **pE; in hashtable_remove()
[all …]
/xen-4.10.0-shim-comet/tools/libxc/
A Dxc_sr_restore_x86_hvm.c38 struct xc_sr_rec_hvm_params_entry *entry = hdr->param; in handle_hvm_params() local
53 sizeof(*hdr), hdr->count, hdr->count * sizeof(*entry), in handle_hvm_params()
68 for ( i = 0; i < hdr->count; i++, entry++ ) in handle_hvm_params()
70 switch ( entry->index ) in handle_hvm_params()
73 ctx->restore.console_gfn = entry->value; in handle_hvm_params()
74 xc_clear_domain_page(xch, ctx->domid, entry->value); in handle_hvm_params()
77 ctx->restore.xenstore_gfn = entry->value; in handle_hvm_params()
78 xc_clear_domain_page(xch, ctx->domid, entry->value); in handle_hvm_params()
82 xc_clear_domain_page(xch, ctx->domid, entry->value); in handle_hvm_params()
86 rc = xc_hvm_param_set(xch, ctx->domid, entry->index, entry->value); in handle_hvm_params()
[all …]
/xen-4.10.0-shim-comet/xen/drivers/acpi/
A Dtables.c231 struct acpi_subtable_header *entry; in acpi_get_entry() local
249 if (entry->length < sizeof(*entry)) { in acpi_get_entry()
255 if (entry->type == entry_id) { in acpi_get_entry()
257 return entry; in acpi_get_entry()
261 entry = (void *)entry + entry->length; in acpi_get_entry()
292 struct acpi_subtable_header *entry; in acpi_parse_entries() local
314 entry = (struct acpi_subtable_header *) in acpi_parse_entries()
319 if (entry->length < sizeof(*entry)) { in acpi_parse_entries()
325 if (entry->type == entry_id in acpi_parse_entries()
327 if (handler(entry, table_end)) in acpi_parse_entries()
[all …]
/xen-4.10.0-shim-comet/xen/arch/x86/mm/
A Dp2m-ept.c128 entry->r = entry->w = entry->x = 0; in ept_p2m_type_to_flags()
131 entry->r = entry->w = entry->x = 1; in ept_p2m_type_to_flags()
139 entry->d = entry->w && entry->a; in ept_p2m_type_to_flags()
142 entry->r = entry->x = 1; in ept_p2m_type_to_flags()
150 entry->r = entry->x = 1; in ept_p2m_type_to_flags()
168 entry->r = entry->x = 1; in ept_p2m_type_to_flags()
175 entry->r = entry->w = 1; in ept_p2m_type_to_flags()
181 entry->w = entry->x = 0; in ept_p2m_type_to_flags()
193 entry->r = entry->w = entry->x = 0; in ept_p2m_type_to_flags()
196 entry->w = entry->x = 0; in ept_p2m_type_to_flags()
[all …]
/xen-4.10.0-shim-comet/tools/blktap2/include/
A Dlist.h66 static inline void list_del(struct list_head *entry) in list_del() argument
68 __list_del(entry->prev, entry->next); in list_del()
69 entry->next = LIST_POISON1; in list_del()
70 entry->prev = LIST_POISON2; in list_del()
73 static inline void list_del_init(struct list_head *entry) in list_del_init() argument
75 __list_del(entry->prev, entry->next); in list_del_init()
76 INIT_LIST_HEAD(entry); in list_del_init()
/xen-4.10.0-shim-comet/xen/arch/arm/arm64/
A Dentry.S165 entry hyp=1
169 entry hyp=1
173 entry hyp=1
177 entry hyp=1
181 entry hyp=1
189 entry hyp=1
196 entry hyp=1
203 entry hyp=0, compat=0
219 entry hyp=0, compat=0
235 entry hyp=0, compat=0
[all …]
/xen-4.10.0-shim-comet/xen/arch/arm/
A Dp2m.c255 lpae_t *entry; in p2m_next_level() local
259 entry = *table + offset; in p2m_next_level()
261 if ( !lpae_valid(*entry) ) in p2m_next_level()
272 if ( lpae_mapping(*entry) ) in p2m_next_level()
275 mfn = _mfn(entry->p2m.base); in p2m_next_level()
299 lpae_t entry, *table; in p2m_get_entry() local
352 if ( lpae_valid(entry) ) in p2m_get_entry()
354 *t = entry.p2m.type; in p2m_get_entry()
648 if ( !lpae_valid(entry) ) in p2m_free_entry()
729 pte = *entry; in p2m_split_superpage()
[all …]
A Dcpuerrata.c11 is_affected_midr_range(const struct arm_cpu_capabilities *entry) in is_affected_midr_range() argument
13 return MIDR_IS_CPU_MODEL_RANGE(boot_cpu_data.midr.bits, entry->midr_model, in is_affected_midr_range()
14 entry->midr_range_min, in is_affected_midr_range()
15 entry->midr_range_max); in is_affected_midr_range()

Completed in 66 milliseconds

123456