tag | line | file | source code |
to | 268 | arch/alpha/lib/io.c | void memcpy_fromio(void * to, unsigned long from, unsigned long count) |
to | 272 | arch/alpha/lib/io.c | *(char *) to = readb(from); |
to | 273 | arch/alpha/lib/io.c | ((char *) to)++; |
to | 283 | arch/alpha/lib/io.c | void memcpy_toio(unsigned long to, void * from, unsigned long count) |
to | 287 | arch/alpha/lib/io.c | writeb(*(char *) from, to); |
to | 289 | arch/alpha/lib/io.c | to++; |
to | 83 | arch/i386/kernel/setup.c | char c = ' ', *to = command_line, *from = COMMAND_LINE; |
to | 121 | arch/i386/kernel/setup.c | *(to++) = c; |
to | 123 | arch/i386/kernel/setup.c | *to = '\0'; |
to | 74 | arch/mips/kernel/setup.c | char c = ' ', *to = command_line, *from = COMMAND_LINE; |
to | 108 | arch/mips/kernel/setup.c | *(to++) = c; |
to | 110 | arch/mips/kernel/setup.c | *to = '\0'; |
to | 806 | drivers/block/cm206.c | void play_from_to_track(int from, int to) |
to | 817 | drivers/block/cm206.c | update_toc_entry(from); update_toc_entry(to+1); |
to | 820 | drivers/block/cm206.c | PLAY_TO.fsm[i] = play_command[i+4] = cd->toc[to+1].fsm[i]; |
to | 822 | drivers/block/cm206.c | PLAY_TO.track = to; |
to | 794 | drivers/block/mcdx.c | int to = 0; |
to | 800 | drivers/block/mcdx.c | if ((to = (jiffies > limit))) break; |
to | 805 | drivers/block/mcdx.c | if (!to) { |
to | 1113 | drivers/block/mcdx.c | int to = 0; |
to | 1120 | drivers/block/mcdx.c | || (to = (current->timeout == 0))) { |
to | 1130 | drivers/block/mcdx.c | || to) { |
to | 1133 | drivers/block/mcdx.c | else if (to) |
to | 328 | drivers/char/console.c | static inline void memcpyw(unsigned short *to, unsigned short *from, |
to | 334 | drivers/char/console.c | scr_writew(scr_readw(from++), to++); |
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 | 275 | drivers/net/i82586.h | and length/type field already prepended to the data, |
to | 276 | drivers/net/i82586.h | so we do not need to insert it. Consistent with this |
to | 783 | drivers/net/wavelan.c | Leave out 0x3C0 for now -- seems to clash |
to | 890 | drivers/net/wavelan.c | Leave this out until I can get it to work -- BJ. |
to | 474 | drivers/scsi/scsi_debug.c | int to; |
to | 520 | drivers/scsi/scsi_debug.c | to = timeout[i]; |
to | 533 | drivers/scsi/scsi_debug.c | printk("...done %d %x %d %d\n",i , my_done, to, jiffies); |
to | 1334 | fs/hpfs/hpfs_fs.c | static void translate_hpfs_name(const unsigned char * from, int len, char * to, int lowercase) |
to | 1343 | fs/hpfs/hpfs_fs.c | *to = t; |
to | 1345 | fs/hpfs/hpfs_fs.c | to++; |
to | 276 | fs/msdos/file.c | char *start,*to,ch; |
to | 326 | fs/msdos/file.c | to = (char *) bh->b_data+(filp->f_pos & (SECTOR_SIZE-1)); |
to | 328 | fs/msdos/file.c | *to++ = '\n'; |
to | 334 | fs/msdos/file.c | *to++ = '\r'; |
to | 339 | fs/msdos/file.c | *to++ = ch; |
to | 676 | fs/namei.c | char * from, * to; |
to | 680 | fs/namei.c | error = getname(newname,&to); |
to | 682 | fs/namei.c | error = do_symlink(from,to); |
to | 683 | fs/namei.c | putname(to); |
to | 745 | fs/namei.c | char * to; |
to | 751 | fs/namei.c | error = getname(newname,&to); |
to | 756 | fs/namei.c | error = do_link(oldinode,to); |
to | 757 | fs/namei.c | putname(to); |
to | 832 | fs/namei.c | char * from, * to; |
to | 836 | fs/namei.c | error = getname(newname,&to); |
to | 838 | fs/namei.c | error = do_rename(from,to); |
to | 839 | fs/namei.c | putname(to); |
to | 123 | include/asm-alpha/io.h | #define memcpy_fromio(to,from,len) (memcpy_fromio)((to),(unsigned long)(from),(len)) |
to | 124 | include/asm-alpha/io.h | #define memcpy_toio(to,from,len) (memcpy_toio)((unsigned long)(to),(from),(len)) |
to | 115 | include/asm-alpha/segment.h | #define memcpy_fromfs(to, from, n) memcpy((to),(from),(n)) |
to | 117 | include/asm-alpha/segment.h | #define memcpy_tofs(to, from, n) memcpy((to),(from),(n)) |
to | 129 | include/asm-i386/segment.h | static inline void __generic_memcpy_tofs(void * to, const void * from, unsigned long n) |
to | 151 | include/asm-i386/segment.h | :"0" (n),"D" ((long) to),"S" ((long) from) |
to | 155 | include/asm-i386/segment.h | static inline void __constant_memcpy_tofs(void * to, const void * from, unsigned long n) |
to | 161 | include/asm-i386/segment.h | __put_user(*(const char *) from, (char *) to, 1); |
to | 164 | include/asm-i386/segment.h | __put_user(*(const short *) from, (short *) to, 2); |
to | 167 | include/asm-i386/segment.h | __put_user(*(const short *) from, (short *) to, 2); |
to | 168 | include/asm-i386/segment.h | __put_user(*(2+(const char *) from), 2+(char *) to, 1); |
to | 171 | include/asm-i386/segment.h | __put_user(*(const int *) from, (int *) to, 4); |
to | 174 | include/asm-i386/segment.h | __put_user(*(const int *) from, (int *) to, 4); |
to | 175 | include/asm-i386/segment.h | __put_user(*(1+(const int *) from), 1+(int *) to, 4); |
to | 178 | include/asm-i386/segment.h | __put_user(*(const int *) from, (int *) to, 4); |
to | 179 | include/asm-i386/segment.h | __put_user(*(1+(const int *) from), 1+(int *) to, 4); |
to | 180 | include/asm-i386/segment.h | __put_user(*(2+(const int *) from), 2+(int *) to, 4); |
to | 183 | include/asm-i386/segment.h | __put_user(*(const int *) from, (int *) to, 4); |
to | 184 | include/asm-i386/segment.h | __put_user(*(1+(const int *) from), 1+(int *) to, 4); |
to | 185 | include/asm-i386/segment.h | __put_user(*(2+(const int *) from), 2+(int *) to, 4); |
to | 186 | include/asm-i386/segment.h | __put_user(*(3+(const int *) from), 3+(int *) to, 4); |
to | 198 | include/asm-i386/segment.h | :"c" (n/4),"D" ((long) to),"S" ((long) from) \ |
to | 218 | include/asm-i386/segment.h | static inline void __generic_memcpy_fromfs(void * to, const void * from, unsigned long n) |
to | 236 | include/asm-i386/segment.h | :"0" (n),"D" ((long) to),"S" ((long) from) |
to | 240 | include/asm-i386/segment.h | static inline void __constant_memcpy_fromfs(void * to, const void * from, unsigned long n) |
to | 246 | include/asm-i386/segment.h | *(char *)to = __get_user((const char *) from, 1); |
to | 249 | include/asm-i386/segment.h | *(short *)to = __get_user((const short *) from, 2); |
to | 252 | include/asm-i386/segment.h | *(short *) to = __get_user((const short *) from, 2); |
to | 253 | include/asm-i386/segment.h | *((char *) to + 2) = __get_user(2+(const char *) from, 1); |
to | 256 | include/asm-i386/segment.h | *(int *) to = __get_user((const int *) from, 4); |
to | 259 | include/asm-i386/segment.h | *(int *) to = __get_user((const int *) from, 4); |
to | 260 | include/asm-i386/segment.h | *(1+(int *) to) = __get_user(1+(const int *) from, 4); |
to | 263 | include/asm-i386/segment.h | *(int *) to = __get_user((const int *) from, 4); |
to | 264 | include/asm-i386/segment.h | *(1+(int *) to) = __get_user(1+(const int *) from, 4); |
to | 265 | include/asm-i386/segment.h | *(2+(int *) to) = __get_user(2+(const int *) from, 4); |
to | 268 | include/asm-i386/segment.h | *(int *) to = __get_user((const int *) from, 4); |
to | 269 | include/asm-i386/segment.h | *(1+(int *) to) = __get_user(1+(const int *) from, 4); |
to | 270 | include/asm-i386/segment.h | *(2+(int *) to) = __get_user(2+(const int *) from, 4); |
to | 271 | include/asm-i386/segment.h | *(3+(int *) to) = __get_user(3+(const int *) from, 4); |
to | 279 | include/asm-i386/segment.h | :"c" (n/4),"D" ((long) to),"S" ((long) from) \ |
to | 299 | include/asm-i386/segment.h | #define memcpy_fromfs(to, from, n) \ |
to | 301 | include/asm-i386/segment.h | __constant_memcpy_fromfs((to),(from),(n)) : \ |
to | 302 | include/asm-i386/segment.h | __generic_memcpy_fromfs((to),(from),(n))) |
to | 304 | include/asm-i386/segment.h | #define memcpy_tofs(to, from, n) \ |
to | 306 | include/asm-i386/segment.h | __constant_memcpy_tofs((to),(from),(n)) : \ |
to | 307 | 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 | 353 | include/asm-i386/string.h | :"c" (n/4), "q" (n),"D" ((long) to),"S" ((long) from) |
to | 355 | include/asm-i386/string.h | return (to); |
to | 362 | include/asm-i386/string.h | extern inline void * __constant_memcpy(void * to, const void * from, size_t n) |
to | 366 | include/asm-i386/string.h | return to; |
to | 368 | include/asm-i386/string.h | *(unsigned char *)to = *(const unsigned char *)from; |
to | 369 | include/asm-i386/string.h | return to; |
to | 371 | include/asm-i386/string.h | *(unsigned short *)to = *(const unsigned short *)from; |
to | 372 | include/asm-i386/string.h | return to; |
to | 374 | include/asm-i386/string.h | *(unsigned short *)to = *(const unsigned short *)from; |
to | 375 | include/asm-i386/string.h | *(2+(unsigned char *)to) = *(2+(const unsigned char *)from); |
to | 376 | include/asm-i386/string.h | return to; |
to | 378 | include/asm-i386/string.h | *(unsigned long *)to = *(const unsigned long *)from; |
to | 379 | include/asm-i386/string.h | return to; |
to | 386 | include/asm-i386/string.h | : "c" (n/4),"D" ((long) to),"S" ((long) from) \ |
to | 390 | include/asm-i386/string.h | case 0: COMMON(""); return to; |
to | 391 | include/asm-i386/string.h | case 1: COMMON("\n\tmovsb"); return to; |
to | 392 | include/asm-i386/string.h | case 2: COMMON("\n\tmovsw"); return to; |
to | 393 | include/asm-i386/string.h | case 3: COMMON("\n\tmovsw\n\tmovsb"); 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 | 81 | include/asm-mips/segment.h | #define memcpy_fromfs(to, from, n) memcpy((to),(from),(n)) |
to | 83 | include/asm-mips/segment.h | #define memcpy_tofs(to, from, n) memcpy((to),(from),(n)) |
to | 136 | include/asm-mips/string.h | extern __inline__ void * memcpy(void * to, const void * from, size_t n) |
to | 138 | include/asm-mips/string.h | void *xto = to; |
to | 153 | include/asm-mips/string.h | : "=r" (to), "=r" (from), "=r" (n) |
to | 154 | include/asm-mips/string.h | : "0" (to), "1" (from), "2" (n) |
to | 69 | include/asm-sparc/segment.h | #define memcpy_fromfs(to, from, n) memcpy((to),(from),(n)) |
to | 71 | include/asm-sparc/segment.h | #define memcpy_tofs(to, from, n) memcpy((to),(from),(n)) |
to | 11 | include/linux/iso_fs.h | #define ISODCL(from, to) (to - from + 1) |
to | 177 | include/linux/mm.h | extern int copy_page_tables(struct task_struct * to); |
to | 178 | include/linux/mm.h | extern int clone_page_tables(struct task_struct * to); |
to | 180 | include/linux/mm.h | extern int remap_page_range(unsigned long from, unsigned long to, unsigned long size, pgprot_t prot); |
to | 360 | include/linux/skbuff.h | extern void skb_copy_datagram(struct sk_buff *from, int offset, char *to,int size); |
to | 26 | include/net/raw.h | extern int raw_recvfrom(struct sock *sk, unsigned char *to, |
to | 221 | include/net/sock.h | int (*read)(struct sock *sk, unsigned char *to, |
to | 223 | include/net/sock.h | int (*write)(struct sock *sk, unsigned char *to, |
to | 38 | include/net/udp.h | extern int udp_recvfrom(struct sock *sk, unsigned char *to, |
to | 366 | kernel/module.c | struct kernel_sym *to; |
to | 382 | kernel/module.c | to = table; |
to | 384 | kernel/module.c | if ((i = verify_area(VERIFY_WRITE, to, nmodsyms * sizeof(*table)))) |
to | 393 | kernel/module.c | memcpy_tofs(to, &isym, sizeof isym); |
to | 394 | kernel/module.c | ++to; |
to | 399 | kernel/module.c | i > 0; --i, ++from, ++to) { |
to | 403 | kernel/module.c | memcpy_tofs(to, &isym, sizeof isym); |
to | 63 | mm/memory.c | #define copy_page(from,to) memcpy((void *) to, (void *) from, PAGE_SIZE) |
to | 805 | mm/memory.c | pte_t from, to; |
to | 858 | mm/memory.c | to = *to_table; |
to | 859 | mm/memory.c | if (!pte_none(to)) |
to | 118 | net/appletalk/ddp.c | static atalk_socket *atalk_search_socket(struct sockaddr_at *to, struct atalk_iface *atif) |
to | 123 | net/appletalk/ddp.c | if ( to->sat_port != s->at.src_port ) { |
to | 127 | net/appletalk/ddp.c | if ( to->sat_addr.s_net == 0 && |
to | 128 | net/appletalk/ddp.c | to->sat_addr.s_node == ATADDR_BCAST && |
to | 133 | net/appletalk/ddp.c | if ( to->sat_addr.s_net == s->at.src_net && |
to | 134 | net/appletalk/ddp.c | to->sat_addr.s_node == s->at.src_node ) { |
to | 164 | net/core/datagram.c | void skb_copy_datagram(struct sk_buff *skb, int offset, char *to, int size) |
to | 168 | net/core/datagram.c | memcpy_tofs(to,skb->h.raw+offset,size); |
to | 487 | net/core/dev.c | unsigned char *to; |
to | 522 | net/core/dev.c | to = skb_put(skb,len); |
to | 530 | net/core/dev.c | memcpy(to, buff, amount); |
to | 534 | net/core/dev.c | to += amount; |
to | 287 | net/ipv4/packet.c | int packet_recvfrom(struct sock *sk, unsigned char *to, int len, |
to | 333 | net/ipv4/packet.c | memcpy_tofs(to, skb->data, copied); /* We can't use skb_copy_datagram here */ |
to | 130 | net/ipv4/raw.c | static void raw_getfrag(void *p, int saddr, char *to, unsigned int offset, unsigned int fraglen) |
to | 132 | net/ipv4/raw.c | memcpy_fromfs(to, (unsigned char *)p+offset, fraglen); |
to | 139 | net/ipv4/raw.c | static void raw_getrawfrag(void *p, int saddr, char *to, unsigned int offset, unsigned int fraglen) |
to | 141 | net/ipv4/raw.c | memcpy_fromfs(to, (unsigned char *)p+offset, fraglen); |
to | 144 | net/ipv4/raw.c | struct iphdr *iph=(struct iphdr *)to; |
to | 234 | net/ipv4/raw.c | int raw_recvfrom(struct sock *sk, unsigned char *to, int len, |
to | 259 | net/ipv4/raw.c | skb_copy_datagram(skb, 0, to, copied); |
to | 1928 | net/ipv4/tcp.c | unsigned char *to, int len, unsigned flags) |
to | 1963 | net/ipv4/tcp.c | put_fs_byte(c, to); |
to | 1984 | net/ipv4/tcp.c | static int tcp_read(struct sock *sk, unsigned char *to, |
to | 2005 | net/ipv4/tcp.c | return tcp_read_urg(sk, nonblock, to, len, flags); |
to | 2158 | net/ipv4/tcp.c | memcpy_tofs(to,((unsigned char *)skb->h.th) + |
to | 2162 | net/ipv4/tcp.c | to += used; |
to | 2426 | net/ipv4/tcp.c | tcp_recvfrom(struct sock *sk, unsigned char *to, |
to | 2440 | net/ipv4/tcp.c | result=tcp_read(sk, to, to_len, nonblock, flags); |
to | 188 | net/ipv4/udp.c | static void udp_getfrag(void *p, int saddr, char * to, unsigned int offset, unsigned int fraglen) |
to | 198 | net/ipv4/udp.c | dst = to; |
to | 204 | net/ipv4/udp.c | dst = to+sizeof(struct udphdr); |
to | 216 | net/ipv4/udp.c | memcpy(to, ufh, sizeof(struct udphdr)); |
to | 227 | net/ipv4/udp.c | static void udp_getfrag_nosum(void *p, int saddr, char * to, unsigned int offset, unsigned int fraglen) |
to | 237 | net/ipv4/udp.c | dst = to; |
to | 243 | net/ipv4/udp.c | dst = to+sizeof(struct udphdr); |
to | 247 | net/ipv4/udp.c | memcpy(to, ufh, sizeof(struct udphdr)); |
to | 405 | net/ipv4/udp.c | int udp_recvfrom(struct sock *sk, unsigned char *to, int len, |
to | 437 | net/ipv4/udp.c | skb_copy_datagram(skb,sizeof(struct udphdr),to,copied); |