tag | line | file | source code |
from | 83 | arch/alpha/kernel/setup.c | asmlinkage int sys_ioperm(unsigned long from, unsigned long num, int on) |
from | 51 | arch/i386/kernel/ioport.c | asmlinkage int sys_ioperm(unsigned long from, unsigned long num, int turn_on) |
from | 53 | arch/i386/kernel/ioport.c | if (from + num <= from) |
from | 55 | arch/i386/kernel/ioport.c | if (from + num > IO_BITMAP_SIZE*32) |
from | 60 | arch/i386/kernel/ioport.c | set_bitmap((unsigned long *)current->tss.io_bitmap, from, num, !turn_on); |
from | 81 | arch/i386/kernel/setup.c | char c = ' ', *to = command_line, *from = COMMAND_LINE; |
from | 104 | arch/i386/kernel/setup.c | if (c == ' ' && *(unsigned long *)from == *(unsigned long *)"mem=") { |
from | 105 | arch/i386/kernel/setup.c | memory_end = simple_strtoul(from+4, &from, 0); |
from | 106 | arch/i386/kernel/setup.c | if ( *from == 'K' || *from == 'k' ) { |
from | 108 | arch/i386/kernel/setup.c | from++; |
from | 109 | arch/i386/kernel/setup.c | } else if ( *from == 'M' || *from == 'm' ) { |
from | 111 | arch/i386/kernel/setup.c | from++; |
from | 114 | arch/i386/kernel/setup.c | c = *(from++); |
from | 13 | arch/mips/kernel/ioport.c | u_long from, num; |
from | 55 | arch/mips/kernel/ioport.c | asmlinkage int sys_ioperm(unsigned long from, unsigned long num, int turn_on) |
from | 84 | arch/mips/kernel/ioport.c | u_long from, u_long num) |
from | 89 | arch/mips/kernel/ioport.c | if (from > from+num-1) |
from | 94 | arch/mips/kernel/ioport.c | if ((p != root) && (p->from+p->num-1 >= from)) { |
from | 98 | arch/mips/kernel/ioport.c | if ((p->next == NULL) || (p->next->from > from+num-1)) |
from | 74 | arch/mips/kernel/setup.c | char c = ' ', *to = command_line, *from = COMMAND_LINE; |
from | 93 | arch/mips/kernel/setup.c | if (c == ' ' && *(unsigned long *)from == *(unsigned long *)"mem=") { |
from | 94 | arch/mips/kernel/setup.c | memory_end = simple_strtoul(from+4, &from, 0); |
from | 95 | arch/mips/kernel/setup.c | if ( *from == 'K' || *from == 'k' ) { |
from | 97 | arch/mips/kernel/setup.c | from++; |
from | 98 | arch/mips/kernel/setup.c | } else if ( *from == 'M' || *from == 'm' ) { |
from | 100 | arch/mips/kernel/setup.c | from++; |
from | 103 | arch/mips/kernel/setup.c | c = *(from++); |
from | 100 | arch/sparc/kernel/setup.c | asmlinkage int sys_ioperm(unsigned long from, unsigned long num, int on) |
from | 349 | drivers/char/console.c | static inline void memcpyw(unsigned short *to, unsigned short *from, |
from | 355 | drivers/char/console.c | writew(readw(from++), to++); |
from | 47 | drivers/char/vt.c | asmlinkage int sys_ioperm(unsigned long from, unsigned long num, int on); |
from | 891 | drivers/net/de620.c | ReadAWord(int from) |
from | 902 | drivers/net/de620.c | for (nbits = 9; nbits > 0; --nbits, from <<= 1) { |
from | 903 | drivers/net/de620.c | if (from & 0x0100) { /* bit set? */ |
from | 677 | fs/namei.c | char * from, * to; |
from | 679 | fs/namei.c | error = getname(oldname,&from); |
from | 683 | fs/namei.c | error = do_symlink(from,to); |
from | 686 | fs/namei.c | putname(from); |
from | 833 | fs/namei.c | char * from, * to; |
from | 835 | fs/namei.c | error = getname(oldname,&from); |
from | 839 | fs/namei.c | error = do_rename(from,to); |
from | 842 | 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 | 81 | include/asm-mips/segment.h | #define memcpy_fromfs(to, from, n) memcpy((to),(from),(n)) |
from | 83 | include/asm-mips/segment.h | #define memcpy_tofs(to, from, n) memcpy((to),(from),(n)) |
from | 136 | include/asm-mips/string.h | extern __inline__ void * memcpy(void * to, const void * from, size_t n) |
from | 153 | include/asm-mips/string.h | : "=r" (to), "=r" (from), "=r" (n) |
from | 154 | 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 | 69 | include/asm-sparc/segment.h | #define memcpy_fromfs(to, from, n) memcpy((to),(from),(n)) |
from | 71 | 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 request_region(unsigned int from, unsigned int extent,const 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 | 178 | include/linux/mm.h | extern int unmap_page_range(unsigned long from, unsigned long size); |
from | 179 | include/linux/mm.h | extern int remap_page_range(unsigned long from, unsigned long to, unsigned long size, pgprot_t prot); |
from | 180 | include/linux/mm.h | extern int zeromap_page_range(unsigned long from, unsigned long size, pgprot_t prot); |
from | 282 | include/linux/skbuff.h | extern void skb_copy_datagram(struct sk_buff *from, int offset, char *to,int size); |
from | 361 | kernel/module.c | struct internal_symbol *from; |
from | 395 | kernel/module.c | from = mp->symtab->symbol; |
from | 396 | kernel/module.c | i > 0; --i, ++from, ++to) { |
from | 398 | kernel/module.c | isym.value = (unsigned long)from->addr; |
from | 399 | kernel/module.c | strncpy(isym.name, from->name, sizeof isym.name); |
from | 19 | kernel/resource.c | u_long from, num; |
from | 38 | kernel/resource.c | p->from, p->from+p->num-1, p->name); |
from | 48 | kernel/resource.c | u_long from, u_long num) |
from | 53 | kernel/resource.c | if (from > from+num-1) |
from | 58 | kernel/resource.c | if ((p != root) && (p->from+p->num-1 >= from)) { |
from | 62 | kernel/resource.c | if ((p->next == NULL) || (p->next->from > from+num-1)) |
from | 72 | kernel/resource.c | void request_region(unsigned int from, unsigned int num, const char *name) |
from | 83 | kernel/resource.c | p = find_gap(&iolist, from, num); |
from | 87 | kernel/resource.c | iotable[i].from = from; |
from | 99 | kernel/resource.c | void snarf_region(unsigned int from, unsigned int num) |
from | 101 | kernel/resource.c | request_region(from,num,"No name given."); |
from | 107 | kernel/resource.c | void release_region(unsigned int from, unsigned int num) |
from | 115 | kernel/resource.c | if ((q->from == from) && (q->num == num)) { |
from | 126 | kernel/resource.c | int check_region(unsigned int from, unsigned int num) |
from | 128 | kernel/resource.c | return (find_gap(&iolist, from, num) == NULL) ? -EBUSY : 0; |
from | 64 | mm/memory.c | #define copy_page(from,to) memcpy((void *) to, (void *) from, PAGE_SIZE) |
from | 532 | mm/memory.c | int remap_page_range(unsigned long from, unsigned long offset, unsigned long size, pgprot_t prot) |
from | 536 | mm/memory.c | unsigned long end = from + size; |
from | 538 | mm/memory.c | offset -= from; |
from | 539 | mm/memory.c | dir = pgd_offset(current, from); |
from | 540 | mm/memory.c | while (from < end) { |
from | 541 | mm/memory.c | pmd_t *pmd = pmd_alloc(dir, from); |
from | 545 | mm/memory.c | error = remap_pmd_range(pmd, from, end - from, offset + from, prot); |
from | 548 | mm/memory.c | from = (from + PGDIR_SIZE) & PGDIR_MASK; |
from | 796 | mm/memory.c | pte_t from, to; |
from | 815 | mm/memory.c | from = *from_table; |
from | 817 | mm/memory.c | if (!pte_present(from)) |
from | 820 | mm/memory.c | if (pte_dirty(from)) { |
from | 823 | mm/memory.c | if (pte_write(from)) { |
from | 829 | mm/memory.c | if (pte_page(from) >= high_memory) |
from | 831 | mm/memory.c | if (mem_map[MAP_NR(pte_page(from))] & MAP_PAGE_RESERVED) |
from | 858 | mm/memory.c | if (in_swap_cache(pte_page(from))) { |
from | 861 | mm/memory.c | if (!pte_write(from)) { |
from | 866 | mm/memory.c | copy_page(pte_page(from), newpage); |
from | 879 | mm/memory.c | if (in_swap_cache(pte_page(from))) { |
from | 882 | mm/memory.c | *from_table = pte_mkdirty(from); |
from | 883 | mm/memory.c | delete_from_swap_cache(pte_page(from)); |
from | 885 | mm/memory.c | mem_map[MAP_NR(pte_page(from))]++; |
from | 886 | mm/memory.c | *to_table = mk_pte(pte_page(from), to_area->vm_page_prot); |
from | 888 | mm/memory.c | if (!pte_write(from)) |
from | 893 | mm/memory.c | *from_table = pte_wrprotect(from); |
from | 140 | net/inet/packet.c | static int packet_sendto(struct sock *sk, unsigned char *from, int len, |
from | 204 | 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 | 219 | net/inet/sock.h | unsigned char *from, int len, int noblock, |
from | 223 | net/inet/sock.h | unsigned char *from, int len, int noblock, |
from | 1436 | net/inet/tcp.c | static int tcp_write(struct sock *sk, unsigned char *from, |
from | 1574 | net/inet/tcp.c | memcpy_fromfs(skb->data + skb->len, from, copy); |
from | 1576 | net/inet/tcp.c | from += copy; |
from | 1722 | net/inet/tcp.c | memcpy_fromfs(buff+tmp, from, copy); |
from | 1724 | net/inet/tcp.c | from += copy; |
from | 1765 | net/inet/tcp.c | static int tcp_sendto(struct sock *sk, unsigned char *from, |
from | 1781 | 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); |