Home
last modified time | relevance | path

Searched refs:desc (Results 1 – 25 of 73) sorted by relevance

123

/xen-4.10.0-shim-comet/xen/arch/arm/
A Dirq.c80 desc->irq = irq; in init_irq_data()
96 desc->irq = irq; in init_local_irq_data()
147 if ( desc != NULL ) in irq_set_affinity()
148 desc->handler->set_affinity(desc, cpu_mask); in irq_set_affinity()
204 desc->handler->ack(desc); in do_IRQ()
218 desc->handler->end(desc); in do_IRQ()
263 desc->handler->end(desc); in do_IRQ()
302 desc->handler->shutdown(desc); in release_irq()
381 desc->handler->startup(desc); in setup_irq()
543 if ( !p->desc ) in release_guest_irq()
[all …]
A Ddevice.c30 const struct device_desc *desc; in device_init() local
37 for ( desc = _sdevice; desc != _edevice; desc++ ) in device_init()
39 if ( desc->class != class ) in device_init()
44 ASSERT(desc->init != NULL); in device_init()
58 for ( desc = _asdevice; desc != _aedevice; desc++ ) in acpi_device_init()
60 if ( ( desc->class != class ) || ( desc->class_type != class_type ) ) in acpi_device_init()
63 ASSERT(desc->init != NULL); in acpi_device_init()
65 return desc->init(data); in acpi_device_init()
73 const struct device_desc *desc; in device_get_class() local
77 for ( desc = _sdevice; desc != _edevice; desc++ ) in device_get_class()
[all …]
A Dgic.c129 gic_set_irq_type(desc, desc->arch.type); in gic_route_irq_to_xen()
155 if ( p->desc || in gic_route_irq_to_guest()
164 gic_set_irq_type(desc, desc->arch.type); in gic_route_irq_to_guest()
167 p->desc = desc; in gic_route_irq_to_guest()
187 ASSERT(p->desc == desc); in gic_remove_irq_from_guest()
194 desc->handler->shutdown(desc); in gic_remove_irq_from_guest()
216 desc->handler = &no_irq_type; in gic_remove_irq_from_guest()
218 p->desc = NULL; in gic_remove_irq_from_guest()
545 if ( p->desc == NULL ) in gic_update_one_lr()
569 if ( p->desc != NULL ) in gic_update_one_lr()
[all …]
A Dcpuerrata.c21 .desc = "ARM erratum 766422",
29 .desc = "ARM errata 827319, 824069",
37 .desc = "ARM erratum 819472",
45 .desc = "ARM erratum 832075",
54 .desc = "ARM erratum 834220",
A Dvgic.c181 if ( p->desc ) in domain_vgic_free()
259 if ( p->desc == NULL ) in vgic_migrate_irq()
324 irq_set_affinity(p->desc, cpu_mask); in arch_move_irqs()
332 struct irq_desc *desc; in vgic_disable_irqs() local
349 desc = p->desc; in vgic_disable_irqs()
352 if ( desc != NULL ) in vgic_disable_irqs()
354 spin_lock_irqsave(&desc->lock, flags); in vgic_disable_irqs()
355 desc->handler->disable(desc); in vgic_disable_irqs()
400 if ( p->desc != NULL ) in vgic_enable_irqs()
403 spin_lock_irqsave(&p->desc->lock, flags); in vgic_enable_irqs()
[all …]
A Dgic-v2.c241 unsigned int irq = desc->irq; in gicv2_set_irq_type()
273 unsigned int irq = desc->irq; in gicv2_set_irq_priority()
444 if ( p->desc != NULL ) in gicv2_update_lr()
512 int irq = desc->irq; in gicv2_irq_enable()
514 ASSERT(spin_is_locked(&desc->lock)); in gicv2_irq_enable()
527 int irq = desc->irq; in gicv2_irq_disable()
540 gicv2_irq_enable(desc); in gicv2_irq_startup()
547 gicv2_irq_disable(desc); in gicv2_irq_shutdown()
558 gicv2_eoi_irq(desc); in gicv2_host_irq_end()
560 gicv2_dir_irq(desc); in gicv2_host_irq_end()
[all …]
A Dgic-v3.c491 unsigned int irq = desc->irq; in gicv3_set_irq_type()
532 unsigned int irq = desc->irq; in gicv3_set_irq_priority()
985 if ( p->desc != NULL ) in gicv3_update_lr()
1067 ASSERT(spin_is_locked(&desc->lock)); in gicv3_irq_enable()
1073 gicv3_unmask_irq(desc); in gicv3_irq_enable()
1085 gicv3_mask_irq(desc); in gicv3_irq_disable()
1092 gicv3_irq_enable(desc); in gicv3_irq_startup()
1099 gicv3_irq_disable(desc); in gicv3_irq_shutdown()
1110 gicv3_eoi_irq(desc); in gicv3_host_irq_end()
1112 gicv3_dir_irq(desc); in gicv3_host_irq_end()
[all …]
/xen-4.10.0-shim-comet/xen/arch/x86/
A Dirq.c225 desc->handler->shutdown(desc); in destroy_irq()
633 desc->handler->disable(desc); in move_native_irq()
635 desc->handler->enable(desc); in move_native_irq()
865 desc->handler->ack(desc); in do_IRQ()
946 desc->handler->enable(desc); in irq_ratelimit_timer_fn()
1008 desc->handler->shutdown(desc); in release_irq()
1039 desc->handler->startup(desc); in setup_irq()
1137 desc->handler->end(desc, 0); in irq_guest_eoi_timer_fn()
1637 desc->handler->startup(desc); in pirq_guest_bind()
1749 desc->handler->disable(desc); in __pirq_guest_unbind()
[all …]
A Di8259.c44 _mask_and_ack_8259A_irq(desc->irq); in mask_and_ack_8259A_irq()
49 enable_8259A_irq(desc); in startup_8259A_irq()
56 enable_8259A_irq(desc); in end_8259A_irq()
110 void disable_8259A_irq(struct irq_desc *desc) in disable_8259A_irq() argument
112 _disable_8259A_irq(desc->irq); in disable_8259A_irq()
115 void enable_8259A_irq(struct irq_desc *desc) in enable_8259A_irq() argument
117 unsigned int mask = ~(1 << desc->irq); in enable_8259A_irq()
122 per_cpu(vector_irq, 0)[LEGACY_VECTOR(desc->irq)] = desc->irq; in enable_8259A_irq()
123 if (desc->irq & 8) in enable_8259A_irq()
347 struct irq_desc *desc = irq_to_desc(irq); in init_IRQ() local
[all …]
A Dio_apic.c82 struct irq_desc *desc; in share_vector_maps() local
86 desc = irq_to_desc(irq); in share_vector_maps()
494 __eoi_IO_APIC_irq(desc); in eoi_IO_APIC_irq()
557 irq = desc->irq; in set_ioapic_affinity_irq()
683 set_ioapic_affinity_irq(desc, desc->arch.cpu_mask); in setup_ioapic_dest()
1555 move_native_irq(desc); in ack_edge_ioapic_irq()
1664 i = desc->arch.vector; in mask_and_ack_level_ioapic_irq()
2260 desc->handler->startup(desc); in io_apic_set_pci_routing()
2318 struct irq_desc *desc; in ioapic_guest_write() local
2375 if ( desc->action ) in ioapic_guest_write()
[all …]
A Dmsi.c508 msi_set_mask_bit(desc, desc->msi_desc->msi_attrib.host_masked, mask); in guest_mask_msi_irq()
513 if ( unlikely(!msi_set_mask_bit(desc, 0, !!(desc->status & IRQ_GUEST))) ) in startup_msi_irq()
526 irq_complete_move(desc); in ack_nonmaskable_msi_irq()
527 move_native_irq(desc); in ack_nonmaskable_msi_irq()
624 desc->handler = handler; in __setup_msi_irq()
625 msi_compose_msg(desc->arch.vector, desc->arch.cpu_mask, &msg); in __setup_msi_irq()
743 *desc = entry; in msi_capability_init()
876 if ( desc ) in msix_capability_init()
981 *desc = entry; in msix_capability_init()
999 if ( desc ) in msix_capability_init()
[all …]
A Dhpet.c286 hpet_msi_unmask(desc); in hpet_msi_startup()
294 irq_complete_move(desc); in hpet_msi_ack()
295 move_native_irq(desc); in hpet_msi_ack()
333 msi_compose_msg(desc->arch.vector, desc->arch.cpu_mask, &msg); in __hpet_setup_msi_irq()
356 desc->handler = &hpet_msi_type; in hpet_setup_msi_irq()
359 ret = __hpet_setup_msi_irq(desc); in hpet_setup_msi_irq()
367 desc->msi_desc = &ch->msi; in hpet_setup_msi_irq()
478 spin_lock(&desc->lock); in set_channel_irq_affinity()
479 hpet_msi_mask(desc); in set_channel_irq_affinity()
481 hpet_msi_unmask(desc); in set_channel_irq_affinity()
[all …]
/xen-4.10.0-shim-comet/xen/common/
A Dirq.c4 int init_one_irq_desc(struct irq_desc *desc) in init_one_irq_desc() argument
8 if (irq_desc_initialized(desc)) in init_one_irq_desc()
11 if ( !alloc_cpumask_var(&desc->affinity) ) in init_one_irq_desc()
14 desc->status = IRQ_DISABLED; in init_one_irq_desc()
15 desc->handler = &no_irq_type; in init_one_irq_desc()
16 spin_lock_init(&desc->lock); in init_one_irq_desc()
17 cpumask_setall(desc->affinity); in init_one_irq_desc()
18 INIT_LIST_HEAD(&desc->rl_link); in init_one_irq_desc()
20 err = arch_init_one_irq_desc(desc); in init_one_irq_desc()
23 free_cpumask_var(desc->affinity); in init_one_irq_desc()
[all …]
A Dkeyhandler.c45 #define KEYHANDLER(k, f, desc, diag) \ argument
46 [k] = { { (f) }, desc, 0, diag }
48 #define IRQ_KEYHANDLER(k, f, desc, diag) \ argument
49 [k] = { { (keyhandler_fn_t *)(f) }, desc, 1, diag }
104 const char *desc, bool_t diagnostic) in register_keyhandler() argument
110 key_table[key].desc = desc; in register_keyhandler()
116 const char *desc, bool_t diagnostic) in register_irq_keyhandler() argument
122 key_table[key].desc = desc; in register_irq_keyhandler()
135 isprint(i) ? i : ' ', i, key_table[i].desc); in show_handlers()
472 printk("[%c: %s]\n", k, h->desc); in run_all_nonirq_keyhandlers()
[all …]
/xen-4.10.0-shim-comet/xen/arch/x86/pv/
A Demulate.c32 struct desc_struct desc; in pv_emul_read_descriptor() local
35 desc.b = desc.a = 0; in pv_emul_read_descriptor()
36 else if ( __get_user(desc, in pv_emul_read_descriptor()
43 desc.b &= ~_SEGMENT_L; in pv_emul_read_descriptor()
45 *ar = desc.b & 0x00f0ff00; in pv_emul_read_descriptor()
46 if ( !(desc.b & _SEGMENT_L) ) in pv_emul_read_descriptor()
48 *base = ((desc.a >> 16) + ((desc.b & 0xff) << 16) + in pv_emul_read_descriptor()
49 (desc.b & 0xff000000)); in pv_emul_read_descriptor()
50 *limit = (desc.a & 0xffff) | (desc.b & 0x000f0000); in pv_emul_read_descriptor()
51 if ( desc.b & _SEGMENT_G ) in pv_emul_read_descriptor()
A Demul-gate-op.c56 struct desc_struct desc; in read_gate_descriptor() local
64 __get_user(desc, pdesc) ) in read_gate_descriptor()
67 *sel = (desc.a >> 16) & 0x0000fffc; in read_gate_descriptor()
68 *off = (desc.a & 0x0000ffff) | (desc.b & 0xffff0000); in read_gate_descriptor()
69 *ar = desc.b & 0x0000ffff; in read_gate_descriptor()
77 *ar |= (desc.a >> (16 - 13)) & _SEGMENT_DPL; in read_gate_descriptor()
83 __get_user(desc, pdesc + 1) || in read_gate_descriptor()
84 (desc.b & 0x1f00) ) in read_gate_descriptor()
87 *off |= (unsigned long)desc.a << 32; in read_gate_descriptor()
/xen-4.10.0-shim-comet/tools/misc/
A Dmktarball22 desc="$2"
30 git_archive_into $xen_root $tdir/xen-$desc
32 git_archive_into $xen_root/tools/qemu-xen-dir-remote $tdir/xen-$desc/tools/qemu-xen
34 git_archive_into $xen_root/tools/qemu-xen-traditional-dir-remote $tdir/xen-$desc/tools/qemu-xen-tra…
36 git_archive_into $xen_root/extras/mini-os-remote $tdir/xen-$desc/extras/mini-os
38 GZIP=-9v tar cz -f $xen_root/dist/xen-$desc.tar.gz -C $tdir xen-$desc
40 echo "Source tarball in $xen_root/dist/xen-$desc.tar.gz"
/xen-4.10.0-shim-comet/xen/arch/x86/hvm/
A Dsave.c140 const struct hvm_save_descriptor *desc; in hvm_save_one() local
162 for ( off = 0; off <= (ctxt.cur - sizeof(*desc)); off += desc->length ) in hvm_save_one()
164 desc = (void *)(ctxt.data + off); in hvm_save_one()
166 off += sizeof(*desc); in hvm_save_one()
167 if ( ctxt.cur < desc->length || in hvm_save_one()
174 *bufsz = desc->length; in hvm_save_one()
180 *bufsz = desc->length; in hvm_save_one()
255 struct hvm_save_descriptor *desc; in hvm_load() local
287 if ( desc->typecode == 0 ) in hvm_load()
301 hvm_sr_handlers[desc->typecode].name, desc->instance); in hvm_load()
[all …]
A Dvmsi.c195 struct msi_desc *desc; in msixtbl_addr_to_desc() local
205 return desc; in msixtbl_addr_to_desc()
275 struct irq_desc *desc; in msixtbl_write() local
320 desc = irq_to_desc(msi_desc->irq); in msixtbl_write()
321 if ( !desc ) in msixtbl_write()
326 if ( !desc->msi_desc ) in msixtbl_write()
329 ASSERT(msi_desc == desc->msi_desc); in msixtbl_write()
354 const struct msi_desc *desc; in msixtbl_range() local
362 if ( desc ) in msixtbl_range()
601 const struct msi_desc *desc; in msix_write_completion() local
[all …]
/xen-4.10.0-shim-comet/xen/arch/arm/efi/
A Defi-dom0.c102 desc->Type = type; in fill_efi_memory_descriptor()
103 desc->PhysicalStart = start; in fill_efi_memory_descriptor()
105 desc->NumberOfPages = EFI_SIZE_TO_PAGES(size); in fill_efi_memory_descriptor()
106 desc->Attribute = EFI_MEMORY_WB; in fill_efi_memory_descriptor()
113 EFI_MEMORY_DESCRIPTOR *desc; in acpi_create_efi_mmap_table() local
119 desc = (EFI_MEMORY_DESCRIPTOR *)base_ptr; in acpi_create_efi_mmap_table()
121 for ( i = 0; i < mem->nr_banks; i++, desc++ ) in acpi_create_efi_mmap_table()
122 fill_efi_memory_descriptor(desc, EfiConventionalMemory, in acpi_create_efi_mmap_table()
125 for ( i = 0; i < bootinfo.acpi.nr_banks; i++, desc++ ) in acpi_create_efi_mmap_table()
126 fill_efi_memory_descriptor(desc, EfiACPIReclaimMemory, in acpi_create_efi_mmap_table()
[all …]
/xen-4.10.0-shim-comet/tools/debugger/kdd/
A Dkdd-xen.c149 for (desc = g->hvm_buf; in kdd_count_cpus()
150 (void *) desc >= g->hvm_buf && (void *) desc < g->hvm_buf + g->hvm_sz; in kdd_count_cpus()
151 desc = ((void *)desc) + (sizeof *desc) + desc->length) { in kdd_count_cpus()
170 for (desc = g->hvm_buf; in get_cpu()
171 (void *) desc >= g->hvm_buf && (void *) desc < g->hvm_buf + g->hvm_sz; in get_cpu()
172 desc = ((void *)desc) + (sizeof *desc) + desc->length) { in get_cpu()
173 if (desc->typecode == HVM_SAVE_CODE(CPU) && desc->instance == cpuid) { in get_cpu()
174 cpu = ((void *)desc) + (sizeof *desc); in get_cpu()
195 (void *) desc >= g->hvm_buf && (void *) desc < g->hvm_buf + g->hvm_sz; in get_lapic()
196 desc = ((void *)desc) + (sizeof *desc) + desc->length) { in get_lapic()
[all …]
/xen-4.10.0-shim-comet/xen/include/asm-x86/
A Ddesc.h174 #define _set_tssldt_desc(desc,addr,limit,type) \ argument
176 (desc)[0].b = (desc)[1].b = 0; \
178 (desc)[0].a = \
180 (desc)[1].a = (u32)(((unsigned long)(addr)) >> 32); \
182 (desc)[0].b = \
A Dldt.h9 struct desc_struct *desc; in load_LDT() local
18 desc = (!is_pv_32bit_vcpu(v) in load_LDT()
21 _set_tssldt_desc(desc, LDT_VIRT_START(v), ents*8-1, SYS_DESC_ldt); in load_LDT()
/xen-4.10.0-shim-comet/tools/libfsimage/reiserfs/
A Dfsys_reiserfs.c414 struct reiserfs_journal_desc desc; in block_read() local
417 if (! journal_read (ffi, desc_block, sizeof (desc), (char *) &desc)) in block_read()
420 j_len = desc.j_len; in block_read()
469 struct reiserfs_journal_desc desc; in journal_init() local
488 journal_read (ffi, desc_block, sizeof (desc), (char *) &desc); in journal_init()
490 || desc.j_trans_id != next_trans_id in journal_init()
498 || desc.j_len != commit.j_len) in journal_init()
504 desc.j_trans_id, desc.j_mount_id, desc_block); in journal_init()
524 *journal_table++ = desc.j_len; in journal_init()
530 desc.j_realblock[i], desc_block); in journal_init()
[all …]
/xen-4.10.0-shim-comet/xen/common/efi/
A Dboot.c1419 desc->PhysicalStart, desc->PhysicalStart + len - 1, in efi_init_memory()
1420 desc->Type, desc->Attribute); in efi_init_memory()
1431 smfn = PFN_DOWN(desc->PhysicalStart); in efi_init_memory()
1432 emfn = PFN_UP(desc->PhysicalStart + len); in efi_init_memory()
1434 if ( desc->Attribute & EFI_MEMORY_WB ) in efi_init_memory()
1436 else if ( desc->Attribute & EFI_MEMORY_WT ) in efi_init_memory()
1438 else if ( desc->Attribute & EFI_MEMORY_WC ) in efi_init_memory()
1457 if ( desc->Attribute & EFI_MEMORY_XP ) in efi_init_memory()
1468 desc->VirtualStart = in efi_init_memory()
1483 desc->VirtualStart = desc->PhysicalStart; in efi_init_memory()
[all …]

Completed in 54 milliseconds

123