/xen/xen/arch/arm/arm64/lib/ |
A D | memset.S | 52 dst .req x8 label 82 neg tmp2, dst 93 add dst, dst, tmp2 119 add dst, dst, count 130 sub dst, dst, #16/* Pre-bias. */ 140 add dst, dst, #16 179 neg tmp2, dst 201 add dst, dst, #64 204 add dst, dst, tmp2 208 dc zva, dst [all …]
|
A D | memcpy.S | 47 dst .req x6 label 59 mov dst, dstin 76 strb tmp1w, [dst], #1 80 strh tmp1w, [dst], #2 84 str tmp1w, [dst], #4 88 str tmp1, [dst],#8 129 str tmp1, [dst], #8 133 str tmp1w, [dst], #4 137 strh tmp1w, [dst], #2 141 strb tmp1w, [dst] [all …]
|
A D | memmove.S | 48 dst .req x6 label 66 add dst, dstin, count 81 strb tmp1w, [dst, #-1]! 85 strh tmp1w, [dst, #-2]! 89 str tmp1w, [dst, #-4]! 93 str tmp1, [dst, #-8]! 125 str tmp1, [dst, #-8]! 129 str tmp1w, [dst, #-4]! 133 strh tmp1w, [dst, #-2]! 137 strb tmp1w, [dst, #-1] [all …]
|
/xen/stubdom/vtpmmgr/ |
A D | disk_read.c | 78 dst->seals = calloc(dst->nr_seals, sizeof(dst->seals[0])); in find_group_key() 79 if (!dst->seals) { in find_group_key() 145 aes_decrypt_one(&dst->tm_key, &sealed.tm_key, &dst->nv_key); in parse_root_key() 173 dst = calloc(1, sizeof(*dst)); in find_root_key() 191 return dst; in find_root_key() 198 mgr_free(dst); in find_root_key() 384 dst->v = NULL; in load_verify_group() 394 aes_setup(&dst->tm_key_e, &dst->tm_key); in load_root_pre() 403 dst->root_seals_valid = 1 + dst->active_root; in load_root_pre() 479 dst->groups = calloc(sizeof(dst->groups[0]), dst->nr_groups); in load_root_post() [all …]
|
A D | disk_crypto.c | 60 uint64_t *dst = target; in aes_encrypt_ctr() local 64 dst[0] = ctr[0]; in aes_encrypt_ctr() 65 dst[1] = ctr[1]; in aes_encrypt_ctr() 66 dst += 2; in aes_encrypt_ctr() 75 dst[0] = tmp[0] ^ src[0]; in aes_encrypt_ctr() 78 dst += 2; in aes_encrypt_ctr() 97 memcpy(dst, dtmp, 16); in aes_encrypt_ctr() 104 dst += 2; in aes_encrypt_ctr() 115 uint64_t *dst = target; in aes_decrypt_ctr() local 132 dst += 2; in aes_decrypt_ctr() [all …]
|
A D | disk_write.c | 25 *dst = disk_find_free(mgr); in disk_write_crypt_sector() 28 disk_write_sector(*dst, sector, sizeof(*sector)); in disk_write_crypt_sector() 49 if (be32_native(dst->disk_loc) != 0) in disk_write_vtpm_page() 52 for(i=0; i < dst->size; i++) { in disk_write_vtpm_page() 54 memcpy(pt.data[i].data, dst->vtpms[i]->data, 64); in disk_write_vtpm_page() 59 sha256(&dst->disk_hash, &pt, sizeof(pt)); in disk_write_vtpm_page() 88 dst->pcr_selection = src->seals[i].pcr_selection; in generate_group_seals() 90 TPM_pcr_digest(&dst->digest_at_seal, dst->pcr_selection); in generate_group_seals() 253 struct disk_seal_entry *dst = &seal->entry[i]; in disk_write_seal_list() local 254 dst->pcr_selection = src->pcr_selection; in disk_write_seal_list() [all …]
|
A D | disk_tpm.c | 83 int TPM_disk_seal(struct disk_seal_entry *dst, const void* src, size_t size) in TPM_disk_seal() argument 113 info.creationPCRSelection.pcrSelect = (void*)&dst->pcr_selection; in TPM_disk_seal() 115 info.releasePCRSelection.pcrSelect = (void*)&dst->pcr_selection; in TPM_disk_seal() 116 memcpy(&info.digestAtCreation, &dst->digest_at_seal, 20); in TPM_disk_seal() 117 memcpy(&info.digestAtRelease, &dst->digest_release, 20); in TPM_disk_seal() 131 memcpy(dst->sealed_data, out.encData, 256); in TPM_disk_seal() 156 dst->sealed_data)); in TPM2_disk_bind() 173 dst)); in TPM2_disk_unbind() 179 int TPM_disk_unseal(void *dst, size_t size, const struct disk_seal_entry *src) in TPM_disk_unseal() argument 232 memcpy(dst, out, size); in TPM_disk_unseal() [all …]
|
A D | disk_tpm.h | 10 int TPM_disk_seal(struct disk_seal_entry *dst, const void* src, size_t size); 11 int TPM_disk_unseal(void *dst, size_t size, const struct disk_seal_entry *src); 14 TPM_RC TPM2_disk_bind(struct disk_seal_entry *dst, void* src, unsigned int size); 15 TPM_RC TPM2_disk_unbind(void *dst, unsigned int *size, const struct disk_seal_entry *src);
|
A D | calc.pl | 42 my($dst,$seq) = (shift, shift); 44 open my $update, '>', $dst or die $!; 62 printf "cfg_hash for %s: %s\n", $dst, Digest::SHA::sha1_hex($cfg);
|
/xen/xen/include/xen/ |
A D | bitmap.h | 116 *dst = 0UL, in bitmap_zero() 117 memset(dst, 0, bitmap_bytes(nbits))); in bitmap_zero() 140 *dst = *src, in bitmap_copy() 148 *dst = *src1 & *src2, in bitmap_and() 149 __bitmap_and(dst, src1, src2, nbits)); in bitmap_and() 156 *dst = *src1 | *src2, in bitmap_or() 157 __bitmap_or(dst, src1, src2, nbits)); in bitmap_or() 164 *dst = *src1 ^ *src2, in bitmap_xor() 165 __bitmap_xor(dst, src1, src2, nbits)); in bitmap_xor() 172 *dst = *src1 & ~*src2, in bitmap_andnot() [all …]
|
A D | nodemask.h | 72 #define node_set(node, dst) __node_set((node), &(dst)) argument 78 #define node_clear(node, dst) __node_clear((node), &(dst)) argument 84 #define nodes_setall(dst) __nodes_setall(&(dst), MAX_NUMNODES) argument 90 #define nodes_clear(dst) __nodes_clear(&(dst), MAX_NUMNODES) argument 98 return test_bit(node, dst->bits); in nodemask_test() 108 #define nodes_and(dst, src1, src2) \ argument 116 #define nodes_or(dst, src1, src2) \ argument 124 #define nodes_xor(dst, src1, src2) \ argument 132 #define nodes_andnot(dst, src1, src2) \ argument 140 #define nodes_complement(dst, src) \ argument [all …]
|
/xen/xen/include/asm-arm/arm64/ |
A D | macros.h | 7 .macro adr_cpu_info, dst 8 add \dst, sp, #STACK_SIZE 9 and \dst, \dst, #~(STACK_SIZE - 1) 10 sub \dst, \dst, #CPUINFO_sizeof 18 .macro ldr_this_cpu, dst, sym, tmp 19 ldr \dst, =per_cpu__\sym 21 ldr \dst, [\dst, \tmp]
|
/xen/xen/xsm/flask/ss/ |
A D | context.h | 48 dst->range.level[0].sens = src->range.level[0].sens; in mls_context_cpy() 49 rc = ebitmap_cpy(&dst->range.level[0].cat, &src->range.level[0].cat); in mls_context_cpy() 53 dst->range.level[1].sens = src->range.level[1].sens; in mls_context_cpy() 56 ebitmap_destroy(&dst->range.level[0].cat); in mls_context_cpy() 71 dst->range.level[0].sens = src->range.level[0].sens; in mls_context_cpy_low() 76 dst->range.level[1].sens = src->range.level[0].sens; in mls_context_cpy_low() 79 ebitmap_destroy(&dst->range.level[0].cat); in mls_context_cpy_low() 112 dst->user = src->user; in context_cpy() 113 dst->role = src->role; in context_cpy() 114 dst->type = src->type; in context_cpy() [all …]
|
/xen/xen/include/asm-x86/ |
A D | guest_access.h | 16 #define raw_copy_to_guest(dst, src, len) \ argument 18 copy_to_user_hvm((dst), (src), (len)) : \ 19 copy_to_user((dst), (src), (len))) 20 #define raw_copy_from_guest(dst, src, len) \ argument 22 copy_from_user_hvm((dst), (src), (len)) : \ 23 copy_from_user((dst), (src), (len))) 24 #define raw_clear_guest(dst, len) \ argument 27 clear_user((dst), (len))) 31 __copy_to_user((dst), (src), (len))) 35 __copy_from_user((dst), (src), (len))) [all …]
|
A D | mpspec.h | 59 #define physids_and(dst, src1, src2) bitmap_and((dst).mask, (src1).mask, (src2).mask, MAX_APICS) argument 60 #define physids_or(dst, src1, src2) bitmap_or((dst).mask, (src1).mask, (src2).mask, MAX_APICS) argument 62 #define physids_complement(dst, src) bitmap_complement((dst).mask,(src).mask, MAX_APICS) argument
|
/xen/ |
A D | install.sh | 14 dst='/' 16 dst=$1 19 if ! [ -d $dst ]; then 21 echo " The specified directory '$dst' is not valid." 27 echo "Installing Xen from '$src' to '$dst'..." 30 (cd $tmp; tar -cf - *) | tar --no-same-owner -C "$dst" -xf -
|
/xen/xen/arch/x86/x86_emulate/ |
A D | x86_emulate.c | 3952 dst.orig_val = dst.val; in x86_emulate() 4118 dst.val = *dst.reg; in x86_emulate() 4209 dst.val = *dst.reg; in x86_emulate() 4454 dst.val = *dst.reg; in x86_emulate() 4609 dst.mem.seg, dst.mem.off, dst.bytes, in x86_emulate() 5383 dst.val = ~dst.val; in x86_emulate() 8116 (rc = read_ulong(dst.mem.seg, dst.mem.off, &dst.val, in x86_emulate() 8150 dst.orig_val = dst.val; in x86_emulate() 8353 (rc = read_ulong(dst.mem.seg, dst.mem.off, &dst.val, in x86_emulate() 9620 dst.val = mode_64bit() ? *dst.reg : (uint32_t)*dst.reg; in x86_emulate() [all …]
|
/xen/tools/libfsimage/zfs/ |
A D | zfs_lzjb.c | 37 uint8_t *dst = d_start; in lzjb_decompress() local 42 while (dst < d_end) { in lzjb_decompress() 51 if ((cpy = dst - offset) < (uint8_t *)d_start) in lzjb_decompress() 53 while (--mlen >= 0 && dst < d_end) in lzjb_decompress() 54 *dst++ = *cpy++; in lzjb_decompress() 56 *dst++ = *src++; in lzjb_decompress()
|
/xen/xen/lib/x86/ |
A D | private.h | 41 #define copy_to_buffer_offset(dst, index, src, nr) \ argument 44 typeof(*(dst)) *dst_ = (dst); \ 54 #define copy_from_buffer_offset(dst, src, index, nr) \ argument 57 typeof(*(dst)) *dst_ = (dst); \
|
/xen/tools/tests/x86_emulator/ |
A D | wrappers.c | 26 void *emul_memcpy(void *dst, const void *src, size_t sz) in emul_memcpy() argument 29 memcpy(dst, src, sz); in emul_memcpy() 32 return dst; in emul_memcpy() 35 void *emul_memset(void *dst, int c, size_t sz) in emul_memset() argument 38 memset(dst, c, sz); in emul_memset() 41 return dst; in emul_memset()
|
/xen/xen/common/ |
A D | bitmap.c | 101 void __bitmap_complement(unsigned long *dst, const unsigned long *src, int bits) in __bitmap_complement() argument 105 dst[k] = ~src[k]; in __bitmap_complement() 108 dst[k] = ~src[k] & BITMAP_LAST_WORD_MASK(bits); in __bitmap_complement() 112 void __bitmap_and(unsigned long *dst, const unsigned long *bitmap1, in __bitmap_and() argument 119 dst[k] = bitmap1[k] & bitmap2[k]; in __bitmap_and() 123 void __bitmap_or(unsigned long *dst, const unsigned long *bitmap1, in __bitmap_or() argument 130 dst[k] = bitmap1[k] | bitmap2[k]; in __bitmap_or() 134 void __bitmap_xor(unsigned long *dst, const unsigned long *bitmap1, in __bitmap_xor() argument 141 dst[k] = bitmap1[k] ^ bitmap2[k]; in __bitmap_xor() 145 void __bitmap_andnot(unsigned long *dst, const unsigned long *bitmap1, in __bitmap_andnot() argument [all …]
|
A D | lzo.c | 28 #define COPY4(dst, src) \ argument 29 put_unaligned(get_unaligned((const u32 *)(src)), (u32 *)(dst)) 31 #define COPY8(dst, src) \ argument 32 put_unaligned(get_unaligned((const u64 *)(src)), (u64 *)(dst)) 34 #define COPY8(dst, src) \ argument 35 COPY4(dst, src); COPY4((dst) + 4, (src) + 4)
|
/xen/tools/libxl/ |
A D | libxl_uuid.c | 36 void libxl_uuid_copy(libxl_ctx *ctx_opt, libxl_uuid *dst, in libxl_uuid_copy() argument 39 uuid_copy(dst->uuid, src->uuid); in libxl_uuid_copy() 112 void libxl_uuid_copy(libxl_ctx *ctx_opt, libxl_uuid *dst, in libxl_uuid_copy() argument 115 memcpy(&dst->uuid, &src->uuid, sizeof(dst->uuid)); in libxl_uuid_copy()
|
A D | libxl_uuid.h | 56 void libxl_uuid_copy(libxl_ctx *ctx_opt, libxl_uuid *dst, 59 static inline void libxl_uuid_copy_0x040400(libxl_uuid *dst, in libxl_uuid_copy_0x040400() argument 62 libxl_uuid_copy(NULL, dst, src); in libxl_uuid_copy_0x040400()
|
/xen/xen/arch/x86/pv/ |
A D | callback.c | 350 struct trap_info *dst = curr->arch.pv.trap_ctxt; in do_set_trap_table() local 356 memset(dst, 0, X86_NR_VECTORS * sizeof(*dst)); in do_set_trap_table() 376 memcpy(&dst[cur.vector], &cur, sizeof(cur)); in do_set_trap_table() 395 struct trap_info *dst = curr->arch.pv.trap_ctxt; in compat_set_trap_table() local 401 memset(dst, 0, X86_NR_VECTORS * sizeof(*dst)); in compat_set_trap_table() 418 XLAT_trap_info(dst + cur.vector, &cur); in compat_set_trap_table()
|