Home
last modified time | relevance | path

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

12345678910>>...75

/openbmc/linux/arch/m68k/math-emu/
H A Dfp_arith.c32 fp_fabs(struct fp_ext *dest, struct fp_ext *src) in fp_fabs() argument
36 fp_monadic_check(dest, src); in fp_fabs()
38 dest->sign = 0; in fp_fabs()
40 return dest; in fp_fabs()
44 fp_fneg(struct fp_ext *dest, struct fp_ext *src) in fp_fneg() argument
48 fp_monadic_check(dest, src); in fp_fneg()
50 dest->sign = !dest->sign; in fp_fneg()
52 return dest; in fp_fneg()
61 fp_fadd(struct fp_ext *dest, struct fp_ext *src) in fp_fadd() argument
67 fp_dyadic_check(dest, src); in fp_fadd()
[all …]
H A Dfp_log.c25 extern struct fp_ext *fp_fadd(struct fp_ext *dest, const struct fp_ext *src);
26 extern struct fp_ext *fp_fdiv(struct fp_ext *dest, const struct fp_ext *src);
29 fp_fsqrt(struct fp_ext *dest, struct fp_ext *src) in fp_fsqrt() argument
36 fp_monadic_check(dest, src); in fp_fsqrt()
38 if (IS_ZERO(dest)) in fp_fsqrt()
39 return dest; in fp_fsqrt()
41 if (dest->sign) { in fp_fsqrt()
42 fp_set_nan(dest); in fp_fsqrt()
43 return dest; in fp_fsqrt()
45 if (IS_INF(dest)) in fp_fsqrt()
[all …]
H A Dfp_trig.c22 fp_fsin(struct fp_ext *dest, struct fp_ext *src) in fp_fsin() argument
26 fp_monadic_check(dest, src); in fp_fsin()
28 return dest; in fp_fsin()
32 fp_fcos(struct fp_ext *dest, struct fp_ext *src) in fp_fcos() argument
36 fp_monadic_check(dest, src); in fp_fcos()
38 return dest; in fp_fcos()
42 fp_ftan(struct fp_ext *dest, struct fp_ext *src) in fp_ftan() argument
46 fp_monadic_check(dest, src); in fp_ftan()
48 return dest; in fp_ftan()
52 fp_fasin(struct fp_ext *dest, struct fp_ext *src) in fp_fasin() argument
[all …]
H A Dmulti_arith.h81 static inline int fp_addmant(struct fp_ext *dest, struct fp_ext *src) in fp_addmant() argument
86 asm volatile ("add.b %1,%0" : "=d,g" (dest->lowmant) in fp_addmant()
87 : "g,d" (src->lowmant), "0,0" (dest->lowmant)); in fp_addmant()
88 asm volatile ("addx.l %1,%0" : "=d" (dest->mant.m32[1]) in fp_addmant()
89 : "d" (src->mant.m32[1]), "0" (dest->mant.m32[1])); in fp_addmant()
90 asm volatile ("addx.l %1,%0" : "=d" (dest->mant.m32[0]) in fp_addmant()
91 : "d" (src->mant.m32[0]), "0" (dest->mant.m32[0])); in fp_addmant()
114 static inline void fp_submant(struct fp_ext *dest, struct fp_ext *src1, in fp_submant() argument
118 asm volatile ("sub.b %1,%0" : "=d,g" (dest->lowmant) in fp_submant()
120 asm volatile ("subx.l %1,%0" : "=d" (dest->mant.m32[1]) in fp_submant()
[all …]
/openbmc/linux/lib/
H A Dstrcat_kunit.c15 char dest[8]; in strcat_test() local
18 memset(dest, 0, sizeof(dest)); in strcat_test()
19 KUNIT_EXPECT_EQ(test, strlen(dest), 0); in strcat_test()
21 KUNIT_EXPECT_TRUE(test, strcat(dest, "") == dest); in strcat_test()
22 KUNIT_EXPECT_STREQ(test, dest, ""); in strcat_test()
24 KUNIT_EXPECT_TRUE(test, strcat(dest, "four\000123") == dest); in strcat_test()
25 KUNIT_EXPECT_STREQ(test, dest, "four"); in strcat_test()
26 KUNIT_EXPECT_EQ(test, dest[5], '\0'); in strcat_test()
28 KUNIT_EXPECT_TRUE(test, strcat(dest, "AB") == dest); in strcat_test()
29 KUNIT_EXPECT_STREQ(test, dest, "fourAB"); in strcat_test()
[all …]
/openbmc/linux/drivers/infiniband/hw/hfi1/
H A Dpio_copy.c33 void __iomem *dest = pbuf->start + SOP_DISTANCE; in pio_copy() local
34 void __iomem *send = dest + PIO_BLOCK_SIZE; in pio_copy()
38 writeq(pbc, dest); in pio_copy()
39 dest += sizeof(u64); in pio_copy()
42 dend = dest + ((count >> 1) * sizeof(u64)); in pio_copy()
50 while (dest < dend) { in pio_copy()
51 writeq(*(u64 *)from, dest); in pio_copy()
53 dest += sizeof(u64); in pio_copy()
66 while (dest < send) { in pio_copy()
67 writeq(*(u64 *)from, dest); in pio_copy()
[all …]
/openbmc/u-boot/lib/libavb/
H A Davb_hashtree_descriptor.c10 const AvbHashtreeDescriptor* src, AvbHashtreeDescriptor* dest) { in avb_hashtree_descriptor_validate_and_byteswap() argument
13 avb_memcpy(dest, src, sizeof(AvbHashtreeDescriptor)); in avb_hashtree_descriptor_validate_and_byteswap()
16 (AvbDescriptor*)dest)) in avb_hashtree_descriptor_validate_and_byteswap()
19 if (dest->parent_descriptor.tag != AVB_DESCRIPTOR_TAG_HASHTREE) { in avb_hashtree_descriptor_validate_and_byteswap()
24 dest->dm_verity_version = avb_be32toh(dest->dm_verity_version); in avb_hashtree_descriptor_validate_and_byteswap()
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()
[all …]
H A Davb_hash_descriptor.c10 AvbHashDescriptor* dest) { in avb_hash_descriptor_validate_and_byteswap() argument
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()
[all …]
H A Davb_vbmeta_image.c223 AvbVBMetaImageHeader* dest) { in avb_vbmeta_image_header_to_host_byte_order() argument
224 avb_memcpy(dest, src, sizeof(AvbVBMetaImageHeader)); in avb_vbmeta_image_header_to_host_byte_order()
226 dest->required_libavb_version_major = in avb_vbmeta_image_header_to_host_byte_order()
227 avb_be32toh(dest->required_libavb_version_major); in avb_vbmeta_image_header_to_host_byte_order()
228 dest->required_libavb_version_minor = in avb_vbmeta_image_header_to_host_byte_order()
229 avb_be32toh(dest->required_libavb_version_minor); in avb_vbmeta_image_header_to_host_byte_order()
231 dest->authentication_data_block_size = in avb_vbmeta_image_header_to_host_byte_order()
232 avb_be64toh(dest->authentication_data_block_size); in avb_vbmeta_image_header_to_host_byte_order()
233 dest->auxiliary_data_block_size = in avb_vbmeta_image_header_to_host_byte_order()
234 avb_be64toh(dest->auxiliary_data_block_size); in avb_vbmeta_image_header_to_host_byte_order()
[all …]
/openbmc/linux/net/netfilter/ipvs/
H A Dip_vs_sh.c55 struct ip_vs_dest __rcu *dest; /* real server (cache) */ member
74 static inline bool is_unavailable(struct ip_vs_dest *dest) in is_unavailable() argument
76 return atomic_read(&dest->weight) <= 0 || in is_unavailable()
77 dest->flags & IP_VS_DEST_F_OVERLOAD; in is_unavailable()
108 struct ip_vs_dest *dest = rcu_dereference(s->buckets[hash].dest); in ip_vs_sh_get() local
110 return (!dest || is_unavailable(dest)) ? NULL : dest; in ip_vs_sh_get()
126 struct ip_vs_dest *dest; in ip_vs_sh_get_fallback() local
130 dest = rcu_dereference(s->buckets[ihash].dest); in ip_vs_sh_get_fallback()
131 if (!dest) in ip_vs_sh_get_fallback()
133 if (!is_unavailable(dest)) in ip_vs_sh_get_fallback()
[all …]
H A Dip_vs_mh.c39 struct ip_vs_dest __rcu *dest; /* real server (cache) */ member
81 static inline bool is_unavailable(struct ip_vs_dest *dest) in is_unavailable() argument
83 return atomic_read(&dest->weight) <= 0 || in is_unavailable()
84 dest->flags & IP_VS_DEST_F_OVERLOAD; in is_unavailable()
109 struct ip_vs_dest *dest; in ip_vs_mh_reset() local
113 dest = rcu_dereference_protected(l->dest, 1); in ip_vs_mh_reset()
114 if (dest) { in ip_vs_mh_reset()
115 ip_vs_dest_put(dest); in ip_vs_mh_reset()
116 RCU_INIT_POINTER(l->dest, NULL); in ip_vs_mh_reset()
127 struct ip_vs_dest *dest; in ip_vs_mh_permutate() local
[all …]
H A Dip_vs_dh.c50 struct ip_vs_dest __rcu *dest; /* real server (cache) */ member
90 return rcu_dereference(s->buckets[ip_vs_dh_hashkey(af, addr)].dest); in ip_vs_dh_get()
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()
114 RCU_INIT_POINTER(b->dest, NULL); in ip_vs_dh_reassign()
119 dest = list_entry(p, struct ip_vs_dest, n_list); in ip_vs_dh_reassign()
120 ip_vs_dest_hold(dest); in ip_vs_dh_reassign()
121 RCU_INIT_POINTER(b->dest, dest); in ip_vs_dh_reassign()
[all …]
/openbmc/linux/arch/m68k/lib/
H A Dmemmove.c10 void *memmove(void *dest, const void *src, size_t n) in memmove() argument
12 void *xdest = dest; in memmove()
18 if (dest < src) { in memmove()
19 if ((long)dest & 1) { in memmove()
20 char *cdest = dest; in memmove()
23 dest = cdest; in memmove()
27 if (n > 2 && (long)dest & 2) { in memmove()
28 short *sdest = dest; in memmove()
31 dest = sdest; in memmove()
37 long *ldest = dest; in memmove()
[all …]
/openbmc/qemu/target/loongarch/tcg/insn_trans/
H A Dtrans_bit.c.inc10 TCGv dest = gpr_dst(ctx, a->rd, dst_ext);
13 func(dest, src1);
14 gen_set_gpr(a->rd, dest, dst_ext);
19 static void gen_bytepick_w(TCGv dest, TCGv src1, TCGv src2, target_long sa)
21 tcg_gen_concat_tl_i64(dest, src1, src2);
22 tcg_gen_sextract_i64(dest, dest, (32 - sa * 8), 32);
25 static void gen_bytepick_d(TCGv dest, TCGv src1, TCGv src2, target_long sa)
27 tcg_gen_extract2_i64(dest, src1, src2, (64 - sa * 8));
35 TCGv dest = gpr_dst(ctx, a->rd, EXT_NONE);
41 tcg_gen_deposit_tl(dest, src1, src2, a->ls, a->ms - a->ls + 1);
[all …]
/openbmc/qemu/target/riscv/insn_trans/
H A Dtrans_rvzfh.c.inc45 TCGv_i64 dest;
59 dest = cpu_fpr[a->rd];
60 tcg_gen_qemu_ld_i64(dest, t0, ctx->mem_idx, MO_TEUW);
61 gen_nanbox_h(dest, dest);
92 TCGv_i64 dest = dest_fpr(ctx, a->rd);
98 gen_helper_fmadd_h(dest, tcg_env, src1, src2, src3);
99 gen_set_fpr_hs(ctx, a->rd, dest);
109 TCGv_i64 dest = dest_fpr(ctx, a->rd);
115 gen_helper_fmsub_h(dest, tcg_env, src1, src2, src3);
116 gen_set_fpr_hs(ctx, a->rd, dest);
[all …]
H A Dtrans_rvf.c.inc44 TCGv_i64 dest;
57 dest = cpu_fpr[a->rd];
58 tcg_gen_qemu_ld_i64(dest, addr, ctx->mem_idx, memop);
59 gen_nanbox_s(dest, dest);
100 TCGv_i64 dest = dest_fpr(ctx, a->rd);
106 gen_helper_fmadd_s(dest, tcg_env, src1, src2, src3);
107 gen_set_fpr_hs(ctx, a->rd, dest);
117 TCGv_i64 dest = dest_fpr(ctx, a->rd);
123 gen_helper_fmsub_s(dest, tcg_env, src1, src2, src3);
124 gen_set_fpr_hs(ctx, a->rd, dest);
[all …]
/openbmc/linux/arch/x86/lib/
H A Dmemmove_32.S19 .set dest, %edi define
43 movl dest_in, dest
50 cmpl dest, src
61 xorl dest, tmp0
72 movl tmp0, 0*4(dest)
73 movl tmp1, 1*4(dest)
76 movl tmp0, 2*4(dest)
77 movl tmp1, 3*4(dest)
79 leal 0x10(dest), dest
88 leal -4(dest, n), tmp1
[all …]
H A Dusercopy_64.c48 unsigned long flushed, dest = (unsigned long) dst; in __copy_user_flushcache() local
64 if (!IS_ALIGNED(dest, 4) || size != 4) in __copy_user_flushcache()
67 if (!IS_ALIGNED(dest, 8)) { in __copy_user_flushcache()
68 dest = ALIGN(dest, boot_cpu_data.x86_clflush_size); in __copy_user_flushcache()
72 flushed = dest - (unsigned long) dst; in __copy_user_flushcache()
82 unsigned long dest = (unsigned long) _dst; in __memcpy_flushcache() local
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()
89 memcpy((void *) dest, (void *) source, len); in __memcpy_flushcache()
90 clean_cache_range((void *) dest, len); in __memcpy_flushcache()
[all …]
/openbmc/linux/arch/alpha/kernel/
H A Dprocess.c286 dump_elf_thread(elf_greg_t *dest, struct pt_regs *pt, struct thread_info *ti) in dump_elf_thread() argument
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()
[all …]
/openbmc/linux/drivers/comedi/drivers/ni_routing/ni_device_routes/
H A Dpxi-6030e.c34 .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 Dpci-6070e.c34 .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 Dpxi-6733.c34 .dest = NI_PFI(3),
41 .dest = NI_PFI(4),
48 .dest = NI_PFI(5),
55 .dest = NI_PFI(6),
62 .dest = NI_PFI(8),
69 .dest = NI_PFI(9),
76 .dest = TRIGGER_LINE(0),
88 .dest = TRIGGER_LINE(1),
100 .dest = TRIGGER_LINE(2),
112 .dest = TRIGGER_LINE(3),
[all …]
/openbmc/qemu/tests/migration/guestperf/
H A Dshell.py43 parser.add_argument("--debug", dest="debug", default=False, action="store_true")
44 parser.add_argument("--verbose", dest="verbose", default=False, action="store_true")
45 parser.add_argument("--sleep", dest="sleep", default=15, type=int)
46 parser.add_argument("--binary", dest="binary", default="/usr/bin/qemu-system-x86_64")
47 parser.add_argument("--dst-host", dest="dst_host", default="localhost")
48 … parser.add_argument("--kernel", dest="kernel", default="/boot/vmlinuz-%s" % platform.release())
49 parser.add_argument("--initrd", dest="initrd", default="tests/migration/initrd-stress.img")
50 parser.add_argument("--transport", dest="transport", default="unix")
54 parser.add_argument("--cpus", dest="cpus", default=1, type=int)
55 parser.add_argument("--mem", dest="mem", default=1, type=int)
[all …]
/openbmc/linux/arch/x86/kernel/
H A Dcallthunks.c122 static bool skip_addr(void *dest) in skip_addr() argument
124 if (dest == error_entry) in skip_addr()
126 if (dest == paranoid_entry) in skip_addr()
128 if (dest == xen_error_entry) in skip_addr()
131 if (dest == __switch_to_asm) in skip_addr()
134 if (dest == ret_from_fork) in skip_addr()
137 if (dest == soft_restart_cpu) in skip_addr()
141 if (dest == __fentry__) in skip_addr()
145 if (dest >= (void *)relocate_kernel && in skip_addr()
146 dest < (void*)relocate_kernel + KEXEC_CONTROL_CODE_MAX_SIZE) in skip_addr()
[all …]
/openbmc/linux/fs/udf/
H A Dudftime.c30 udf_disk_stamp_to_time(struct timespec64 *dest, struct timestamp src) in udf_disk_stamp_to_time() argument
46 dest->tv_sec = mktime64(year, src.month, src.day, src.hour, src.minute, in udf_disk_stamp_to_time()
48 dest->tv_sec -= offset * 60; in udf_disk_stamp_to_time()
56 dest->tv_nsec = 1000 * (src.centiseconds * 10000 + in udf_disk_stamp_to_time()
59 dest->tv_nsec = 0; in udf_disk_stamp_to_time()
64 udf_time_to_disk_stamp(struct timestamp *dest, struct timespec64 ts) in udf_time_to_disk_stamp() argument
72 dest->typeAndTimezone = cpu_to_le16(0x1000 | (offset & 0x0FFF)); in udf_time_to_disk_stamp()
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()
[all …]

12345678910>>...75