Home
last modified time | relevance | path

Searched refs:dest (Results 1 – 25 of 79) sorted by relevance

1234

/xen/xen/arch/arm/arm64/
A Dlivepatch.c159 u32 insn = *(u32 *)dest; in reloc_insn_movw()
161 sval = do_reloc(op, dest, val); in reloc_insn_movw()
191 *(u32 *)dest = insn; in reloc_insn_movw()
204 u32 insn = *(u32 *)dest; in reloc_insn_imm()
207 sval = do_reloc(op, dest, val); in reloc_insn_imm()
216 *(u32 *)dest = insn; in reloc_insn_imm()
250 void *dest = base->load_addr + r->r_offset; /* P */ in arch_livepatch_perform_rela() local
288 ovf = reloc_data(RELOC_OP_ABS, dest, val, 64); in arch_livepatch_perform_rela()
292 ovf = reloc_data(RELOC_OP_ABS, dest, val, 32); in arch_livepatch_perform_rela()
296 ovf = reloc_data(RELOC_OP_ABS, dest, val, 16); in arch_livepatch_perform_rela()
[all …]
/xen/xen/arch/x86/
A Dstring.c10 void *(memcpy)(void *dest, const void *src, size_t n)
19 : "0" (n/BYTES_PER_LONG), "r" (n%BYTES_PER_LONG), "1" (dest), "2" (src)
22 return dest;
38 void *(memmove)(void *dest, const void *src, size_t n)
43 return dest;
45 if ( dest < src )
46 return memcpy(dest, src, n);
53 : "0" (n), "1" (n-1+(const char *)src), "2" (n-1+(char *)dest)
56 return dest;
A Dgdbstub.c34 gdb_arch_copy_from_user(void *dest, const void *src, unsigned len) in gdb_arch_copy_from_user() argument
36 return __copy_from_user(dest, src, len); in gdb_arch_copy_from_user()
40 gdb_arch_copy_to_user(void *dest, const void *src, unsigned len) in gdb_arch_copy_to_user() argument
42 return __copy_to_user(dest, src, len); in gdb_arch_copy_to_user()
A Dlivepatch.c243 uint8_t *dest = base->load_addr + r->r_offset; in arch_livepatch_perform_rela() local
277 *(uint64_t *)dest = val; in arch_livepatch_perform_rela()
294 val -= (uint64_t)dest; in arch_livepatch_perform_rela()
295 *(int32_t *)dest = val; in arch_livepatch_perform_rela()
296 if ( (int64_t)val != *(int32_t *)dest ) in arch_livepatch_perform_rela()
/xen/xen/arch/arm/arm32/
A Dlivepatch.c125 addend = *(u32 *)dest; in get_addend()
129 addend = *(u32 *)dest; in get_addend()
160 *(u32 *)dest = (val + addend); in perform_rel()
164 *(u32 *)dest = (val + addend) - (uint32_t)dest; in perform_rel()
171 *(u32 *)dest &= 0xFFF0F000; in perform_rel()
189 *(u32 *)dest |= val & 0xFFF; in perform_rel()
190 *(u32 *)dest |= (val >> 12) << 16; in perform_rel()
197 *(u32 *)dest &= 0xFF000000; in perform_rel()
199 val += addend - (uint32_t)dest; in perform_rel()
212 *(u32 *)dest |= (uint32_t)val; in perform_rel()
[all …]
/xen/xen/common/
A Dstring.c77 memcpy(dest, src, len); in strlcpy()
78 dest[len] = '\0'; in strlcpy()
99 size_t dlen = strnlen(dest, size); in strlcat()
100 char *p = dest + dlen; in strlcat()
102 while ((p - dest) < size) in strlcat()
346 char *tmp = (char *) dest, *s = (char *) src;
351 return dest;
368 if (dest <= src) {
369 tmp = (char *) dest;
375 tmp = (char *) dest + count;
[all …]
A Dkimage.c672 paddr_t dest, end; in kimage_load_normal_segment() local
677 dest = segment->dest_maddr; in kimage_load_normal_segment()
709 dest += PAGE_SIZE; in kimage_load_normal_segment()
714 for ( ; dest < end; dest += PAGE_SIZE ) in kimage_load_normal_segment()
727 paddr_t dest; in kimage_load_crash_segment() local
734 dest = segment->dest_maddr; in kimage_load_crash_segment()
760 dest += dchunk; in kimage_load_crash_segment()
863 paddr_t dest = KIMAGE_NO_DEST; in kimage_build_ind() local
884 dest = mfn_to_maddr(mfn); in kimage_build_ind()
923 ret = machine_kexec_add_page(image, dest, dest); in kimage_build_ind()
[all …]
/xen/tools/firmware/rombios/32bit/
A Dutil.c119 return dest; in memcpy()
124 if ( (long)dest > (long)src ) in memmove()
135 memcpy(dest, src, n); in memmove()
137 return dest; in memmove()
141 strcpy(char *dest, const char *src) in strcpy() argument
143 char *p = dest; in strcpy()
147 return dest; in strcpy()
154 char *p = dest; in strncpy()
171 return dest; in strncpy()
245 uuid_to_string(char *dest, uint8_t *uuid) in uuid_to_string() argument
[all …]
A Dutil.h17 void *memcpy(void *dest, const void *src, unsigned n);
18 void *memmove(void *dest, const void *src, unsigned n);
19 char *strcpy(char *dest, const char *src);
20 char *strncpy(char *dest, const char *src, unsigned n);
26 void uuid_to_string(char *dest, uint8_t *uuid);
/xen/tools/python/
A Dinstall-wrap41 dest="$1"
44 destf="$dest"
46 if test -d "$dest"; then
47 destf="$dest/${srcf##*/}"
/xen/xen/common/lz4/
A Ddecompress.c49 static int INIT lz4_uncompress(const unsigned char *source, unsigned char *dest, in lz4_uncompress() argument
54 BYTE *op = (BYTE *) dest; in lz4_uncompress()
99 if (unlikely(ref < (BYTE *const) dest)) in lz4_uncompress()
171 unsigned char *dest, int isize, in lz4_uncompress_unknownoutputsize() argument
179 BYTE *op = (BYTE *) dest; in lz4_uncompress_unknownoutputsize()
226 if (ref < (BYTE * const) dest) in lz4_uncompress_unknownoutputsize()
294 return (int) (op - dest); in lz4_uncompress_unknownoutputsize()
306 unsigned char *dest, size_t actual_dest_len) in lz4_decompress() argument
311 input_len = lz4_uncompress(src, dest, actual_dest_len); in lz4_decompress()
324 unsigned char *dest, size_t *dest_len) in lz4_decompress_unknownoutputsize() argument
[all …]
/xen/xen/include/asm-x86/
A Dstring.h5 void *memcpy(void *dest, const void *src, size_t n);
9 void *memmove(void *dest, const void *src, size_t n);
13 void *memset(void *dest, int c, size_t n);
A Dapic.h130 static __inline void apic_icr_write(u32 low, u32 dest) in apic_icr_write() argument
133 apic_wrmsr(APIC_ICR, low | ((uint64_t)dest << 32)); in apic_icr_write()
136 apic_mem_write(APIC_ICR2, dest << 24); in apic_icr_write()
/xen/xen/drivers/passthrough/amd/
A Diommu_intr.c35 unsigned int dest:8; member
219 .dest_lo = dest, in update_intremap_entry()
220 .dest_hi = dest >> 24, in update_intremap_entry()
241 .dest = dest, in update_intremap_entry()
278 unsigned int dest, offset; in update_intremap_entry_from_ioapic() local
287 dest = x2apic_enabled ? rte->dest.dest32 : rte->dest.logical.logical_dest; in update_intremap_entry_from_ioapic()
343 dest = get_full_dest(entry.ptr128); in update_intremap_entry_from_ioapic()
514 unsigned int dest, offset, i; in update_intremap_entry_from_msi_msg() local
545 dest = msg->dest32; in update_intremap_entry_from_msi_msg()
547 dest = MASK_EXTR(msg->address_lo, MSI_ADDR_DEST_ID_MASK); in update_intremap_entry_from_msi_msg()
[all …]
/xen/tools/xenmon/
A Dxenmon.py75 parser.add_option("-l", "--live", dest="live", action="store_true",
77 parser.add_option("-n", "--notlive", dest="live", action="store_false",
79 parser.add_option("-p", "--prefix", dest="prefix",
81 parser.add_option("-t", "--time", dest="duration",
84 parser.add_option("-i", "--interval", dest="interval",
87 parser.add_option("--ms_per_sample", dest="mspersample",
98 parser.add_option("--blocked", dest="blocked", action="store_true",
103 parser.add_option("--waited", dest="waited", action="store_true",
105 parser.add_option("--nowaited", dest="waited", action="store_false",
108 parser.add_option("--excount", dest="excount", action="store_true",
[all …]
/xen/tools/libs/gnttab/
A Dlinux.c271 dest.virt) != in osdep_gnttab_grant_copy()
273 dest.virt)); in osdep_gnttab_grant_copy()
275 dest.foreign) != in osdep_gnttab_grant_copy()
277 dest.foreign)); in osdep_gnttab_grant_copy()
279 dest.foreign.ref) != in osdep_gnttab_grant_copy()
281 dest.foreign)); in osdep_gnttab_grant_copy()
283 dest.foreign.offset) != in osdep_gnttab_grant_copy()
285 dest.foreign.offset)); in osdep_gnttab_grant_copy()
287 dest.foreign.domid) != in osdep_gnttab_grant_copy()
289 dest.foreign.domid)); in osdep_gnttab_grant_copy()
/xen/tools/firmware/hvmloader/
A Dutil.c167 return dest; in memcpy()
176 memcpy(dest, src, n); in memmove()
177 return dest; in memmove()
181 strcpy(char *dest, const char *src) in strcpy() argument
183 char *p = dest; in strcpy()
187 return dest; in strcpy()
191 strncpy(char *dest, const char *src, unsigned n) in strncpy() argument
194 char *p = dest; in strncpy()
211 return dest; in strncpy()
349 uuid_to_string(char *dest, uint8_t *uuid) in uuid_to_string() argument
[all …]
A Doptionroms.c36 void *roms, uint32_t dest) in scan_option_rom() argument
102 if ( (dest + rom->rom_size * 512 + 1) > option_rom_end ) in scan_option_rom()
110 memcpy((void *)dest, rom, rom->rom_size * 512); in scan_option_rom()
111 *(uint8_t *)(dest + rom->rom_size * 512) = devfn; in scan_option_rom()
A Dutil.h170 char *strcpy(char *dest, const char *src);
171 char *strncpy(char *dest, const char *src, unsigned n);
175 void *memcpy(void *dest, const void *src, unsigned n);
176 void *memmove(void *dest, const void *src, unsigned n);
186 void uuid_to_string(char *dest, uint8_t *uuid);
/xen/xen/include/xen/
A Dstdarg.h5 #define va_copy(dest, src) __builtin_va_copy((dest), (src)) argument
A Dlz4.h72 unsigned char *dest, size_t actual_dest_len);
87 unsigned char *dest, size_t *dest_len);
/xen/tools/libxc/
A Dxc_dom_binloader.c252 char *dest; in xc_dom_load_bin_kernel() local
278 dest = xc_dom_vaddr_to_ptr(dom, dom->kernel_seg.vstart, &dest_size); in xc_dom_load_bin_kernel()
279 if ( dest == NULL ) in xc_dom_load_bin_kernel()
301 memcpy(dest, image + skip, text_size); in xc_dom_load_bin_kernel()
302 memset(dest + text_size, 0, bss_size); in xc_dom_load_bin_kernel()
A Dxc_dom_hvmloader.c137 void *dest; in module_init_one() local
143 dest = xc_dom_seg_to_ptr(dom, &seg); in module_init_one()
144 if ( dest == NULL ) in module_init_one()
150 memcpy(dest, module->data, module->length); in module_init_one()
/xen/xen/arch/x86/hvm/
A Dvlapic.c240 int short_hand, uint32_t dest, bool_t dest_mode) in vlapic_match_dest() argument
251 return (dest == _VLAPIC_ID(target, 0xffffffff)) || in vlapic_match_dest()
252 (dest == VLAPIC_ID(target)); in vlapic_match_dest()
319 uint32_t dest = vcpu_vlapic(origin)->init_sipi.dest; in vlapic_init_sipi_action() local
387 int short_hand, uint32_t dest, bool_t dest_mode) in vlapic_lowest_prio() argument
485 return dest_mode ? hweight16(dest) > 1 : dest == 0xffffffff; in is_multicast_dest()
488 return hweight8(dest & in is_multicast_dest()
492 return dest == 0xff; in is_multicast_dest()
498 unsigned int dest; in vlapic_ipi() local
504 dest = _VLAPIC_ID(vlapic, icr_high); in vlapic_ipi()
[all …]
/xen/xen/common/xz/
A Ddec_bcj.c99 uint32_t dest; in bcj_x86() local
132 dest = src - (s->pos + (uint32_t)i + 5); in bcj_x86()
137 b = (uint8_t)(dest >> (24 - j)); in bcj_x86()
141 src = dest ^ (((uint32_t)1 << (32 - j)) - 1); in bcj_x86()
144 dest &= 0x01FFFFFF; in bcj_x86()
145 dest |= (uint32_t)0 - (dest & 0x01000000); in bcj_x86()
146 put_unaligned_le32(dest, buf + i + 1); in bcj_x86()

Completed in 33 milliseconds

1234