tag | line | file | source code |
from | 47 | drivers/char/vt.c | asmlinkage int sys_ioperm(unsigned long from, unsigned long num, int on); |
from | 873 | drivers/net/de620.c | ReadAWord(int from) |
from | 884 | drivers/net/de620.c | for (nbits = 9; nbits > 0; --nbits, from <<= 1) { |
from | 885 | drivers/net/de620.c | if (from & 0x0100) { /* bit set? */ |
from | 681 | fs/namei.c | char * from, * to; |
from | 683 | fs/namei.c | error = getname(oldname,&from); |
from | 687 | fs/namei.c | error = do_symlink(from,to); |
from | 690 | fs/namei.c | putname(from); |
from | 837 | fs/namei.c | char * from, * to; |
from | 839 | fs/namei.c | error = getname(oldname,&from); |
from | 843 | fs/namei.c | error = do_rename(from,to); |
from | 846 | fs/namei.c | putname(from); |
from | 62 | include/asm-alpha/segment.h | #define memcpy_fromfs(to, from, n) memcpy((to),(from),(n)) |
from | 64 | include/asm-alpha/segment.h | #define memcpy_tofs(to, from, n) memcpy((to),(from),(n)) |
from | 5 | include/asm-alpha/string.h | extern inline void * memcpy(void * to, const void * from, size_t n) |
from | 7 | include/asm-alpha/string.h | const unsigned long * f = from; |
from | 63 | include/asm-i386/segment.h | static inline void __generic_memcpy_tofs(void * to, const void * from, unsigned long n) |
from | 79 | include/asm-i386/segment.h | :"c" (n),"D" ((long) to),"S" ((long) from) |
from | 83 | include/asm-i386/segment.h | static inline void __constant_memcpy_tofs(void * to, const void * from, unsigned long n) |
from | 89 | include/asm-i386/segment.h | put_user_byte(*(const char *) from, (char *) to); |
from | 92 | include/asm-i386/segment.h | put_user_word(*(const short *) from, (short *) to); |
from | 95 | include/asm-i386/segment.h | put_user_word(*(const short *) from, (short *) to); |
from | 96 | include/asm-i386/segment.h | put_user_byte(*(2+(const char *) from), 2+(char *) to); |
from | 99 | include/asm-i386/segment.h | put_user_long(*(const int *) from, (int *) to); |
from | 111 | include/asm-i386/segment.h | :"c" (n/4),"D" ((long) to),"S" ((long) from) \ |
from | 131 | include/asm-i386/segment.h | static inline void __generic_memcpy_fromfs(void * to, const void * from, unsigned long n) |
from | 143 | include/asm-i386/segment.h | :"c" (n),"D" ((long) to),"S" ((long) from) |
from | 147 | include/asm-i386/segment.h | static inline void __constant_memcpy_fromfs(void * to, const void * from, unsigned long n) |
from | 153 | include/asm-i386/segment.h | *(char *)to = get_user_byte((const char *) from); |
from | 156 | include/asm-i386/segment.h | *(short *)to = get_user_word((const short *) from); |
from | 159 | include/asm-i386/segment.h | *(short *) to = get_user_word((const short *) from); |
from | 160 | include/asm-i386/segment.h | *((char *) to + 2) = get_user_byte(2+(const char *) from); |
from | 163 | include/asm-i386/segment.h | *(int *) to = get_user_long((const int *) from); |
from | 171 | include/asm-i386/segment.h | :"c" (n/4),"D" ((long) to),"S" ((long) from) \ |
from | 191 | include/asm-i386/segment.h | #define memcpy_fromfs(to, from, n) \ |
from | 193 | include/asm-i386/segment.h | __constant_memcpy_fromfs((to),(from),(n)) : \ |
from | 194 | include/asm-i386/segment.h | __generic_memcpy_fromfs((to),(from),(n))) |
from | 196 | include/asm-i386/segment.h | #define memcpy_tofs(to, from, n) \ |
from | 198 | include/asm-i386/segment.h | __constant_memcpy_tofs((to),(from),(n)) : \ |
from | 199 | include/asm-i386/segment.h | __generic_memcpy_tofs((to),(from),(n))) |
from | 340 | include/asm-i386/string.h | extern inline void * memcpy(void * to, const void * from, size_t n) |
from | 355 | include/asm-i386/string.h | :"d" (n),"D" ((long) to),"S" ((long) from) |
from | 69 | include/asm-m68k/segment.h | static inline void __generic_memcpy_tofs(void * to, const void * from, unsigned long n) |
from | 79 | include/asm-m68k/segment.h | : "=d" (n), "=a" (from), "=a" (to) |
from | 80 | include/asm-m68k/segment.h | : "1" (from), "2" (to), "0" (n-1) |
from | 84 | include/asm-m68k/segment.h | static inline void __constant_memcpy_tofs(void * to, const void * from, unsigned long n) |
from | 89 | include/asm-m68k/segment.h | put_user_byte(*(const char *) from, (char *) to); |
from | 92 | include/asm-m68k/segment.h | put_user_word(*(const short *) from, (short *) to); |
from | 95 | include/asm-m68k/segment.h | put_user_word(*(const short *) from, (short *) to); |
from | 96 | include/asm-m68k/segment.h | put_user_byte(*(2+(const char *) from), 2+(char *) to); |
from | 99 | include/asm-m68k/segment.h | put_user_long(*(const int *) from, (int *) to); |
from | 112 | include/asm-m68k/segment.h | :"c" (n/4),"D" ((long) to),"S" ((long) from) \ |
from | 131 | include/asm-m68k/segment.h | __generic_memcpy_tofs(to,from,n); |
from | 135 | include/asm-m68k/segment.h | static inline void __generic_memcpy_fromfs(void * to, const void * from, unsigned long n) |
from | 145 | include/asm-m68k/segment.h | : "=d" (n), "=a" (from), "=a" (to) |
from | 146 | include/asm-m68k/segment.h | : "1" (from), "2" (to), "0" (n-1) |
from | 150 | include/asm-m68k/segment.h | static inline void __constant_memcpy_fromfs(void * to, const void * from, unsigned long n) |
from | 155 | include/asm-m68k/segment.h | *(char *)to = get_user_byte((const char *) from); |
from | 158 | include/asm-m68k/segment.h | *(short *)to = get_user_word((const short *) from); |
from | 161 | include/asm-m68k/segment.h | *(short *) to = get_user_word((const short *) from); |
from | 162 | include/asm-m68k/segment.h | *(2+(char *) to) = get_user_byte(2+(const char *) from); |
from | 165 | include/asm-m68k/segment.h | *(int *) to = get_user_long((const int *) from); |
from | 174 | include/asm-m68k/segment.h | :"c" (n/4),"D" ((long) to),"S" ((long) from) \ |
from | 193 | include/asm-m68k/segment.h | __generic_memcpy_fromfs(to,from,n); |
from | 197 | include/asm-m68k/segment.h | #define memcpy_fromfs(to, from, n) \ |
from | 199 | include/asm-m68k/segment.h | __constant_memcpy_fromfs((to),(from),(n)) : \ |
from | 200 | include/asm-m68k/segment.h | __generic_memcpy_fromfs((to),(from),(n))) |
from | 202 | include/asm-m68k/segment.h | #define memcpy_tofs(to, from, n) \ |
from | 204 | include/asm-m68k/segment.h | __constant_memcpy_tofs((to),(from),(n)) : \ |
from | 205 | include/asm-m68k/segment.h | __generic_memcpy_tofs((to),(from),(n))) |
from | 108 | include/asm-m68k/string.h | extern inline void * memcpy(void * to, const void * from, size_t n) |
from | 118 | include/asm-m68k/string.h | : "=a" (to), "=a" (from), "=d" (n) |
from | 119 | include/asm-m68k/string.h | : "0" (to), "1" (from), "2" (n) |
from | 90 | include/asm-mips/segment.h | static inline void __generic_memcpy_tofs(void * to, const void * from, unsigned long n) |
from | 104 | include/asm-mips/segment.h | :"d" (n),"d" (((long) to)| segment_fs),"d" ((long) from) |
from | 108 | include/asm-mips/segment.h | static inline void __constant_memcpy_tofs(void * to, const void * from, unsigned long n) |
from | 117 | include/asm-mips/segment.h | put_user_byte(*(const char *) from, (char *) to); |
from | 120 | include/asm-mips/segment.h | put_user_byte(*(const char *) from, (char *) to); |
from | 121 | include/asm-mips/segment.h | put_user_byte(*(1+(const char *) from), 1+(char *) to); |
from | 124 | include/asm-mips/segment.h | put_user_byte(*((const char *) from), (char *) to); |
from | 125 | include/asm-mips/segment.h | put_user_byte(*(1+(const char *) from), 1+(char *) to); |
from | 126 | include/asm-mips/segment.h | put_user_byte(*(2+(const char *) from), 2+(char *) to); |
from | 129 | include/asm-mips/segment.h | put_user_byte(*((const char *) from), (char *) to); |
from | 130 | include/asm-mips/segment.h | put_user_byte(*(1+(const char *) from), 1+(char *) to); |
from | 131 | include/asm-mips/segment.h | put_user_byte(*(2+(const char *) from), 2+(char *) to); |
from | 132 | include/asm-mips/segment.h | put_user_byte(*(3+(const char *) from), 3+(char *) to); |
from | 136 | include/asm-mips/segment.h | __generic_memcpy_tofs(to, from, n); |
from | 141 | include/asm-mips/segment.h | static inline void __generic_memcpy_fromfs(void * to, const void * from, unsigned long n) |
from | 155 | include/asm-mips/segment.h | :"d" (n),"d" ((long) to),"d" (((long) from | segment_fs)) |
from | 159 | include/asm-mips/segment.h | static inline void __constant_memcpy_fromfs(void * to, const void * from, unsigned long n) |
from | 168 | include/asm-mips/segment.h | *(char *)to = get_user_byte((const char *) from); |
from | 171 | include/asm-mips/segment.h | *(char *) to = get_user_byte((const char *) from); |
from | 172 | include/asm-mips/segment.h | *(char *) to = get_user_byte(1+(const char *) from); |
from | 175 | include/asm-mips/segment.h | *(char *) to = get_user_byte((const char *) from); |
from | 176 | include/asm-mips/segment.h | *(char *) to = get_user_byte(1+(const char *) from); |
from | 177 | include/asm-mips/segment.h | *(char *) to = get_user_byte(2+(const char *) from); |
from | 180 | include/asm-mips/segment.h | *(char *) to = get_user_byte((const char *) from); |
from | 181 | include/asm-mips/segment.h | *(char *) to = get_user_byte(1+(const char *) from); |
from | 182 | include/asm-mips/segment.h | *(char *) to = get_user_byte(2+(const char *) from); |
from | 183 | include/asm-mips/segment.h | *(char *) to = get_user_byte(3+(const char *) from); |
from | 188 | include/asm-mips/segment.h | __generic_memcpy_fromfs(to, from, n); |
from | 192 | include/asm-mips/segment.h | #define memcpy_fromfs(to, from, n) \ |
from | 194 | include/asm-mips/segment.h | __constant_memcpy_fromfs((to),(from),(n)) : \ |
from | 195 | include/asm-mips/segment.h | __generic_memcpy_fromfs((to),(from),(n))) |
from | 197 | include/asm-mips/segment.h | #define memcpy_tofs(to, from, n) \ |
from | 199 | include/asm-mips/segment.h | __constant_memcpy_tofs((to),(from),(n)) : \ |
from | 200 | include/asm-mips/segment.h | __generic_memcpy_tofs((to),(from),(n))) |
from | 144 | include/asm-mips/string.h | extern inline void * memcpy(void * to, const void * from, size_t n) |
from | 161 | include/asm-mips/string.h | : "=d" (to), "=d" (from), "=d" (n) |
from | 162 | include/asm-mips/string.h | : "0" (to), "1" (from), "2" (n) |
from | 42 | include/asm-sparc/openprom.h | int (*v0_seekdev)(int dev_desc, long logical_offst, int from); |
from | 20 | include/linux/ioport.h | extern int check_region(unsigned int from, unsigned int extent); |
from | 21 | include/linux/ioport.h | extern void snarf_region(unsigned int from, unsigned int extent); |
from | 22 | include/linux/ioport.h | extern void release_region(unsigned int from, unsigned int extent); |
from | 11 | include/linux/iso_fs.h | #define ISODCL(from, to) (to - from + 1) |
from | 173 | include/linux/mm.h | extern int unmap_page_range(unsigned long from, unsigned long size); |
from | 174 | include/linux/mm.h | extern int remap_page_range(unsigned long from, unsigned long to, unsigned long size, int mask); |
from | 175 | include/linux/mm.h | extern int zeromap_page_range(unsigned long from, unsigned long size, int mask); |
from | 280 | include/linux/skbuff.h | extern void skb_copy_datagram(struct sk_buff *from, int offset, char *to,int size); |
from | 377 | init/main.c | static void copy_options(char * to, char * from) |
from | 383 | init/main.c | if (c == ' ' && *(unsigned long *)from == *(unsigned long *)"mem=") { |
from | 384 | init/main.c | memory_end = simple_strtoul(from+4, &from, 0); |
from | 385 | init/main.c | if ( *from == 'K' || *from == 'k' ) { |
from | 387 | init/main.c | from++; |
from | 388 | init/main.c | } else if ( *from == 'M' || *from == 'm' ) { |
from | 390 | init/main.c | from++; |
from | 393 | init/main.c | c = *(from++); |
from | 112 | kernel/ioport.c | { int len=0,num,from; |
from | 115 | kernel/ioport.c | from=num; |
from | 119 | kernel/ioport.c | if(from==num) |
from | 122 | kernel/ioport.c | len+=sprintf(buf+len,"%04x-%04x\n",from,num); |
from | 134 | kernel/ioport.c | asmlinkage int sys_ioperm(unsigned long from, unsigned long num, int turn_on) |
from | 136 | kernel/ioport.c | if (from + num <= from) |
from | 138 | kernel/ioport.c | if (from + num > IO_BITMAP_SIZE*32) |
from | 144 | kernel/ioport.c | printk("io: from=%d num=%d %s\n", from, num, (turn_on ? "on" : "off")); |
from | 146 | kernel/ioport.c | set_bitmap((unsigned long *)current->tss.io_bitmap, from, num, !turn_on); |
from | 178 | kernel/ioport.c | void snarf_region(unsigned int from, unsigned int num) |
from | 180 | kernel/ioport.c | if (from > IO_BITMAP_SIZE*32) |
from | 182 | kernel/ioport.c | if (from + num > IO_BITMAP_SIZE*32) |
from | 183 | kernel/ioport.c | num = IO_BITMAP_SIZE*32 - from; |
from | 184 | kernel/ioport.c | set_bitmap(ioport_registrar, from, num, 1); |
from | 188 | kernel/ioport.c | void release_region(unsigned int from, unsigned int num) |
from | 190 | kernel/ioport.c | if (from > IO_BITMAP_SIZE*32) |
from | 192 | kernel/ioport.c | if (from + num > IO_BITMAP_SIZE*32) |
from | 193 | kernel/ioport.c | num = IO_BITMAP_SIZE*32 - from; |
from | 194 | kernel/ioport.c | set_bitmap(ioport_registrar, from, num, 0); |
from | 198 | kernel/ioport.c | int check_region(unsigned int from, unsigned int num) |
from | 200 | kernel/ioport.c | if (from > IO_BITMAP_SIZE*32) |
from | 202 | kernel/ioport.c | if (from + num > IO_BITMAP_SIZE*32) |
from | 203 | kernel/ioport.c | num = IO_BITMAP_SIZE*32 - from; |
from | 204 | kernel/ioport.c | return check_bitmap(ioport_registrar, from, num); |
from | 345 | kernel/module.c | struct internal_symbol *from; |
from | 376 | kernel/module.c | from = mp->symtab->symbol; |
from | 377 | kernel/module.c | i > 0; --i, ++from, ++to) { |
from | 379 | kernel/module.c | isym.value = (unsigned long)from->addr; |
from | 380 | kernel/module.c | strncpy(isym.name, from->name, sizeof isym.name); |
from | 75 | mm/memory.c | #define copy_page(from,to) \ |
from | 76 | mm/memory.c | __asm__("cld ; rep ; movsl": :"S" (from),"D" (to),"c" (1024):"cx","di","si") |
from | 288 | mm/memory.c | int unmap_page_range(unsigned long from, unsigned long size) |
from | 294 | mm/memory.c | if (from & ~PAGE_MASK) { |
from | 299 | mm/memory.c | dir = PAGE_DIR_OFFSET(current->tss.cr3,from); |
from | 300 | mm/memory.c | poff = (from >> PAGE_SHIFT) & (PTRS_PER_PAGE-1); |
from | 340 | mm/memory.c | int zeromap_page_range(unsigned long from, unsigned long size, int mask) |
from | 353 | mm/memory.c | if (from & ~PAGE_MASK) { |
from | 354 | mm/memory.c | printk("zeromap_page_range: from = %08lx\n",from); |
from | 357 | mm/memory.c | dir = PAGE_DIR_OFFSET(current->tss.cr3,from); |
from | 359 | mm/memory.c | poff = (from >> PAGE_SHIFT) & (PTRS_PER_PAGE-1); |
from | 403 | mm/memory.c | int remap_page_range(unsigned long from, unsigned long to, unsigned long size, int mask) |
from | 415 | mm/memory.c | if ((from & ~PAGE_MASK) || (to & ~PAGE_MASK)) { |
from | 416 | mm/memory.c | printk("remap_page_range: from = %08lx, to=%08lx\n",from,to); |
from | 419 | mm/memory.c | dir = PAGE_DIR_OFFSET(current->tss.cr3,from); |
from | 421 | mm/memory.c | poff = (from >> PAGE_SHIFT) & (PTRS_PER_PAGE-1); |
from | 719 | mm/memory.c | unsigned long from; |
from | 727 | mm/memory.c | from = *(unsigned long *) from_page; |
from | 728 | mm/memory.c | if (!(from & PAGE_PRESENT)) |
from | 730 | mm/memory.c | from &= PAGE_MASK; |
from | 731 | mm/memory.c | from_page = from + PAGE_PTR(from_address); |
from | 732 | mm/memory.c | from = *(unsigned long *) from_page; |
from | 734 | mm/memory.c | if (!(from & PAGE_PRESENT)) |
from | 737 | mm/memory.c | if (from & PAGE_DIRTY) { |
from | 744 | mm/memory.c | if (from >= high_memory) |
from | 746 | mm/memory.c | if (mem_map[MAP_NR(from)] & MAP_PAGE_RESERVED) |
from | 758 | mm/memory.c | if (in_swap_cache(from)) { /* implies PAGE_DIRTY */ |
from | 764 | mm/memory.c | copy_page((from & PAGE_MASK), newpage); |
from | 769 | mm/memory.c | if (in_swap_cache(from)) { |
from | 774 | mm/memory.c | from |= PAGE_DIRTY; |
from | 775 | mm/memory.c | *(unsigned long *) from_page = from; |
from | 776 | mm/memory.c | delete_from_swap_cache(from); |
from | 779 | mm/memory.c | mem_map[MAP_NR(from)]++; |
from | 781 | mm/memory.c | to = (from & (PAGE_MASK | PAGE_DIRTY)) | to_area->vm_page_prot; |
from | 786 | mm/memory.c | if (!(from & PAGE_RW)) |
from | 791 | mm/memory.c | from &= ~PAGE_RW; |
from | 792 | mm/memory.c | *(unsigned long *) from_page = from; |
from | 123 | net/inet/packet.c | static int packet_sendto(struct sock *sk, unsigned char *from, int len, |
from | 187 | net/inet/packet.c | memcpy_fromfs(skb->data, from, len); |
from | 126 | net/inet/raw.c | static int raw_sendto(struct sock *sk, unsigned char *from, |
from | 191 | net/inet/raw.c | memcpy_fromfs(skb->data + tmp, from, len); |
from | 204 | net/inet/sock.h | unsigned char *from, int len, int noblock, |
from | 208 | net/inet/sock.h | unsigned char *from, int len, int noblock, |
from | 1099 | net/inet/tcp.c | static int tcp_write(struct sock *sk, unsigned char *from, |
from | 1238 | net/inet/tcp.c | memcpy_fromfs(skb->data + skb->len, from, copy); |
from | 1240 | net/inet/tcp.c | from += copy; |
from | 1384 | net/inet/tcp.c | memcpy_fromfs(buff+tmp, from, copy); |
from | 1386 | net/inet/tcp.c | from += copy; |
from | 1424 | net/inet/tcp.c | static int tcp_sendto(struct sock *sk, unsigned char *from, |
from | 1440 | net/inet/tcp.c | return tcp_write(sk, from, len, nonblock, flags); |
from | 251 | net/inet/udp.c | unsigned char *from, int len, int rt) |
from | 322 | net/inet/udp.c | memcpy_fromfs(buff, from, len); |
from | 341 | net/inet/udp.c | static int udp_sendto(struct sock *sk, unsigned char *from, int len, int noblock, |
from | 389 | net/inet/udp.c | tmp = udp_send(sk, &sin, from, len, flags); |