Home
last modified time | relevance | path

Searched refs:region (Results 1 – 25 of 28) sorted by relevance

12

/xen/xen/arch/arm/
A Dalternative.c121 static int __apply_alternatives(const struct alt_region *region, in __apply_alternatives() argument
130 region->begin, region->end); in __apply_alternatives()
132 for ( alt = region->begin; alt < region->end; alt++ ) in __apply_alternatives()
187 struct alt_region region; in __apply_alternatives_multi_stop() local
204 region.begin = __alt_instructions; in __apply_alternatives_multi_stop()
205 region.end = __alt_instructions_end; in __apply_alternatives_multi_stop()
207 ret = __apply_alternatives(&region, xenmap - (void *)_start); in __apply_alternatives_multi_stop()
239 const struct alt_region region = { in apply_alternatives() local
244 return __apply_alternatives(&region, 0); in apply_alternatives()
A Dvgic-v3.c1030 const struct vgic_rdist_region *region, in get_vcpu_from_rdist() argument
1036 vcpu_id = region->first_cpu + ((gpa - region->base) / GICV3_GICR_SIZE); in get_vcpu_from_rdist()
1051 const struct vgic_rdist_region *region = priv; in vgic_v3_rdistr_mmio_read() local
1075 const struct vgic_rdist_region *region = priv; in vgic_v3_rdistr_mmio_write() local
1590 struct vgic_rdist_region *region; in vgic_v3_vcpu_init() local
1606 region = &d->arch.vgic.rdist_regions[i - 1]; in vgic_v3_vcpu_init()
1609 rdist_base = region->base; in vgic_v3_vcpu_init()
1613 if ( (rdist_base < region->base) || in vgic_v3_vcpu_init()
1614 ((rdist_base + GICV3_GICR_SIZE) > (region->base + region->size)) ) in vgic_v3_vcpu_init()
1630 last_cpu = (region->size / GICV3_GICR_SIZE) + region->first_cpu - 1; in vgic_v3_vcpu_init()
[all …]
A Dtraps.c1214 const struct virtual_region *region; in do_bug_frame() local
1216 region = find_text_region(pc); in do_bug_frame()
1217 if ( region ) in do_bug_frame()
1224 for ( i = 0, b = region->frame[id].bugs; in do_bug_frame()
1225 i < region->frame[id].n_bugs; b++, i++ ) in do_bug_frame()
/xen/xen/common/
A Dvirtual_region.c43 const struct virtual_region *region; in find_text_region() local
46 list_for_each_entry_rcu( region, &virtual_region_list, list ) in find_text_region()
48 if ( (void *)addr >= region->start && (void *)addr < region->end ) in find_text_region()
51 return region; in find_text_region()
98 const struct virtual_region *region; in reset_virtual_region_perms() local
101 list_for_each_entry_rcu( region, &virtual_region_list, list ) in reset_virtual_region_perms()
102 modify_xen_mappings((unsigned long)region->start, in reset_virtual_region_perms()
103 ROUNDUP((unsigned long)region->end, PAGE_SIZE), in reset_virtual_region_perms()
A Dsymbols.c112 const struct virtual_region *region; in symbols_lookup() local
117 region = find_text_region(addr); in symbols_lookup()
118 if (!region) in symbols_lookup()
121 if (region->symbols_lookup) in symbols_lookup()
122 return region->symbols_lookup(addr, symbolsize, offset, namebuf); in symbols_lookup()
A Dlivepatch.c655 struct virtual_region *region; in prepare_payload() local
778 region = &payload->region; in prepare_payload()
781 region->start = payload->text_addr; in prepare_payload()
797 region->frame[i].bugs = sec->load_addr; in prepare_payload()
798 region->frame[i].n_bugs = sec->sec->sh_size / in prepare_payload()
819 if ( (instr < region->start && instr >= region->end) || in prepare_payload()
820 (replacement < region->start && replacement >= region->end) ) in prepare_payload()
849 region->ex = s; in prepare_payload()
850 region->ex_end = e; in prepare_payload()
1319 register_virtual_region(&data->region); in apply_payload_tail()
[all …]
A Dpage_alloc.c1899 r = &region[node]; in smp_scrub_heap_pages()
1990 region[i].per_cpu_sz = (end - start); in scrub_heap_pages()
1999 region[i].start = start; in scrub_heap_pages()
2000 region[i].rem = rem; in scrub_heap_pages()
2001 cpumask_copy(&region[i].cpus, &node_cpus); in scrub_heap_pages()
2011 region[i].offset = offset; in scrub_heap_pages()
2061 region[i].rem = region[i].per_cpu_sz % cpus; in scrub_heap_pages()
2062 region[i].per_cpu_sz /= cpus; in scrub_heap_pages()
2063 max_per_cpu_sz = region[i].per_cpu_sz; in scrub_heap_pages()
2064 cpumask_copy(&region[i].cpus, &node_cpus); in scrub_heap_pages()
[all …]
A Dxmalloc_tlsf.c274 static inline void ADD_REGION(void *region, unsigned long region_size, in ADD_REGION() argument
280 b = (struct bhdr *)(region); in ADD_REGION()
377 struct bhdr *b, *b2, *next_b, *region; in xmem_pool_alloc() local
408 if ( (region = pool->get_mem(pool->grow_size)) == NULL ) in xmem_pool_alloc()
411 ADD_REGION(region, pool->grow_size, pool); in xmem_pool_alloc()
/xen/xen/arch/arm/vgic/
A Dvgic-mmio.c485 if ( offset < region->reg_offset ) in match_region()
488 if ( offset >= region->reg_offset + region->len ) in match_region()
525 if ( !region->bits_per_irq ) in check_region()
539 const struct vgic_register_region *region; in vgic_get_mmio_region() local
543 if ( !region || !check_region(vcpu->domain, region, addr, len) ) in vgic_get_mmio_region()
546 return region; in vgic_get_mmio_region()
553 const struct vgic_register_region *region; in dispatch_mmio_read() local
559 if ( !region ) in dispatch_mmio_read()
568 data = region->read(vcpu, addr, len); in dispatch_mmio_read()
590 if ( !region ) in dispatch_mmio_write()
[all …]
/xen/xen/arch/x86/
A Dextable.c92 const struct virtual_region *region = find_text_region(regs->rip); in search_exception_table() local
95 if ( region && region->ex ) in search_exception_table()
96 return search_one_extable(region->ex, region->ex_end - 1, regs->rip); in search_exception_table()
105 region = find_text_region(retptr); in search_exception_table()
106 retptr = region && region->ex in search_exception_table()
107 ? search_one_extable(region->ex, region->ex_end - 1, retptr) in search_exception_table()
A Dtraps.c1084 const struct virtual_region *region; in do_invalid_op() local
1101 region = find_text_region(regs->rip); in do_invalid_op()
1102 if ( region ) in do_invalid_op()
1109 for ( i = 0, b = region->frame[id].bugs; in do_invalid_op()
1110 i < region->frame[id].n_bugs; b++, i++ ) in do_invalid_op()
/xen/tools/libacpi/
A Ddsdt_acpi_info.asl5 * BIOS region must match struct acpi_info in build.c and
/xen/docs/misc/arm/device-tree/
A Dacpi.txt16 RSDP table is always located at the beginning of this region.
A Dguest.txt10 - reg: specifies the base physical address and size of a region in
12 HYPERVISOR_memory_op hypercall. The memory region is large enough to map
/xen/stubdom/
A Dvtpm_TPM_ChangeAuthAsymFinish.patch1 error: 'memcmp' reading 20 bytes from a region of size 8 [-Werror=stringop-overflow=]
A Dlwip.patch-cvs446 /* Expand the size of the allocated memory region so that we can
546 - * region that couldn't hold data, but when mem->next gets freed,
579 + * region that couldn't hold data, but when mem->next gets freed,
/xen/docs/misc/
A Dkexec_and_kdump.txt116 called the crash kernel region and is reserved using the crashkernel
122 region. Just specify how large the region should be and the hypervisor
146 use, the crash kernel region should appear in /proc/iomem on x86. If it
148 reason the region couldn't be placed - for instance because it is too large.
A Dnetif-staging-grants.pandoc13 mapped region to describe header/linear region of packet buffers. This document
29 region. In some (physical) NICs this is known as header/data split.
37 header region <= 256 bytes, 16 grants per ring) while configurable by kernel
177 [ *Linux specific*: This structure emcompasses a linear data region which
182 region (linear part of the skb) *only* from the first slot.
189 [ *Linux-specific*: does a copy for the linear region (<=128 bytes) and maps the
270 linear region. Hence on the case of the first region it is replaced by a memcpy
371 region of the packet metadata structure (skb). The rest of the pages
A Dhvm-emulated-unplug.pandoc80 0x4 in the memory region of the Xen Platform PCI Device. This was done
91 was written to offset 0x4 in the memory region of the Xen Platform PCI
A Dxenstore-paths.pandoc213 into the high memory region (above 4GiB). If "1", hvmloader will
258 device. It initialises a 16 octet region of guest memory with this
259 value. The guest physical address of this region is saved in the
/xen/xen/common/libelf/
A Dlibelf-tools.c34 const void *region, uint64_t regionsize) in elf_ptrval_in_range() argument
45 elf_ptrval regionp = (elf_ptrval)region; in elf_ptrval_in_range()
47 if ( (region == NULL) || in elf_ptrval_in_range()
/xen/xen/include/xen/
A Dlivepatch_payload.h59 struct virtual_region region; /* symbol, bug.frame patching and member
/xen/docs/designs/
A Dargo.pandoc34 structure in the buffer. If the memory region is being used as a ring, then:
35 - Data writes will only occur within the ring region that is indicated as
181 exclusion for a critical region and simplify the logic required to avoid
A Dnon-cooperative-migration.md125 the guest memory image (in an E820 reserved region just below 4G in x86
/xen/docs/misc/arm/
A Dpassthrough.txt55 * In this example, the device MMIO region is placed at a different

Completed in 36 milliseconds

12