/openbmc/linux/arch/m68k/math-emu/ |
H A D | fp_arith.c | 40 return dest; in fp_fabs() 50 dest->sign = !dest->sign; in fp_fneg() 106 fp_submant(dest, src, dest); in fp_fadd() 107 dest->sign = !dest->sign; in fp_fadd() 109 fp_submant(dest, dest, src); in fp_fadd() 161 dest->sign = src->sign ^ dest->sign; in fp_fmul() 239 dest->sign = src->sign ^ dest->sign; in fp_fdiv() 319 dest->sign = src->sign ^ dest->sign; in fp_fsglmul() 349 fp_mul64(dest->mant.m32[0], dest->mant.m32[1], in fp_fsglmul() 377 dest->sign = src->sign ^ dest->sign; in fp_fsgldiv() [all …]
|
H A D | fp_log.c | 39 return dest; in fp_fsqrt() 43 return dest; in fp_fsqrt() 46 return dest; in fp_fsqrt() 63 dest->exp++; in fp_fsqrt() 98 return dest; in fp_fsqrt() 108 return dest; in fp_fetoxm1() 118 return dest; in fp_fetox() 128 return dest; in fp_ftwotox() 138 return dest; in fp_ftentox() 148 return dest; in fp_flogn() [all …]
|
H A D | fp_trig.c | 28 return dest; in fp_fsin() 38 return dest; in fp_fcos() 48 return dest; in fp_ftan() 58 return dest; in fp_fasin() 68 return dest; in fp_facos() 78 return dest; in fp_fatan() 88 return dest; in fp_fsinh() 98 return dest; in fp_fcosh() 108 return dest; in fp_ftanh() 118 return dest; in fp_fatanh() [all …]
|
H A D | multi_arith.h | 170 fp_mul64(dest->m32[0], dest->m32[1], src1->mant.m32[0], src2->mant.m32[0]); in fp_multiplymant() 171 fp_mul64(dest->m32[2], dest->m32[3], src1->mant.m32[1], src2->mant.m32[1]); in fp_multiplymant() 174 fp_addx96(dest, temp); in fp_multiplymant() 177 fp_addx96(dest, temp); in fp_multiplymant() 253 dest->lowmant |= 1; in fp_putmant128() 262 dest->lowmant = tmp >> 24; in fp_putmant128() 264 dest->lowmant |= 1; in fp_putmant128() 268 : "=d" (dest->mant.m32[0]) in fp_putmant128() 274 dest->lowmant = tmp >> 24; in fp_putmant128() 276 dest->lowmant |= 1; in fp_putmant128() [all …]
|
H A D | fp_emu.h | 75 *dest = *src; \ 79 fp_copy_ext(dest, src); \ 80 if (!fp_normalize_ext(dest)) \ 81 return dest; \ 86 return dest; \ 88 fp_copy_ext(dest, src); \ 89 return dest; \ 96 #define fp_set_nan(dest) ({ \ argument 98 *dest = fp_QNaN; \ 104 dest->exp = 0x7fff; \ [all …]
|
/openbmc/linux/lib/ |
H A D | strcat_kunit.c | 15 char dest[8]; in strcat_test() local 18 memset(dest, 0, sizeof(dest)); in strcat_test() 21 KUNIT_EXPECT_TRUE(test, strcat(dest, "") == dest); in strcat_test() 24 KUNIT_EXPECT_TRUE(test, strcat(dest, "four\000123") == dest); in strcat_test() 28 KUNIT_EXPECT_TRUE(test, strcat(dest, "AB") == dest); in strcat_test() 34 char dest[8]; in strncat_test() local 37 memset(dest, 0, sizeof(dest)); in strncat_test() 40 KUNIT_EXPECT_TRUE(test, strncat(dest, "", 0 + unconst) == dest); in strncat_test() 43 KUNIT_EXPECT_TRUE(test, strncat(dest, "", 1 + unconst) == dest); in strncat_test() 46 KUNIT_EXPECT_TRUE(test, strncat(dest, "asdf", 0 + unconst) == dest); in strncat_test() [all …]
|
/openbmc/linux/drivers/infiniband/hw/hfi1/ |
H A D | pio_copy.c | 38 writeq(pbc, dest); in pio_copy() 39 dest += sizeof(u64); in pio_copy() 118 writeq(0, dest); in pio_copy() 152 *dest++ = *src++; in jcopy() 155 *dest++ = *src++; in jcopy() 158 *dest++ = *src++; in jcopy() 161 *dest++ = *src++; in jcopy() 164 *dest++ = *src++; in jcopy() 167 *dest++ = *src++; in jcopy() 170 *dest++ = *src++; in jcopy() [all …]
|
/openbmc/u-boot/lib/libavb/ |
H A D | avb_hashtree_descriptor.c | 25 dest->image_size = avb_be64toh(dest->image_size); in avb_hashtree_descriptor_validate_and_byteswap() 26 dest->tree_offset = avb_be64toh(dest->tree_offset); in avb_hashtree_descriptor_validate_and_byteswap() 27 dest->tree_size = avb_be64toh(dest->tree_size); in avb_hashtree_descriptor_validate_and_byteswap() 28 dest->data_block_size = avb_be32toh(dest->data_block_size); in avb_hashtree_descriptor_validate_and_byteswap() 29 dest->hash_block_size = avb_be32toh(dest->hash_block_size); in avb_hashtree_descriptor_validate_and_byteswap() 30 dest->fec_num_roots = avb_be32toh(dest->fec_num_roots); in avb_hashtree_descriptor_validate_and_byteswap() 31 dest->fec_offset = avb_be64toh(dest->fec_offset); in avb_hashtree_descriptor_validate_and_byteswap() 32 dest->fec_size = avb_be64toh(dest->fec_size); in avb_hashtree_descriptor_validate_and_byteswap() 34 dest->salt_len = avb_be32toh(dest->salt_len); in avb_hashtree_descriptor_validate_and_byteswap() 35 dest->root_digest_len = avb_be32toh(dest->root_digest_len); in avb_hashtree_descriptor_validate_and_byteswap() [all …]
|
H A D | avb_hash_descriptor.c | 13 avb_memcpy(dest, src, sizeof(AvbHashDescriptor)); in avb_hash_descriptor_validate_and_byteswap() 16 (AvbDescriptor*)dest)) in avb_hash_descriptor_validate_and_byteswap() 19 if (dest->parent_descriptor.tag != AVB_DESCRIPTOR_TAG_HASH) { in avb_hash_descriptor_validate_and_byteswap() 24 dest->image_size = avb_be64toh(dest->image_size); in avb_hash_descriptor_validate_and_byteswap() 25 dest->partition_name_len = avb_be32toh(dest->partition_name_len); in avb_hash_descriptor_validate_and_byteswap() 26 dest->salt_len = avb_be32toh(dest->salt_len); in avb_hash_descriptor_validate_and_byteswap() 27 dest->digest_len = avb_be32toh(dest->digest_len); in avb_hash_descriptor_validate_and_byteswap() 28 dest->flags = avb_be32toh(dest->flags); in avb_hash_descriptor_validate_and_byteswap() 32 if (!avb_safe_add_to(&expected_size, dest->partition_name_len) || in avb_hash_descriptor_validate_and_byteswap() 33 !avb_safe_add_to(&expected_size, dest->salt_len) || in avb_hash_descriptor_validate_and_byteswap() [all …]
|
H A D | avb_vbmeta_image.c | 236 dest->algorithm_type = avb_be32toh(dest->algorithm_type); in avb_vbmeta_image_header_to_host_byte_order() 238 dest->hash_offset = avb_be64toh(dest->hash_offset); in avb_vbmeta_image_header_to_host_byte_order() 239 dest->hash_size = avb_be64toh(dest->hash_size); in avb_vbmeta_image_header_to_host_byte_order() 241 dest->signature_offset = avb_be64toh(dest->signature_offset); in avb_vbmeta_image_header_to_host_byte_order() 242 dest->signature_size = avb_be64toh(dest->signature_size); in avb_vbmeta_image_header_to_host_byte_order() 244 dest->public_key_offset = avb_be64toh(dest->public_key_offset); in avb_vbmeta_image_header_to_host_byte_order() 245 dest->public_key_size = avb_be64toh(dest->public_key_size); in avb_vbmeta_image_header_to_host_byte_order() 251 dest->descriptors_offset = avb_be64toh(dest->descriptors_offset); in avb_vbmeta_image_header_to_host_byte_order() 252 dest->descriptors_size = avb_be64toh(dest->descriptors_size); in avb_vbmeta_image_header_to_host_byte_order() 254 dest->rollback_index = avb_be64toh(dest->rollback_index); in avb_vbmeta_image_header_to_host_byte_order() [all …]
|
H A D | avb_footer.c | 9 bool avb_footer_validate_and_byteswap(const AvbFooter* src, AvbFooter* dest) { in avb_footer_validate_and_byteswap() argument 10 avb_memcpy(dest, src, sizeof(AvbFooter)); in avb_footer_validate_and_byteswap() 12 dest->version_major = avb_be32toh(dest->version_major); in avb_footer_validate_and_byteswap() 13 dest->version_minor = avb_be32toh(dest->version_minor); in avb_footer_validate_and_byteswap() 15 dest->original_image_size = avb_be64toh(dest->original_image_size); in avb_footer_validate_and_byteswap() 16 dest->vbmeta_offset = avb_be64toh(dest->vbmeta_offset); in avb_footer_validate_and_byteswap() 17 dest->vbmeta_size = avb_be64toh(dest->vbmeta_size); in avb_footer_validate_and_byteswap() 20 if (avb_safe_memcmp(dest->magic, AVB_FOOTER_MAGIC, AVB_FOOTER_MAGIC_LEN) != in avb_footer_validate_and_byteswap() 29 if (dest->version_major > AVB_FOOTER_VERSION_MAJOR) { in avb_footer_validate_and_byteswap()
|
/openbmc/linux/net/netfilter/ipvs/ |
H A D | ip_vs_sh.c | 110 return (!dest || is_unavailable(dest)) ? NULL : dest; in ip_vs_sh_get() 130 dest = rcu_dereference(s->buckets[ihash].dest); in ip_vs_sh_get_fallback() 131 if (!dest) in ip_vs_sh_get_fallback() 137 IP_VS_DBG_ADDR(dest->af, &dest->addr), ntohs(dest->port)); in ip_vs_sh_get_fallback() 145 dest = rcu_dereference(s->buckets[hash].dest); in ip_vs_sh_get_fallback() 152 IP_VS_DBG_ADDR(dest->af, &dest->addr), in ip_vs_sh_get_fallback() 177 dest = rcu_dereference_protected(b->dest, 1); in ip_vs_sh_reassign() 188 RCU_INIT_POINTER(b->dest, dest); in ip_vs_sh_reassign() 191 i, IP_VS_DBG_ADDR(dest->af, &dest->addr), in ip_vs_sh_reassign() 218 dest = rcu_dereference_protected(b->dest, 1); in ip_vs_sh_flush() [all …]
|
H A D | ip_vs_mh.c | 113 dest = rcu_dereference_protected(l->dest, 1); in ip_vs_mh_reset() 114 if (dest) { in ip_vs_mh_reset() 211 if (dest) in ip_vs_mh_populate() 242 return (!dest || is_unavailable(dest)) ? NULL : dest; in ip_vs_mh_get() 257 dest = rcu_dereference(s->lookup[ihash].dest); in ip_vs_mh_get_fallback() 258 if (!dest) in ip_vs_mh_get_fallback() 264 IP_VS_DBG_ADDR(dest->af, &dest->addr), ntohs(dest->port)); in ip_vs_mh_get_fallback() 273 dest = rcu_dereference(s->lookup[hash].dest); in ip_vs_mh_get_fallback() 274 if (!dest) in ip_vs_mh_get_fallback() 280 IP_VS_DBG_ADDR(dest->af, &dest->addr), in ip_vs_mh_get_fallback() [all …]
|
H A D | ip_vs_dh.c | 103 struct ip_vs_dest *dest; in ip_vs_dh_reassign() local 110 dest = rcu_dereference_protected(b->dest, 1); in ip_vs_dh_reassign() 111 if (dest) in ip_vs_dh_reassign() 112 ip_vs_dest_put(dest); in ip_vs_dh_reassign() 121 RCU_INIT_POINTER(b->dest, dest); in ip_vs_dh_reassign() 142 dest = rcu_dereference_protected(b->dest, 1); in ip_vs_dh_flush() 143 if (dest) { in ip_vs_dh_flush() 144 ip_vs_dest_put(dest); in ip_vs_dh_flush() 223 if (!dest in ip_vs_dh_schedule() 233 IP_VS_DBG_ADDR(dest->af, &dest->addr), in ip_vs_dh_schedule() [all …]
|
/openbmc/linux/arch/m68k/lib/ |
H A D | memmove.c | 12 void *xdest = dest; in memmove() 18 if (dest < src) { in memmove() 23 dest = cdest; in memmove() 31 dest = sdest; in memmove() 43 dest = ldest; in memmove() 50 dest = sdest; in memmove() 59 dest = (char *)dest + n; in memmove() 65 dest = cdest; in memmove() 73 dest = sdest; in memmove() 85 dest = ldest; in memmove() [all …]
|
/openbmc/qemu/target/loongarch/insn_trans/ |
H A D | trans_bit.c.inc | 13 func(dest, src1); 22 tcg_gen_sextract_i64(dest, dest, (32 - sa * 8), 32); 64 tcg_gen_subi_tl(dest, dest, TARGET_LONG_BITS - 32); 69 tcg_gen_not_tl(dest, src1); 70 tcg_gen_ext32u_tl(dest, dest); 71 gen_clz_w(dest, dest); 77 tcg_gen_ctzi_tl(dest, dest, TARGET_LONG_BITS); 83 gen_ctz_w(dest, dest); 94 gen_clz_d(dest, dest); 105 gen_ctz_d(dest, dest); [all …]
|
/openbmc/linux/arch/x86/lib/ |
H A D | usercopy_64.c | 67 if (!IS_ALIGNED(dest, 8)) { in __copy_user_flushcache() 68 dest = ALIGN(dest, boot_cpu_data.x86_clflush_size); in __copy_user_flushcache() 86 if (!IS_ALIGNED(dest, 8)) { in __memcpy_flushcache() 87 size_t len = min_t(size_t, size, ALIGN(dest, 8) - dest); in __memcpy_flushcache() 91 dest += len; in __memcpy_flushcache() 108 :: "r" (source), "r" (dest) in __memcpy_flushcache() 110 dest += 32; in __memcpy_flushcache() 119 :: "r" (source), "r" (dest) in __memcpy_flushcache() 121 dest += 8; in __memcpy_flushcache() 130 :: "r" (source), "r" (dest) in __memcpy_flushcache() [all …]
|
H A D | memmove_32.S | 19 .set dest, %edi define 43 movl dest_in, dest 50 cmpl dest, src 61 xorl dest, tmp0 79 leal 0x10(dest), dest 98 movl dest, tmp1 100 leal -4(dest, n), dest 114 xorl dest, tmp0 121 addl n, dest 137 leal -0x10(dest), dest [all …]
|
/openbmc/qemu/target/riscv/insn_trans/ |
H A D | trans_rvzfh.c.inc | 45 TCGv_i64 dest; 59 dest = cpu_fpr[a->rd]; 61 gen_nanbox_h(dest, dest); 261 tcg_gen_ext16s_i64(dest, dest); 306 tcg_gen_or_i64(dest, dest, rs2); 310 tcg_gen_ext16s_i64(dest, dest); 350 tcg_gen_xor_i64(dest, rs1, dest); 354 tcg_gen_ext16s_i64(dest, dest); 468 gen_set_gpr(ctx, a->rd, dest); 482 gen_set_gpr(ctx, a->rd, dest); [all …]
|
H A D | trans_rvf.c.inc | 44 TCGv_i64 dest; 52 dest = cpu_fpr[a->rd]; 54 gen_nanbox_s(dest, dest); 259 tcg_gen_ext32s_i64(dest, dest); 301 tcg_gen_or_i64(dest, dest, rs2); 305 tcg_gen_ext32s_i64(dest, dest); 346 tcg_gen_xor_i64(dest, rs1, dest); 350 tcg_gen_ext32s_i64(dest, dest); 397 gen_set_gpr(ctx, a->rd, dest); 411 gen_set_gpr(ctx, a->rd, dest); [all …]
|
/openbmc/linux/arch/alpha/kernel/ |
H A D | process.c | 291 dest[ 0] = pt->r0; in dump_elf_thread() 292 dest[ 1] = pt->r1; in dump_elf_thread() 293 dest[ 2] = pt->r2; in dump_elf_thread() 294 dest[ 3] = pt->r3; in dump_elf_thread() 295 dest[ 4] = pt->r4; in dump_elf_thread() 296 dest[ 5] = pt->r5; in dump_elf_thread() 297 dest[ 6] = pt->r6; in dump_elf_thread() 298 dest[ 7] = pt->r7; in dump_elf_thread() 299 dest[ 8] = pt->r8; in dump_elf_thread() 300 dest[ 9] = sw->r9; in dump_elf_thread() [all …]
|
/openbmc/linux/fs/udf/ |
H A D | udftime.c | 48 dest->tv_sec -= offset * 60; in udf_disk_stamp_to_time() 59 dest->tv_nsec = 0; in udf_disk_stamp_to_time() 76 dest->year = cpu_to_le16(tm.tm_year + 1900); in udf_time_to_disk_stamp() 77 dest->month = tm.tm_mon + 1; in udf_time_to_disk_stamp() 78 dest->day = tm.tm_mday; in udf_time_to_disk_stamp() 79 dest->hour = tm.tm_hour; in udf_time_to_disk_stamp() 80 dest->minute = tm.tm_min; in udf_time_to_disk_stamp() 81 dest->second = tm.tm_sec; in udf_time_to_disk_stamp() 82 dest->centiseconds = ts.tv_nsec / 10000000; in udf_time_to_disk_stamp() 84 dest->centiseconds * 10000) / 100; in udf_time_to_disk_stamp() [all …]
|
/openbmc/linux/arch/x86/kernel/ |
H A D | callthunks.c | 141 if (dest == __fentry__) in skip_addr() 160 void *dest; in call_get_dest() local 172 if (skip_addr(dest)) in call_get_dest() 174 return dest; in call_get_dest() 208 void *pad, *dest; in patch_call() local 215 if (!dest || WARN_ON_ONCE(IS_ERR(dest))) in patch_call() 221 pad = patch_dest(dest, within_coretext(ct, dest)); in patch_call() 226 dest, dest, pad); in patch_call() 286 return dest; in callthunks_translate_call_dest() 289 return dest; in callthunks_translate_call_dest() [all …]
|
/openbmc/linux/drivers/comedi/drivers/ni_routing/ni_device_routes/ |
H A D | pxi-6030e.c | 34 .dest = NI_PFI(0), 41 .dest = NI_PFI(1), 48 .dest = NI_PFI(2), 55 .dest = NI_PFI(3), 62 .dest = NI_PFI(4), 69 .dest = NI_PFI(5), 76 .dest = NI_PFI(6), 83 .dest = NI_PFI(7), 90 .dest = NI_PFI(8), 97 .dest = NI_PFI(9), [all …]
|
H A D | pci-6070e.c | 34 .dest = NI_PFI(0), 41 .dest = NI_PFI(1), 48 .dest = NI_PFI(2), 55 .dest = NI_PFI(3), 62 .dest = NI_PFI(4), 69 .dest = NI_PFI(5), 76 .dest = NI_PFI(6), 83 .dest = NI_PFI(7), 90 .dest = NI_PFI(8), 97 .dest = NI_PFI(9), [all …]
|