tag | line | file | source code |
from | 17 | arch/i386/kernel/ioport.c | struct { int from; |
from | 125 | arch/i386/kernel/ioport.c | ioportnames[i].from, |
from | 126 | arch/i386/kernel/ioport.c | ioportnames[i].from+ioportnames[i].num-1, |
from | 138 | arch/i386/kernel/ioport.c | asmlinkage int sys_ioperm(unsigned long from, unsigned long num, int turn_on) |
from | 140 | arch/i386/kernel/ioport.c | if (from + num <= from) |
from | 142 | arch/i386/kernel/ioport.c | if (from + num > IO_BITMAP_SIZE*32) |
from | 148 | arch/i386/kernel/ioport.c | printk("io: from=%d num=%d %s\n", from, num, (turn_on ? "on" : "off")); |
from | 150 | arch/i386/kernel/ioport.c | set_bitmap((unsigned long *)current->tss.io_bitmap, from, num, !turn_on); |
from | 184 | arch/i386/kernel/ioport.c | void do_snarf_region(unsigned int from, unsigned int num) |
from | 186 | arch/i386/kernel/ioport.c | if (from > IO_BITMAP_SIZE*32) |
from | 188 | arch/i386/kernel/ioport.c | if (from + num > IO_BITMAP_SIZE*32) |
from | 189 | arch/i386/kernel/ioport.c | num = IO_BITMAP_SIZE*32 - from; |
from | 190 | arch/i386/kernel/ioport.c | set_bitmap(ioport_registrar, from, num, 1); |
from | 197 | arch/i386/kernel/ioport.c | void register_iomem(unsigned int from, unsigned int num, char *name) |
from | 208 | arch/i386/kernel/ioport.c | ioportnames[i].from=from; |
from | 212 | arch/i386/kernel/ioport.c | do_snarf_region(from,num); |
from | 219 | arch/i386/kernel/ioport.c | void snarf_region(unsigned int from, unsigned int num) |
from | 220 | arch/i386/kernel/ioport.c | { register_iomem(from,num,"No name given."); |
from | 226 | arch/i386/kernel/ioport.c | void do_release_region(unsigned int from, unsigned int num) |
from | 228 | arch/i386/kernel/ioport.c | if (from > IO_BITMAP_SIZE*32) |
from | 230 | arch/i386/kernel/ioport.c | if (from + num > IO_BITMAP_SIZE*32) |
from | 231 | arch/i386/kernel/ioport.c | num = IO_BITMAP_SIZE*32 - from; |
from | 232 | arch/i386/kernel/ioport.c | set_bitmap(ioport_registrar, from, num, 0); |
from | 239 | arch/i386/kernel/ioport.c | void release_region(unsigned int from, unsigned int num) |
from | 242 | arch/i386/kernel/ioport.c | { if(ioportnames[i].from==from && ioportnames[i].num==num) |
from | 246 | arch/i386/kernel/ioport.c | do_release_region(from,num); |
from | 252 | arch/i386/kernel/ioport.c | int check_region(unsigned int from, unsigned int num) |
from | 254 | arch/i386/kernel/ioport.c | if (from > IO_BITMAP_SIZE*32) |
from | 256 | arch/i386/kernel/ioport.c | if (from + num > IO_BITMAP_SIZE*32) |
from | 257 | arch/i386/kernel/ioport.c | num = IO_BITMAP_SIZE*32 - from; |
from | 258 | arch/i386/kernel/ioport.c | return check_bitmap(ioport_registrar, from, num); |
from | 47 | drivers/char/vt.c | asmlinkage int sys_ioperm(unsigned long from, unsigned long num, int on); |
from | 872 | drivers/net/de620.c | ReadAWord(int from) |
from | 883 | drivers/net/de620.c | for (nbits = 9; nbits > 0; --nbits, from <<= 1) { |
from | 884 | 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 | 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 | 364 | include/asm-i386/string.h | extern inline void * __constant_memcpy(void * to, const void * from, size_t n) |
from | 370 | include/asm-i386/string.h | *(unsigned char *)to = *(unsigned char *)from; |
from | 373 | include/asm-i386/string.h | *(unsigned short *)to = *(unsigned short *)from; |
from | 376 | include/asm-i386/string.h | *(unsigned short *)to = *(unsigned short *)from; |
from | 377 | include/asm-i386/string.h | *(2+(unsigned char *)to) = *(2+(unsigned char *)from); |
from | 380 | include/asm-i386/string.h | *(unsigned long *)to = *(unsigned long *)from; |
from | 388 | include/asm-i386/string.h | : "c" (n/4),"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 | 68 | include/asm-sparc/segment.h | #define memcpy_fromfs(to, from, n) memcpy((to),(from),(n)) |
from | 70 | include/asm-sparc/segment.h | #define memcpy_tofs(to, from, n) memcpy((to),(from),(n)) |
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 register_iomem(unsigned int from, unsigned int extent,char* name); |
from | 23 | 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 | 171 | include/linux/mm.h | extern int unmap_page_range(unsigned long from, unsigned long size); |
from | 172 | include/linux/mm.h | extern int remap_page_range(unsigned long from, unsigned long to, unsigned long size, int mask); |
from | 173 | include/linux/mm.h | extern int zeromap_page_range(unsigned long from, unsigned long size, int mask); |
from | 281 | include/linux/skbuff.h | extern void skb_copy_datagram(struct sk_buff *from, int offset, char *to,int size); |
from | 383 | init/main.c | static void copy_options(char * to, char * from) |
from | 389 | init/main.c | if (c == ' ' && *(unsigned long *)from == *(unsigned long *)"mem=") { |
from | 390 | init/main.c | memory_end = simple_strtoul(from+4, &from, 0); |
from | 391 | init/main.c | if ( *from == 'K' || *from == 'k' ) { |
from | 393 | init/main.c | from++; |
from | 394 | init/main.c | } else if ( *from == 'M' || *from == 'm' ) { |
from | 396 | init/main.c | from++; |
from | 399 | init/main.c | c = *(from++); |
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) memcpy((void *) to, (void *) from, PAGE_SIZE) |
from | 287 | mm/memory.c | int unmap_page_range(unsigned long from, unsigned long size) |
from | 293 | mm/memory.c | if (from & ~PAGE_MASK) { |
from | 298 | mm/memory.c | dir = PAGE_DIR_OFFSET(current->tss.cr3,from); |
from | 299 | mm/memory.c | poff = (from >> PAGE_SHIFT) & (PTRS_PER_PAGE-1); |
from | 339 | mm/memory.c | int zeromap_page_range(unsigned long from, unsigned long size, int mask) |
from | 352 | mm/memory.c | if (from & ~PAGE_MASK) { |
from | 353 | mm/memory.c | printk("zeromap_page_range: from = %08lx\n",from); |
from | 356 | mm/memory.c | dir = PAGE_DIR_OFFSET(current->tss.cr3,from); |
from | 358 | mm/memory.c | poff = (from >> PAGE_SHIFT) & (PTRS_PER_PAGE-1); |
from | 402 | mm/memory.c | int remap_page_range(unsigned long from, unsigned long to, unsigned long size, int mask) |
from | 414 | mm/memory.c | if ((from & ~PAGE_MASK) || (to & ~PAGE_MASK)) { |
from | 415 | mm/memory.c | printk("remap_page_range: from = %08lx, to=%08lx\n",from,to); |
from | 418 | mm/memory.c | dir = PAGE_DIR_OFFSET(current->tss.cr3,from); |
from | 420 | mm/memory.c | poff = (from >> PAGE_SHIFT) & (PTRS_PER_PAGE-1); |
from | 718 | mm/memory.c | unsigned long from; |
from | 726 | mm/memory.c | from = *(unsigned long *) from_page; |
from | 727 | mm/memory.c | if (!(from & PAGE_PRESENT)) |
from | 729 | mm/memory.c | from &= PAGE_MASK; |
from | 730 | mm/memory.c | from_page = from + PAGE_PTR(from_address); |
from | 731 | mm/memory.c | from = *(unsigned long *) from_page; |
from | 733 | mm/memory.c | if (!(from & PAGE_PRESENT)) |
from | 736 | mm/memory.c | if (from & PAGE_DIRTY) { |
from | 743 | mm/memory.c | if (from >= high_memory) |
from | 745 | mm/memory.c | if (mem_map[MAP_NR(from)] & MAP_PAGE_RESERVED) |
from | 757 | mm/memory.c | if (in_swap_cache(from)) { /* implies PAGE_DIRTY */ |
from | 763 | mm/memory.c | copy_page((from & PAGE_MASK), newpage); |
from | 768 | mm/memory.c | if (in_swap_cache(from)) { |
from | 773 | mm/memory.c | from |= PAGE_DIRTY; |
from | 774 | mm/memory.c | *(unsigned long *) from_page = from; |
from | 775 | mm/memory.c | delete_from_swap_cache(from); |
from | 778 | mm/memory.c | mem_map[MAP_NR(from)]++; |
from | 780 | mm/memory.c | to = (from & (PAGE_MASK | PAGE_DIRTY)) | to_area->vm_page_prot; |
from | 785 | mm/memory.c | if (!(from & PAGE_RW)) |
from | 790 | mm/memory.c | from &= ~PAGE_RW; |
from | 791 | mm/memory.c | *(unsigned long *) from_page = from; |
from | 139 | net/inet/packet.c | static int packet_sendto(struct sock *sk, unsigned char *from, int len, |
from | 203 | 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 | 209 | net/inet/sock.h | unsigned char *from, int len, int noblock, |
from | 213 | net/inet/sock.h | unsigned char *from, int len, int noblock, |
from | 1274 | net/inet/tcp.c | static int tcp_write(struct sock *sk, unsigned char *from, |
from | 1413 | net/inet/tcp.c | memcpy_fromfs(skb->data + skb->len, from, copy); |
from | 1415 | net/inet/tcp.c | from += copy; |
from | 1561 | net/inet/tcp.c | memcpy_fromfs(buff+tmp, from, copy); |
from | 1563 | net/inet/tcp.c | from += copy; |
from | 1601 | net/inet/tcp.c | static int tcp_sendto(struct sock *sk, unsigned char *from, |
from | 1617 | net/inet/tcp.c | return tcp_write(sk, from, len, nonblock, flags); |
from | 252 | net/inet/udp.c | unsigned char *from, int len, int rt) |
from | 323 | net/inet/udp.c | memcpy_fromfs(buff, from, len); |
from | 342 | net/inet/udp.c | static int udp_sendto(struct sock *sk, unsigned char *from, int len, int noblock, |
from | 390 | net/inet/udp.c | tmp = udp_send(sk, &sin, from, len, flags); |