/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dsc/ |
D | rc_calc_dpi.c | 29 static void copy_pps_fields(struct drm_dsc_config *to, const struct drm_dsc_config *from) in copy_pps_fields() argument 31 to->line_buf_depth = from->line_buf_depth; in copy_pps_fields() 32 to->bits_per_component = from->bits_per_component; in copy_pps_fields() 33 to->convert_rgb = from->convert_rgb; in copy_pps_fields() 34 to->slice_width = from->slice_width; in copy_pps_fields() 35 to->slice_height = from->slice_height; in copy_pps_fields() 36 to->simple_422 = from->simple_422; in copy_pps_fields() 37 to->native_422 = from->native_422; in copy_pps_fields() 38 to->native_420 = from->native_420; in copy_pps_fields() 39 to->pic_width = from->pic_width; in copy_pps_fields() [all …]
|
/linux-6.1.9/drivers/staging/media/atomisp/pci/isp/kernels/ctc/ctc1_5/ |
D | ia_css_ctc1_5.host.c | 75 const struct ia_css_ctc_config *from, in ia_css_ctc_encode() argument 79 to->y0 = from->y0; in ia_css_ctc_encode() 80 to->y1 = from->y1; in ia_css_ctc_encode() 81 to->y2 = from->y2; in ia_css_ctc_encode() 82 to->y3 = from->y3; in ia_css_ctc_encode() 83 to->y4 = from->y4; in ia_css_ctc_encode() 84 to->y5 = from->y5; in ia_css_ctc_encode() 86 to->ce_gain_exp = from->ce_gain_exp; in ia_css_ctc_encode() 88 to->x1 = from->x1; in ia_css_ctc_encode() 89 to->x2 = from->x2; in ia_css_ctc_encode() [all …]
|
/linux-6.1.9/drivers/staging/media/atomisp/pci/isp/kernels/ctc/ctc2/ |
D | ia_css_ctc2.host.c | 80 const struct ia_css_ctc2_config *from, in ia_css_ctc2_vmem_encode() argument 93 dydx0 = ctc2_slope(from->y_y1, from->y_y0, in ia_css_ctc2_vmem_encode() 94 from->y_x1, 0); in ia_css_ctc2_vmem_encode() 95 dydx1 = ctc2_slope(from->y_y2, from->y_y1, in ia_css_ctc2_vmem_encode() 96 from->y_x2, from->y_x1); in ia_css_ctc2_vmem_encode() 97 dydx2 = ctc2_slope(from->y_y3, from->y_y2, in ia_css_ctc2_vmem_encode() 98 from->y_x3, from->y_x2); in ia_css_ctc2_vmem_encode() 99 dydx3 = ctc2_slope(from->y_y4, from->y_y3, in ia_css_ctc2_vmem_encode() 100 from->y_x4, from->y_x3); in ia_css_ctc2_vmem_encode() 101 dydx4 = ctc2_slope(from->y_y5, from->y_y4, in ia_css_ctc2_vmem_encode() [all …]
|
/linux-6.1.9/drivers/staging/media/atomisp/pci/isp/kernels/dpc2/ |
D | ia_css_dpc2.host.c | 22 const struct ia_css_dpc2_config *from, in ia_css_dpc2_encode() argument 27 assert((from->metric1 >= 0) && (from->metric1 <= METRIC1_ONE_FP)); in ia_css_dpc2_encode() 28 assert((from->metric3 >= 0) && (from->metric3 <= METRIC3_ONE_FP)); in ia_css_dpc2_encode() 29 assert((from->metric2 >= METRIC2_ONE_FP) && in ia_css_dpc2_encode() 30 (from->metric2 < 256 * METRIC2_ONE_FP)); in ia_css_dpc2_encode() 31 assert((from->wb_gain_gr > 0) && (from->wb_gain_gr < 16 * WBGAIN_ONE_FP)); in ia_css_dpc2_encode() 32 assert((from->wb_gain_r > 0) && (from->wb_gain_r < 16 * WBGAIN_ONE_FP)); in ia_css_dpc2_encode() 33 assert((from->wb_gain_b > 0) && (from->wb_gain_b < 16 * WBGAIN_ONE_FP)); in ia_css_dpc2_encode() 34 assert((from->wb_gain_gb > 0) && (from->wb_gain_gb < 16 * WBGAIN_ONE_FP)); in ia_css_dpc2_encode() 36 to->metric1 = from->metric1; in ia_css_dpc2_encode() [all …]
|
/linux-6.1.9/drivers/staging/media/atomisp/pci/isp/kernels/bnlm/ |
D | ia_css_bnlm.host.c | 100 const struct ia_css_bnlm_config *from, in ia_css_bnlm_vmem_encode() argument 107 bnlm_lut_encode(&to->mu_root_lut, from->mu_root_lut_thr, from->mu_root_lut_val, in ia_css_bnlm_vmem_encode() 109 bnlm_lut_encode(&to->sad_norm_lut, from->sad_norm_lut_thr, in ia_css_bnlm_vmem_encode() 110 from->sad_norm_lut_val, 16); in ia_css_bnlm_vmem_encode() 111 bnlm_lut_encode(&to->sig_detail_lut, from->sig_detail_lut_thr, in ia_css_bnlm_vmem_encode() 112 from->sig_detail_lut_val, 16); in ia_css_bnlm_vmem_encode() 113 bnlm_lut_encode(&to->sig_rad_lut, from->sig_rad_lut_thr, from->sig_rad_lut_val, in ia_css_bnlm_vmem_encode() 115 bnlm_lut_encode(&to->rad_pow_lut, from->rad_pow_lut_thr, from->rad_pow_lut_val, in ia_css_bnlm_vmem_encode() 117 bnlm_lut_encode(&to->nl_0_lut, from->nl_0_lut_thr, from->nl_0_lut_val, 16); in ia_css_bnlm_vmem_encode() 118 bnlm_lut_encode(&to->nl_1_lut, from->nl_1_lut_thr, from->nl_1_lut_val, 16); in ia_css_bnlm_vmem_encode() [all …]
|
/linux-6.1.9/drivers/staging/media/atomisp/pci/isp/kernels/eed1_8/ |
D | ia_css_eed1_8.host.c | 91 const struct ia_css_eed1_8_config *from, in ia_css_eed1_8_vmem_encode() argument 131 assert(from->dew_enhance_seg_x[j] > -1); in ia_css_eed1_8_vmem_encode() 132 assert(from->dew_enhance_seg_y[j] > -1); in ia_css_eed1_8_vmem_encode() 136 assert(from->dew_enhance_seg_x[j] > from->dew_enhance_seg_x[j - 1]); in ia_css_eed1_8_vmem_encode() 137 assert(from->dew_enhance_seg_y[j] > from->dew_enhance_seg_y[j - 1]); in ia_css_eed1_8_vmem_encode() 140 assert(from->dew_enhance_seg_x[0] == 0); in ia_css_eed1_8_vmem_encode() 141 assert(from->dew_enhance_seg_y[0] == 0); in ia_css_eed1_8_vmem_encode() 176 from->dew_enhance_seg_x[j], 0), in ia_css_eed1_8_vmem_encode() 179 from->dew_enhance_seg_y[j], -8192), in ia_css_eed1_8_vmem_encode() 185 from->dew_enhance_seg_slope[j], in ia_css_eed1_8_vmem_encode() [all …]
|
/linux-6.1.9/arch/x86/lib/ |
D | iomem.c | 6 #define movs(type,to,from) \ argument 7 asm volatile("movs" type:"=&D" (to), "=&S" (from):"0" (to), "1" (from):"memory") 10 static __always_inline void rep_movs(void *to, const void *from, size_t n) in rep_movs() argument 22 : "0" (n / 4), "q" (n), "1" ((long)to), "2" ((long)from) in rep_movs() 26 static void string_memcpy_fromio(void *to, const volatile void __iomem *from, size_t n) in string_memcpy_fromio() argument 32 if (unlikely(1 & (unsigned long)from)) { in string_memcpy_fromio() 33 movs("b", to, from); in string_memcpy_fromio() 36 if (n > 1 && unlikely(2 & (unsigned long)from)) { in string_memcpy_fromio() 37 movs("w", to, from); in string_memcpy_fromio() 40 rep_movs(to, (const void *)from, n); in string_memcpy_fromio() [all …]
|
/linux-6.1.9/drivers/infiniband/hw/hfi1/ |
D | pio_copy.c | 31 const void *from, size_t count) in pio_copy() argument 51 writeq(*(u64 *)from, dest); in pio_copy() 52 from += sizeof(u64); in pio_copy() 67 writeq(*(u64 *)from, dest); in pio_copy() 68 from += sizeof(u64); in pio_copy() 86 writeq(*(u64 *)from, dest); in pio_copy() 87 from += sizeof(u64); in pio_copy() 97 writeq(*(u64 *)from, dest); in pio_copy() 98 from += sizeof(u64); in pio_copy() 109 val.val32[0] = *(u32 *)from; in pio_copy() [all …]
|
/linux-6.1.9/ipc/ |
D | compat.c | 39 struct compat_ipc64_perm __user *from) in get_compat_ipc64_perm() argument 42 if (copy_from_user(&v, from, sizeof(v))) in get_compat_ipc64_perm() 51 struct compat_ipc_perm __user *from) in get_compat_ipc_perm() argument 54 if (copy_from_user(&v, from, sizeof(v))) in get_compat_ipc_perm() 62 void to_compat_ipc64_perm(struct compat_ipc64_perm *to, struct ipc64_perm *from) in to_compat_ipc64_perm() argument 64 to->key = from->key; in to_compat_ipc64_perm() 65 to->uid = from->uid; in to_compat_ipc64_perm() 66 to->gid = from->gid; in to_compat_ipc64_perm() 67 to->cuid = from->cuid; in to_compat_ipc64_perm() 68 to->cgid = from->cgid; in to_compat_ipc64_perm() [all …]
|
/linux-6.1.9/drivers/staging/media/atomisp/pci/isp/kernels/bnr/bnr2_2/ |
D | ia_css_bnr2_2.host.c | 53 const struct ia_css_bnr2_2_config *from, in ia_css_bnr2_2_encode() argument 57 to->d_var_gain_r = from->d_var_gain_r; in ia_css_bnr2_2_encode() 58 to->d_var_gain_g = from->d_var_gain_g; in ia_css_bnr2_2_encode() 59 to->d_var_gain_b = from->d_var_gain_b; in ia_css_bnr2_2_encode() 60 to->d_var_gain_slope_r = from->d_var_gain_slope_r; in ia_css_bnr2_2_encode() 61 to->d_var_gain_slope_g = from->d_var_gain_slope_g; in ia_css_bnr2_2_encode() 62 to->d_var_gain_slope_b = from->d_var_gain_slope_b; in ia_css_bnr2_2_encode() 64 to->n_var_gain_r = from->n_var_gain_r; in ia_css_bnr2_2_encode() 65 to->n_var_gain_g = from->n_var_gain_g; in ia_css_bnr2_2_encode() 66 to->n_var_gain_b = from->n_var_gain_b; in ia_css_bnr2_2_encode() [all …]
|
/linux-6.1.9/fs/xfs/libxfs/ |
D | xfs_sb.c | 551 struct xfs_dsb *from, in __xfs_sb_from_disk() argument 554 to->sb_magicnum = be32_to_cpu(from->sb_magicnum); in __xfs_sb_from_disk() 555 to->sb_blocksize = be32_to_cpu(from->sb_blocksize); in __xfs_sb_from_disk() 556 to->sb_dblocks = be64_to_cpu(from->sb_dblocks); in __xfs_sb_from_disk() 557 to->sb_rblocks = be64_to_cpu(from->sb_rblocks); in __xfs_sb_from_disk() 558 to->sb_rextents = be64_to_cpu(from->sb_rextents); in __xfs_sb_from_disk() 559 memcpy(&to->sb_uuid, &from->sb_uuid, sizeof(to->sb_uuid)); in __xfs_sb_from_disk() 560 to->sb_logstart = be64_to_cpu(from->sb_logstart); in __xfs_sb_from_disk() 561 to->sb_rootino = be64_to_cpu(from->sb_rootino); in __xfs_sb_from_disk() 562 to->sb_rbmino = be64_to_cpu(from->sb_rbmino); in __xfs_sb_from_disk() [all …]
|
/linux-6.1.9/drivers/staging/media/atomisp/pci/isp/kernels/tdf/tdf_1.0/ |
D | ia_css_tdf.host.c | 33 const struct ia_css_tdf_config *from, in ia_css_tdf_vmem_encode() argument 41 to->threshold_flat[0][i] = from->thres_flat_table[i]; in ia_css_tdf_vmem_encode() 42 to->threshold_detail[0][i] = from->thres_detail_table[i]; in ia_css_tdf_vmem_encode() 49 const struct ia_css_tdf_config *from, in ia_css_tdf_encode() argument 53 to->Epsilon_0 = from->epsilon_0; in ia_css_tdf_encode() 54 to->Epsilon_1 = from->epsilon_1; in ia_css_tdf_encode() 55 to->EpsScaleText = from->eps_scale_text; in ia_css_tdf_encode() 56 to->EpsScaleEdge = from->eps_scale_edge; in ia_css_tdf_encode() 57 to->Sepa_flat = from->sepa_flat; in ia_css_tdf_encode() 58 to->Sepa_Edge = from->sepa_edge; in ia_css_tdf_encode() [all …]
|
/linux-6.1.9/drivers/staging/media/atomisp/pci/isp/kernels/ynr/ynr_2/ |
D | ia_css_ynr2.host.c | 49 const struct ia_css_ynr_config *from, in ia_css_ynr_encode() argument 53 to->edge_sense_gain_0 = from->edge_sense_gain_0; in ia_css_ynr_encode() 54 to->edge_sense_gain_1 = from->edge_sense_gain_1; in ia_css_ynr_encode() 55 to->corner_sense_gain_0 = from->corner_sense_gain_0; in ia_css_ynr_encode() 56 to->corner_sense_gain_1 = from->corner_sense_gain_1; in ia_css_ynr_encode() 62 const struct ia_css_fc_config *from, in ia_css_fc_encode() argument 66 to->gain_exp = from->gain_exp; in ia_css_fc_encode() 68 to->coring_pos_0 = from->coring_pos_0; in ia_css_fc_encode() 69 to->coring_pos_1 = from->coring_pos_1; in ia_css_fc_encode() 70 to->coring_neg_0 = from->coring_neg_0; in ia_css_fc_encode() [all …]
|
/linux-6.1.9/arch/m68k/include/asm/ |
D | uaccess.h | 182 unsigned long __generic_copy_from_user(void *to, const void __user *from, unsigned long n); 183 unsigned long __generic_copy_to_user(void __user *to, const void *from, unsigned long n); 190 #define ____constant_copy_from_user_asm(res, to, from, tmp, n1, n2, n3, s1, s2, s3)\ argument 225 : "+d" (res), "+&a" (to), "+a" (from), "=&d" (tmp) \ 228 #define ___constant_copy_from_user_asm(res, to, from, tmp, n1, n2, n3, s1, s2, s3)\ argument 229 ____constant_copy_from_user_asm(res, to, from, tmp, n1, n2, n3, s1, s2, s3) 230 #define __constant_copy_from_user_asm(res, to, from, tmp, n1, n2, n3) \ argument 231 ___constant_copy_from_user_asm(res, to, from, tmp, n1, n2, n3, \ 235 __constant_copy_from_user(void *to, const void __user *from, unsigned long n) in __constant_copy_from_user() argument 241 __constant_copy_from_user_asm(res, to, from, tmp, 1, 0, 0); in __constant_copy_from_user() [all …]
|
/linux-6.1.9/include/linux/ |
D | uaccess.h | 59 __copy_from_user_inatomic(void *to, const void __user *from, unsigned long n) in __copy_from_user_inatomic() argument 63 instrument_copy_from_user_before(to, from, n); in __copy_from_user_inatomic() 65 res = raw_copy_from_user(to, from, n); in __copy_from_user_inatomic() 66 instrument_copy_from_user_after(to, from, n, res); in __copy_from_user_inatomic() 71 __copy_from_user(void *to, const void __user *from, unsigned long n) in __copy_from_user() argument 76 instrument_copy_from_user_before(to, from, n); in __copy_from_user() 80 res = raw_copy_from_user(to, from, n); in __copy_from_user() 81 instrument_copy_from_user_after(to, from, n, res); in __copy_from_user() 99 __copy_to_user_inatomic(void __user *to, const void *from, unsigned long n) in __copy_to_user_inatomic() argument 103 instrument_copy_to_user(to, from, n); in __copy_to_user_inatomic() [all …]
|
/linux-6.1.9/arch/sh/kernel/ |
D | io.c | 16 void memcpy_fromio(void *to, const volatile void __iomem *from, unsigned long count) in memcpy_fromio() argument 24 (((u32)to & 0x1f) == 0) && (((u32)from & 0x3) == 0)) { in memcpy_fromio() 52 "=&r" (tmp5), "=&r" (tmp6), "=&r" (from) in memcpy_fromio() 53 : "7"(from), "0" (to), "1" (count) in memcpy_fromio() 58 if ((((u32)to | (u32)from) & 0x3) == 0) { in memcpy_fromio() 60 *(u32 *)to = *(volatile u32 *)from; in memcpy_fromio() 62 from += 4; in memcpy_fromio() 67 *(u8 *)to = *(volatile u8 *)from; in memcpy_fromio() 69 from++; in memcpy_fromio() 79 void memcpy_toio(volatile void __iomem *to, const void *from, unsigned long count) in memcpy_toio() argument [all …]
|
/linux-6.1.9/arch/loongarch/kernel/ |
D | io.c | 12 void __memcpy_fromio(void *to, const volatile void __iomem *from, size_t count) in __memcpy_fromio() argument 14 while (count && !IS_ALIGNED((unsigned long)from, 8)) { in __memcpy_fromio() 15 *(u8 *)to = __raw_readb(from); in __memcpy_fromio() 16 from++; in __memcpy_fromio() 22 *(u64 *)to = __raw_readq(from); in __memcpy_fromio() 23 from += 8; in __memcpy_fromio() 29 *(u8 *)to = __raw_readb(from); in __memcpy_fromio() 30 from++; in __memcpy_fromio() 40 void __memcpy_toio(volatile void __iomem *to, const void *from, size_t count) in __memcpy_toio() argument 43 __raw_writeb(*(u8 *)from, to); in __memcpy_toio() [all …]
|
/linux-6.1.9/arch/arm64/kernel/ |
D | io.c | 15 void __memcpy_fromio(void *to, const volatile void __iomem *from, size_t count) in __memcpy_fromio() argument 17 while (count && !IS_ALIGNED((unsigned long)from, 8)) { in __memcpy_fromio() 18 *(u8 *)to = __raw_readb(from); in __memcpy_fromio() 19 from++; in __memcpy_fromio() 25 *(u64 *)to = __raw_readq(from); in __memcpy_fromio() 26 from += 8; in __memcpy_fromio() 32 *(u8 *)to = __raw_readb(from); in __memcpy_fromio() 33 from++; in __memcpy_fromio() 43 void __memcpy_toio(volatile void __iomem *to, const void *from, size_t count) in __memcpy_toio() argument 46 __raw_writeb(*(u8 *)from, to); in __memcpy_toio() [all …]
|
/linux-6.1.9/arch/csky/kernel/ |
D | io.c | 10 void __memcpy_fromio(void *to, const volatile void __iomem *from, size_t count) in __memcpy_fromio() argument 12 while (count && !IS_ALIGNED((unsigned long)from, 4)) { in __memcpy_fromio() 13 *(u8 *)to = __raw_readb(from); in __memcpy_fromio() 14 from++; in __memcpy_fromio() 20 *(u32 *)to = __raw_readl(from); in __memcpy_fromio() 21 from += 4; in __memcpy_fromio() 27 *(u8 *)to = __raw_readb(from); in __memcpy_fromio() 28 from++; in __memcpy_fromio() 38 void __memcpy_toio(volatile void __iomem *to, const void *from, size_t count) in __memcpy_toio() argument 41 __raw_writeb(*(u8 *)from, to); in __memcpy_toio() [all …]
|
/linux-6.1.9/scripts/coccinelle/api/ |
D | kstrdup.cocci | 18 expression from,to; 23 - to = kmalloc(strlen(from) + 1,flag); 24 + to = kstrdup(from, flag); 25 ... when != \(from = E1 \| to = E1 \) 27 ... when != \(from = E2 \| to = E2 \) 28 - strcpy(to, from); 31 expression x,from,to; 36 - x = strlen(from) + 1; 37 ... when != \( x = E1 \| from = E1 \) 39 + to = kstrdup(from, flag); [all …]
|
/linux-6.1.9/lib/ |
D | usercopy.c | 10 unsigned long _copy_from_user(void *to, const void __user *from, unsigned long n) in _copy_from_user() argument 14 if (!should_fail_usercopy() && likely(access_ok(from, n))) { in _copy_from_user() 15 instrument_copy_from_user_before(to, from, n); in _copy_from_user() 16 res = raw_copy_from_user(to, from, n); in _copy_from_user() 17 instrument_copy_from_user_after(to, from, n, res); in _copy_from_user() 27 unsigned long _copy_to_user(void __user *to, const void *from, unsigned long n) in _copy_to_user() argument 33 instrument_copy_to_user(to, from, n); in _copy_to_user() 34 n = raw_copy_to_user(to, from, n); in _copy_to_user() 55 int check_zeroed_user(const void __user *from, size_t size) in check_zeroed_user() argument 58 uintptr_t align = (uintptr_t) from % sizeof(unsigned long); in check_zeroed_user() [all …]
|
/linux-6.1.9/fs/xfs/ |
D | xfs_inode_item_recover.c | 127 struct xfs_log_dinode *from, in xfs_log_dinode_to_disk_ts() argument 134 if (xfs_log_dinode_has_bigtime(from)) in xfs_log_dinode_to_disk_ts() 154 struct xfs_log_dinode *from, in xfs_log_dinode_to_disk_iext_counters() argument 157 if (xfs_log_dinode_has_large_extent_counts(from)) { in xfs_log_dinode_to_disk_iext_counters() 158 to->di_big_nextents = cpu_to_be64(from->di_big_nextents); in xfs_log_dinode_to_disk_iext_counters() 159 to->di_big_anextents = cpu_to_be32(from->di_big_anextents); in xfs_log_dinode_to_disk_iext_counters() 160 to->di_nrext64_pad = cpu_to_be16(from->di_nrext64_pad); in xfs_log_dinode_to_disk_iext_counters() 162 to->di_nextents = cpu_to_be32(from->di_nextents); in xfs_log_dinode_to_disk_iext_counters() 163 to->di_anextents = cpu_to_be16(from->di_anextents); in xfs_log_dinode_to_disk_iext_counters() 170 struct xfs_log_dinode *from, in xfs_log_dinode_to_disk() argument [all …]
|
/linux-6.1.9/arch/m68k/lib/ |
D | memcpy.c | 10 void *memcpy(void *to, const void *from, size_t n) in memcpy() argument 19 const char *cfrom = from; in memcpy() 22 from = cfrom; in memcpy() 26 if ((long)from & 1) { in memcpy() 28 const char *cfrom = from; in memcpy() 36 const short *sfrom = from; in memcpy() 39 from = sfrom; in memcpy() 45 const long *lfrom = from; in memcpy() 73 from = lfrom; in memcpy() 77 const short *sfrom = from; in memcpy() [all …]
|
/linux-6.1.9/tools/arch/x86/include/asm/ |
D | asm.h | 127 # define _ASM_EXTABLE_HANDLE(from, to, handler) \ 130 .long (from) - . ; \ 135 # define _ASM_EXTABLE(from, to) \ 136 _ASM_EXTABLE_HANDLE(from, to, ex_handler_default) 138 # define _ASM_EXTABLE_UA(from, to) \ 139 _ASM_EXTABLE_HANDLE(from, to, ex_handler_uaccess) 141 # define _ASM_EXTABLE_CPY(from, to) \ 142 _ASM_EXTABLE_HANDLE(from, to, ex_handler_copy) 144 # define _ASM_EXTABLE_FAULT(from, to) \ 145 _ASM_EXTABLE_HANDLE(from, to, ex_handler_fault) [all …]
|
/linux-6.1.9/fs/jfs/ |
D | jfs_unicode.c | 19 int jfs_strfromUCS_le(char *to, const __le16 * from, in jfs_strfromUCS_le() argument 28 for (i = 0; (i < len) && from[i]; i++) { in jfs_strfromUCS_le() 31 codepage->uni2char(le16_to_cpu(from[i]), in jfs_strfromUCS_le() 40 for (i = 0; (i < len) && from[i]; i++) { in jfs_strfromUCS_le() 41 if (unlikely(le16_to_cpu(from[i]) & 0xff00)) { in jfs_strfromUCS_le() 48 le16_to_cpu(from[i])); in jfs_strfromUCS_le() 55 to[i] = (char) (le16_to_cpu(from[i])); in jfs_strfromUCS_le() 69 static int jfs_strtoUCS(wchar_t * to, const unsigned char *from, int len, in jfs_strtoUCS() argument 76 for (i = 0; len && *from; i++, from += charlen, len -= charlen) in jfs_strtoUCS() 78 charlen = codepage->char2uni(from, len, &to[i]); in jfs_strtoUCS() [all …]
|