tag | line | file | source code |
addr | 49 | fs/exec.c | #define DUMP_WRITE(addr,nr) \ |
addr | 50 | fs/exec.c | while (file.f_op->write(inode,&file,(char *)(addr),(nr)) != (nr)) goto close_coredump |
addr | 385 | fs/exec.c | char * addr, unsigned long count) |
addr | 409 | fs/exec.c | result = file.f_op->read(inode, &file, addr, count); |
addr | 40 | fs/ext/freelists.c | #define clear_block(addr) \ |
addr | 44 | fs/ext/freelists.c | ::"a" (0),"c" (BLOCK_SIZE/4),"D" ((long) (addr)):"cx","di") |
addr | 33 | fs/ext2/balloc.c | #define clear_block(addr,size) \ |
addr | 38 | fs/ext2/balloc.c | :"a" (0), "c" (size/4), "D" ((long) (addr)) \ |
addr | 41 | fs/ext2/balloc.c | static inline int find_first_zero_bit (unsigned *addr, unsigned size) |
addr | 61 | fs/ext2/balloc.c | :"c" ((size+31)>>5), "D" (addr), "b" (addr) |
addr | 66 | fs/ext2/balloc.c | static inline int find_next_zero_bit (unsigned * addr, int size, int offset) |
addr | 68 | fs/ext2/balloc.c | unsigned *p = ((unsigned *) addr) + (offset >> 5); |
addr | 86 | fs/ext2/balloc.c | res = find_first_zero_bit (p, size - 32 * (p - addr)); |
addr | 90 | fs/ext2/balloc.c | static inline char * find_first_zero_byte (char * addr, int size) |
addr | 103 | fs/ext2/balloc.c | : "0" (addr), "c" (size) |
addr | 35 | fs/ext2/ialloc.c | static inline int find_first_zero_bit(unsigned * addr, unsigned size) |
addr | 55 | fs/ext2/ialloc.c | :"c" ((size + 31) >> 5), "D" (addr), "b" (addr) |
addr | 17 | fs/minix/bitmap.c | #define clear_block(addr) \ |
addr | 21 | fs/minix/bitmap.c | ::"a" (0),"c" (BLOCK_SIZE/4),"D" ((long) (addr)):"cx","di") |
addr | 23 | fs/minix/bitmap.c | #define find_first_zero(addr) ({ \ |
addr | 35 | fs/minix/bitmap.c | :"=c" (__res):"0" (0),"S" (addr):"ax","dx","si"); \ |
addr | 114 | fs/proc/array.c | unsigned long addr; |
addr | 121 | fs/proc/array.c | addr = get_phys_addr(p, start); |
addr | 122 | fs/proc/array.c | if (!addr) |
addr | 125 | fs/proc/array.c | c = *(char *) addr; |
addr | 132 | fs/proc/array.c | addr++; |
addr | 136 | fs/proc/array.c | } while (!(addr & 0xfff)); |
addr | 25 | fs/proc/mem.c | unsigned long addr, pid, cr3; |
addr | 42 | fs/proc/mem.c | addr = file->f_pos; |
addr | 47 | fs/proc/mem.c | pde = cr3 + (addr >> 20 & 0xffc); |
addr | 52 | fs/proc/mem.c | pte += (addr >> 10) & 0xffc; |
addr | 57 | fs/proc/mem.c | page += addr & 0xfff; |
addr | 58 | fs/proc/mem.c | i = 4096-(addr & 0xfff); |
addr | 62 | fs/proc/mem.c | addr += i; |
addr | 66 | fs/proc/mem.c | file->f_pos = addr; |
addr | 74 | fs/proc/mem.c | unsigned long addr, pid, cr3; |
addr | 81 | fs/proc/mem.c | addr = file->f_pos; |
addr | 96 | fs/proc/mem.c | pde = cr3 + (addr >> 20 & 0xffc); |
addr | 101 | fs/proc/mem.c | pte += (addr >> 10) & 0xffc; |
addr | 106 | fs/proc/mem.c | do_wp_page(0,addr,current,0); |
addr | 110 | fs/proc/mem.c | page += addr & 0xfff; |
addr | 111 | fs/proc/mem.c | i = 4096-(addr & 0xfff); |
addr | 115 | fs/proc/mem.c | addr += i; |
addr | 119 | fs/proc/mem.c | file->f_pos = addr; |
addr | 24 | fs/xiafs/bitmap.c | #define clear_bit(nr,addr) ({\ |
addr | 27 | fs/xiafs/bitmap.c | "=q" (res):"r" (nr),"m" (*(addr))); \ |
addr | 19 | include/asm/bitops.h | #define ADDR (*(struct __dummy *) addr) |
addr | 21 | include/asm/bitops.h | extern inline int set_bit(int nr, void * addr) |
addr | 31 | include/asm/bitops.h | extern inline int clear_bit(int nr, void * addr) |
addr | 45 | include/asm/bitops.h | extern inline int test_bit(int nr, void * addr) |
addr | 71 | include/asm/bitops.h | extern inline int set_bit(int nr,int * addr) |
addr | 75 | include/asm/bitops.h | addr += nr >> 5; |
addr | 78 | include/asm/bitops.h | retval = (mask & *addr) != 0; |
addr | 79 | include/asm/bitops.h | *addr |= mask; |
addr | 84 | include/asm/bitops.h | extern inline int clear_bit(int nr, int * addr) |
addr | 88 | include/asm/bitops.h | addr += nr >> 5; |
addr | 91 | include/asm/bitops.h | retval = (mask & *addr) == 0; |
addr | 92 | include/asm/bitops.h | *addr &= ~mask; |
addr | 97 | include/asm/bitops.h | extern inline int test_bit(int nr, int * addr) |
addr | 101 | include/asm/bitops.h | addr += nr >> 5; |
addr | 103 | include/asm/bitops.h | return ((mask & *addr) != 0); |
addr | 1 | include/asm/segment.h | static inline unsigned char get_fs_byte(const char * addr) |
addr | 5 | include/asm/segment.h | __asm__ ("movb %%fs:%1,%0":"=q" (_v):"m" (*addr)); |
addr | 9 | include/asm/segment.h | static inline unsigned short get_fs_word(const unsigned short *addr) |
addr | 13 | include/asm/segment.h | __asm__ ("movw %%fs:%1,%0":"=r" (_v):"m" (*addr)); |
addr | 17 | include/asm/segment.h | static inline unsigned long get_fs_long(const unsigned long *addr) |
addr | 21 | include/asm/segment.h | __asm__ ("movl %%fs:%1,%0":"=r" (_v):"m" (*addr)); \ |
addr | 25 | include/asm/segment.h | static inline void put_fs_byte(char val,char *addr) |
addr | 27 | include/asm/segment.h | __asm__ ("movb %0,%%fs:%1"::"q" (val),"m" (*addr)); |
addr | 30 | include/asm/segment.h | static inline void put_fs_word(short val,short * addr) |
addr | 32 | include/asm/segment.h | __asm__ ("movw %0,%%fs:%1"::"r" (val),"m" (*addr)); |
addr | 35 | include/asm/segment.h | static inline void put_fs_long(unsigned long val,unsigned long * addr) |
addr | 37 | include/asm/segment.h | __asm__ ("movl %0,%%fs:%1"::"r" (val),"m" (*addr)); |
addr | 39 | include/asm/system.h | #define _set_gate(gate_addr,type,dpl,addr) \ |
addr | 47 | include/asm/system.h | "d" ((char *) (addr)),"a" (0x00080000) \ |
addr | 50 | include/asm/system.h | #define set_intr_gate(n,addr) \ |
addr | 51 | include/asm/system.h | _set_gate(&idt[n],14,0,addr) |
addr | 53 | include/asm/system.h | #define set_trap_gate(n,addr) \ |
addr | 54 | include/asm/system.h | _set_gate(&idt[n],15,0,addr) |
addr | 56 | include/asm/system.h | #define set_system_gate(n,addr) \ |
addr | 57 | include/asm/system.h | _set_gate(&idt[n],15,3,addr) |
addr | 69 | include/asm/system.h | #define _set_tssldt_desc(n,addr,limit,type) \ |
addr | 78 | include/asm/system.h | ::"a" (addr+0xc0000000), "m" (*(n)), "m" (*(n+2)), "m" (*(n+4)), \ |
addr | 82 | include/asm/system.h | #define set_tss_desc(n,addr) _set_tssldt_desc(((char *) (n)),((int)(addr)),231,"0x89") |
addr | 83 | include/asm/system.h | #define set_ldt_desc(n,addr) _set_tssldt_desc(((char *) (n)),((int)(addr)),23,"0x82") |
addr | 370 | include/linux/fs.h | extern unsigned long bread_page(unsigned long addr,dev_t dev,int b[],int size,int prot); |
addr | 96 | include/linux/kd.h | char *addr; /* display mem address */ |
addr | 11 | include/linux/kernel.h | int verify_area(int type, void * addr, unsigned long count); |
addr | 89 | include/linux/mm.h | extern void free_page(unsigned long addr); |
addr | 131 | include/linux/mm.h | #define MAP_NR(addr) ((addr) >> PAGE_SHIFT) |
addr | 35 | include/linux/nfs_mount.h | struct sockaddr_in addr; /* 1 */ |
addr | 328 | include/linux/sched.h | #define _set_base(addr,base) \ |
addr | 333 | include/linux/sched.h | ::"m" (*((addr)+2)), \ |
addr | 334 | include/linux/sched.h | "m" (*((addr)+4)), \ |
addr | 335 | include/linux/sched.h | "m" (*((addr)+7)), \ |
addr | 339 | include/linux/sched.h | #define _set_limit(addr,limit) \ |
addr | 346 | include/linux/sched.h | ::"m" (*(addr)), \ |
addr | 347 | include/linux/sched.h | "m" (*((addr)+6)), \ |
addr | 436 | include/linux/sched.h | static inline unsigned long _get_base(char * addr) |
addr | 444 | include/linux/sched.h | :"m" (*((addr)+2)), |
addr | 445 | include/linux/sched.h | "m" (*((addr)+4)), |
addr | 446 | include/linux/sched.h | "m" (*((addr)+7))); |
addr | 105 | init/main.c | #define CMOS_READ(addr) ({ \ |
addr | 106 | init/main.c | outb_p(addr,0x70); \ |
addr | 358 | kernel/blk_drv/floppy.c | unsigned long addr,count; |
addr | 365 | kernel/blk_drv/floppy.c | addr = (long) tmp_floppy_area; |
addr | 368 | kernel/blk_drv/floppy.c | addr = (long) CURRENT->buffer; |
addr | 375 | kernel/blk_drv/floppy.c | addr = (long) floppy_track_buffer; |
addr | 376 | kernel/blk_drv/floppy.c | } else if (addr >= LAST_DMA_ADDR) { |
addr | 377 | kernel/blk_drv/floppy.c | addr = (long) tmp_floppy_area; |
addr | 385 | kernel/blk_drv/floppy.c | set_dma_addr(FLOPPY_DMA, addr); |
addr | 1152 | kernel/blk_drv/floppy.c | #define CMOS_READ(addr) ({ \ |
addr | 1153 | kernel/blk_drv/floppy.c | outb_p(addr,0x70); \ |
addr | 44 | kernel/blk_drv/hd.c | static inline unsigned char CMOS_READ(unsigned char addr) |
addr | 46 | kernel/blk_drv/hd.c | outb_p(addr,0x70); |
addr | 26 | kernel/blk_drv/ramdisk.c | char *addr; |
addr | 30 | kernel/blk_drv/ramdisk.c | addr = rd_start + (CURRENT->sector << 9); |
addr | 32 | kernel/blk_drv/ramdisk.c | if ((MINOR(CURRENT->dev) != 1) || (addr+len > rd_start+rd_length)) { |
addr | 37 | kernel/blk_drv/ramdisk.c | (void ) memcpy(addr, |
addr | 42 | kernel/blk_drv/ramdisk.c | addr, |
addr | 128 | kernel/chr_drv/mem.c | unsigned long addr, size_t len, int prot, unsigned long off) |
addr | 133 | kernel/chr_drv/mem.c | if (remap_page_range(addr, off, len, prot)) |
addr | 194 | kernel/chr_drv/mem.c | unsigned long addr, size_t len, int prot, unsigned long off) |
addr | 198 | kernel/chr_drv/mem.c | if (zeromap_page_range(addr, len, prot)) |
addr | 87 | kernel/ptrace.c | unsigned long addr) |
addr | 92 | kernel/ptrace.c | page = tsk->tss.cr3 + ((addr >> 20) & 0xffc); |
addr | 96 | kernel/ptrace.c | page += (addr >> 10) & 0xffc; |
addr | 100 | kernel/ptrace.c | do_no_page(0,addr,tsk,0); |
addr | 104 | kernel/ptrace.c | page += addr & 0xfff; |
addr | 114 | kernel/ptrace.c | static void put_long(struct task_struct * tsk, unsigned long addr, |
addr | 120 | kernel/ptrace.c | page = tsk->tss.cr3 + ((addr >> 20) & 0xffc); |
addr | 124 | kernel/ptrace.c | page += (addr >> 10) & 0xffc; |
addr | 130 | kernel/ptrace.c | do_no_page(0,addr,tsk,0); |
addr | 134 | kernel/ptrace.c | do_wp_page(0,addr,tsk,0); |
addr | 138 | kernel/ptrace.c | page += addr & 0xfff; |
addr | 146 | kernel/ptrace.c | static int read_long(struct task_struct * tsk, unsigned long addr, |
addr | 151 | kernel/ptrace.c | if (addr > TASK_SIZE-4) |
addr | 153 | kernel/ptrace.c | if ((addr & 0xfff) > PAGE_SIZE-4) { |
addr | 154 | kernel/ptrace.c | low = get_long(tsk,addr & 0xfffffffc); |
addr | 155 | kernel/ptrace.c | high = get_long(tsk,(addr+4) & 0xfffffffc); |
addr | 156 | kernel/ptrace.c | switch (addr & 3) { |
addr | 172 | kernel/ptrace.c | *result = get_long(tsk,addr); |
addr | 180 | kernel/ptrace.c | static int write_long(struct task_struct * tsk, unsigned long addr, |
addr | 185 | kernel/ptrace.c | if (addr > TASK_SIZE-4) |
addr | 187 | kernel/ptrace.c | if ((addr & 0xfff) > PAGE_SIZE-4) { |
addr | 188 | kernel/ptrace.c | low = get_long(tsk,addr & 0xfffffffc); |
addr | 189 | kernel/ptrace.c | high = get_long(tsk,(addr+4) & 0xfffffffc); |
addr | 190 | kernel/ptrace.c | switch (addr & 3) { |
addr | 213 | kernel/ptrace.c | put_long(tsk,addr & 0xfffffffc,low); |
addr | 214 | kernel/ptrace.c | put_long(tsk,(addr+4) & 0xfffffffc,high); |
addr | 216 | kernel/ptrace.c | put_long(tsk,addr,data); |
addr | 220 | kernel/ptrace.c | int sys_ptrace(long request, long pid, long addr, long data) |
addr | 274 | kernel/ptrace.c | res = read_long(child, addr, &tmp); |
addr | 286 | kernel/ptrace.c | addr = addr >> 2; /* temporary hack. */ |
addr | 287 | kernel/ptrace.c | if (addr < 0 || addr >= 17) |
addr | 292 | kernel/ptrace.c | tmp = get_stack_long(child, 4*addr - MAGICNUMBER); |
addr | 300 | kernel/ptrace.c | return write_long(child,addr,data); |
addr | 303 | kernel/ptrace.c | addr = addr >> 2; /* temproary hack. */ |
addr | 304 | kernel/ptrace.c | if (addr < 0 || addr >= 17) |
addr | 306 | kernel/ptrace.c | if (addr == ORIG_EAX) |
addr | 308 | kernel/ptrace.c | if (addr == EFL) { /* flags. */ |
addr | 312 | kernel/ptrace.c | if (put_stack_long(child, 4*addr-MAGICNUMBER, data)) |
addr | 23 | kernel/traps.c | #define get_seg_byte(seg,addr) ({ \ |
addr | 26 | kernel/traps.c | :"=a" (__res):"0" (seg),"m" (*(addr))); \ |
addr | 29 | kernel/traps.c | #define get_seg_long(seg,addr) ({ \ |
addr | 32 | kernel/traps.c | :"=a" (__res):"0" (seg),"m" (*(addr))); \ |
addr | 61 | mm/memory.c | #define CODE_SPACE(addr,p) ((addr) < (p)->end_code) |
addr | 621 | mm/memory.c | int verify_area(int type, void * addr, unsigned long size) |
addr | 625 | mm/memory.c | start = (unsigned long) addr; |
addr | 34 | mm/mmap.c | #define CODE_SPACE(addr) ((((addr)+4095)&~4095) < \ |
addr | 39 | mm/mmap.c | unsigned long base, addr; |
addr | 44 | mm/mmap.c | addr = (unsigned long) get_fs_long(buffer); /* user address space*/ |
addr | 53 | mm/mmap.c | if (addr > TASK_SIZE || len > TASK_SIZE || addr > TASK_SIZE-len) |
addr | 94 | mm/mmap.c | if ((addr & 0xfff) || addr > 0x7fffffff || addr == 0 || |
addr | 97 | mm/mmap.c | if (addr + len > limit) |
addr | 132 | mm/mmap.c | error = file->f_op->mmap(file->f_inode, file, base + addr, len, mask, off); |
addr | 135 | mm/mmap.c | return addr; |
addr | 138 | mm/mmap.c | int sys_munmap(unsigned long addr, size_t len) |
addr | 145 | mm/mmap.c | if ((addr & 0xfff) || addr > 0x7fffffff || addr == 0 || |
addr | 146 | mm/mmap.c | addr + len > limit) |
addr | 148 | mm/mmap.c | if (unmap_page_range(base + addr, len)) |
addr | 346 | mm/swap.c | static inline void add_mem_queue(unsigned long addr, unsigned long * queue) |
addr | 348 | mm/swap.c | addr &= 0xfffff000; |
addr | 349 | mm/swap.c | *(unsigned long *) addr = *queue; |
addr | 350 | mm/swap.c | *queue = addr; |
addr | 364 | mm/swap.c | void free_page(unsigned long addr) |
addr | 366 | mm/swap.c | if (addr < high_memory) { |
addr | 367 | mm/swap.c | unsigned short * map = mem_map + MAP_NR(addr); |
addr | 377 | mm/swap.c | add_mem_queue(addr,&secondary_page_list); |
addr | 382 | mm/swap.c | add_mem_queue(addr,&free_page_list); |
addr | 389 | mm/swap.c | printk("Trying to free free memory (%08x): memory probabably corrupted\n",addr); |
addr | 390 | mm/swap.c | printk("PC = %08x\n",*(((unsigned long *)&addr)-1)); |
addr | 393 | mm/swap.c | printk("Trying to free nonexistent page %08x\n",addr); |
addr | 701 | net/socket.c | struct sockaddr *addr, int addr_len) |
addr | 707 | net/socket.c | " addr=%X, alen = %d\n", fd, buff, len, flags, addr, addr_len)); |
addr | 717 | net/socket.c | flags, addr, addr_len)); |
addr | 744 | net/socket.c | struct sockaddr *addr, int *addr_len) |
addr | 750 | net/socket.c | " addr=%X, alen=%X\n", fd, buff, len, flags, addr, addr_len)); |
addr | 760 | net/socket.c | flags, addr, addr_len)); |
addr | 344 | net/tcp/arp.c | create_arp (unsigned long paddr, unsigned char *addr, int hlen) |
addr | 354 | net/tcp/arp.c | memcpy (apt->hard, addr, hlen); |
addr | 515 | net/tcp/arp.c | arp_add (unsigned long addr, unsigned char *haddr, struct device *dev) |
addr | 519 | net/tcp/arp.c | apt = arp_lookup (addr); |
addr | 526 | net/tcp/arp.c | create_arp (addr, haddr, dev->addr_len); |
addr | 530 | net/tcp/arp.c | arp_add_broad (unsigned long addr, struct device *dev) |
addr | 532 | net/tcp/arp.c | arp_add (addr, dev->broadcast , dev); |
addr | 82 | net/tcp/arp.h | void arp_add (unsigned long addr, unsigned char *haddr, struct device *dev); |
addr | 83 | net/tcp/dev.h | void (*add_arp) (unsigned long addr, struct sk_buff *skb, |
addr | 125 | net/tcp/eth.c | eth_add_arp (unsigned long addr, struct sk_buff *skb, struct device *dev) |
addr | 129 | net/tcp/eth.c | arp_add (addr, eh->saddr, dev); |
addr | 99 | net/tcp/eth.h | void eth_add_arp (unsigned long addr, struct sk_buff *skb, |
addr | 93 | net/tcp/ip.c | static char *in_ntoa(unsigned long addr) |
addr | 98 | net/tcp/ip.c | (addr & 0xff), |
addr | 99 | net/tcp/ip.c | ((addr >> 8) & 0xff), |
addr | 100 | net/tcp/ip.c | ((addr >> 16) & 0xff), |
addr | 101 | net/tcp/ip.c | ((addr >> 24) & 0xff)); |
addr | 213 | net/tcp/ip.c | my_ip_addr(unsigned long addr) |
addr | 220 | net/tcp/ip.c | result = ip_addr_match (addr, ip_addr[i]); |
addr | 290 | net/tcp/packet.c | struct sockaddr addr; |
addr | 291 | net/tcp/packet.c | addr.sa_family = skb->dev->type; |
addr | 292 | net/tcp/packet.c | memcpy (addr.sa_data,skb->dev->name, 14); |
addr | 294 | net/tcp/packet.c | memcpy_tofs(saddr, &addr, sizeof (*saddr)); |
addr | 430 | net/tcp/raw.c | struct sockaddr_in addr; |
addr | 431 | net/tcp/raw.c | addr.sin_family = AF_INET; |
addr | 432 | net/tcp/raw.c | addr.sin_addr.s_addr = skb->daddr; |
addr | 434 | net/tcp/raw.c | memcpy_tofs(sin, &addr, sizeof (*sin)); |
addr | 153 | net/tcp/sock.c | struct sockaddr *addr, int addr_len); |
addr | 156 | net/tcp/sock.c | struct sockaddr *addr, int *addr_len); |
addr | 1165 | net/tcp/sock.c | struct sockaddr_in addr; |
addr | 1180 | net/tcp/sock.c | memcpy_fromfs (&addr, uaddr, min (sizeof (addr), addr_len)); |
addr | 1183 | net/tcp/sock.c | if (addr.sin_family && addr.sin_family != AF_INET) |
addr | 1191 | net/tcp/sock.c | snum = net16(addr.sin_port); |
addr | 1208 | net/tcp/sock.c | if (my_ip_addr(addr.sin_addr.s_addr) || addr.sin_addr.s_addr == 0) |
addr | 1209 | net/tcp/sock.c | sk->saddr = addr.sin_addr.s_addr; |
addr | 965 | net/tcp/tcp.c | struct sockaddr_in *addr, int addr_len) |
addr | 970 | net/tcp/tcp.c | memcpy_fromfs (&sin, addr, sizeof (sin)); |
addr | 1530 | net/tcp/tcp.c | struct sockaddr_in *addr, int *addr_len) |
addr | 1543 | net/tcp/tcp.c | verify_area (VERIFY_WRITE, addr, len); |
addr | 1544 | net/tcp/tcp.c | memcpy_tofs (addr, &sin, len); |
addr | 590 | net/tcp/udp.c | struct sockaddr_in addr; |
addr | 591 | net/tcp/udp.c | addr.sin_family = AF_INET; |
addr | 592 | net/tcp/udp.c | addr.sin_port = skb->h.uh->source; |
addr | 593 | net/tcp/udp.c | addr.sin_addr.s_addr = skb->daddr; |
addr | 595 | net/tcp/udp.c | memcpy_tofs(sin, &addr, sizeof (*sin)); |
addr | 70 | net/unix.c | struct sockaddr *addr, int addr_len); |
addr | 73 | net/unix.c | struct sockaddr *addr, int *addr_len); |
addr | 157 | net/unix.c | unsigned flags, struct sockaddr *addr, int addr_len) |
addr | 164 | net/unix.c | unsigned flags, struct sockaddr *addr, int *addr_len) |