Searched refs:offs (Results 1 – 10 of 10) sorted by relevance
/xen/xen/arch/x86/efi/ |
A D | mkreloc.c | 165 unsigned long offs; in map_section() local 169 offs = sec->file_offset & (page_size - 1); in map_section() 171 ptr = mmap(0, offs + sec->file_size, PROT_READ, MAP_PRIVATE, in, in map_section() 172 sec->file_offset - offs); in map_section() 179 return ptr + offs; in map_section() 184 unsigned long offs = sec->file_offset & (page_size - 1); in unmap_section() local 186 munmap((char *)ptr - offs, offs + sec->file_size); in unmap_section()
|
/xen/xen/include/asm-arm/ |
A D | lpae.h | 188 #define TABLE_OFFSET(offs, gran) (offs & lpae_entry_mask(gran)) argument 269 #define TABLE_OFFSET(offs) (_AT(unsigned int, offs) & LPAE_ENTRY_MASK) argument
|
/xen/xen/drivers/acpi/ |
A D | osl.c | 97 unsigned int offs = phys & (PAGE_SIZE - 1); in acpi_os_map_memory() local 102 return __vmap(&mfn, PFN_UP(offs + size), 1, 1, in acpi_os_map_memory() 103 ACPI_MAP_MEM_ATTR, VMAP_DEFAULT) + offs; in acpi_os_map_memory()
|
/xen/xen/common/ |
A D | unlzma.c | 293 uint32_t offs) in peek_old_byte() argument 297 while (offs > wr->header->dict_size) in peek_old_byte() 298 offs -= wr->header->dict_size; in peek_old_byte() 299 pos = wr->buffer_pos - offs; in peek_old_byte() 302 uint32_t pos = wr->buffer_pos - offs; in peek_old_byte() 324 static inline int INIT copy_byte(struct writer *wr, uint32_t offs) in copy_byte() argument 326 return write_byte(wr, peek_old_byte(wr, offs)); in copy_byte()
|
/xen/xen/include/asm-arm/tee/ |
A D | optee_msg.h | 122 uint64_t offs; member
|
/xen/xen/include/asm-x86/ |
A D | xstate.h | 64 uint32_t offs; member
|
/xen/xen/arch/arm/ |
A D | mm.c | 947 unsigned int offs = pa & (PAGE_SIZE - 1); in ioremap_attr() local 948 unsigned int nr = PFN_UP(offs + len); in ioremap_attr() 954 return ptr + offs; in ioremap_attr()
|
/xen/xen/arch/x86/ |
A D | mm.c | 3307 unsigned int vcpu_id, vcpu_bias, offs; in vcpumask_to_pcpumask() local 3313 for ( vmask = 0, offs = 0; ; ++offs ) in vcpumask_to_pcpumask() 3315 vcpu_bias = offs * (is_native ? BITS_PER_LONG : 32); in vcpumask_to_pcpumask() 3320 copy_from_guest_offset(&vmask, bmap, offs, 1) : in vcpumask_to_pcpumask() 3322 offs, 1)) ) in vcpumask_to_pcpumask() 5906 unsigned int offs = pa & (PAGE_SIZE - 1); in ioremap() local 5907 unsigned int nr = PFN_UP(offs + len); in ioremap() 5909 va = __vmap(&mfn, nr, 1, 1, PAGE_HYPERVISOR_UCMINUS, VMAP_DEFAULT) + offs; in ioremap()
|
/xen/xen/arch/x86/hvm/ |
A D | emulate.c | 2439 fpu_ctxt->fip.offs = aux->ip; in hvmemul_put_fpu() 2443 fpu_ctxt->fdp.offs = aux->dp; in hvmemul_put_fpu()
|
/xen/xen/arch/x86/x86_emulate/ |
A D | x86_emulate.c | 968 uint32_t offs; member 2446 static bool is_aligned(enum x86_segment seg, unsigned long offs, in is_aligned() argument 2467 return !((reg.base + offs) & (size - 1)); in is_aligned()
|
Completed in 42 milliseconds