Home
last modified time | relevance | path

Searched refs:from (Results 1 – 25 of 2907) sorted by relevance

12345678910>>...117

/linux/drivers/infiniband/hw/hfi1/
H A Dpio_copy.c31 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/ipc/
H A Dcompat.c39 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/fs/xfs/libxfs/
H A Dxfs_sb.c810 struct xfs_dsb *from, in __xfs_sb_from_disk() argument
813 to->sb_magicnum = be32_to_cpu(from->sb_magicnum); in __xfs_sb_from_disk()
814 to->sb_blocksize = be32_to_cpu(from->sb_blocksize); in __xfs_sb_from_disk()
815 to->sb_dblocks = be64_to_cpu(from->sb_dblocks); in __xfs_sb_from_disk()
816 to->sb_rblocks = be64_to_cpu(from->sb_rblocks); in __xfs_sb_from_disk()
817 to->sb_rextents = be64_to_cpu(from->sb_rextents); in __xfs_sb_from_disk()
818 memcpy(&to->sb_uuid, &from->sb_uuid, sizeof(to->sb_uuid)); in __xfs_sb_from_disk()
819 to->sb_logstart = be64_to_cpu(from->sb_logstart); in __xfs_sb_from_disk()
820 to->sb_rootino = be64_to_cpu(from->sb_rootino); in __xfs_sb_from_disk()
821 to->sb_rbmino = be64_to_cpu(from->sb_rbmino); in __xfs_sb_from_disk()
[all …]
/linux/Documentation/admin-guide/perf/
H A Dmeson-ddr-pmu.rst26 + arm - from CPU
27 + vpu_read1 - from OSD + VPP read
28 + gpu - from 3D GPU
29 + pcie - from PCIe controller
30 + hdcp - from HDCP controller
31 + hevc_front - from HEVC codec front end
32 + usb3_0 - from USB3.0 controller
33 + hevc_back - from HEVC codec back end
34 + h265enc - from HEVC encoder
35 + vpu_read2 - from DI read
[all …]
/linux/arch/sh/kernel/
H A Dio.c16 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/scripts/coccinelle/api/
H A Dkstrdup.cocci18 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 …]
H A Dmemdup.cocci18 expression from,to;
23 to = \(kmalloc@p\|kzalloc@p\)(strlen(from) + 1,flag);
26 expression x,from,to;
31 x = strlen(from) + 1;
32 ... when != \( x = E1 \| from = E1 \)
36 expression from,to,size,flag;
42 + to = kmemdup(from,size,flag);
44 - memcpy(to, from, size);
47 expression from,to,size,flag;
54 * memcpy(to, from, size);
/linux/tools/arch/x86/include/asm/
H A Dasm.h115 # define _ASM_EXTABLE_HANDLE(from, to, handler) \
118 .long (from) - . ; \
123 # define _ASM_EXTABLE(from, to) \
124 _ASM_EXTABLE_HANDLE(from, to, ex_handler_default)
126 # define _ASM_EXTABLE_UA(from, to) \
127 _ASM_EXTABLE_HANDLE(from, to, ex_handler_uaccess)
129 # define _ASM_EXTABLE_CPY(from, to) \
130 _ASM_EXTABLE_HANDLE(from, to, ex_handler_copy)
132 # define _ASM_EXTABLE_FAULT(from, to) \
133 _ASM_EXTABLE_HANDLE(from, to, ex_handler_fault)
[all …]
/linux/arch/m68k/lib/
H A Dmemcpy.c10 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/fs/jfs/
H A Djfs_unicode.c19 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 …]
/linux/lib/zlib_inflate/
H A Dinffast.c93 unsigned char *from; /* where to copy match from */ in inflate_fast() local
187 from = window; in inflate_fast()
189 from += wsize - op; in inflate_fast()
193 *out++ = *from++; in inflate_fast()
195 from = out - dist; /* rest from output */ in inflate_fast()
199 from += wsize + write - op; in inflate_fast()
204 *out++ = *from++; in inflate_fast()
206 from = window; in inflate_fast()
211 *out++ = *from++; in inflate_fast()
213 from = out - dist; /* rest from output */ in inflate_fast()
[all …]
/linux/arch/arm/mach-omap2/
H A Dpm44xx.c43 const char *from; member
173 {.from = "mpuss_clkdm", .to = "l3_emif_clkdm"},
174 {.from = "mpuss_clkdm", .to = "l3_1_clkdm"},
175 {.from = "mpuss_clkdm", .to = "l3_2_clkdm"},
176 {.from = "ducati_clkdm", .to = "l3_1_clkdm"},
177 {.from = "ducati_clkdm", .to = "l3_2_clkdm"},
178 {.from = NULL} /* TERMINATION */
182 {.from = "mpu_clkdm", .to = "emif_clkdm"},
183 {.from = NULL} /* TERMINATION */
193 struct clockdomain *from, *to; in omap4plus_init_static_deps() local
[all …]
/linux/fs/proc/
H A Dproc_tty.c27 dev_t from, int num) in show_tty_range() argument
32 seq_printf(m, "%3d %d-%d ", MAJOR(from), MINOR(from), in show_tty_range()
33 MINOR(from) + num - 1); in show_tty_range()
35 seq_printf(m, "%3d %7d ", MAJOR(from), MINOR(from)); in show_tty_range()
70 dev_t from = MKDEV(p->major, p->minor_start); in show_tty_driver() local
71 dev_t to = from + p->num; in show_tty_driver()
93 while (MAJOR(from) < MAJOR(to)) { in show_tty_driver()
94 dev_t next = MKDEV(MAJOR(from)+1, 0); in show_tty_driver()
95 show_tty_range(m, p, from, next - from); in show_tty_driver()
96 from = next; in show_tty_driver()
[all …]
/linux/include/linux/
H A Dhighmem.h396 static inline void copy_user_highpage(struct page *to, struct page *from, in copy_user_highpage() argument
401 vfrom = kmap_local_page(from); in copy_user_highpage()
413 static inline void copy_highpage(struct page *to, struct page *from) in copy_highpage() argument
417 vfrom = kmap_local_page(from); in copy_highpage()
420 kmsan_copy_page_meta(to, from); in copy_highpage()
434 static inline int copy_mc_user_highpage(struct page *to, struct page *from, in copy_mc_user_highpage() argument
440 vfrom = kmap_local_page(from); in copy_mc_user_highpage()
449 memory_failure_queue(page_to_pfn(from), 0); in copy_mc_user_highpage()
454 static inline int copy_mc_highpage(struct page *to, struct page *from) in copy_mc_highpage() argument
459 vfrom = kmap_local_page(from); in copy_mc_highpage()
[all …]
/linux/drivers/net/fddi/skfp/
H A Dpmf.c551 char *from ; in smt_add_para() local
884 from = mib_addr + pt->p_offset ; in smt_add_para()
907 to[2] = *from++ ; in smt_add_para()
908 to[3] = *from++ ; in smt_add_para()
911 to[3] = *from++ ; in smt_add_para()
912 to[2] = *from++ ; in smt_add_para()
915 to[2] = *from++ ; in smt_add_para()
916 to[3] = *from++ ; in smt_add_para()
925 to[1] = *from++ ; in smt_add_para()
926 to[0] = *from++ ; in smt_add_para()
[all …]
/linux/rust/helpers/
H A Duaccess.c6 rust_helper_copy_from_user(void *to, const void __user *from, unsigned long n) in rust_helper_copy_from_user()
8 return copy_from_user(to, from, n); in rust_helper_copy_from_user()
12 rust_helper_copy_to_user(void __user *to, const void *from, unsigned long n) in rust_helper_copy_to_user()
14 return copy_to_user(to, from, n); in rust_helper_copy_to_user()
19 unsigned long rust_helper__copy_from_user(void *to, const void __user *from, unsigned long n) in rust_helper__copy_from_user()
21 return _inline_copy_from_user(to, from, n); in rust_helper__copy_from_user()
25 unsigned long rust_helper__copy_to_user(void __user *to, const void *from, unsigned long n) in rust_helper__copy_to_user()
27 return _inline_copy_to_user(to, from, n);
5 rust_helper_copy_from_user(void * to,const void __user * from,unsigned long n) rust_helper_copy_from_user() argument
11 rust_helper_copy_to_user(void __user * to,const void * from,unsigned long n) rust_helper_copy_to_user() argument
18 rust_helper__copy_from_user(void * to,const void __user * from,unsigned long n) rust_helper__copy_from_user() argument
23 rust_helper__copy_to_user(void __user * to,const void * from,unsigned long n) rust_helper__copy_to_user() argument
/linux/lib/tests/
H A Dkunit_iov_iter.c26 int from, to; member
103 if (pr->from < 0) in iov_kunit_load_kvec()
105 KUNIT_ASSERT_GE(test, pr->to, pr->from); in iov_kunit_load_kvec()
107 kvec[i].iov_base = buffer + pr->from; in iov_kunit_load_kvec()
108 kvec[i].iov_len = pr->to - pr->from; in iov_kunit_load_kvec()
109 size += pr->to - pr->from; in iov_kunit_load_kvec()
152 for (pr = kvec_test_ranges; pr->from >= 0; pr++) in iov_kunit_copy_to_kvec()
153 for (i = pr->from; i < pr->to; i++) in iov_kunit_copy_to_kvec()
202 for (pr = kvec_test_ranges; pr->from >= 0; pr++) { in iov_kunit_copy_from_kvec()
203 for (j = pr->from; j < pr->to; j++) { in iov_kunit_copy_from_kvec()
[all …]
/linux/arch/powerpc/kernel/
H A Dsignal.h40 void __user *from);
42 void __user *from);
45 unsigned long copy_fpr_from_user(struct task_struct *task, void __user *from);
46 unsigned long copy_ckfpr_from_user(struct task_struct *task, void __user *from);
68 #define unsafe_copy_fpr_from_user(task, from, label) do { \ argument
70 u64 __user *buf = (u64 __user *)from; \
78 #define unsafe_copy_vsx_from_user(task, from, label) do { \ argument
80 u64 __user *buf = (u64 __user *)from; \
109 #define unsafe_copy_ckfpr_from_user(task, from, label) do { \ argument
111 u64 __user *buf = (u64 __user *)from; \
[all …]
/linux/tools/testing/selftests/bpf/progs/
H A Dhtab_mem_bench.c13 unsigned int from; member
31 bpf_map_update_elem(&htab, &ctx->from, zeroed_value, flags); in write_htab()
32 ctx->from += ctx->step; in write_htab()
49 bpf_map_delete_elem(&htab, &ctx->from); in del_htab()
50 ctx->from += ctx->step; in del_htab()
60 update.from = bpf_get_smp_processor_id(); in overwrite()
72 update.from = bpf_get_smp_processor_id(); in batch_add_batch_del()
76 update.from = bpf_get_smp_processor_id(); in batch_add_batch_del()
88 update.from = bpf_get_smp_processor_id() / 2; in add_only()
100 update.from = bpf_get_smp_processor_id() / 2; in del_only()
H A Dpreempted_bpf_ma_op.c29 static int del_array(unsigned int i, int *from) in del_array() argument
34 value = bpf_map_lookup_elem(&array, from); in del_array()
42 (*from)++; in del_array()
46 static int add_array(unsigned int i, int *from) in add_array() argument
51 value = bpf_map_lookup_elem(&array, from); in add_array()
65 (*from)++; in add_array()
69 static void del_then_add_array(int from) in del_then_add_array() argument
73 i = from; in del_then_add_array()
76 i = from; in del_then_add_array()
/linux/tools/perf/util/
H A Dcopyfile.c14 static int slow_copyfile(const char *from, const char *to, struct nsinfo *nsi) in slow_copyfile() argument
23 from_fp = fopen(from, "r"); in slow_copyfile()
73 static int copyfile_mode_ns(const char *from, const char *to, mode_t mode, in copyfile_mode_ns() argument
83 err = stat(from, &st); in copyfile_mode_ns()
105 err = slow_copyfile(from, tmp, nsi); in copyfile_mode_ns()
115 fromfd = open(from, O_RDONLY); in copyfile_mode_ns()
133 int copyfile_ns(const char *from, const char *to, struct nsinfo *nsi) in copyfile_ns() argument
135 return copyfile_mode_ns(from, to, 0755, nsi); in copyfile_ns()
138 int copyfile_mode(const char *from, const char *to, mode_t mode) in copyfile_mode() argument
140 return copyfile_mode_ns(from, to, mode, NULL); in copyfile_mode()
[all …]
/linux/drivers/staging/media/atomisp/pci/isp/kernels/xnr/xnr_3.0/
H A Dia_css_xnr3.host.c129 const struct ia_css_xnr3_config *from, in ia_css_xnr3_encode() argument
137 s32 alpha_y0 = compute_alpha(from->sigma.y0); in ia_css_xnr3_encode()
138 s32 alpha_y1 = compute_alpha(from->sigma.y1); in ia_css_xnr3_encode()
139 s32 alpha_u0 = compute_alpha(from->sigma.u0); in ia_css_xnr3_encode()
140 s32 alpha_u1 = compute_alpha(from->sigma.u1); in ia_css_xnr3_encode()
141 s32 alpha_v0 = compute_alpha(from->sigma.v0); in ia_css_xnr3_encode()
142 s32 alpha_v1 = compute_alpha(from->sigma.v1); in ia_css_xnr3_encode()
147 s32 coring_u0 = compute_coring(from->coring.u0); in ia_css_xnr3_encode()
148 s32 coring_u1 = compute_coring(from->coring.u1); in ia_css_xnr3_encode()
149 s32 coring_v0 = compute_coring(from->coring.v0); in ia_css_xnr3_encode()
[all …]
/linux/fs/smb/client/
H A Dcifs_unicode.c104 cifs_mapchar(char *target, const __u16 *from, const struct nls_table *cp, in cifs_mapchar() argument
110 src_char = *from; in cifs_mapchar()
129 len = utf16s_to_utf8s(from, 3, UTF16_LITTLE_ENDIAN, target, 6); in cifs_mapchar()
163 cifs_from_utf16(char *to, const __le16 *from, int tolen, int fromlen, in cifs_from_utf16() argument
182 ftmp[0] = get_unaligned_le16(&from[i]); in cifs_from_utf16()
186 ftmp[1] = get_unaligned_le16(&from[i + 1]); in cifs_from_utf16()
190 ftmp[2] = get_unaligned_le16(&from[i + 2]); in cifs_from_utf16()
234 cifs_strtoUTF16(__le16 *to, const char *from, int len, in cifs_strtoUTF16() argument
248 i = utf8s_to_utf16s(from, len, UTF16_LITTLE_ENDIAN, in cifs_strtoUTF16()
262 for (i = 0; len && *from; i++, from += charlen, len -= charlen) { in cifs_strtoUTF16()
[all …]
/linux/arch/sh/include/asm/
H A Ddma.h107 extern int dma_xfer(unsigned int chan, unsigned long from,
110 #define dma_write(chan, from, to, size) \ argument
111 dma_xfer(chan, from, to, size, DMA_MODE_WRITE)
112 #define dma_write_page(chan, from, to) \ argument
113 dma_write(chan, from, to, PAGE_SIZE)
115 #define dma_read(chan, from, to, size) \ argument
116 dma_xfer(chan, from, to, size, DMA_MODE_READ)
117 #define dma_read_page(chan, from, to) \ argument
118 dma_read(chan, from, to, PAGE_SIZE)
/linux/drivers/gpu/drm/i915/gt/
H A Dintel_gt.h20 #define IS_GFX_GT_IP_RANGE(gt, from, until) ( \ argument
21 BUILD_BUG_ON_ZERO((from) < IP_VER(2, 0)) + \
22 BUILD_BUG_ON_ZERO((until) < (from)) + \
24 GRAPHICS_VER_FULL((gt)->i915) >= (from) && \
34 #define IS_MEDIA_GT_IP_RANGE(gt, from, until) ( \ argument
35 BUILD_BUG_ON_ZERO((from) < IP_VER(13, 0)) + \
36 BUILD_BUG_ON_ZERO((until) < (from)) + \
38 MEDIA_VER_FULL((gt)->i915) >= (from) && \
56 #define IS_GFX_GT_IP_STEP(gt, ipver, from, until) ( \ argument
57 BUILD_BUG_ON_ZERO((until) <= (from)) + \
[all …]

12345678910>>...117