Searched refs:to (Results 201 - 225 of 1522) sorted by relevance

1234567891011>>

/linux-master/drivers/staging/media/atomisp/pci/isp/kernels/ref/ref_1.0/
H A Dia_css_ref.host.h26 int ia_css_ref_config(struct sh_css_isp_ref_isp_config *to,
/linux-master/drivers/staging/media/atomisp/pci/isp/kernels/vf/vf_1.0/
H A Dia_css_vf.host.h25 /* compute the log2 of the downscale factor needed to get closest
26 * to the requested viewfinder resolution on the upper side. The output cannot
35 int ia_css_vf_config(struct sh_css_isp_vf_isp_config *to,
/linux-master/drivers/staging/media/atomisp/pci/isp/kernels/sc/sc_1.0/
H A Dia_css_sc.host.h26 struct sh_css_isp_sc_params *to,
43 /* ------ deprecated(bz675) : to ------ */
/linux-master/arch/arm/mm/
H A Dcopypage-xscale.c9 * that accesses to this page will not touch the main data cache, but
33 * Dcache aliasing issue. The writes will be forwarded to the write buffer,
36 static void mc_copy_user_page(void *from, void *to) argument
79 : "+&r" (from), "+&r" (to), "=&r" (tmp)
84 void xscale_mc_copy_user_highpage(struct page *to, struct page *from, argument
88 void *kto = kmap_atomic(to);
H A Dcopypage-v4mc.c9 * that accesses to this page will not touch the main data cache, but
33 * Dcache aliasing issue. The writes will be forwarded to the write buffer,
37 * instruction. If your processor does not supply this, you have to write your
40 static void mc_copy_user_page(void *from, void *to) argument
59 : "+&r" (from), "+&r" (to), "=&r" (tmp)
64 void v4_mc_copy_user_highpage(struct page *to, struct page *from, argument
68 void *kto = kmap_atomic(to);
/linux-master/tools/perf/util/
H A Dpmu.y29 static void perf_pmu__set_format(unsigned long *bits, long from, long to)
33 if (!to)
34 to = from;
37 for (b = from; b <= to; b++)
/linux-master/arch/x86/um/asm/
H A Dprocessor_64.h27 struct arch_thread *to)
26 arch_copy_thread(struct arch_thread *from, struct arch_thread *to) argument
/linux-master/arch/openrisc/include/asm/
H A Dpage.h40 #define copy_page(to, from) memcpy((to), (from), PAGE_SIZE)
43 #define copy_user_page(to, from, vaddr, pg) copy_page(to, from)
46 * These are used to make use of C type-checking..
/linux-master/arch/powerpc/include/asm/
H A Dkup.h70 * book3s/64/kup-radix.h defines these functions for the !KUAP case to flush
75 static __always_inline void allow_user_access(void __user *to, const void __user *from,
141 static __always_inline void allow_write_to_user(void __user *to, unsigned long size)
143 allow_user_access(to, NULL, size, KUAP_WRITE);
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);
158 static __always_inline void prevent_write_to_user(void __user *to, unsigned long size)
163 static __always_inline void prevent_read_write_user(void __user *to, const void __user *from,
/linux-master/include/linux/
H A Duidgid.h12 * to detect when we overlook these differences.
118 extern uid_t from_kuid(struct user_namespace *to, kuid_t uid);
119 extern gid_t from_kgid(struct user_namespace *to, kgid_t gid);
120 extern uid_t from_kuid_munged(struct user_namespace *to, kuid_t uid);
121 extern gid_t from_kgid_munged(struct user_namespace *to, kgid_t gid);
148 static inline uid_t from_kuid(struct user_namespace *to, kuid_t kuid) argument
153 static inline gid_t from_kgid(struct user_namespace *to, kgid_t kgid) argument
158 static inline uid_t from_kuid_munged(struct user_namespace *to, kuid_t kuid) argument
160 uid_t uid = from_kuid(to, kuid);
166 static inline gid_t from_kgid_munged(struct user_namespace *to, kgid_ argument
[all...]
/linux-master/include/asm-generic/
H A Dpage.h10 #error need to provide a real asm/page.h
29 #define copy_page(to,from) memcpy((to), (from), PAGE_SIZE)
32 #define copy_user_page(to, from, vaddr, pg) copy_page(to, from)
35 * These are used to make use of C type-checking..
/linux-master/arch/sparc/kernel/
H A Dptrace_32.c10 * to emulate SunOS).
39 /* nothing to do */
85 struct membuf to)
93 membuf_write(&to, regs->u_regs, 16 * sizeof(u32));
94 if (!to.left)
98 membuf_write(&to, uregs, 16 * sizeof(u32));
99 membuf_store(&to, regs->psr);
100 membuf_store(&to, regs->pc);
101 membuf_store(&to, regs->npc);
102 membuf_store(&to, reg
83 genregs32_get(struct task_struct *target, const struct user_regset *regset, struct membuf to) argument
166 fpregs32_get(struct task_struct *target, const struct user_regset *regset, struct membuf to) argument
244 getregs_get(struct task_struct *target, const struct user_regset *regset, struct membuf to) argument
287 getfpregs_get(struct task_struct *target, const struct user_regset *regset, struct membuf to) argument
[all...]
/linux-master/drivers/mtd/maps/
H A Dsbc_gxx.c8 The SBC-MediaGX / SBC-GXx has up to 16 MiB of
30 (to support bzImages up to 638KiB-ish)
59 /* bit 7 of 0x259 must be 1 to enable device. */
76 * single flash device into. If the size if zero we use up to the end of the
112 static void sbc_gxx_copy_from(struct map_info *map, void *to, unsigned long from, ssize_t len) argument
121 memcpy_fromio(to, iomapadr + (from & WINDOW_MASK), thislen);
123 to += thislen;
137 static void sbc_gxx_copy_to(struct map_info *map, unsigned long to, const void *from, ssize_t len) argument
141 if (len > (WINDOW_LENGTH - (to
[all...]
H A Dphysmap-bt1-rom.c25 * We have to take this into account when implementing the data read-methods.
58 void *to, unsigned long from,
72 * Since requested data size can be pretty big we have to implement
81 memcpy(to, (char *)&data + shift, chunk);
83 to += chunk;
89 memcpy(to, &data, 4);
91 to += 4;
97 memcpy(to, &data, len);
107 /* It's supposed to be read-only MTD. */
119 dev_warn(dev, "Bank width is supposed to b
57 bt1_rom_map_copy_from(struct map_info *map, void *to, unsigned long from, ssize_t len) argument
[all...]
/linux-master/lib/
H A Dparser.c15 * max size needed by different bases to express U64
19 * pick the max one to define NUMBER_BUF_LEN
25 * @s: the string to examine for presence of the pattern
27 * @args: array of %MAX_OPT_ARGS &substring_t elements. Used to return match
75 args[argc].to = s + len;
79 simple_strtol(s, &args[argc].to, 0);
82 simple_strtoul(s, &args[argc].to, 0);
85 simple_strtoul(s, &args[argc].to, 8);
88 simple_strtoul(s, &args[argc].to, 16);
90 if (args[argc].to
[all...]
/linux-master/arch/x86/include/asm/
H A Dasm.h131 * Macros to generate condition code outputs from inline assembly,
149 # define _ASM_EXTABLE_TYPE(from, to, type) \
153 .long (to) - . ; \
196 # define _ASM_EXTABLE_TYPE(from, to, type) \
200 " .long (" #to ") - .\n" \
204 # define _ASM_EXTABLE_TYPE_REG(from, to, type, reg) \
208 " .long (" #to ") - .\n" \
219 * gets set up by the containing function. If you forget to do this, objtool
226 #define _ASM_EXTABLE(from, to) \
227 _ASM_EXTABLE_TYPE(from, to, EX_TYPE_DEFAUL
[all...]
H A Duaccess_64.h51 * half and a user half. When cast to a signed type, user pointers
98 /* Handles exceptions in both to and from, but doesn't do access_ok */
100 rep_movs_alternative(void *to, const void *from, unsigned len);
103 copy_user_generic(void *to, const void *from, unsigned long len) argument
116 :"+c" (len), "+D" (to), "+S" (from), ASM_CALL_CONSTRAINT
186 static __always_inline unsigned long clear_user(void __user *to, unsigned long n) argument
188 if (__access_ok(to, n))
189 return __clear_user(to, n);
/linux-master/drivers/staging/media/atomisp/pci/isp/kernels/s3a/s3a_1.0/
H A Dia_css_s3a.host.c48 struct sh_css_isp_ae_params *to,
53 /* coefficients to calculate Y */
54 to->y_coef_r =
56 to->y_coef_g =
58 to->y_coef_b =
64 struct sh_css_isp_awb_params *to,
70 to->lg_high_raw =
72 to->lg_low =
74 to->lg_high =
80 struct sh_css_isp_af_params *to,
47 ia_css_ae_encode( struct sh_css_isp_ae_params *to, const struct ia_css_3a_config *from, unsigned int size) argument
63 ia_css_awb_encode( struct sh_css_isp_awb_params *to, const struct ia_css_3a_config *from, unsigned int size) argument
79 ia_css_af_encode( struct sh_css_isp_af_params *to, const struct ia_css_3a_config *from, unsigned int size) argument
99 ia_css_s3a_encode( struct sh_css_isp_s3a_params *to, const struct ia_css_3a_config *from, unsigned int size) argument
[all...]
/linux-master/net/bridge/
H A Dbr_forward.c20 /* Don't forward packets to originating port or forwarding disabled */
73 static void __br_forward(const struct net_bridge_port *to, argument
82 * can know whether to pop the VLAN header on egress or keep it.
84 nbp_switchdev_frame_mark_tx_fwd_offload(to, skb);
86 vg = nbp_vlan_group_rcu(to);
87 skb = br_handle_vlan(to->br, to, vg, skb);
92 skb->dev = to->dev;
102 if (unlikely(netpoll_tx_running(to->br->dev))) {
107 br_netpoll_send_skb(to, sk
144 br_forward(const struct net_bridge_port *to, struct sk_buff *skb, bool local_rcv, bool local_orig) argument
[all...]
/linux-master/drivers/s390/crypto/
H A Dzcrypt_api.h36 * and stored in a page. Be careful when increasing this buffer due to size
67 /* struct to hold tracking information for a userspace request/response */
74 /* defines related to message tracking */
173 void *to,
178 return copy_from_user(to, from, n);
179 memcpy(to, (void __force *)from, n);
184 void __user *to,
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
/linux-master/arch/m68k/fpsp040/
H A Dsint.S6 | the integer rounded to zero of the input argument.
9 | to emulate the fint and fintrz unimplemented instructions,
16 | location pointed to by the address register a0.
28 | If exp(X) < 0, return +/- 0 or +/- 1, according to
32 | result to the exponent $403e.
35 | sintrz, force round-to-zero mode.
122 | Input: a0 points to an IEEE extended format operand
141 bclrb #sign_bit,LOCAL_EX(%a0) |convert to internal extended
195 bfclr LOCAL_SGN(%a0){#0:#8} |change back to IEEE ext format
202 | ;then return X to th
[all...]
/linux-master/drivers/staging/media/atomisp/pci/hive_isp_css_common/host/
H A Dvmem.c96 /* only one (<=64 bits) element needs to be (partly) copied: */
137 /* only one element needs to be (partly) copied: */
144 t_vmem_elem *to,
151 VMEM_ARRAY(v, 2 * ISP_NWAY); /* Need 2 vectors to work around vmem hss bug */
163 to[i] = elem;
170 t_vmem_elem *to,
176 VMEM_ARRAY(v, 2 * ISP_NWAY); /* Need 2 vectors to work around vmem hss bug */
177 //load_vector (&v[1][0], &to[ISP_NWAY]); /* Fetch the next vector, since it will be overwritten. */
185 ia_css_device_store(ISP_BAMEM_BASE[ID] + (unsigned long)to, &v, size);
187 //hrt_mem_store (ISP, VMEM, (unsigned)to,
142 load_vector( const isp_ID_t ID, t_vmem_elem *to, const t_vmem_elem *from) argument
168 store_vector( const isp_ID_t ID, t_vmem_elem *to, const t_vmem_elem *from) argument
193 isp_vmem_load( const isp_ID_t ID, const t_vmem_elem *from, t_vmem_elem *to, unsigned int elems) argument
211 isp_vmem_store( const isp_ID_t ID, t_vmem_elem *to, const t_vmem_elem *from, unsigned int elems) argument
229 isp_vmem_2d_load( const isp_ID_t ID, const t_vmem_elem *from, t_vmem_elem *to, unsigned int height, unsigned int width, unsigned int stride_to, unsigned stride_from ) argument
258 isp_vmem_2d_store( const isp_ID_t ID, t_vmem_elem *to, const t_vmem_elem *from, unsigned int height, unsigned int width, unsigned int stride_to, unsigned stride_from ) argument
[all...]
/linux-master/arch/alpha/lib/
H A Dmemchr.S17 write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
23 - uses cmpbge to compare 8 bytes in parallel
24 - does binary search to find 0 byte in last
25 quadword (HAKMEM needed 12 instructions to
44 # Hack -- if someone passes in (size_t)-1, hoping to just
48 # the length is the easiest way to avoid trouble.
67 ldq_u $6, -1($5) #-e1 : eight or less bytes to search
72 # Deal with the case where at most 8 bytes remain to be searched
103 # Deal with the case where $18 > 8 bytes remain to be
114 # At least one byte left to proces
[all...]
H A Dev6-memchr.S10 * - uses cmpbge to compare 8 bytes in parallel
11 * - does binary search to find 0 byte in last
12 * quadword (HAKMEM needed 12 instructions to
29 * Try not to change the actual algorithm if possible for consistency.
42 # Hack -- if someone passes in (size_t)-1, hoping to just
46 # the length is the easiest way to avoid trouble.
65 ldq_u $6, -1($5) # L : L U U L : eight or less bytes to search Latency=3
72 # Deal with the case where at most 8 bytes remain to be searched
90 * Since we are guaranteed to have set one of the bits, we don't
91 * have to worr
[all...]
/linux-master/arch/arc/kernel/
H A Dentry.S63 ; Return to user space
66 ; This is the historic "kernel_execve" use-case, to return to init
148 ; for traps, ERET is pre-commit so points to next-PC
195 ; save callee regs in case tracer/gdb wants to peek
198 ; safekeep ref to callee regs
205 ; unwind stack to discard callee regs
212 ; ABI: (r0-r7) up to 8 args, (r8) syscall number
246 ; fall through to ret_from_exception
251 ; If ret to use
[all...]

Completed in 222 milliseconds

1234567891011>>