Home
last modified time | relevance | path

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

12345678910>>...49

/kernel/linux/linux-5.10/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 …]
/kernel/linux/linux-5.10/drivers/infiniband/hw/hfi1/
Dpio_copy.c74 void __iomem *dest = pbuf->start + SOP_DISTANCE; in pio_copy() local
75 void __iomem *send = dest + PIO_BLOCK_SIZE; in pio_copy()
79 writeq(pbc, dest); in pio_copy()
80 dest += sizeof(u64); in pio_copy()
83 dend = dest + ((count >> 1) * sizeof(u64)); in pio_copy()
91 while (dest < dend) { in pio_copy()
92 writeq(*(u64 *)from, dest); in pio_copy()
94 dest += sizeof(u64); in pio_copy()
107 while (dest < send) { in pio_copy()
108 writeq(*(u64 *)from, dest); in pio_copy()
[all …]
/kernel/linux/linux-5.10/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 …]
/kernel/linux/linux-5.10/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 …]
/kernel/linux/linux-5.10/arch/alpha/kernel/
Dprocess.c287 dump_elf_thread(elf_greg_t *dest, struct pt_regs *pt, struct thread_info *ti) in dump_elf_thread() argument
292 dest[ 0] = pt->r0; in dump_elf_thread()
293 dest[ 1] = pt->r1; in dump_elf_thread()
294 dest[ 2] = pt->r2; in dump_elf_thread()
295 dest[ 3] = pt->r3; in dump_elf_thread()
296 dest[ 4] = pt->r4; in dump_elf_thread()
297 dest[ 5] = pt->r5; in dump_elf_thread()
298 dest[ 6] = pt->r6; in dump_elf_thread()
299 dest[ 7] = pt->r7; in dump_elf_thread()
300 dest[ 8] = pt->r8; in dump_elf_thread()
[all …]
/kernel/linux/linux-5.10/fs/udf/
Dudftime.c44 udf_disk_stamp_to_time(struct timespec64 *dest, struct timestamp src) in udf_disk_stamp_to_time() argument
60 dest->tv_sec = mktime64(year, src.month, src.day, src.hour, src.minute, in udf_disk_stamp_to_time()
62 dest->tv_sec -= offset * 60; in udf_disk_stamp_to_time()
63 dest->tv_nsec = 1000 * (src.centiseconds * 10000 + in udf_disk_stamp_to_time()
69 dest->tv_nsec %= NSEC_PER_SEC; in udf_disk_stamp_to_time()
73 udf_time_to_disk_stamp(struct timestamp *dest, struct timespec64 ts) in udf_time_to_disk_stamp() argument
81 dest->typeAndTimezone = cpu_to_le16(0x1000 | (offset & 0x0FFF)); in udf_time_to_disk_stamp()
85 dest->year = cpu_to_le16(tm.tm_year + 1900); in udf_time_to_disk_stamp()
86 dest->month = tm.tm_mon + 1; in udf_time_to_disk_stamp()
87 dest->day = tm.tm_mday; in udf_time_to_disk_stamp()
[all …]
/kernel/linux/linux-5.10/drivers/staging/comedi/drivers/ni_routing/ni_device_routes/
Dpxi-6030e.c35 .dest = NI_PFI(0),
42 .dest = NI_PFI(1),
49 .dest = NI_PFI(2),
56 .dest = NI_PFI(3),
63 .dest = NI_PFI(4),
70 .dest = NI_PFI(5),
77 .dest = NI_PFI(6),
84 .dest = NI_PFI(7),
91 .dest = NI_PFI(8),
98 .dest = NI_PFI(9),
[all …]
Dpci-6070e.c35 .dest = NI_PFI(0),
42 .dest = NI_PFI(1),
49 .dest = NI_PFI(2),
56 .dest = NI_PFI(3),
63 .dest = NI_PFI(4),
70 .dest = NI_PFI(5),
77 .dest = NI_PFI(6),
84 .dest = NI_PFI(7),
91 .dest = NI_PFI(8),
98 .dest = NI_PFI(9),
[all …]
Dpci-6733.c35 .dest = NI_PFI(3),
42 .dest = NI_PFI(4),
49 .dest = NI_PFI(5),
56 .dest = NI_PFI(6),
63 .dest = NI_PFI(8),
70 .dest = NI_PFI(9),
77 .dest = TRIGGER_LINE(0),
89 .dest = TRIGGER_LINE(1),
101 .dest = TRIGGER_LINE(2),
113 .dest = TRIGGER_LINE(3),
[all …]
Dpxi-6733.c35 .dest = NI_PFI(3),
42 .dest = NI_PFI(4),
49 .dest = NI_PFI(5),
56 .dest = NI_PFI(6),
63 .dest = NI_PFI(8),
70 .dest = NI_PFI(9),
77 .dest = TRIGGER_LINE(0),
89 .dest = TRIGGER_LINE(1),
101 .dest = TRIGGER_LINE(2),
113 .dest = TRIGGER_LINE(3),
[all …]
Dpci-6723.c35 .dest = NI_PFI(3),
42 .dest = NI_PFI(4),
49 .dest = NI_PFI(5),
56 .dest = NI_PFI(6),
63 .dest = NI_PFI(8),
70 .dest = NI_PFI(9),
77 .dest = TRIGGER_LINE(0),
89 .dest = TRIGGER_LINE(1),
101 .dest = TRIGGER_LINE(2),
113 .dest = TRIGGER_LINE(3),
[all …]
Dpci-6713.c35 .dest = NI_PFI(3),
42 .dest = NI_PFI(4),
49 .dest = NI_PFI(5),
56 .dest = NI_PFI(6),
63 .dest = NI_PFI(8),
70 .dest = NI_PFI(9),
77 .dest = TRIGGER_LINE(0),
89 .dest = TRIGGER_LINE(1),
101 .dest = TRIGGER_LINE(2),
113 .dest = TRIGGER_LINE(3),
[all …]
/kernel/linux/linux-5.10/arch/x86/lib/
Dusercopy_64.c89 unsigned long flushed, dest = (unsigned long) dst; in __copy_user_flushcache() local
101 if (!IS_ALIGNED(dest, 4) || size != 4) in __copy_user_flushcache()
104 if (!IS_ALIGNED(dest, 8)) { in __copy_user_flushcache()
105 dest = ALIGN(dest, boot_cpu_data.x86_clflush_size); in __copy_user_flushcache()
109 flushed = dest - (unsigned long) dst; in __copy_user_flushcache()
119 unsigned long dest = (unsigned long) _dst; in __memcpy_flushcache() local
123 if (!IS_ALIGNED(dest, 8)) { in __memcpy_flushcache()
124 size_t len = min_t(size_t, size, ALIGN(dest, 8) - dest); in __memcpy_flushcache()
126 memcpy((void *) dest, (void *) source, len); in __memcpy_flushcache()
127 clean_cache_range((void *) dest, len); in __memcpy_flushcache()
[all …]
/kernel/linux/linux-5.10/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 …]
/kernel/liteos_m/components/shell/src/cmds/
Dfullpath.c55 CHAR *dest = path; in StrPath() local
60 *dest++ = *src++; in StrPath()
66 *dest++ = *src++; in StrPath()
68 *dest = '\0'; in StrPath()
72 STATIC VOID StrRemovePathEndSlash(CHAR *dest, const CHAR *fullpath) in StrRemovePathEndSlash() argument
74 if ((*dest == '.') && (*(dest - 1) == '/')) { in StrRemovePathEndSlash()
75 *dest = '\0'; in StrRemovePathEndSlash()
76 dest--; in StrRemovePathEndSlash()
78 if ((dest != fullpath) && (*dest == '/')) { in StrRemovePathEndSlash()
79 *dest = '\0'; in StrRemovePathEndSlash()
[all …]
/kernel/linux/linux-5.10/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 …]
/kernel/linux/linux-5.10/drivers/staging/comedi/drivers/
Dni_routes.h40 int dest; member
133 s8 ni_route_to_register(const int src, const int dest,
151 s8 ni_lookup_route_register(int src, int dest,
163 static inline bool route_is_valid(const int src, const int dest, in route_is_valid() argument
166 return ni_route_to_register(src, dest, tables) >= 0; in route_is_valid()
174 bool ni_is_cmd_dest(int dest);
235 int ni_find_route_source(const u8 src_sel_reg_value, const int dest,
244 const int dest, in route_register_is_valid() argument
247 return ni_find_route_source(src_sel_reg_value, dest, tables) >= 0; in route_register_is_valid()
266 static inline s8 ni_get_reg_value_roffs(int src, const int dest, in ni_get_reg_value_roffs() argument
[all …]
/kernel/linux/linux-5.10/drivers/staging/hisysevent/
Dhisysevent_raw_data.c38 int raw_data_update(struct hisysevent_raw_data *dest, u8 *src, unsigned int len, in raw_data_update() argument
41 if (!dest) { in raw_data_update()
49 if (dest->len < pos) { in raw_data_update()
53 if ((pos + len) > dest->capacity) { in raw_data_update()
58 resize_data = kmalloc(dest->capacity + expanded_size, GFP_KERNEL); in raw_data_update()
63 memcpy(resize_data, dest->data, dest->len); in raw_data_update()
64 dest->capacity += expanded_size; in raw_data_update()
65 if (!dest->data) in raw_data_update()
66 kfree(dest->data); in raw_data_update()
67 dest->data = resize_data; in raw_data_update()
[all …]

12345678910>>...49