Home
last modified time | relevance | path

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

12345678910>>...50

/linux-6.6.21/arch/m68k/math-emu/ !
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 …]
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 …]
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 …]
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 …]
Dfp_emu.h74 #define fp_copy_ext(dest, src) ({ \ argument
75 *dest = *src; \
78 #define fp_monadic_check(dest, src) ({ \ argument
79 fp_copy_ext(dest, src); \
80 if (!fp_normalize_ext(dest)) \
81 return dest; \
84 #define fp_dyadic_check(dest, src) ({ \ argument
85 if (!fp_normalize_ext(dest)) \
86 return dest; \
88 fp_copy_ext(dest, src); \
[all …]
/linux-6.6.21/lib/ !
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 …]
/linux-6.6.21/drivers/infiniband/hw/hfi1/ !
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 …]
/linux-6.6.21/net/netfilter/ipvs/ !
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 …]
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 …]
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 …]
Dip_vs_wrr.c71 struct ip_vs_dest *dest; in ip_vs_wrr_gcd_weight() local
75 list_for_each_entry(dest, &svc->destinations, n_list) { in ip_vs_wrr_gcd_weight()
76 weight = atomic_read(&dest->weight); in ip_vs_wrr_gcd_weight()
93 struct ip_vs_dest *dest; in ip_vs_wrr_max_weight() local
96 list_for_each_entry(dest, &svc->destinations, n_list) { in ip_vs_wrr_max_weight()
97 new_weight = atomic_read(&dest->weight); in ip_vs_wrr_max_weight()
139 struct ip_vs_dest *dest) in ip_vs_wrr_dest_changed() argument
163 struct ip_vs_dest *dest, *last, *stop = NULL; in ip_vs_wrr_schedule() local
170 dest = mark->cl; in ip_vs_wrr_schedule()
174 last = dest; in ip_vs_wrr_schedule()
[all …]
/linux-6.6.21/arch/m68k/lib/ !
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 …]
/linux-6.6.21/arch/x86/lib/ !
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 …]
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 …]
/linux-6.6.21/arch/alpha/kernel/ !
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 …]
/linux-6.6.21/arch/x86/kernel/ !
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 …]
/linux-6.6.21/drivers/comedi/drivers/ni_routing/ni_device_routes/ !
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 …]
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 …]
Dpci-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 …]
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 …]
Dpci-6713.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 …]
Dpci-6723.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 …]
/linux-6.6.21/fs/udf/ !
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()
49 dest->tv_nsec = 1000 * (src.centiseconds * 10000 + in udf_disk_stamp_to_time()
55 dest->tv_nsec %= NSEC_PER_SEC; in udf_disk_stamp_to_time()
59 udf_time_to_disk_stamp(struct timestamp *dest, struct timespec64 ts) in udf_time_to_disk_stamp() argument
67 dest->typeAndTimezone = cpu_to_le16(0x1000 | (offset & 0x0FFF)); in udf_time_to_disk_stamp()
71 dest->year = cpu_to_le16(tm.tm_year + 1900); in udf_time_to_disk_stamp()
72 dest->month = tm.tm_mon + 1; in udf_time_to_disk_stamp()
73 dest->day = tm.tm_mday; in udf_time_to_disk_stamp()
[all …]
/linux-6.6.21/arch/x86/boot/compressed/ !
Dstring.c14 static void *____memcpy(void *dest, const void *src, size_t n) in ____memcpy() argument
22 : "0" (n >> 2), "g" (n & 3), "1" (dest), "2" (src) in ____memcpy()
25 return dest; in ____memcpy()
28 static void *____memcpy(void *dest, const void *src, size_t n) in ____memcpy() argument
36 : "0" (n >> 3), "g" (n & 7), "1" (dest), "2" (src) in ____memcpy()
39 return dest; in ____memcpy()
53 void *memmove(void *dest, const void *src, size_t n) in memmove() argument
55 unsigned char *d = dest; in memmove()
59 return ____memcpy(dest, src, n); in memmove()
64 return dest; in memmove()
[all …]
/linux-6.6.21/drivers/video/fbdev/ !
Datafb_mfb.c27 u8 *src, *dest; in atafb_mfb_copyarea() local
32 dest = (u8 *)info->screen_base + dy * (width >> 3); in atafb_mfb_copyarea()
33 fb_memmove(dest, src, height * (width >> 3)); in atafb_mfb_copyarea()
36 dest = (u8 *)info->screen_base + dy * next_line + (dx >> 3); in atafb_mfb_copyarea()
38 fb_memmove(dest, src, width >> 3); in atafb_mfb_copyarea()
40 dest += next_line; in atafb_mfb_copyarea()
44 dest = (u8 *)info->screen_base + (dy + height - 1) * next_line + (dx >> 3); in atafb_mfb_copyarea()
46 fb_memmove(dest, src, width >> 3); in atafb_mfb_copyarea()
48 dest -= next_line; in atafb_mfb_copyarea()
56 u8 *dest; in atafb_mfb_fillrect() local
[all …]

12345678910>>...50