/linux-6.1.9/arch/m68k/math-emu/ |
D | fp_arith.c | 32 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 …]
|
D | fp_log.c | 25 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 …]
|
D | fp_trig.c | 22 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 …]
|
D | multi_arith.h | 81 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 …]
|
D | fp_emu.h | 74 #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.1.9/drivers/infiniband/hw/hfi1/ |
D | pio_copy.c | 33 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.1.9/net/netfilter/ipvs/ |
D | ip_vs_sh.c | 55 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 …]
|
D | ip_vs_mh.c | 39 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 …]
|
D | ip_vs_dh.c | 50 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 …]
|
D | ip_vs_wrr.c | 71 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.1.9/arch/m68k/lib/ |
D | memmove.c | 10 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.1.9/lib/ |
D | memcpy_kunit.c | 75 struct some_bytes dest = { }; in memcpy_test() local 82 compare("static initializers", dest, zero); in memcpy_test() 85 dest = control; in memcpy_test() 86 compare("direct assignment", dest, control); in memcpy_test() 89 memcpy(dest.data, zero.data, sizeof(dest.data)); in memcpy_test() 90 compare("complete overwrite", dest, zero); in memcpy_test() 93 dest = control; in memcpy_test() 94 memcpy(dest.data + 12, zero.data, 7); in memcpy_test() 95 compare("middle overwrite", dest, middle); in memcpy_test() 98 dest = control; in memcpy_test() [all …]
|
/linux-6.1.9/arch/alpha/kernel/ |
D | process.c | 283 dump_elf_thread(elf_greg_t *dest, struct pt_regs *pt, struct thread_info *ti) in dump_elf_thread() argument 288 dest[ 0] = pt->r0; in dump_elf_thread() 289 dest[ 1] = pt->r1; in dump_elf_thread() 290 dest[ 2] = pt->r2; in dump_elf_thread() 291 dest[ 3] = pt->r3; in dump_elf_thread() 292 dest[ 4] = pt->r4; in dump_elf_thread() 293 dest[ 5] = pt->r5; in dump_elf_thread() 294 dest[ 6] = pt->r6; in dump_elf_thread() 295 dest[ 7] = pt->r7; in dump_elf_thread() 296 dest[ 8] = pt->r8; in dump_elf_thread() [all …]
|
/linux-6.1.9/arch/x86/lib/ |
D | usercopy_64.c | 47 unsigned long flushed, dest = (unsigned long) dst; in __copy_user_flushcache() local 59 if (!IS_ALIGNED(dest, 4) || size != 4) in __copy_user_flushcache() 62 if (!IS_ALIGNED(dest, 8)) { in __copy_user_flushcache() 63 dest = ALIGN(dest, boot_cpu_data.x86_clflush_size); in __copy_user_flushcache() 67 flushed = dest - (unsigned long) dst; in __copy_user_flushcache() 77 unsigned long dest = (unsigned long) _dst; in __memcpy_flushcache() local 81 if (!IS_ALIGNED(dest, 8)) { in __memcpy_flushcache() 82 size_t len = min_t(size_t, size, ALIGN(dest, 8) - dest); in __memcpy_flushcache() 84 memcpy((void *) dest, (void *) source, len); in __memcpy_flushcache() 85 clean_cache_range((void *) dest, len); in __memcpy_flushcache() [all …]
|
/linux-6.1.9/drivers/comedi/drivers/ni_routing/ni_device_routes/ |
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 …]
|
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 …]
|
D | pci-6733.c | 34 .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 …]
|
D | pxi-6733.c | 34 .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 …]
|
D | pci-6723.c | 34 .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 …]
|
D | pci-6713.c | 34 .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.1.9/fs/udf/ |
D | udftime.c | 44 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 …]
|
/linux-6.1.9/arch/x86/boot/compressed/ |
D | string.c | 14 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.1.9/drivers/video/fbdev/ |
D | atafb_mfb.c | 27 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 …]
|
/linux-6.1.9/drivers/comedi/drivers/ |
D | ni_routes.h | 39 int dest; member 132 s8 ni_route_to_register(const int src, const int dest, 150 s8 ni_lookup_route_register(int src, int dest, 162 static inline bool route_is_valid(const int src, const int dest, in route_is_valid() argument 165 return ni_route_to_register(src, dest, tables) >= 0; in route_is_valid() 173 bool ni_is_cmd_dest(int dest); 234 int ni_find_route_source(const u8 src_sel_reg_value, const int dest, 243 const int dest, in route_register_is_valid() argument 246 return ni_find_route_source(src_sel_reg_value, dest, tables) >= 0; in route_register_is_valid() 265 static inline s8 ni_get_reg_value_roffs(int src, const int dest, in ni_get_reg_value_roffs() argument [all …]
|
D | ni_routes.c | 48 #define RVi(table, src, dest) ((table)[(dest) * NI_NUM_NAMES + (src)]) argument 160 const int dest = R->dest; in ni_count_valid_routes() local 163 if (RVi(rv, B(src), B(dest))) in ni_count_valid_routes() 166 else if (channel_is_rtsi(dest) && in ni_count_valid_routes() 214 const int dest = R->dest; in ni_get_valid_routes() local 218 if (RVi(rv, B(src), B(dest))) in ni_get_valid_routes() 221 else if (channel_is_rtsi(dest) && in ni_get_valid_routes() 233 pair_data[2 * n_valid + 1] = dest; in ni_get_valid_routes() 264 bool ni_is_cmd_dest(int dest) in ni_is_cmd_dest() argument 269 if (NI_CMD_DESTS[i] == dest) in ni_is_cmd_dest() [all …]
|