Home
last modified time | relevance | path

Searched refs:to (Results 1 – 25 of 1783) sorted by relevance

12345678910>>...72

/arch/m68k/hp300/
Dhp300map.map11 # be saved by mapping AltGr to Alt (and adapting a few entries):
185 compose '`' 'A' to '�'
186 compose '`' 'a' to '�'
187 compose '\'' 'A' to '�'
188 compose '\'' 'a' to '�'
189 compose '^' 'A' to '�'
190 compose '^' 'a' to '�'
191 compose '~' 'A' to '�'
192 compose '~' 'a' to '�'
193 compose '"' 'A' to '�'
[all …]
/arch/powerpc/tools/
Dunrel_branch_check.sh47 while IFS=: read -r from branch to sym; do
48 case "$to" in
49 c*) to="0x$to"
52 to=${to#.+}
54 if (( to >= 0x2000000 )); then
55 to=$(( to - 0x4000000 ))
57 elif (( to >= 0x8000 )); then
58 to=$(( to - 0x10000 ))
60 printf -v to '0x%x' $(( "0x$from" + to ))
65 if [ "$to" = "$sim" ]; then
[all …]
/arch/x86/include/asm/
Dstring_32.h33 static __always_inline void *__memcpy(void *to, const void *from, size_t n) in __memcpy() argument
43 : "0" (n / 4), "g" (n), "1" ((long)to), "2" ((long)from) in __memcpy()
45 return to; in __memcpy()
52 static __always_inline void *__constant_memcpy(void *to, const void *from, in __constant_memcpy() argument
57 return to; in __constant_memcpy()
61 *(char *)to = *(char *)from; in __constant_memcpy()
62 return to; in __constant_memcpy()
64 *(short *)to = *(short *)from; in __constant_memcpy()
65 return to; in __constant_memcpy()
67 *(int *)to = *(int *)from; in __constant_memcpy()
[all …]
Dasm.h124 # define _ASM_EXTABLE_HANDLE(from, to, handler) \
128 .long (to) - . ; \
132 # define _ASM_EXTABLE(from, to) \
133 _ASM_EXTABLE_HANDLE(from, to, ex_handler_default)
135 # define _ASM_EXTABLE_UA(from, to) \
136 _ASM_EXTABLE_HANDLE(from, to, ex_handler_uaccess)
138 # define _ASM_EXTABLE_CPY(from, to) \
139 _ASM_EXTABLE_HANDLE(from, to, ex_handler_copy)
141 # define _ASM_EXTABLE_FAULT(from, to) \
142 _ASM_EXTABLE_HANDLE(from, to, ex_handler_fault)
[all …]
Duaccess_32.h13 (void *to, const void *from, unsigned long n);
15 (void *to, const void __user *from, unsigned long n);
18 raw_copy_to_user(void __user *to, const void *from, unsigned long n) in raw_copy_to_user() argument
20 return __copy_user_ll((__force void *)to, from, n); in raw_copy_to_user()
24 raw_copy_from_user(void *to, const void __user *from, unsigned long n) in raw_copy_from_user() argument
26 return __copy_user_ll(to, (__force const void *)from, n); in raw_copy_from_user()
30 __copy_from_user_inatomic_nocache(void *to, const void __user *from, in __copy_from_user_inatomic_nocache() argument
33 return __copy_from_user_ll_nocache_nozero(to, from, n); in __copy_from_user_inatomic_nocache()
/arch/m68k/include/asm/
Duaccess.h185 unsigned long __generic_copy_from_user(void *to, const void __user *from, unsigned long n);
186 unsigned long __generic_copy_to_user(void __user *to, const void *from, unsigned long n);
193 #define ____constant_copy_from_user_asm(res, to, from, tmp, n1, n2, n3, s1, s2, s3)\ argument
228 : "+d" (res), "+&a" (to), "+a" (from), "=&d" (tmp) \
231 #define ___constant_copy_from_user_asm(res, to, from, tmp, n1, n2, n3, s1, s2, s3)\ argument
232 ____constant_copy_from_user_asm(res, to, from, tmp, n1, n2, n3, s1, s2, s3)
233 #define __constant_copy_from_user_asm(res, to, from, tmp, n1, n2, n3) \ argument
234 ___constant_copy_from_user_asm(res, to, from, tmp, n1, n2, n3, \
238 __constant_copy_from_user(void *to, const void __user *from, unsigned long n) in __constant_copy_from_user() argument
244 __constant_copy_from_user_asm(res, to, from, tmp, 1, 0, 0); in __constant_copy_from_user()
[all …]
/arch/x86/lib/
Diomem.c5 #define movs(type,to,from) \ argument
6 asm volatile("movs" type:"=&D" (to), "=&S" (from):"0" (to), "1" (from):"memory")
9 static __always_inline void rep_movs(void *to, const void *from, size_t n) in rep_movs() argument
21 : "0" (n / 4), "q" (n), "1" ((long)to), "2" ((long)from) in rep_movs()
25 void memcpy_fromio(void *to, const volatile void __iomem *from, size_t n) in memcpy_fromio() argument
32 movs("b", to, from); in memcpy_fromio()
36 movs("w", to, from); in memcpy_fromio()
39 rep_movs(to, (const void *)from, n); in memcpy_fromio()
43 void memcpy_toio(volatile void __iomem *to, const void *from, size_t n) in memcpy_toio() argument
49 if (unlikely(1 & (unsigned long)to)) { in memcpy_toio()
[all …]
Dmmx_32.c39 void *_mmx_memcpy(void *to, const void *from, size_t len) in _mmx_memcpy() argument
45 return __memcpy(to, from, len); in _mmx_memcpy()
47 p = to; in _mmx_memcpy()
90 : : "r" (from), "r" (to) : "memory"); in _mmx_memcpy()
93 to += 64; in _mmx_memcpy()
114 : : "r" (from), "r" (to) : "memory"); in _mmx_memcpy()
117 to += 64; in _mmx_memcpy()
122 __memcpy(to, from, len & 63); in _mmx_memcpy()
169 static void fast_copy_page(void *to, void *from) in fast_copy_page() argument
215 _ASM_EXTABLE(1b, 3b) : : "r" (from), "r" (to) : "memory"); in fast_copy_page()
[all …]
Dusercopy_32.c67 clear_user(void __user *to, unsigned long n) in clear_user() argument
70 if (access_ok(to, n)) in clear_user()
71 __do_clear_user(to, n); in clear_user()
88 __clear_user(void __user *to, unsigned long n) in __clear_user() argument
90 __do_clear_user(to, n); in __clear_user()
97 __copy_user_intel(void __user *to, const void *from, unsigned long size) in __copy_user_intel() argument
195 : "1"(to), "2"(from), "0"(size) in __copy_user_intel()
200 static unsigned long __copy_user_intel_nocache(void *to, in __copy_user_intel_nocache() argument
283 : "1"(to), "2"(from), "0"(size) in __copy_user_intel_nocache()
294 unsigned long __copy_user_intel(void __user *to, const void *from,
[all …]
/arch/sh/kernel/
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()
50 : "=&r" (to), "=&r" (count), 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()
61 to += 4; in memcpy_fromio()
67 *(u8 *)to = *(volatile u8 *)from; in memcpy_fromio()
68 to++; in memcpy_fromio()
79 void memcpy_toio(volatile void __iomem *to, const void *from, unsigned long count) in memcpy_toio() argument
[all …]
/arch/arc/kernel/
Dptrace.c21 struct membuf to) in genregs_get() argument
27 membuf_zero(&to, 4); // pad in genregs_get()
28 membuf_store(&to, ptregs->bta); in genregs_get()
29 membuf_store(&to, ptregs->lp_start); in genregs_get()
30 membuf_store(&to, ptregs->lp_end); in genregs_get()
31 membuf_store(&to, ptregs->lp_count); in genregs_get()
32 membuf_store(&to, ptregs->status32); in genregs_get()
33 membuf_store(&to, ptregs->ret); in genregs_get()
34 membuf_store(&to, ptregs->blink); in genregs_get()
35 membuf_store(&to, ptregs->fp); in genregs_get()
[all …]
/arch/m68k/lib/
Dmemcpy.c10 void *memcpy(void *to, const void *from, size_t n) in memcpy() argument
12 void *xto = to; in memcpy()
17 if ((long)to & 1) { in memcpy()
18 char *cto = to; in memcpy()
21 to = cto; in memcpy()
27 char *cto = to; in memcpy()
34 if (n > 2 && (long)to & 2) { in memcpy()
35 short *sto = to; in memcpy()
38 to = sto; in memcpy()
44 long *lto = to; in memcpy()
[all …]
/arch/arm64/kernel/
Dio.c15 void __memcpy_fromio(void *to, const volatile void __iomem *from, size_t count) in __memcpy_fromio() argument
18 *(u8 *)to = __raw_readb(from); in __memcpy_fromio()
20 to++; in __memcpy_fromio()
25 *(u64 *)to = __raw_readq(from); in __memcpy_fromio()
27 to += 8; in __memcpy_fromio()
32 *(u8 *)to = __raw_readb(from); in __memcpy_fromio()
34 to++; in __memcpy_fromio()
43 void __memcpy_toio(volatile void __iomem *to, const void *from, size_t count) in __memcpy_toio() argument
45 while (count && !IS_ALIGNED((unsigned long)to, 8)) { in __memcpy_toio()
46 __raw_writeb(*(u8 *)from, to); in __memcpy_toio()
[all …]
/arch/c6x/include/asm/
Duaccess.h17 raw_copy_from_user(void *to, const void __user *from, unsigned long n) in raw_copy_from_user() argument
25 *(u8 *)to = *(u8 __force *)from; in raw_copy_from_user()
32 : "A"(to), "a"(from) in raw_copy_from_user()
40 : "a"(to), "a"(from) in raw_copy_from_user()
48 memcpy(to, (const void __force *)from, n); in raw_copy_from_user()
53 raw_copy_to_user(void __user *to, const void *from, unsigned long n) in raw_copy_to_user() argument
61 *(u8 __force *)to = *(u8 *)from; in raw_copy_to_user()
68 : "a"(to), "a"(from) in raw_copy_to_user()
76 : "a"(to), "a"(from) in raw_copy_to_user()
84 memcpy((void __force *)to, from, n); in raw_copy_to_user()
/arch/hexagon/kernel/
Dptrace.c38 struct membuf to) in genregs_get() argument
48 membuf_write(&to, &regs->r00, 32*sizeof(unsigned long)); in genregs_get()
50 membuf_store(&to, regs->sa0); in genregs_get()
51 membuf_store(&to, regs->lc0); in genregs_get()
52 membuf_store(&to, regs->sa1); in genregs_get()
53 membuf_store(&to, regs->lc1); in genregs_get()
54 membuf_store(&to, regs->m0); in genregs_get()
55 membuf_store(&to, regs->m1); in genregs_get()
56 membuf_store(&to, regs->usr); in genregs_get()
57 membuf_store(&to, regs->preds); in genregs_get()
[all …]
/arch/alpha/kernel/
Dio.c467 void memcpy_fromio(void *to, const volatile void __iomem *from, long count) in memcpy_fromio() argument
472 if (count >= 8 && ((u64)to & 7) == ((u64)from & 7)) { in memcpy_fromio()
475 *(u64 *)to = __raw_readq(from); in memcpy_fromio()
477 to += 8; in memcpy_fromio()
483 if (count >= 4 && ((u64)to & 3) == ((u64)from & 3)) { in memcpy_fromio()
486 *(u32 *)to = __raw_readl(from); in memcpy_fromio()
488 to += 4; in memcpy_fromio()
494 if (count >= 2 && ((u64)to & 1) == ((u64)from & 1)) { in memcpy_fromio()
497 *(u16 *)to = __raw_readw(from); in memcpy_fromio()
499 to += 2; in memcpy_fromio()
[all …]
/arch/um/drivers/
DKconfig9 console driver which dumps all printk messages to stderr.
14 The User-Mode Linux environment allows you to create virtual serial
15 lines on the UML that are usually made to show up on the host as
19 information and command line examples of how to use this facility.
27 lines to a device similar to /dev/null. Data written to it disappears
28 and there is never any data to be read.
34 lines to host portals. They may be accessed with 'telnet <host>
36 attached to a single portal, although what UML device you get when
37 you telnet to that portal will be unpredictable.
38 It is safe to say 'Y' here.
[all …]
/arch/arc/include/asm/
Duaccess.h168 raw_copy_from_user(void *to, const void __user *from, unsigned long n) in raw_copy_from_user() argument
179 if (((unsigned long)to & 0x3) || ((unsigned long)from & 0x3)) { in raw_copy_from_user()
205 "=&r" (tmp), "+r" (to), "+r" (from) in raw_copy_from_user()
246 : "+r" (res), "+r"(to), "+r"(from), in raw_copy_from_user()
270 : "+r" (res), "+r"(to), "+r"(from), in raw_copy_from_user()
291 : "+r" (res), "+r"(to), "+r"(from), "=r"(tmp1) in raw_copy_from_user()
311 : "+r" (res), "+r"(to), "+r"(from), "=r"(tmp1) in raw_copy_from_user()
329 : "+r" (res), "+r"(to), "+r"(from), "=r"(tmp1) in raw_copy_from_user()
385 : "=r" (res), "+r"(to), "+r"(from), "+r"(n), "=r"(val), in raw_copy_from_user()
395 raw_copy_to_user(void __user *to, const void *from, unsigned long n) in raw_copy_to_user() argument
[all …]
/arch/arm64/mm/
Dcopypage.c17 void copy_highpage(struct page *to, struct page *from) in copy_highpage() argument
19 void *kto = page_address(to); in copy_highpage()
25 set_bit(PG_mte_tagged, &to->flags); in copy_highpage()
26 page_kasan_tag_reset(to); in copy_highpage()
40 void copy_user_highpage(struct page *to, struct page *from, in copy_user_highpage() argument
43 copy_highpage(to, from); in copy_user_highpage()
44 flush_dcache_page(to); in copy_user_highpage()
/arch/arm/nwfpe/
DChangeLog2 * Reformat all but softfloat files to get a consistent coding style.
4 * Removed dead code and fixed function protypes to match definitions.
13 - add new method to obtain integer register values.
19 It is used by users of ptrace to examine the values of the
20 floating point registers. Therefore, any changes to the
22 within) have to be well thought out.
24 * Since 128-bit float requires the FPA11 structure to change
26 and needs various things to be re-worked so that we won't
29 * The changes are designed to break any patch that goes on top
34 * fpmodule.c - Changed version number to 0.95
[all …]
/arch/nios2/kernel/
Dptrace.c24 struct membuf to) in genregs_get() argument
29 membuf_zero(&to, 4); // R0 in genregs_get()
30 membuf_write(&to, &regs->r1, 7 * 4); // R1..R7 in genregs_get()
31 membuf_write(&to, &regs->r8, 8 * 4); // R8..R15 in genregs_get()
32 membuf_write(&to, sw, 8 * 4); // R16..R23 in genregs_get()
33 membuf_zero(&to, 2 * 4); /* et and bt */ in genregs_get()
34 membuf_store(&to, regs->gp); in genregs_get()
35 membuf_store(&to, regs->sp); in genregs_get()
36 membuf_store(&to, regs->fp); in genregs_get()
37 membuf_store(&to, regs->ea); in genregs_get()
[all …]
/arch/arm64/include/asm/
Dpage.h22 extern void copy_page(void *to, const void *from);
23 extern void clear_page(void *to);
25 void copy_user_highpage(struct page *to, struct page *from,
29 void copy_highpage(struct page *to, struct page *from);
36 void tag_clear_highpage(struct page *to);
40 #define copy_user_page(to, from, vaddr, pg) copy_page(to, from) argument
/arch/mips/sgi-ip27/
DTODO1 1. Need to figure out why PCI writes to the IOC3 hang, and if it is okay
2 not to write to the IOC3 ever.
3 2. Need to figure out RRB allocation in bridge_startup().
4 3. Need to figure out why address swaizzling is needed in inw/outw for
6 4. Need to integrate ip27-klconfig.c:find_lboard and
8 5. Is it okay to set calias space on all nodes as 0, instead of 8k as
17 This might need to change later. Only the timer intr is set up to be
19 13. Cache flushing (specially the SMP version) has to be investigated.
/arch/csky/lib/
Dusercopy.c7 unsigned long raw_copy_from_user(void *to, const void *from, in raw_copy_from_user() argument
10 ___copy_from_user(to, from, n); in raw_copy_from_user()
15 unsigned long raw_copy_to_user(void *to, const void *from, in raw_copy_to_user() argument
18 ___copy_to_user(to, from, n); in raw_copy_to_user()
233 clear_user(void __user *to, unsigned long n) in clear_user() argument
235 if (access_ok(to, n)) in clear_user()
236 __do_clear_user(to, n); in clear_user()
253 __clear_user(void __user *to, unsigned long n) in __clear_user() argument
255 __do_clear_user(to, n); in __clear_user()
/arch/powerpc/include/asm/
Dkup.h74 static inline void allow_user_access(void __user *to, const void __user *from, in allow_user_access() argument
76 static inline void prevent_user_access(void __user *to, const void __user *from, in prevent_user_access() argument
88 static inline void allow_write_to_user(void __user *to, unsigned long size) in allow_write_to_user() argument
90 allow_user_access(to, NULL, size, KUAP_WRITE); in allow_write_to_user()
93 static inline void allow_read_write_user(void __user *to, const void __user *from, in allow_read_write_user() argument
96 allow_user_access(to, from, size, KUAP_READ_WRITE); in allow_read_write_user()
104 static inline void prevent_write_to_user(void __user *to, unsigned long size) in prevent_write_to_user() argument
106 prevent_user_access(to, NULL, size, KUAP_WRITE); in prevent_write_to_user()
109 static inline void prevent_read_write_user(void __user *to, const void __user *from, in prevent_read_write_user() argument
112 prevent_user_access(to, from, size, KUAP_READ_WRITE); in prevent_read_write_user()

12345678910>>...72