Searched refs:from (Results 176 - 200 of 1272) sorted by relevance

1234567891011>>

/linux-master/drivers/staging/media/atomisp/pci/isp/kernels/sc/sc_1.0/
H A Dia_css_sc.host.h27 struct ia_css_shading_table **from,
35 /* ------ deprecated(bz675) : from ------ */
/linux-master/arch/x86/um/asm/
H A Dprocessor_64.h26 static inline void arch_copy_thread(struct arch_thread *from, argument
/linux-master/arch/openrisc/include/asm/
H A Dpage.h5 * Linux architectural port borrowing liberally from similar works of
40 #define copy_page(to, from) memcpy((to), (from), PAGE_SIZE)
43 #define copy_user_page(to, from, vaddr, pg) copy_page(to, from)
/linux-master/arch/sh/mm/
H A Dnommu.c22 void copy_page(void *to, void *from) argument
24 memcpy(to, from, PAGE_SIZE);
27 __kernel_size_t __copy_user(void *to, const void *from, __kernel_size_t n) argument
29 memcpy(to, from, n);
/linux-master/arch/powerpc/include/asm/
H A Dkup.h75 static __always_inline void allow_user_access(void __user *to, const void __user *from,
135 static __always_inline void allow_read_from_user(const void __user *from, unsigned long size)
138 allow_user_access(NULL, from, size, KUAP_READ);
146 static __always_inline void allow_read_write_user(void __user *to, const void __user *from,
150 allow_user_access(to, from, size, KUAP_READ_WRITE);
153 static __always_inline void prevent_read_from_user(const void __user *from, unsigned long size)
163 static __always_inline void prevent_read_write_user(void __user *to, const void __user *from,
/linux-master/lib/
H A Dkunit_iov_iter.c22 int from, to; member in struct:kvec_test_range
82 if (pr->from < 0)
84 KUNIT_ASSERT_GE(test, pr->to, pr->from);
86 kvec[i].iov_base = buffer + pr->from;
87 kvec[i].iov_len = pr->to - pr->from;
88 size += pr->to - pr->from;
131 for (pr = kvec_test_ranges; pr->from >= 0; pr++)
132 for (i = pr->from; i < pr->to; i++)
146 * Test copying from a ITER_KVEC-type iterator.
181 for (pr = kvec_test_ranges; pr->from >
201 int page, from, to; member in struct:bvec_test_range
534 int i, from; local
613 int i, from; local
691 int i, from; local
[all...]
/linux-master/arch/x86/kernel/
H A Dioport.c65 long ksys_ioperm(unsigned long from, unsigned long num, int turn_on) argument
71 if ((from + num <= from) || (from + num > IO_BITMAP_BITS))
122 bitmap_clear(iobm->bitmap, from, num);
124 bitmap_set(iobm->bitmap, from, num);
152 SYSCALL_DEFINE3(ioperm, unsigned long, from, unsigned long, num, int, turn_on)
154 return ksys_ioperm(from, num, turn_on);
202 long ksys_ioperm(unsigned long from, unsigned long num, int turn_on) argument
206 SYSCALL_DEFINE3(ioperm, unsigned long, from, unsigne
[all...]
/linux-master/drivers/staging/media/atomisp/pci/isp/kernels/sdis/sdis_2/
H A Dia_css_sdis2.host.c38 const struct ia_css_dvs2_coefficients *from,
41 unsigned int aligned_width = from->grid.aligned_width *
42 from->grid.bqs_per_grid_cell;
43 unsigned int width = from->grid.num_hor_coefs;
55 fill_row(&private[0 * stride], from->hor_coefs.odd_real, width, padding);
56 fill_row(&private[1 * stride], from->hor_coefs.odd_imag, width, padding);
57 fill_row(&private[2 * stride], from->hor_coefs.even_real, width, padding);
58 fill_row(&private[3 * stride], from->hor_coefs.even_imag, width, padding);
63 const struct ia_css_dvs2_coefficients *from,
66 unsigned int aligned_height = from
36 ia_css_sdis2_horicoef_vmem_encode( struct sh_css_isp_sdis_hori_coef_tbl *to, const struct ia_css_dvs2_coefficients *from, unsigned int size) argument
61 ia_css_sdis2_vertcoef_vmem_encode( struct sh_css_isp_sdis_vert_coef_tbl *to, const struct ia_css_dvs2_coefficients *from, unsigned int size) argument
86 ia_css_sdis2_horiproj_encode( struct sh_css_isp_sdis_hori_proj_tbl *to, const struct ia_css_dvs2_coefficients *from, unsigned int size) argument
96 ia_css_sdis2_vertproj_encode( struct sh_css_isp_sdis_vert_proj_tbl *to, const struct ia_css_dvs2_coefficients *from, unsigned int size) argument
[all...]
/linux-master/arch/arm/mm/
H A Dcopypage-v6.c31 struct page *from, unsigned long vaddr, struct vm_area_struct *vma)
35 kfrom = kmap_atomic(from);
70 struct page *from, unsigned long vaddr, struct vm_area_struct *vma)
72 struct folio *src = page_folio(from);
91 set_top_pte(kfrom, mk_pte(from, PAGE_KERNEL));
30 v6_copy_user_highpage_nonaliasing(struct page *to, struct page *from, unsigned long vaddr, struct vm_area_struct *vma) argument
69 v6_copy_user_highpage_aliasing(struct page *to, struct page *from, unsigned long vaddr, struct vm_area_struct *vma) argument
/linux-master/arch/arc/include/asm/
H A Dpage.h25 #define copy_user_page(to, from, vaddr, pg) copy_page(to, from)
26 #define copy_page(to, from) memcpy((to), (from), PAGE_SIZE)
33 void copy_user_highpage(struct page *to, struct page *from,
/linux-master/fs/sysv/
H A Dinode.c109 unsigned char * from, unsigned char * to)
112 to[0] = from[0];
114 to[2] = from[1];
115 to[3] = from[2];
117 to[0] = from[0];
118 to[1] = from[1];
119 to[2] = from[2];
123 to[1] = from[0];
124 to[2] = from[1];
125 to[3] = from[
108 read3byte(struct sysv_sb_info *sbi, unsigned char * from, unsigned char * to) argument
129 write3byte(struct sysv_sb_info *sbi, unsigned char * from, unsigned char * to) argument
[all...]
/linux-master/arch/x86/lib/
H A Dusercopy_32.c92 __copy_user_intel(void __user *to, const void *from, unsigned long size) argument
186 : "1"(to), "2"(from), "0"(size)
192 const void __user *from, unsigned long size)
270 : "1"(to), "2"(from), "0"(size)
281 unsigned long __copy_user_intel(void __user *to, const void *from,
286 #define __copy_user(to, from, size) \
309 : "3"(size), "0"(size), "1"(to), "2"(from) \
313 unsigned long __copy_user_ll(void *to, const void *from, unsigned long n) argument
316 if (movsl_is_ok(to, from, n))
317 __copy_user(to, from,
191 __copy_user_intel_nocache(void *to, const void __user *from, unsigned long size) argument
325 __copy_from_user_ll_nocache_nozero(void *to, const void __user *from, unsigned long n) argument
[all...]
/linux-master/drivers/pci/
H A Dsearch.c74 * PCIe-to-PCI/X bridges alias transactions from downstream
133 * pci_find_bus - locate PCI bus from a given domain and bus number
159 * @from: Previous PCI bus found, or %NULL for new search.
162 * initiated by passing %NULL as the @from argument. Otherwise if
163 * @from is not %NULL, searches continue from next device on the
166 struct pci_bus *pci_find_next_bus(const struct pci_bus *from) argument
172 n = from ? from->node.next : pci_root_buses.next;
255 * @from
268 pci_get_dev_by_id(const struct pci_device_id *id, struct pci_dev *from) argument
301 pci_get_subsys(unsigned int vendor, unsigned int device, unsigned int ss_vendor, unsigned int ss_device, struct pci_dev *from) argument
330 pci_get_device(unsigned int vendor, unsigned int device, struct pci_dev *from) argument
351 pci_get_class(unsigned int class, struct pci_dev *from) argument
382 pci_get_base_class(unsigned int class, struct pci_dev *from) argument
[all...]
/linux-master/drivers/mtd/maps/
H A Dsbc_gxx.c112 static void sbc_gxx_copy_from(struct map_info *map, void *to, unsigned long from, ssize_t len) argument
116 if (len > (WINDOW_LENGTH - (from & WINDOW_MASK)))
117 thislen = WINDOW_LENGTH-(from & WINDOW_MASK);
120 sbc_gxx_page(map, from);
121 memcpy_fromio(to, iomapadr + (from & WINDOW_MASK), thislen);
124 from += thislen;
137 static void sbc_gxx_copy_to(struct map_info *map, unsigned long to, const void *from, ssize_t len) argument
146 memcpy_toio(iomapadr + (to & WINDOW_MASK), from, thislen);
149 from += thislen;
/linux-master/include/media/
H A Dv4l2-rect.h132 * v4l2_rect_scale() - scale rect r by to/from
134 * @from: from rectangle.
137 * This scales rectangle @r horizontally by @to->width / @from->width and
138 * vertically by @to->height / @from->height.
140 * Typically @r is a rectangle inside @from and you want the rectangle as
141 * it would appear after scaling @from to @to. So the resulting @r will
145 const struct v4l2_rect *from,
148 if (from->width == 0 || from
144 v4l2_rect_scale(struct v4l2_rect *r, const struct v4l2_rect *from, const struct v4l2_rect *to) argument
[all...]
/linux-master/fs/xfs/libxfs/
H A Dxfs_inode_buf.c33 * from disk. We don't report the error otherwise to avoid warnings during log
36 * the error to, so this will distinguish it from a non-ra verifier failure.
179 struct xfs_dinode *from)
187 fa = xfs_dinode_verify(ip->i_mount, ip->i_ino, from);
189 xfs_inode_verifier_error(ip, -EFSCORRUPTED, "dinode", from,
190 sizeof(*from), fa);
200 ip->i_flushiter = be16_to_cpu(from->di_flushiter);
201 inode->i_generation = be32_to_cpu(from->di_gen);
202 inode->i_mode = be16_to_cpu(from->di_mode);
211 if (unlikely(from
177 xfs_inode_from_disk( struct xfs_inode *ip, struct xfs_dinode *from) argument
[all...]
/linux-master/drivers/staging/media/atomisp/pci/isp/kernels/xnr/xnr_3.0/
H A Dia_css_xnr3.host.c72 * Compute an alpha value for the ISP kernel from sigma value on the host
94 * Compute the scaled coring value for the ISP kernel from the value on the
105 /* Convert from public host-side scale factor to isp-side scale
113 * Compute the scaled blending strength for the ISP kernel from the value on
124 /* Convert from public host-side scale factor to isp-side scale
136 const struct ia_css_xnr3_config *from,
146 s32 alpha_y0 = compute_alpha(from->sigma.y0);
147 s32 alpha_y1 = compute_alpha(from->sigma.y1);
148 s32 alpha_u0 = compute_alpha(from->sigma.u0);
149 s32 alpha_u1 = compute_alpha(from
134 ia_css_xnr3_encode( struct sh_css_isp_xnr3_params *to, const struct ia_css_xnr3_config *from, unsigned int size) argument
191 ia_css_xnr3_vmem_encode( struct sh_css_isp_xnr3_vmem_params *to, const struct ia_css_xnr3_config *from, unsigned int size) argument
[all...]
/linux-master/include/asm-generic/
H A Duaccess.h17 __get_user_fn(size_t size, const void __user *from, void *to) argument
23 *(u8 *)to = *((u8 __force *)from);
26 *(u16 *)to = get_unaligned((u16 __force *)from);
29 *(u32 *)to = get_unaligned((u32 __force *)from);
32 *(u64 *)to = get_unaligned((u64 __force *)from);
43 __put_user_fn(size_t size, void __user *to, void *from) argument
49 *(u8 __force *)to = *(u8 *)from;
52 put_unaligned(*(u16 *)from, (u16 __force *)to);
55 put_unaligned(*(u32 *)from, (u32 __force *)to);
58 put_unaligned(*(u64 *)from, (u6
82 raw_copy_from_user(void *to, const void __user * from, unsigned long n) argument
89 raw_copy_to_user(void __user *to, const void *from, unsigned long n) argument
[all...]
/linux-master/fs/smb/server/
H A Dunicode.c3 * Some of the source code in this file came from fs/cifs/cifs_unicode.c
19 * @from: host-endian source string
30 cifs_mapchar(char *target, const __u16 *from, const struct nls_table *cp, argument
36 src_char = *from;
83 len = utf16s_to_utf8s(from, 3, UTF16_LITTLE_ENDIAN, target, 6);
96 * @from: pointer to input string
106 static int smb_utf16_bytes(const __le16 *from, int maxbytes, argument
116 ftmp[0] = get_unaligned_le16(&from[i]);
121 ftmp[j] = get_unaligned_le16(&from[i + j]);
139 * @from
160 smb_from_utf16(char *to, const __le16 *from, int tolen, int fromlen, const struct nls_table *codepage, bool mapchar) argument
233 smb_strtoUTF16(__le16 *to, const char *from, int len, const struct nls_table *codepage) argument
[all...]
/linux-master/drivers/gpu/drm/i915/gt/
H A Dintel_gt.h20 #define IS_GFX_GT_IP_RANGE(gt, from, until) ( \
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) ( \
35 BUILD_BUG_ON_ZERO((from) < IP_VER(13, 0)) + \
36 BUILD_BUG_ON_ZERO((until) < (from)) + \
38 MEDIA_VER_FULL((gt)->i915) >= (from) && \
43 * a stepping in the range [from, until). The lower stepping bound is
46 * ("from") a
[all...]
/linux-master/drivers/s390/cio/
H A Dblacklist.c47 * (Un-)blacklist the devices from-to
50 unsigned int to_ssid, unsigned int from,
53 if ((from_ssid > to_ssid) || ((from_ssid == to_ssid) && (from > to))) {
56 from_ssid, from, to_ssid, to);
62 (from <= to))) {
64 set_bit(from, bl_dev[from_ssid]);
66 clear_bit(from, bl_dev[from_ssid]);
67 from++;
68 if (from > __MAX_SUBCHANNEL) {
70 from
49 blacklist_range(range_action action, unsigned int from_ssid, unsigned int to_ssid, unsigned int from, unsigned int to, int msgtrigger) argument
152 unsigned int from_cssid, to_cssid, from_ssid, to_ssid, from, to; local
[all...]
/linux-master/fs/ext2/
H A Dfile.c10 * from
51 static ssize_t ext2_dax_write_iter(struct kiocb *iocb, struct iov_iter *from) argument
58 ret = generic_write_checks(iocb, from);
68 ret = dax_iomap_rw(iocb, from, &ext2_iomap_ops);
193 * buffered reads from zeroing out too much from page cache pages.
212 static ssize_t ext2_dio_write_iter(struct kiocb *iocb, struct iov_iter *from) argument
220 loff_t count = iov_iter_count(from);
223 trace_ext2_dio_write_begin(iocb, from, 0);
225 ret = generic_write_checks(iocb, from);
293 ext2_file_write_iter(struct kiocb *iocb, struct iov_iter *from) argument
[all...]
/linux-master/fs/hpfs/
H A Dname.c54 unsigned char *hpfs_translate_name(struct super_block *s, unsigned char *from, argument
59 if (hpfs_sb(s)->sb_chk >= 2) if (hpfs_is_name_long(from, len) != lng) {
62 pr_cont("%c", from[i]);
66 if (!lc) return from;
69 return from;
71 for (i = 0; i < len; i++) to[i] = locase(hpfs_sb(s)->sb_cp_table,from[i]);
/linux-master/drivers/staging/media/atomisp/pci/isp/kernels/vf/vf_1.0/
H A Dia_css_vf.host.c30 const struct ia_css_vf_configuration *from,
36 to->vf_downscale_bits = from->vf_downscale_bits;
37 to->enable = from->info != NULL;
39 if (from->info) {
40 ia_css_frame_info_to_frame_sp_info(&to->info, from->info);
41 ret = ia_css_dma_configure_from_info(&to->dma.port_b, from->info);
29 ia_css_vf_config(struct sh_css_isp_vf_isp_config *to, const struct ia_css_vf_configuration *from, unsigned int size) argument
/linux-master/drivers/s390/crypto/
H A Dzcrypt_api.h35 * Large random numbers are pulled in 4096 byte chunks from the crypto cards
174 const void __user *from,
178 return copy_from_user(to, from, n);
179 memcpy(to, (void __force *)from, n);
185 const void *from,
189 return copy_to_user(to, from, n);
190 memcpy((void __force *)to, from, n);
172 z_copy_from_user(bool userspace, void *to, const void __user *from, unsigned long n) argument
183 z_copy_to_user(bool userspace, void __user *to, const void *from, unsigned long n) argument

Completed in 315 milliseconds

1234567891011>>