tag | line | file | source code |
to | 115 | drivers/char/pty.c | struct tty_struct *to = tty->link; |
to | 119 | drivers/char/pty.c | if (!to || tty->stopped) |
to | 129 | drivers/char/pty.c | r = to->ldisc.receive_room(to); |
to | 133 | drivers/char/pty.c | to->ldisc.receive_buf(to, temp_buffer, 0, n); |
to | 139 | drivers/char/pty.c | c = MIN(count, to->ldisc.receive_room(to)); |
to | 140 | drivers/char/pty.c | to->ldisc.receive_buf(to, buf, 0, c); |
to | 148 | drivers/char/pty.c | struct tty_struct *to = tty->link; |
to | 150 | drivers/char/pty.c | if (!to || tty->stopped) |
to | 153 | drivers/char/pty.c | return to->ldisc.receive_room(to); |
to | 158 | drivers/char/pty.c | struct tty_struct *to = tty->link; |
to | 160 | drivers/char/pty.c | if (!to || !to->ldisc.chars_in_buffer) |
to | 163 | drivers/char/pty.c | return to->ldisc.chars_in_buffer(to); |
to | 168 | drivers/char/pty.c | struct tty_struct *to = tty->link; |
to | 170 | drivers/char/pty.c | if (!to) |
to | 173 | drivers/char/pty.c | if (to->ldisc.flush_buffer) |
to | 174 | drivers/char/pty.c | to->ldisc.flush_buffer(to); |
to | 176 | drivers/char/pty.c | if (to->packet) { |
to | 178 | drivers/char/pty.c | wake_up_interruptible(&to->read_wait); |
to | 350 | drivers/net/3c505.c | int to = jiffies + 5; |
to | 351 | drivers/net/3c505.c | while (jiffies < to) |
to | 444 | drivers/scsi/scsi_debug.c | int to; |
to | 489 | drivers/scsi/scsi_debug.c | to = timeout[i]; |
to | 502 | drivers/scsi/scsi_debug.c | printk("...done %d %x %d %d\n",i , my_done, to, jiffies); |
to | 272 | fs/msdos/file.c | char *start,*to,ch; |
to | 322 | fs/msdos/file.c | to = (char *) bh->b_data+(filp->f_pos & (SECTOR_SIZE-1)); |
to | 324 | fs/msdos/file.c | *to++ = '\n'; |
to | 330 | fs/msdos/file.c | *to++ = '\r'; |
to | 335 | fs/msdos/file.c | *to++ = ch; |
to | 681 | fs/namei.c | char * from, * to; |
to | 685 | fs/namei.c | error = getname(newname,&to); |
to | 687 | fs/namei.c | error = do_symlink(from,to); |
to | 688 | fs/namei.c | putname(to); |
to | 750 | fs/namei.c | char * to; |
to | 756 | fs/namei.c | error = getname(newname,&to); |
to | 761 | fs/namei.c | error = do_link(oldinode,to); |
to | 762 | fs/namei.c | putname(to); |
to | 837 | fs/namei.c | char * from, * to; |
to | 841 | fs/namei.c | error = getname(newname,&to); |
to | 843 | fs/namei.c | error = do_rename(from,to); |
to | 844 | fs/namei.c | putname(to); |
to | 62 | include/asm-alpha/segment.h | #define memcpy_fromfs(to, from, n) memcpy((to),(from),(n)) |
to | 64 | include/asm-alpha/segment.h | #define memcpy_tofs(to, from, n) memcpy((to),(from),(n)) |
to | 5 | include/asm-alpha/string.h | extern inline void * memcpy(void * to, const void * from, size_t n) |
to | 8 | include/asm-alpha/string.h | unsigned long * t = to; |
to | 14 | include/asm-alpha/string.h | return to; |
to | 63 | include/asm-i386/segment.h | static inline void __generic_memcpy_tofs(void * to, const void * from, unsigned long n) |
to | 79 | include/asm-i386/segment.h | :"c" (n),"D" ((long) to),"S" ((long) from) |
to | 83 | include/asm-i386/segment.h | static inline void __constant_memcpy_tofs(void * to, const void * from, unsigned long n) |
to | 89 | include/asm-i386/segment.h | put_user_byte(*(const char *) from, (char *) to); |
to | 92 | include/asm-i386/segment.h | put_user_word(*(const short *) from, (short *) to); |
to | 95 | include/asm-i386/segment.h | put_user_word(*(const short *) from, (short *) to); |
to | 96 | include/asm-i386/segment.h | put_user_byte(*(2+(const char *) from), 2+(char *) to); |
to | 99 | include/asm-i386/segment.h | put_user_long(*(const int *) from, (int *) to); |
to | 111 | include/asm-i386/segment.h | :"c" (n/4),"D" ((long) to),"S" ((long) from) \ |
to | 131 | include/asm-i386/segment.h | static inline void __generic_memcpy_fromfs(void * to, const void * from, unsigned long n) |
to | 143 | include/asm-i386/segment.h | :"c" (n),"D" ((long) to),"S" ((long) from) |
to | 147 | include/asm-i386/segment.h | static inline void __constant_memcpy_fromfs(void * to, const void * from, unsigned long n) |
to | 153 | include/asm-i386/segment.h | *(char *)to = get_user_byte((const char *) from); |
to | 156 | include/asm-i386/segment.h | *(short *)to = get_user_word((const short *) from); |
to | 159 | include/asm-i386/segment.h | *(short *) to = get_user_word((const short *) from); |
to | 160 | include/asm-i386/segment.h | *((char *) to + 2) = get_user_byte(2+(const char *) from); |
to | 163 | include/asm-i386/segment.h | *(int *) to = get_user_long((const int *) from); |
to | 171 | include/asm-i386/segment.h | :"c" (n/4),"D" ((long) to),"S" ((long) from) \ |
to | 191 | include/asm-i386/segment.h | #define memcpy_fromfs(to, from, n) \ |
to | 193 | include/asm-i386/segment.h | __constant_memcpy_fromfs((to),(from),(n)) : \ |
to | 194 | include/asm-i386/segment.h | __generic_memcpy_fromfs((to),(from),(n))) |
to | 196 | include/asm-i386/segment.h | #define memcpy_tofs(to, from, n) \ |
to | 198 | include/asm-i386/segment.h | __constant_memcpy_tofs((to),(from),(n)) : \ |
to | 199 | include/asm-i386/segment.h | __generic_memcpy_tofs((to),(from),(n))) |
to | 340 | include/asm-i386/string.h | extern inline void * memcpy(void * to, const void * from, size_t n) |
to | 355 | include/asm-i386/string.h | :"d" (n),"D" ((long) to),"S" ((long) from) |
to | 357 | include/asm-i386/string.h | return (to); |
to | 69 | include/asm-m68k/segment.h | static inline void __generic_memcpy_tofs(void * to, const void * from, unsigned long n) |
to | 79 | include/asm-m68k/segment.h | : "=d" (n), "=a" (from), "=a" (to) |
to | 80 | include/asm-m68k/segment.h | : "1" (from), "2" (to), "0" (n-1) |
to | 84 | include/asm-m68k/segment.h | static inline void __constant_memcpy_tofs(void * to, const void * from, unsigned long n) |
to | 89 | include/asm-m68k/segment.h | put_user_byte(*(const char *) from, (char *) to); |
to | 92 | include/asm-m68k/segment.h | put_user_word(*(const short *) from, (short *) to); |
to | 95 | include/asm-m68k/segment.h | put_user_word(*(const short *) from, (short *) to); |
to | 96 | include/asm-m68k/segment.h | put_user_byte(*(2+(const char *) from), 2+(char *) to); |
to | 99 | include/asm-m68k/segment.h | put_user_long(*(const int *) from, (int *) to); |
to | 112 | include/asm-m68k/segment.h | :"c" (n/4),"D" ((long) to),"S" ((long) from) \ |
to | 131 | include/asm-m68k/segment.h | __generic_memcpy_tofs(to,from,n); |
to | 135 | include/asm-m68k/segment.h | static inline void __generic_memcpy_fromfs(void * to, const void * from, unsigned long n) |
to | 145 | include/asm-m68k/segment.h | : "=d" (n), "=a" (from), "=a" (to) |
to | 146 | include/asm-m68k/segment.h | : "1" (from), "2" (to), "0" (n-1) |
to | 150 | include/asm-m68k/segment.h | static inline void __constant_memcpy_fromfs(void * to, const void * from, unsigned long n) |
to | 155 | include/asm-m68k/segment.h | *(char *)to = get_user_byte((const char *) from); |
to | 158 | include/asm-m68k/segment.h | *(short *)to = get_user_word((const short *) from); |
to | 161 | include/asm-m68k/segment.h | *(short *) to = get_user_word((const short *) from); |
to | 162 | include/asm-m68k/segment.h | *(2+(char *) to) = get_user_byte(2+(const char *) from); |
to | 165 | include/asm-m68k/segment.h | *(int *) to = get_user_long((const int *) from); |
to | 174 | include/asm-m68k/segment.h | :"c" (n/4),"D" ((long) to),"S" ((long) from) \ |
to | 193 | include/asm-m68k/segment.h | __generic_memcpy_fromfs(to,from,n); |
to | 197 | include/asm-m68k/segment.h | #define memcpy_fromfs(to, from, n) \ |
to | 199 | include/asm-m68k/segment.h | __constant_memcpy_fromfs((to),(from),(n)) : \ |
to | 200 | include/asm-m68k/segment.h | __generic_memcpy_fromfs((to),(from),(n))) |
to | 202 | include/asm-m68k/segment.h | #define memcpy_tofs(to, from, n) \ |
to | 204 | include/asm-m68k/segment.h | __constant_memcpy_tofs((to),(from),(n)) : \ |
to | 205 | include/asm-m68k/segment.h | __generic_memcpy_tofs((to),(from),(n))) |
to | 108 | include/asm-m68k/string.h | extern inline void * memcpy(void * to, const void * from, size_t n) |
to | 110 | include/asm-m68k/string.h | void *xto = to; |
to | 118 | include/asm-m68k/string.h | : "=a" (to), "=a" (from), "=d" (n) |
to | 119 | include/asm-m68k/string.h | : "0" (to), "1" (from), "2" (n) |
to | 90 | include/asm-mips/segment.h | static inline void __generic_memcpy_tofs(void * to, const void * from, unsigned long n) |
to | 104 | include/asm-mips/segment.h | :"d" (n),"d" (((long) to)| segment_fs),"d" ((long) from) |
to | 108 | include/asm-mips/segment.h | static inline void __constant_memcpy_tofs(void * to, const void * from, unsigned long n) |
to | 117 | include/asm-mips/segment.h | put_user_byte(*(const char *) from, (char *) to); |
to | 120 | include/asm-mips/segment.h | put_user_byte(*(const char *) from, (char *) to); |
to | 121 | include/asm-mips/segment.h | put_user_byte(*(1+(const char *) from), 1+(char *) to); |
to | 124 | include/asm-mips/segment.h | put_user_byte(*((const char *) from), (char *) to); |
to | 125 | include/asm-mips/segment.h | put_user_byte(*(1+(const char *) from), 1+(char *) to); |
to | 126 | include/asm-mips/segment.h | put_user_byte(*(2+(const char *) from), 2+(char *) to); |
to | 129 | include/asm-mips/segment.h | put_user_byte(*((const char *) from), (char *) to); |
to | 130 | include/asm-mips/segment.h | put_user_byte(*(1+(const char *) from), 1+(char *) to); |
to | 131 | include/asm-mips/segment.h | put_user_byte(*(2+(const char *) from), 2+(char *) to); |
to | 132 | include/asm-mips/segment.h | put_user_byte(*(3+(const char *) from), 3+(char *) to); |
to | 136 | include/asm-mips/segment.h | __generic_memcpy_tofs(to, from, n); |
to | 141 | include/asm-mips/segment.h | static inline void __generic_memcpy_fromfs(void * to, const void * from, unsigned long n) |
to | 155 | include/asm-mips/segment.h | :"d" (n),"d" ((long) to),"d" (((long) from | segment_fs)) |
to | 159 | include/asm-mips/segment.h | static inline void __constant_memcpy_fromfs(void * to, const void * from, unsigned long n) |
to | 168 | include/asm-mips/segment.h | *(char *)to = get_user_byte((const char *) from); |
to | 171 | include/asm-mips/segment.h | *(char *) to = get_user_byte((const char *) from); |
to | 172 | include/asm-mips/segment.h | *(char *) to = get_user_byte(1+(const char *) from); |
to | 175 | include/asm-mips/segment.h | *(char *) to = get_user_byte((const char *) from); |
to | 176 | include/asm-mips/segment.h | *(char *) to = get_user_byte(1+(const char *) from); |
to | 177 | include/asm-mips/segment.h | *(char *) to = get_user_byte(2+(const char *) from); |
to | 180 | include/asm-mips/segment.h | *(char *) to = get_user_byte((const char *) from); |
to | 181 | include/asm-mips/segment.h | *(char *) to = get_user_byte(1+(const char *) from); |
to | 182 | include/asm-mips/segment.h | *(char *) to = get_user_byte(2+(const char *) from); |
to | 183 | include/asm-mips/segment.h | *(char *) to = get_user_byte(3+(const char *) from); |
to | 188 | include/asm-mips/segment.h | __generic_memcpy_fromfs(to, from, n); |
to | 192 | include/asm-mips/segment.h | #define memcpy_fromfs(to, from, n) \ |
to | 194 | include/asm-mips/segment.h | __constant_memcpy_fromfs((to),(from),(n)) : \ |
to | 195 | include/asm-mips/segment.h | __generic_memcpy_fromfs((to),(from),(n))) |
to | 197 | include/asm-mips/segment.h | #define memcpy_tofs(to, from, n) \ |
to | 199 | include/asm-mips/segment.h | __constant_memcpy_tofs((to),(from),(n)) : \ |
to | 200 | include/asm-mips/segment.h | __generic_memcpy_tofs((to),(from),(n))) |
to | 144 | include/asm-mips/string.h | extern inline void * memcpy(void * to, const void * from, size_t n) |
to | 146 | include/asm-mips/string.h | void *xto = to; |
to | 161 | include/asm-mips/string.h | : "=d" (to), "=d" (from), "=d" (n) |
to | 162 | include/asm-mips/string.h | : "0" (to), "1" (from), "2" (n) |
to | 11 | include/linux/iso_fs.h | #define ISODCL(from, to) (to - from + 1) |
to | 171 | include/linux/mm.h | extern int copy_page_tables(struct task_struct * to); |
to | 172 | include/linux/mm.h | extern int clone_page_tables(struct task_struct * to); |
to | 174 | include/linux/mm.h | extern int remap_page_range(unsigned long from, unsigned long to, unsigned long size, int mask); |
to | 280 | include/linux/skbuff.h | extern void skb_copy_datagram(struct sk_buff *from, int offset, char *to,int size); |
to | 377 | init/main.c | static void copy_options(char * to, char * from) |
to | 398 | init/main.c | *(to++) = c; |
to | 400 | init/main.c | *to = '\0'; |
to | 347 | kernel/module.c | struct kernel_sym *to; |
to | 360 | kernel/module.c | to = table; |
to | 362 | kernel/module.c | if ((i = verify_area(VERIFY_WRITE, to, nmodsyms * sizeof(*table)))) |
to | 372 | kernel/module.c | memcpy_tofs(to, &isym, sizeof isym); |
to | 373 | kernel/module.c | ++to; |
to | 377 | kernel/module.c | i > 0; --i, ++from, ++to) { |
to | 381 | kernel/module.c | memcpy_tofs(to, &isym, sizeof isym); |
to | 75 | mm/memory.c | #define copy_page(from,to) \ |
to | 76 | mm/memory.c | __asm__("cld ; rep ; movsl": :"S" (from),"D" (to),"c" (1024):"cx","di","si") |
to | 403 | mm/memory.c | int remap_page_range(unsigned long from, unsigned long to, unsigned long size, int mask) |
to | 415 | mm/memory.c | if ((from & ~PAGE_MASK) || (to & ~PAGE_MASK)) { |
to | 416 | mm/memory.c | printk("remap_page_range: from = %08lx, to=%08lx\n",from,to); |
to | 461 | mm/memory.c | else if (to >= high_memory) |
to | 462 | mm/memory.c | *page_table++ = (to | mask); |
to | 463 | mm/memory.c | else if (!mem_map[MAP_NR(to)]) |
to | 466 | mm/memory.c | *page_table++ = (to | mask); |
to | 467 | mm/memory.c | if (!(mem_map[MAP_NR(to)] & MAP_PAGE_RESERVED)) { |
to | 469 | mm/memory.c | mem_map[MAP_NR(to)]++; |
to | 472 | mm/memory.c | to += PAGE_SIZE; |
to | 720 | mm/memory.c | unsigned long to; |
to | 749 | mm/memory.c | to = *(unsigned long *) to_page; |
to | 750 | mm/memory.c | if (!(to & PAGE_PRESENT)) |
to | 752 | mm/memory.c | to &= PAGE_MASK; |
to | 753 | mm/memory.c | to_page = to + PAGE_PTR(to_address); |
to | 781 | mm/memory.c | to = (from & (PAGE_MASK | PAGE_DIRTY)) | to_area->vm_page_prot; |
to | 782 | mm/memory.c | if (to & PAGE_COW) |
to | 783 | mm/memory.c | to &= ~PAGE_RW; |
to | 784 | mm/memory.c | *(unsigned long *) to_page = to; |
to | 162 | net/inet/datagram.c | void skb_copy_datagram(struct sk_buff *skb, int offset, char *to, int size) |
to | 166 | net/inet/datagram.c | memcpy_tofs(to,skb->h.raw+offset,size); |
to | 552 | net/inet/dev.c | unsigned char *to; |
to | 587 | net/inet/dev.c | to = skb->data; |
to | 595 | net/inet/dev.c | memcpy(to, buff, amount); |
to | 599 | net/inet/dev.c | to += amount; |
to | 266 | net/inet/packet.c | int packet_recvfrom(struct sock *sk, unsigned char *to, int len, |
to | 314 | net/inet/packet.c | memcpy_tofs(to, skb->data, copied); /* We can't use skb_copy_datagram here */ |
to | 242 | net/inet/raw.c | int raw_recvfrom(struct sock *sk, unsigned char *to, int len, |
to | 267 | net/inet/raw.c | skb_copy_datagram(skb, 0, to, copied); |
to | 26 | net/inet/raw.h | extern int raw_recvfrom(struct sock *sk, unsigned char *to, |
to | 199 | net/inet/sock.h | int (*read)(struct sock *sk, unsigned char *to, |
to | 201 | net/inet/sock.h | int (*write)(struct sock *sk, unsigned char *to, |
to | 1609 | net/inet/tcp.c | unsigned char *to, int len, unsigned flags) |
to | 1640 | net/inet/tcp.c | put_fs_byte(c, to); |
to | 1661 | net/inet/tcp.c | static int tcp_read(struct sock *sk, unsigned char *to, |
to | 1676 | net/inet/tcp.c | return tcp_read_urg(sk, nonblock, to, len, flags); |
to | 1788 | net/inet/tcp.c | memcpy_tofs(to,((unsigned char *)skb->h.th) + |
to | 1792 | net/inet/tcp.c | to += used; |
to | 1970 | net/inet/tcp.c | tcp_recvfrom(struct sock *sk, unsigned char *to, |
to | 1984 | net/inet/tcp.c | result=tcp_read(sk, to, to_len, nonblock, flags); |
to | 466 | net/inet/udp.c | int udp_recvfrom(struct sock *sk, unsigned char *to, int len, |
to | 498 | net/inet/udp.c | skb_copy_datagram(skb,sizeof(struct udphdr),to,copied); |
to | 36 | net/inet/udp.h | extern int udp_recvfrom(struct sock *sk, unsigned char *to, |