tag | line | file | source code |
addr | 173 | arch/alpha/boot/main.c | static inline long load(long dev, unsigned long addr, unsigned long count) |
addr | 185 | arch/alpha/boot/main.c | return dispatch(CCB_READ, dev, count, addr, BOOT_SIZE/512 + 1); |
addr | 89 | arch/alpha/kernel/alcor.c | unsigned long addr; |
addr | 105 | arch/alpha/kernel/alcor.c | addr = (device_fn << 8) | (where); |
addr | 109 | arch/alpha/kernel/alcor.c | addr = (bus << 16) | (device_fn << 8) | (where); |
addr | 111 | arch/alpha/kernel/alcor.c | *pci_addr = addr; |
addr | 112 | arch/alpha/kernel/alcor.c | DBG(("mk_conf_addr: returning pci_addr 0x%lx\n", addr)); |
addr | 117 | arch/alpha/kernel/alcor.c | static unsigned int conf_read(unsigned long addr, unsigned char type1) |
addr | 126 | arch/alpha/kernel/alcor.c | DBG(("conf_read(addr=0x%lx, type1=%d)\n", addr, type1)); |
addr | 146 | arch/alpha/kernel/alcor.c | value = *((volatile unsigned int *)addr); |
addr | 195 | arch/alpha/kernel/alcor.c | static void conf_write(unsigned long addr, unsigned int value, unsigned char type1) |
addr | 221 | arch/alpha/kernel/alcor.c | *((volatile unsigned int *)addr) = value; |
addr | 266 | arch/alpha/kernel/alcor.c | unsigned long addr = ALCOR_CONF; |
addr | 276 | arch/alpha/kernel/alcor.c | addr |= (pci_addr << 5) + 0x00; |
addr | 278 | arch/alpha/kernel/alcor.c | *value = conf_read(addr, type1) >> ((where & 3) * 8); |
addr | 287 | arch/alpha/kernel/alcor.c | unsigned long addr = ALCOR_CONF; |
addr | 301 | arch/alpha/kernel/alcor.c | addr |= (pci_addr << 5) + 0x08; |
addr | 303 | arch/alpha/kernel/alcor.c | *value = conf_read(addr, type1) >> ((where & 3) * 8); |
addr | 311 | arch/alpha/kernel/alcor.c | unsigned long addr = ALCOR_CONF; |
addr | 323 | arch/alpha/kernel/alcor.c | addr |= (pci_addr << 5) + 0x18; |
addr | 324 | arch/alpha/kernel/alcor.c | *value = conf_read(addr, type1); |
addr | 332 | arch/alpha/kernel/alcor.c | unsigned long addr = ALCOR_CONF; |
addr | 339 | arch/alpha/kernel/alcor.c | addr |= (pci_addr << 5) + 0x00; |
addr | 340 | arch/alpha/kernel/alcor.c | conf_write(addr, value << ((where & 3) * 8), type1); |
addr | 348 | arch/alpha/kernel/alcor.c | unsigned long addr = ALCOR_CONF; |
addr | 355 | arch/alpha/kernel/alcor.c | addr |= (pci_addr << 5) + 0x08; |
addr | 356 | arch/alpha/kernel/alcor.c | conf_write(addr, value << ((where & 3) * 8), type1); |
addr | 364 | arch/alpha/kernel/alcor.c | unsigned long addr = ALCOR_CONF; |
addr | 371 | arch/alpha/kernel/alcor.c | addr |= (pci_addr << 5) + 0x18; |
addr | 372 | arch/alpha/kernel/alcor.c | conf_write(addr, value << ((where & 3) * 8), type1); |
addr | 89 | arch/alpha/kernel/apecs.c | unsigned long addr; |
addr | 105 | arch/alpha/kernel/apecs.c | addr = (device_fn << 8) | (where); |
addr | 109 | arch/alpha/kernel/apecs.c | addr = (bus << 16) | (device_fn << 8) | (where); |
addr | 111 | arch/alpha/kernel/apecs.c | *pci_addr = addr; |
addr | 112 | arch/alpha/kernel/apecs.c | DBG(("mk_conf_addr: returning pci_addr 0x%lx\n", addr)); |
addr | 117 | arch/alpha/kernel/apecs.c | static unsigned int conf_read(unsigned long addr, unsigned char type1) |
addr | 142 | arch/alpha/kernel/apecs.c | DBG(("conf_read(addr=0x%lx, type1=%d)\n", addr, type1)); |
addr | 162 | arch/alpha/kernel/apecs.c | value = *((volatile unsigned int *)addr); |
addr | 217 | arch/alpha/kernel/apecs.c | static void conf_write(unsigned long addr, unsigned int value, unsigned char type1) |
addr | 242 | arch/alpha/kernel/apecs.c | *((volatile unsigned int *)addr) = value; |
addr | 283 | arch/alpha/kernel/apecs.c | unsigned long addr = APECS_CONF; |
addr | 293 | arch/alpha/kernel/apecs.c | addr |= (pci_addr << 5) + 0x00; |
addr | 295 | arch/alpha/kernel/apecs.c | *value = conf_read(addr, type1) >> ((where & 3) * 8); |
addr | 304 | arch/alpha/kernel/apecs.c | unsigned long addr = APECS_CONF; |
addr | 318 | arch/alpha/kernel/apecs.c | addr |= (pci_addr << 5) + 0x08; |
addr | 320 | arch/alpha/kernel/apecs.c | *value = conf_read(addr, type1) >> ((where & 3) * 8); |
addr | 328 | arch/alpha/kernel/apecs.c | unsigned long addr = APECS_CONF; |
addr | 340 | arch/alpha/kernel/apecs.c | addr |= (pci_addr << 5) + 0x18; |
addr | 341 | arch/alpha/kernel/apecs.c | *value = conf_read(addr, type1); |
addr | 349 | arch/alpha/kernel/apecs.c | unsigned long addr = APECS_CONF; |
addr | 356 | arch/alpha/kernel/apecs.c | addr |= (pci_addr << 5) + 0x00; |
addr | 357 | arch/alpha/kernel/apecs.c | conf_write(addr, value << ((where & 3) * 8), type1); |
addr | 365 | arch/alpha/kernel/apecs.c | unsigned long addr = APECS_CONF; |
addr | 372 | arch/alpha/kernel/apecs.c | addr |= (pci_addr << 5) + 0x08; |
addr | 373 | arch/alpha/kernel/apecs.c | conf_write(addr, value << ((where & 3) * 8), type1); |
addr | 381 | arch/alpha/kernel/apecs.c | unsigned long addr = APECS_CONF; |
addr | 388 | arch/alpha/kernel/apecs.c | addr |= (pci_addr << 5) + 0x18; |
addr | 389 | arch/alpha/kernel/apecs.c | conf_write(addr, value << ((where & 3) * 8), type1); |
addr | 93 | arch/alpha/kernel/lca.c | unsigned long addr; |
addr | 106 | arch/alpha/kernel/lca.c | addr = (1 << (11 + device)) | (func << 8) | where; |
addr | 110 | arch/alpha/kernel/lca.c | addr = (bus << 16) | (device_fn << 8) | where; |
addr | 112 | arch/alpha/kernel/lca.c | *pci_addr = addr; |
addr | 117 | arch/alpha/kernel/lca.c | static unsigned int conf_read(unsigned long addr) |
addr | 132 | arch/alpha/kernel/lca.c | value = *((volatile unsigned int*)addr); |
addr | 155 | arch/alpha/kernel/lca.c | static void conf_write(unsigned long addr, unsigned int value) |
addr | 169 | arch/alpha/kernel/lca.c | *((volatile unsigned int*)addr) = value; |
addr | 192 | arch/alpha/kernel/lca.c | unsigned long addr = LCA_CONF; |
addr | 200 | arch/alpha/kernel/lca.c | addr |= (pci_addr << 5) + 0x00; |
addr | 201 | arch/alpha/kernel/lca.c | *value = conf_read(addr) >> ((where & 3) * 8); |
addr | 209 | arch/alpha/kernel/lca.c | unsigned long addr = LCA_CONF; |
addr | 220 | arch/alpha/kernel/lca.c | addr |= (pci_addr << 5) + 0x08; |
addr | 221 | arch/alpha/kernel/lca.c | *value = conf_read(addr) >> ((where & 3) * 8); |
addr | 229 | arch/alpha/kernel/lca.c | unsigned long addr = LCA_CONF; |
addr | 239 | arch/alpha/kernel/lca.c | addr |= (pci_addr << 5) + 0x18; |
addr | 240 | arch/alpha/kernel/lca.c | *value = conf_read(addr); |
addr | 248 | arch/alpha/kernel/lca.c | unsigned long addr = LCA_CONF; |
addr | 254 | arch/alpha/kernel/lca.c | addr |= (pci_addr << 5) + 0x00; |
addr | 255 | arch/alpha/kernel/lca.c | conf_write(addr, value << ((where & 3) * 8)); |
addr | 263 | arch/alpha/kernel/lca.c | unsigned long addr = LCA_CONF; |
addr | 269 | arch/alpha/kernel/lca.c | addr |= (pci_addr << 5) + 0x08; |
addr | 270 | arch/alpha/kernel/lca.c | conf_write(addr, value << ((where & 3) * 8)); |
addr | 278 | arch/alpha/kernel/lca.c | unsigned long addr = LCA_CONF; |
addr | 284 | arch/alpha/kernel/lca.c | addr |= (pci_addr << 5) + 0x18; |
addr | 285 | arch/alpha/kernel/lca.c | conf_write(addr, value << ((where & 3) * 8)); |
addr | 168 | arch/alpha/kernel/osf_sys.c | asmlinkage unsigned long osf_mmap(unsigned long addr, unsigned long len, |
addr | 180 | arch/alpha/kernel/osf_sys.c | return do_mmap(file, addr, len, prot, flags, off); |
addr | 126 | arch/alpha/kernel/ptrace.c | long *addr; |
addr | 129 | arch/alpha/kernel/ptrace.c | addr = &task->tss.usp; |
addr | 132 | arch/alpha/kernel/ptrace.c | addr = &zero; |
addr | 134 | arch/alpha/kernel/ptrace.c | addr = (long *) (task->kernel_stack_page + regoff[regno]); |
addr | 136 | arch/alpha/kernel/ptrace.c | return *addr; |
addr | 144 | arch/alpha/kernel/ptrace.c | long *addr, zero; |
addr | 147 | arch/alpha/kernel/ptrace.c | addr = &task->tss.usp; |
addr | 149 | arch/alpha/kernel/ptrace.c | addr = &zero; |
addr | 151 | arch/alpha/kernel/ptrace.c | addr = (long *) (task->kernel_stack_page + regoff[regno]); |
addr | 153 | arch/alpha/kernel/ptrace.c | *addr = data; |
addr | 164 | arch/alpha/kernel/ptrace.c | struct vm_area_struct * vma, unsigned long addr) |
addr | 171 | arch/alpha/kernel/ptrace.c | DBG(DBG_MEM_ALL, ("getting long at 0x%lx\n", addr)); |
addr | 173 | arch/alpha/kernel/ptrace.c | pgdir = pgd_offset(vma->vm_mm, addr); |
addr | 175 | arch/alpha/kernel/ptrace.c | do_no_page(tsk, vma, addr, 0); |
addr | 183 | arch/alpha/kernel/ptrace.c | pgmiddle = pmd_offset(pgdir, addr); |
addr | 185 | arch/alpha/kernel/ptrace.c | do_no_page(tsk, vma, addr, 0); |
addr | 193 | arch/alpha/kernel/ptrace.c | pgtable = pte_offset(pgmiddle, addr); |
addr | 195 | arch/alpha/kernel/ptrace.c | do_no_page(tsk, vma, addr, 0); |
addr | 202 | arch/alpha/kernel/ptrace.c | page += addr & ~PAGE_MASK; |
addr | 216 | arch/alpha/kernel/ptrace.c | unsigned long addr, unsigned long data) |
addr | 224 | arch/alpha/kernel/ptrace.c | pgdir = pgd_offset(vma->vm_mm, addr); |
addr | 226 | arch/alpha/kernel/ptrace.c | do_no_page(tsk, vma, addr, 1); |
addr | 234 | arch/alpha/kernel/ptrace.c | pgmiddle = pmd_offset(pgdir, addr); |
addr | 236 | arch/alpha/kernel/ptrace.c | do_no_page(tsk, vma, addr, 1); |
addr | 244 | arch/alpha/kernel/ptrace.c | pgtable = pte_offset(pgmiddle, addr); |
addr | 246 | arch/alpha/kernel/ptrace.c | do_no_page(tsk, vma, addr, 1); |
addr | 251 | arch/alpha/kernel/ptrace.c | do_wp_page(tsk, vma, addr, 1); |
addr | 256 | arch/alpha/kernel/ptrace.c | *(unsigned long *) (page + (addr & ~PAGE_MASK)) = data; |
addr | 264 | arch/alpha/kernel/ptrace.c | unsigned long addr) |
addr | 268 | arch/alpha/kernel/ptrace.c | addr &= PAGE_MASK; |
addr | 269 | arch/alpha/kernel/ptrace.c | vma = find_vma(tsk,addr); |
addr | 272 | arch/alpha/kernel/ptrace.c | if (vma->vm_start <= addr) |
addr | 276 | arch/alpha/kernel/ptrace.c | if (vma->vm_end - addr > tsk->rlim[RLIMIT_STACK].rlim_cur) |
addr | 278 | arch/alpha/kernel/ptrace.c | vma->vm_offset -= vma->vm_start - addr; |
addr | 279 | arch/alpha/kernel/ptrace.c | vma->vm_start = addr; |
addr | 287 | arch/alpha/kernel/ptrace.c | static int read_long(struct task_struct * tsk, unsigned long addr, |
addr | 290 | arch/alpha/kernel/ptrace.c | struct vm_area_struct * vma = find_extend_vma(tsk, addr); |
addr | 294 | arch/alpha/kernel/ptrace.c | printk("Unable to find vma for addr 0x%lx\n",addr); |
addr | 297 | arch/alpha/kernel/ptrace.c | if ((addr & ~PAGE_MASK) > (PAGE_SIZE - sizeof(long))) { |
addr | 301 | arch/alpha/kernel/ptrace.c | if (addr + sizeof(long) >= vma->vm_end) { |
addr | 306 | arch/alpha/kernel/ptrace.c | align = addr & (sizeof(long) - 1); |
addr | 307 | arch/alpha/kernel/ptrace.c | addr -= align; |
addr | 308 | arch/alpha/kernel/ptrace.c | low = get_long(tsk, vma, addr); |
addr | 312 | arch/alpha/kernel/ptrace.c | high = get_long(tsk, vma_high, addr + sizeof(long)); |
addr | 318 | arch/alpha/kernel/ptrace.c | long l = get_long(tsk, vma, addr); |
addr | 330 | arch/alpha/kernel/ptrace.c | static int write_long(struct task_struct * tsk, unsigned long addr, |
addr | 333 | arch/alpha/kernel/ptrace.c | struct vm_area_struct * vma = find_extend_vma(tsk, addr); |
addr | 337 | arch/alpha/kernel/ptrace.c | if ((addr & ~PAGE_MASK) > PAGE_SIZE-sizeof(long)) { |
addr | 341 | arch/alpha/kernel/ptrace.c | if (addr + sizeof(long) >= vma->vm_end) { |
addr | 346 | arch/alpha/kernel/ptrace.c | align = addr & (sizeof(long) - 1); |
addr | 347 | arch/alpha/kernel/ptrace.c | addr -= align; |
addr | 348 | arch/alpha/kernel/ptrace.c | low = get_long(tsk, vma, addr); |
addr | 349 | arch/alpha/kernel/ptrace.c | high = get_long(tsk, vma_high, addr + sizeof(long)); |
addr | 354 | arch/alpha/kernel/ptrace.c | put_long(tsk, vma, addr, low); |
addr | 355 | arch/alpha/kernel/ptrace.c | put_long(tsk, vma_high, addr + sizeof(long), high); |
addr | 357 | arch/alpha/kernel/ptrace.c | put_long(tsk, vma, addr, data); |
addr | 364 | arch/alpha/kernel/ptrace.c | static int read_int(struct task_struct * tsk, unsigned long addr, |
addr | 370 | arch/alpha/kernel/ptrace.c | align = addr & 0x7; |
addr | 371 | arch/alpha/kernel/ptrace.c | addr &= ~0x7; |
addr | 373 | arch/alpha/kernel/ptrace.c | res = read_long(tsk, addr, &l); |
addr | 391 | arch/alpha/kernel/ptrace.c | static int write_int(struct task_struct * tsk, unsigned long addr, |
addr | 397 | arch/alpha/kernel/ptrace.c | align = addr & 0x7; |
addr | 398 | arch/alpha/kernel/ptrace.c | addr &= ~0x7; |
addr | 400 | arch/alpha/kernel/ptrace.c | res = read_long(tsk, addr, &l); |
addr | 409 | arch/alpha/kernel/ptrace.c | return write_long(tsk, addr, l); |
addr | 486 | arch/alpha/kernel/ptrace.c | asmlinkage long sys_ptrace(long request, long pid, long addr, long data, |
addr | 495 | arch/alpha/kernel/ptrace.c | request, pid, addr, data)); |
addr | 550 | arch/alpha/kernel/ptrace.c | res = read_long(child, addr, &tmp); |
addr | 551 | arch/alpha/kernel/ptrace.c | DBG(DBG_MEM, ("peek %#lx->%#lx\n", addr, tmp)); |
addr | 561 | arch/alpha/kernel/ptrace.c | DBG(DBG_MEM, ("peek $%ld=%#lx\n", addr, regs.r0)); |
addr | 562 | arch/alpha/kernel/ptrace.c | return get_reg(child, addr); |
addr | 567 | arch/alpha/kernel/ptrace.c | DBG(DBG_MEM, ("poke %#lx<-%#lx\n", addr, data)); |
addr | 568 | arch/alpha/kernel/ptrace.c | return write_long(child, addr, data); |
addr | 571 | arch/alpha/kernel/ptrace.c | DBG(DBG_MEM, ("poke $%ld<-%#lx\n", addr, data)); |
addr | 572 | arch/alpha/kernel/ptrace.c | return put_reg(child, addr, data); |
addr | 15 | arch/alpha/lib/io.c | unsigned int _bus_inb(unsigned long addr) |
addr | 17 | arch/alpha/lib/io.c | return __bus_inb(addr); |
addr | 20 | arch/alpha/lib/io.c | void _bus_outb(unsigned char b, unsigned long addr) |
addr | 22 | arch/alpha/lib/io.c | __bus_outb(b, addr); |
addr | 26 | arch/alpha/lib/io.c | unsigned int _inb(unsigned long addr) |
addr | 28 | arch/alpha/lib/io.c | return __inb(addr); |
addr | 31 | arch/alpha/lib/io.c | unsigned int _inw(unsigned long addr) |
addr | 33 | arch/alpha/lib/io.c | return __inw(addr); |
addr | 36 | arch/alpha/lib/io.c | unsigned int _inl(unsigned long addr) |
addr | 38 | arch/alpha/lib/io.c | return __inl(addr); |
addr | 42 | arch/alpha/lib/io.c | void _outb(unsigned char b, unsigned long addr) |
addr | 44 | arch/alpha/lib/io.c | __outb(b, addr); |
addr | 47 | arch/alpha/lib/io.c | void _outw(unsigned short b, unsigned long addr) |
addr | 49 | arch/alpha/lib/io.c | __outw(b, addr); |
addr | 52 | arch/alpha/lib/io.c | void _outl(unsigned int b, unsigned long addr) |
addr | 54 | arch/alpha/lib/io.c | __outl(b, addr); |
addr | 58 | arch/alpha/lib/io.c | unsigned long _readb(unsigned long addr) |
addr | 60 | arch/alpha/lib/io.c | return __readb(addr); |
addr | 63 | arch/alpha/lib/io.c | unsigned long _readw(unsigned long addr) |
addr | 65 | arch/alpha/lib/io.c | return __readw(addr); |
addr | 68 | arch/alpha/lib/io.c | unsigned long _readl(unsigned long addr) |
addr | 70 | arch/alpha/lib/io.c | return __readl(addr); |
addr | 74 | arch/alpha/lib/io.c | void _writeb(unsigned char b, unsigned long addr) |
addr | 76 | arch/alpha/lib/io.c | __writeb(b, addr); |
addr | 79 | arch/alpha/lib/io.c | void _writew(unsigned short b, unsigned long addr) |
addr | 81 | arch/alpha/lib/io.c | __writew(b, addr); |
addr | 84 | arch/alpha/lib/io.c | void _writel(unsigned int b, unsigned long addr) |
addr | 86 | arch/alpha/lib/io.c | __writel(b, addr); |
addr | 87 | arch/i386/kernel/ptrace.c | struct vm_area_struct * vma, unsigned long addr) |
addr | 95 | arch/i386/kernel/ptrace.c | pgdir = pgd_offset(vma->vm_mm, addr); |
addr | 97 | arch/i386/kernel/ptrace.c | do_no_page(tsk, vma, addr, 0); |
addr | 105 | arch/i386/kernel/ptrace.c | pgmiddle = pmd_offset(pgdir, addr); |
addr | 107 | arch/i386/kernel/ptrace.c | do_no_page(tsk, vma, addr, 0); |
addr | 115 | arch/i386/kernel/ptrace.c | pgtable = pte_offset(pgmiddle, addr); |
addr | 117 | arch/i386/kernel/ptrace.c | do_no_page(tsk, vma, addr, 0); |
addr | 124 | arch/i386/kernel/ptrace.c | page += addr & ~PAGE_MASK; |
addr | 137 | arch/i386/kernel/ptrace.c | static void put_long(struct task_struct * tsk, struct vm_area_struct * vma, unsigned long addr, |
addr | 146 | arch/i386/kernel/ptrace.c | pgdir = pgd_offset(vma->vm_mm, addr); |
addr | 148 | arch/i386/kernel/ptrace.c | do_no_page(tsk, vma, addr, 1); |
addr | 156 | arch/i386/kernel/ptrace.c | pgmiddle = pmd_offset(pgdir, addr); |
addr | 158 | arch/i386/kernel/ptrace.c | do_no_page(tsk, vma, addr, 1); |
addr | 166 | arch/i386/kernel/ptrace.c | pgtable = pte_offset(pgmiddle, addr); |
addr | 168 | arch/i386/kernel/ptrace.c | do_no_page(tsk, vma, addr, 1); |
addr | 173 | arch/i386/kernel/ptrace.c | do_wp_page(tsk, vma, addr, 1); |
addr | 178 | arch/i386/kernel/ptrace.c | *(unsigned long *) (page + (addr & ~PAGE_MASK)) = data; |
addr | 185 | arch/i386/kernel/ptrace.c | static struct vm_area_struct * find_extend_vma(struct task_struct * tsk, unsigned long addr) |
addr | 189 | arch/i386/kernel/ptrace.c | addr &= PAGE_MASK; |
addr | 190 | arch/i386/kernel/ptrace.c | vma = find_vma(tsk,addr); |
addr | 193 | arch/i386/kernel/ptrace.c | if (vma->vm_start <= addr) |
addr | 197 | arch/i386/kernel/ptrace.c | if (vma->vm_end - addr > tsk->rlim[RLIMIT_STACK].rlim_cur) |
addr | 199 | arch/i386/kernel/ptrace.c | vma->vm_offset -= vma->vm_start - addr; |
addr | 200 | arch/i386/kernel/ptrace.c | vma->vm_start = addr; |
addr | 208 | arch/i386/kernel/ptrace.c | static int read_long(struct task_struct * tsk, unsigned long addr, |
addr | 211 | arch/i386/kernel/ptrace.c | struct vm_area_struct * vma = find_extend_vma(tsk, addr); |
addr | 215 | arch/i386/kernel/ptrace.c | if ((addr & ~PAGE_MASK) > PAGE_SIZE-sizeof(long)) { |
addr | 219 | arch/i386/kernel/ptrace.c | if (addr + sizeof(long) >= vma->vm_end) { |
addr | 224 | arch/i386/kernel/ptrace.c | low = get_long(tsk, vma, addr & ~(sizeof(long)-1)); |
addr | 225 | arch/i386/kernel/ptrace.c | high = get_long(tsk, vma_high, (addr+sizeof(long)) & ~(sizeof(long)-1)); |
addr | 226 | arch/i386/kernel/ptrace.c | switch (addr & (sizeof(long)-1)) { |
addr | 242 | arch/i386/kernel/ptrace.c | *result = get_long(tsk, vma, addr); |
addr | 250 | arch/i386/kernel/ptrace.c | static int write_long(struct task_struct * tsk, unsigned long addr, |
addr | 253 | arch/i386/kernel/ptrace.c | struct vm_area_struct * vma = find_extend_vma(tsk, addr); |
addr | 257 | arch/i386/kernel/ptrace.c | if ((addr & ~PAGE_MASK) > PAGE_SIZE-sizeof(long)) { |
addr | 261 | arch/i386/kernel/ptrace.c | if (addr + sizeof(long) >= vma->vm_end) { |
addr | 266 | arch/i386/kernel/ptrace.c | low = get_long(tsk, vma, addr & ~(sizeof(long)-1)); |
addr | 267 | arch/i386/kernel/ptrace.c | high = get_long(tsk, vma_high, (addr+sizeof(long)) & ~(sizeof(long)-1)); |
addr | 268 | arch/i386/kernel/ptrace.c | switch (addr & (sizeof(long)-1)) { |
addr | 291 | arch/i386/kernel/ptrace.c | put_long(tsk, vma, addr & ~(sizeof(long)-1),low); |
addr | 292 | arch/i386/kernel/ptrace.c | put_long(tsk, vma_high, (addr+sizeof(long)) & ~(sizeof(long)-1),high); |
addr | 294 | arch/i386/kernel/ptrace.c | put_long(tsk, vma, addr, data); |
addr | 298 | arch/i386/kernel/ptrace.c | asmlinkage int sys_ptrace(long request, long pid, long addr, long data) |
addr | 355 | arch/i386/kernel/ptrace.c | res = read_long(child, addr, &tmp); |
addr | 369 | arch/i386/kernel/ptrace.c | if ((addr & 3) || addr < 0 || |
addr | 370 | arch/i386/kernel/ptrace.c | addr > sizeof(struct user) - 3) |
addr | 377 | arch/i386/kernel/ptrace.c | if(addr < 17*sizeof(long)) { |
addr | 378 | arch/i386/kernel/ptrace.c | addr = addr >> 2; /* temporary hack. */ |
addr | 380 | arch/i386/kernel/ptrace.c | tmp = get_stack_long(child, sizeof(long)*addr - MAGICNUMBER); |
addr | 381 | arch/i386/kernel/ptrace.c | if (addr == DS || addr == ES || |
addr | 382 | arch/i386/kernel/ptrace.c | addr == FS || addr == GS || |
addr | 383 | arch/i386/kernel/ptrace.c | addr == CS || addr == SS) |
addr | 386 | arch/i386/kernel/ptrace.c | if(addr >= (long) &dummy->u_debugreg[0] && |
addr | 387 | arch/i386/kernel/ptrace.c | addr <= (long) &dummy->u_debugreg[7]){ |
addr | 388 | arch/i386/kernel/ptrace.c | addr -= (long) &dummy->u_debugreg[0]; |
addr | 389 | arch/i386/kernel/ptrace.c | addr = addr >> 2; |
addr | 390 | arch/i386/kernel/ptrace.c | tmp = child->debugreg[addr]; |
addr | 399 | arch/i386/kernel/ptrace.c | return write_long(child,addr,data); |
addr | 402 | arch/i386/kernel/ptrace.c | if ((addr & 3) || addr < 0 || |
addr | 403 | arch/i386/kernel/ptrace.c | addr > sizeof(struct user) - 3) |
addr | 406 | arch/i386/kernel/ptrace.c | addr = addr >> 2; /* temporary hack. */ |
addr | 408 | arch/i386/kernel/ptrace.c | if (addr == ORIG_EAX) |
addr | 410 | arch/i386/kernel/ptrace.c | if (addr == DS || addr == ES || |
addr | 411 | arch/i386/kernel/ptrace.c | addr == FS || addr == GS || |
addr | 412 | arch/i386/kernel/ptrace.c | addr == CS || addr == SS) { |
addr | 417 | arch/i386/kernel/ptrace.c | if (addr == EFL) { /* flags. */ |
addr | 423 | arch/i386/kernel/ptrace.c | if(addr < 17){ |
addr | 424 | arch/i386/kernel/ptrace.c | if (put_stack_long(child, sizeof(long)*addr-MAGICNUMBER, data)) |
addr | 434 | arch/i386/kernel/ptrace.c | addr = addr << 2; /* Convert back again */ |
addr | 435 | arch/i386/kernel/ptrace.c | if(addr >= (long) &dummy->u_debugreg[0] && |
addr | 436 | arch/i386/kernel/ptrace.c | addr <= (long) &dummy->u_debugreg[7]){ |
addr | 438 | arch/i386/kernel/ptrace.c | if(addr == (long) &dummy->u_debugreg[4]) return -EIO; |
addr | 439 | arch/i386/kernel/ptrace.c | if(addr == (long) &dummy->u_debugreg[5]) return -EIO; |
addr | 440 | arch/i386/kernel/ptrace.c | if(addr < (long) &dummy->u_debugreg[4] && |
addr | 443 | arch/i386/kernel/ptrace.c | if(addr == (long) &dummy->u_debugreg[7]) { |
addr | 450 | arch/i386/kernel/ptrace.c | addr -= (long) &dummy->u_debugreg; |
addr | 451 | arch/i386/kernel/ptrace.c | addr = addr >> 2; |
addr | 452 | arch/i386/kernel/ptrace.c | child->debugreg[addr] = data; |
addr | 49 | arch/i386/kernel/traps.c | #define get_seg_byte(seg,addr) ({ \ |
addr | 52 | arch/i386/kernel/traps.c | :"=a" (__res):"0" (seg),"m" (*(addr))); \ |
addr | 55 | arch/i386/kernel/traps.c | #define get_seg_long(seg,addr) ({ \ |
addr | 58 | arch/i386/kernel/traps.c | :"=a" (__res):"0" (seg),"m" (*(addr))); \ |
addr | 102 | arch/i386/kernel/traps.c | unsigned long *stack, addr, module_start, module_end; |
addr | 142 | arch/i386/kernel/traps.c | addr = get_seg_long(ss, stack++); |
addr | 151 | arch/i386/kernel/traps.c | if (((addr >= (unsigned long) &start_kernel) && |
addr | 152 | arch/i386/kernel/traps.c | (addr <= (unsigned long) &_etext)) || |
addr | 153 | arch/i386/kernel/traps.c | ((addr >= module_start) && (addr <= module_end))) { |
addr | 156 | arch/i386/kernel/traps.c | printk("[<%08lx>] ", addr); |
addr | 67 | arch/i386/math-emu/fpu_proto.h | struct address *addr, |
addr | 70 | arch/i386/math-emu/fpu_proto.h | struct address *addr, |
addr | 114 | arch/i386/math-emu/fpu_proto.h | extern int reg_load_extended(long double *addr, FPU_REG *loaded_data); |
addr | 215 | arch/i386/math-emu/get_address.c | struct address *addr, |
addr | 232 | arch/i386/math-emu/get_address.c | addr->selector = FPU_DS; /* Default, for 32 bit non-segmented mode. */ |
addr | 254 | arch/i386/math-emu/get_address.c | addr->offset = address; |
addr | 261 | arch/i386/math-emu/get_address.c | addr->offset = address; |
addr | 287 | arch/i386/math-emu/get_address.c | addr->offset = address; |
addr | 295 | arch/i386/math-emu/get_address.c | (unsigned short *)&(addr->selector)); |
addr | 300 | arch/i386/math-emu/get_address.c | (unsigned short *)&(addr->selector), address); |
addr | 311 | arch/i386/math-emu/get_address.c | struct address *addr, |
addr | 327 | arch/i386/math-emu/get_address.c | addr->selector = FPU_DS; /* Default, for 32 bit non-segmented mode. */ |
addr | 403 | arch/i386/math-emu/get_address.c | addr->offset = address; |
addr | 411 | arch/i386/math-emu/get_address.c | (unsigned short *)&(addr->selector)); |
addr | 416 | arch/i386/math-emu/get_address.c | (unsigned short *)&(addr->selector), address); |
addr | 418 | arch/mips/kernel/gdb-stub.c | int addr; |
addr | 560 | arch/mips/kernel/gdb-stub.c | if (hexToInt(&ptr, &addr) |
addr | 563 | arch/mips/kernel/gdb-stub.c | if (mem2hex((char *)addr, output_buffer, length, 1)) |
addr | 576 | arch/mips/kernel/gdb-stub.c | if (hexToInt(&ptr, &addr) |
addr | 580 | arch/mips/kernel/gdb-stub.c | if (hex2mem(ptr, (char *)addr, length, 1)) |
addr | 596 | arch/mips/kernel/gdb-stub.c | if (hexToInt(&ptr, &addr)) |
addr | 597 | arch/mips/kernel/gdb-stub.c | regs->cp0_epc = addr; |
addr | 86 | arch/mips/kernel/jazz-c.c | void jazz_fd_cacheflush(unsigned char *addr, unsigned int size) |
addr | 88 | arch/mips/kernel/jazz-c.c | sys_cacheflush((void *)addr, size, DCACHE); |
addr | 481 | arch/mips/kernel/jazzdma.c | void vdma_set_addr(int channel, long addr) |
addr | 484 | arch/mips/kernel/jazzdma.c | printk("vdma_set_addr: channel %d, addr %lx\n",channel,addr); |
addr | 486 | arch/mips/kernel/jazzdma.c | r4030_write_reg32(JAZZ_R4030_CHNL_ADDR+(channel<<5),addr); |
addr | 86 | arch/mips/kernel/ptrace.c | static unsigned long get_long(struct vm_area_struct * vma, unsigned long addr) |
addr | 93 | arch/mips/kernel/ptrace.c | pgdir = PAGE_DIR_OFFSET(vma->vm_mm, addr); |
addr | 95 | arch/mips/kernel/ptrace.c | do_no_page(vma, addr, 0); |
addr | 103 | arch/mips/kernel/ptrace.c | pgtable = (pte_t *) (PAGE_PTR(addr) + pgd_page(*pgdir)); |
addr | 105 | arch/mips/kernel/ptrace.c | do_no_page(vma, addr, 0); |
addr | 112 | arch/mips/kernel/ptrace.c | page += addr & ~PAGE_MASK; |
addr | 125 | arch/mips/kernel/ptrace.c | static void put_long(struct vm_area_struct * vma, unsigned long addr, |
addr | 133 | arch/mips/kernel/ptrace.c | pgdir = PAGE_DIR_OFFSET(vma->vm_mm, addr); |
addr | 135 | arch/mips/kernel/ptrace.c | do_no_page(vma, addr, 1); |
addr | 143 | arch/mips/kernel/ptrace.c | pgtable = (pte_t *) (PAGE_PTR(addr) + pgd_page(*pgdir)); |
addr | 145 | arch/mips/kernel/ptrace.c | do_no_page(vma, addr, 1); |
addr | 150 | arch/mips/kernel/ptrace.c | do_wp_page(vma, addr, 1); |
addr | 155 | arch/mips/kernel/ptrace.c | *(unsigned long *) (page + (addr & ~PAGE_MASK)) = data; |
addr | 162 | arch/mips/kernel/ptrace.c | static struct vm_area_struct * find_extend_vma(struct task_struct * tsk, unsigned long addr) |
addr | 166 | arch/mips/kernel/ptrace.c | addr &= PAGE_MASK; |
addr | 167 | arch/mips/kernel/ptrace.c | vma = find_vma(tsk, addr); |
addr | 170 | arch/mips/kernel/ptrace.c | if (vma->vm_start <= addr) |
addr | 174 | arch/mips/kernel/ptrace.c | if (vma->vm_end - addr > tsk->rlim[RLIMIT_STACK].rlim_cur) |
addr | 176 | arch/mips/kernel/ptrace.c | vma->vm_offset -= vma->vm_start - addr; |
addr | 177 | arch/mips/kernel/ptrace.c | vma->vm_start = addr; |
addr | 185 | arch/mips/kernel/ptrace.c | static int read_long(struct task_struct * tsk, unsigned long addr, |
addr | 188 | arch/mips/kernel/ptrace.c | struct vm_area_struct * vma = find_extend_vma(tsk, addr); |
addr | 192 | arch/mips/kernel/ptrace.c | if ((addr & ~PAGE_MASK) > PAGE_SIZE-sizeof(long)) { |
addr | 196 | arch/mips/kernel/ptrace.c | if (addr + sizeof(long) >= vma->vm_end) { |
addr | 201 | arch/mips/kernel/ptrace.c | low = get_long(vma, addr & ~(sizeof(long)-1)); |
addr | 202 | arch/mips/kernel/ptrace.c | high = get_long(vma_high, (addr+sizeof(long)) & ~(sizeof(long)-1)); |
addr | 203 | arch/mips/kernel/ptrace.c | switch (addr & (sizeof(long)-1)) { |
addr | 219 | arch/mips/kernel/ptrace.c | *result = get_long(vma, addr); |
addr | 227 | arch/mips/kernel/ptrace.c | static int write_long(struct task_struct * tsk, unsigned long addr, |
addr | 230 | arch/mips/kernel/ptrace.c | struct vm_area_struct * vma = find_extend_vma(tsk, addr); |
addr | 234 | arch/mips/kernel/ptrace.c | if ((addr & ~PAGE_MASK) > PAGE_SIZE-sizeof(long)) { |
addr | 238 | arch/mips/kernel/ptrace.c | if (addr + sizeof(long) >= vma->vm_end) { |
addr | 243 | arch/mips/kernel/ptrace.c | low = get_long(vma, addr & ~(sizeof(long)-1)); |
addr | 244 | arch/mips/kernel/ptrace.c | high = get_long(vma_high, (addr+sizeof(long)) & ~(sizeof(long)-1)); |
addr | 245 | arch/mips/kernel/ptrace.c | switch (addr & (sizeof(long)-1)) { |
addr | 268 | arch/mips/kernel/ptrace.c | put_long(vma, addr & ~(sizeof(long)-1),low); |
addr | 269 | arch/mips/kernel/ptrace.c | put_long(vma_high, (addr+sizeof(long)) & ~(sizeof(long)-1),high); |
addr | 271 | arch/mips/kernel/ptrace.c | put_long(vma, addr, data); |
addr | 276 | arch/mips/kernel/ptrace.c | asmlinkage int sys_ptrace(long request, long pid, long addr, long data) |
addr | 337 | arch/mips/kernel/ptrace.c | res = read_long(child, addr, &tmp); |
addr | 351 | arch/mips/kernel/ptrace.c | if ((addr & 3) || addr < 0 || |
addr | 352 | arch/mips/kernel/ptrace.c | addr > sizeof(struct user) - 3) |
addr | 359 | arch/mips/kernel/ptrace.c | if(addr < 17*sizeof(long)) { |
addr | 360 | arch/mips/kernel/ptrace.c | addr = addr >> 2; /* temporary hack. */ |
addr | 362 | arch/mips/kernel/ptrace.c | tmp = get_stack_long(child, sizeof(long)*addr - MAGICNUMBER); |
addr | 363 | arch/mips/kernel/ptrace.c | if (addr == DS || addr == ES || |
addr | 364 | arch/mips/kernel/ptrace.c | addr == FS || addr == GS || |
addr | 365 | arch/mips/kernel/ptrace.c | addr == CS || addr == SS) |
addr | 368 | arch/mips/kernel/ptrace.c | if(addr >= (long) &dummy->u_debugreg[0] && |
addr | 369 | arch/mips/kernel/ptrace.c | addr <= (long) &dummy->u_debugreg[7]){ |
addr | 370 | arch/mips/kernel/ptrace.c | addr -= (long) &dummy->u_debugreg[0]; |
addr | 371 | arch/mips/kernel/ptrace.c | addr = addr >> 2; |
addr | 372 | arch/mips/kernel/ptrace.c | tmp = child->debugreg[addr]; |
addr | 381 | arch/mips/kernel/ptrace.c | return write_long(child,addr,data); |
addr | 384 | arch/mips/kernel/ptrace.c | if ((addr & 3) || addr < 0 || |
addr | 385 | arch/mips/kernel/ptrace.c | addr > sizeof(struct user) - 3) |
addr | 388 | arch/mips/kernel/ptrace.c | addr = addr >> 2; /* temporary hack. */ |
addr | 390 | arch/mips/kernel/ptrace.c | if (addr == ORIG_EAX) |
addr | 392 | arch/mips/kernel/ptrace.c | if (addr == DS || addr == ES || |
addr | 393 | arch/mips/kernel/ptrace.c | addr == FS || addr == GS || |
addr | 394 | arch/mips/kernel/ptrace.c | addr == CS || addr == SS) { |
addr | 399 | arch/mips/kernel/ptrace.c | if (addr == EFL) { /* flags. */ |
addr | 405 | arch/mips/kernel/ptrace.c | if(addr < 17){ |
addr | 406 | arch/mips/kernel/ptrace.c | if (put_stack_long(child, sizeof(long)*addr-MAGICNUMBER, data)) |
addr | 416 | arch/mips/kernel/ptrace.c | addr = addr << 2; /* Convert back again */ |
addr | 417 | arch/mips/kernel/ptrace.c | if(addr >= (long) &dummy->u_debugreg[0] && |
addr | 418 | arch/mips/kernel/ptrace.c | addr <= (long) &dummy->u_debugreg[7]){ |
addr | 420 | arch/mips/kernel/ptrace.c | if(addr == (long) &dummy->u_debugreg[4]) return -EIO; |
addr | 421 | arch/mips/kernel/ptrace.c | if(addr == (long) &dummy->u_debugreg[5]) return -EIO; |
addr | 422 | arch/mips/kernel/ptrace.c | if(addr < (long) &dummy->u_debugreg[4] && |
addr | 425 | arch/mips/kernel/ptrace.c | if(addr == (long) &dummy->u_debugreg[7]) { |
addr | 432 | arch/mips/kernel/ptrace.c | addr -= (long) &dummy->u_debugreg; |
addr | 433 | arch/mips/kernel/ptrace.c | addr = addr >> 2; |
addr | 434 | arch/mips/kernel/ptrace.c | child->debugreg[addr] = data; |
addr | 56 | arch/mips/kernel/setup.c | void jazz_fd_cacheflush(unsigned char *addr, unsigned int size); |
addr | 143 | arch/mips/kernel/setup.c | void jazz_fd_cacheflush(unsigned char *addr, unsigned int size); |
addr | 39 | arch/mips/kernel/syscall.c | asmlinkage unsigned long sys_mmap(unsigned long addr, size_t len, int prot, |
addr | 50 | arch/mips/kernel/syscall.c | return do_mmap(file, addr, len, prot, flags, offset); |
addr | 102 | arch/mips/kernel/sysmips.c | sys_cachectl(char *addr, int nbytes, int op) |
addr | 87 | arch/mips/kernel/traps.c | u32 *sp, *pc, addr, module_start, module_end; |
addr | 124 | arch/mips/kernel/traps.c | addr = get_user(stack++); |
addr | 133 | arch/mips/kernel/traps.c | if (((addr >= (u32) &start_kernel) && |
addr | 134 | arch/mips/kernel/traps.c | (addr <= (u32) &_etext)) || |
addr | 135 | arch/mips/kernel/traps.c | ((addr >= module_start) && (addr <= module_end))) { |
addr | 138 | arch/mips/kernel/traps.c | printk("%08x ", addr); |
addr | 66 | arch/mips/kernel/tyne-c.c | set_dma_addr(FLOPPY_DMA, addr); |
addr | 89 | arch/mips/kernel/tyne-c.c | void deskstation_tyne_fd_cacheflush(unsigned char *addr, unsigned int) |
addr | 91 | arch/mips/kernel/tyne-c.c | sys_cacheflush((void *)addr, size, DCACHE); |
addr | 54 | arch/sparc/kernel/ioport.c | unsigned long addr = (unsigned long) address; |
addr | 55 | arch/sparc/kernel/ioport.c | unsigned long offset = (addr & (~PAGE_MASK)); |
addr | 78 | arch/sparc/kernel/ioport.c | mapioaddr(addr, vaddr, bus_type, rdonly); |
addr | 80 | arch/sparc/kernel/ioport.c | addr += PAGE_SIZE; |
addr | 146 | arch/sparc/kernel/sparc-stub.c | unsigned long get_sun4cpte(unsigned long addr) |
addr | 152 | arch/sparc/kernel/sparc-stub.c | "r" (addr), "i" (ASI_PTE)); |
addr | 156 | arch/sparc/kernel/sparc-stub.c | unsigned long get_sun4csegmap(unsigned long addr) |
addr | 162 | arch/sparc/kernel/sparc-stub.c | "r" (addr), "i" (ASI_SEGMAP)); |
addr | 445 | arch/sparc/kernel/sparc-stub.c | int addr; |
addr | 595 | arch/sparc/kernel/sparc-stub.c | if (hexToInt(&ptr, &addr) |
addr | 598 | arch/sparc/kernel/sparc-stub.c | if (mem2hex((char *)addr, remcomOutBuffer, length)) |
addr | 612 | arch/sparc/kernel/sparc-stub.c | if (hexToInt(&ptr, &addr) |
addr | 616 | arch/sparc/kernel/sparc-stub.c | if (hex2mem(ptr, (char *)addr, length)) { |
addr | 630 | arch/sparc/kernel/sparc-stub.c | if (hexToInt(&ptr, &addr)) { |
addr | 631 | arch/sparc/kernel/sparc-stub.c | registers[PC] = addr; |
addr | 632 | arch/sparc/kernel/sparc-stub.c | registers[NPC] = addr + 4; |
addr | 45 | arch/sparc/kernel/sys_sunos.c | unsigned long addr = 0xE8000000UL; |
addr | 50 | arch/sparc/kernel/sys_sunos.c | for (vmm = find_vma(current, addr); ; vmm = vmm->vm_next) { |
addr | 52 | arch/sparc/kernel/sys_sunos.c | if (TASK_SIZE - len < addr) |
addr | 54 | arch/sparc/kernel/sys_sunos.c | if (!vmm || addr + len <= vmm->vm_start) |
addr | 55 | arch/sparc/kernel/sys_sunos.c | return addr; |
addr | 56 | arch/sparc/kernel/sys_sunos.c | addr = vmm->vm_end; |
addr | 61 | arch/sparc/kernel/sys_sunos.c | asmlinkage unsigned long sunos_mmap(unsigned long addr, unsigned long len, |
addr | 76 | arch/sparc/kernel/sys_sunos.c | if(!(flags & MAP_FIXED) && !addr) { |
addr | 77 | arch/sparc/kernel/sys_sunos.c | addr = get_sparc_unmapped_area(len); |
addr | 78 | arch/sparc/kernel/sys_sunos.c | if(!addr) |
addr | 92 | arch/sparc/kernel/sys_sunos.c | retval = do_mmap(file, addr, len, prot, flags, off); |
addr | 100 | arch/sparc/kernel/sys_sunos.c | asmlinkage int sunos_mctl(unsigned long addr, unsigned long len, int function, char *arg) |
addr | 255 | arch/sparc/kernel/sys_sunos.c | asmlinkage int sunos_mincore(unsigned long addr, unsigned long len, char *array) |
addr | 263 | arch/sparc/kernel/sys_sunos.c | if(addr & (PAGE_SIZE - 1)) |
addr | 269 | arch/sparc/kernel/sys_sunos.c | if((addr >= KERNBASE) || ((addr + len) > KERNBASE)) |
addr | 274 | arch/sparc/kernel/sys_sunos.c | for(limit = addr + len; addr < limit; addr += PAGE_SIZE, pnum++) { |
addr | 275 | arch/sparc/kernel/sys_sunos.c | pgdp = pgd_offset(current->mm, addr); |
addr | 278 | arch/sparc/kernel/sys_sunos.c | pmdp = pmd_offset(pgdp, addr); |
addr | 281 | arch/sparc/kernel/sys_sunos.c | ptep = pte_offset(pmdp, addr); |
addr | 597 | arch/sparc/kernel/sys_sunos.c | struct sockaddr_in *addr; /* file server address */ |
addr | 627 | arch/sparc/kernel/sys_sunos.c | sunos_nfs_get_server_fd (int fd, struct sockaddr_in *addr) |
addr | 658 | arch/sparc/kernel/sys_sunos.c | server.sin_addr = addr->sin_addr; |
addr | 699 | arch/sparc/kernel/sys_sunos.c | if (!sunos_nfs_get_server_fd (server_fd, sunos_mount->addr)){ |
addr | 707 | arch/sparc/kernel/sys_sunos.c | linux_nfs_mount.addr = *sunos_mount->addr; |
addr | 168 | arch/sparc/mm/init.c | unsigned long tmp2, addr; |
addr | 179 | arch/sparc/mm/init.c | addr = PAGE_OFFSET; |
addr | 180 | arch/sparc/mm/init.c | while(addr < start_mem) { |
addr | 181 | arch/sparc/mm/init.c | mem_map[MAP_NR(addr)].reserved = 1; |
addr | 182 | arch/sparc/mm/init.c | addr += PAGE_SIZE; |
addr | 185 | arch/sparc/mm/init.c | for(addr = start_mem; addr < end_mem; addr += PAGE_SIZE) { |
addr | 187 | arch/sparc/mm/init.c | unsigned long phys_addr = (addr - PAGE_OFFSET); |
addr | 193 | arch/sparc/mm/init.c | mem_map[MAP_NR(addr)].reserved = 0; |
addr | 196 | arch/sparc/mm/init.c | for (addr = PAGE_OFFSET; addr < end_mem; addr += PAGE_SIZE) { |
addr | 197 | arch/sparc/mm/init.c | if(mem_map[MAP_NR(addr)].reserved) { |
addr | 198 | arch/sparc/mm/init.c | if (addr < (unsigned long) &etext) |
addr | 200 | arch/sparc/mm/init.c | else if(addr < start_mem) |
addr | 204 | arch/sparc/mm/init.c | mem_map[MAP_NR(addr)].count = 1; |
addr | 205 | arch/sparc/mm/init.c | free_page(addr); |
addr | 40 | arch/sparc/mm/srmmu.c | static inline unsigned long srmmu_swap(unsigned long *addr, unsigned long value) |
addr | 43 | arch/sparc/mm/srmmu.c | "=&r" (value), "=&r" (addr) : |
addr | 44 | arch/sparc/mm/srmmu.c | "0" (value), "1" (addr)); |
addr | 110 | arch/sparc/mm/srmmu.c | static unsigned int srmmu_pmd_align(unsigned int addr) { return SRMMU_PMD_ALIGN(addr); } |
addr | 111 | arch/sparc/mm/srmmu.c | static unsigned int srmmu_pgdir_align(unsigned int addr) { return SRMMU_PGDIR_ALIGN(addr); } |
addr | 395 | arch/sparc/mm/srmmu.c | unsigned long addr = 0; |
addr | 398 | arch/sparc/mm/srmmu.c | for(addr = 0; addr < (PAGE_SIZE << 2); addr += 16) { |
addr | 399 | arch/sparc/mm/srmmu.c | swift_inv_insn_tag(addr); /* whiz- */ |
addr | 400 | arch/sparc/mm/srmmu.c | swift_inv_data_tag(addr); /* bang */ |
addr | 429 | arch/sparc/mm/srmmu.c | unsigned long flags, addr; |
addr | 441 | arch/sparc/mm/srmmu.c | addr = start & SRMMU_PGDIR_MASK; |
addr | 442 | arch/sparc/mm/srmmu.c | while(addr < end) { |
addr | 443 | arch/sparc/mm/srmmu.c | swift_flush_region(addr); |
addr | 444 | arch/sparc/mm/srmmu.c | srmmu_flush_tlb_region(addr); |
addr | 445 | arch/sparc/mm/srmmu.c | addr += SRMMU_PGDIR_SIZE; |
addr | 516 | arch/sparc/mm/srmmu.c | unsigned long flags, addr; |
addr | 530 | arch/sparc/mm/srmmu.c | addr = start & SRMMU_PGDIR_MASK; |
addr | 531 | arch/sparc/mm/srmmu.c | while(addr < end) { |
addr | 532 | arch/sparc/mm/srmmu.c | srmmu_flush_tlb_region(addr); |
addr | 533 | arch/sparc/mm/srmmu.c | addr += SRMMU_PGDIR_SIZE; |
addr | 590 | arch/sparc/mm/srmmu.c | unsigned long flags, addr; |
addr | 602 | arch/sparc/mm/srmmu.c | addr = start & SRMMU_PGDIR_MASK; |
addr | 603 | arch/sparc/mm/srmmu.c | while(addr < end) { |
addr | 604 | arch/sparc/mm/srmmu.c | cypress_flush_region(addr); |
addr | 605 | arch/sparc/mm/srmmu.c | addr += SRMMU_PGDIR_SIZE; |
addr | 1228 | arch/sparc/mm/srmmu.c | unsigned long swift_rev, addr; |
addr | 1274 | arch/sparc/mm/srmmu.c | for(addr = 0; addr < (PAGE_SIZE * 4); addr += 16) { |
addr | 1275 | arch/sparc/mm/srmmu.c | swift_inv_insn_tag(addr); /* whiz- */ |
addr | 1276 | arch/sparc/mm/srmmu.c | swift_inv_data_tag(addr); /* bang */ |
addr | 61 | arch/sparc/mm/sun4c.c | static inline void sun4c_flush_segment(unsigned long addr) |
addr | 66 | arch/sparc/mm/sun4c.c | addr &= SUN4C_REAL_PGDIR_MASK; |
addr | 67 | arch/sparc/mm/sun4c.c | end = (addr + sun4c_vacinfo.num_bytes); |
addr | 69 | arch/sparc/mm/sun4c.c | for( ; addr < end; addr += PAGE_SIZE) |
addr | 71 | arch/sparc/mm/sun4c.c | "r" (addr), "i" (ASI_HWFLUSHSEG)); |
addr | 74 | arch/sparc/mm/sun4c.c | for( ; addr < end; addr += incr) |
addr | 76 | arch/sparc/mm/sun4c.c | "r" (addr), "i" (ASI_FLUSHSEG)); |
addr | 81 | arch/sparc/mm/sun4c.c | static inline void sun4c_flush_page(unsigned long addr) |
addr | 83 | arch/sparc/mm/sun4c.c | addr &= PAGE_MASK; |
addr | 88 | arch/sparc/mm/sun4c.c | "r" (addr), "i" (ASI_HWFLUSHPAGE)); |
addr | 90 | arch/sparc/mm/sun4c.c | unsigned long end = addr + PAGE_SIZE; |
addr | 93 | arch/sparc/mm/sun4c.c | for( ; addr < end; addr += incr) |
addr | 95 | arch/sparc/mm/sun4c.c | "r" (addr), "i" (ASI_FLUSHPG)); |
addr | 209 | arch/sparc/mm/sun4c.c | unsigned long addr, pte; |
addr | 211 | arch/sparc/mm/sun4c.c | for(addr = DVMA_VADDR; addr < DVMA_END; addr += PAGE_SIZE) { |
addr | 214 | arch/sparc/mm/sun4c.c | sun4c_put_pte(addr, pte); |
addr | 638 | arch/sparc/mm/sun4c.c | #define BUCKET_NUM(addr) ((((addr) - SUN4C_LOCK_VADDR) >> BUCKET_SHIFT)) |
addr | 645 | arch/sparc/mm/sun4c.c | static inline void get_task_segment(unsigned long addr) |
addr | 651 | arch/sparc/mm/sun4c.c | addr &= SUN4C_REAL_PGDIR_MASK; |
addr | 654 | arch/sparc/mm/sun4c.c | stolen->vaddr = addr; |
addr | 659 | arch/sparc/mm/sun4c.c | static inline void free_task_segment(unsigned long addr) |
addr | 666 | arch/sparc/mm/sun4c.c | addr &= SUN4C_REAL_PGDIR_MASK; |
addr | 667 | arch/sparc/mm/sun4c.c | pseg = sun4c_get_segmap(addr); |
addr | 669 | arch/sparc/mm/sun4c.c | sun4c_flush_segment(addr); |
addr | 691 | arch/sparc/mm/sun4c.c | unsigned long addr, page; |
addr | 709 | arch/sparc/mm/sun4c.c | addr = BUCKET_ADDR(entry); |
addr | 710 | arch/sparc/mm/sun4c.c | sun4c_bucket[entry] = (struct task_bucket *) addr; |
addr | 711 | arch/sparc/mm/sun4c.c | if(sun4c_get_segmap(addr) == invalid_segment) |
addr | 712 | arch/sparc/mm/sun4c.c | get_task_segment(addr); |
addr | 713 | arch/sparc/mm/sun4c.c | sun4c_put_pte(addr, BUCKET_PTE(page)); |
addr | 714 | arch/sparc/mm/sun4c.c | return (struct task_struct *) addr; |
addr | 1096 | arch/sparc/mm/sun4c.c | static unsigned int sun4c_pmd_align(unsigned int addr) { return SUN4C_PMD_ALIGN(addr); } |
addr | 1097 | arch/sparc/mm/sun4c.c | static unsigned int sun4c_pgdir_align(unsigned int addr) { return SUN4C_PGDIR_ALIGN(addr); } |
addr | 1709 | drivers/block/ide-cd.c | msf_from_bcd (&toc->ent[i].addr.msf); |
addr | 1712 | drivers/block/ide-cd.c | toc->ent[i].addr.lba = msf_to_lba (toc->ent[i].addr.msf.minute, |
addr | 1713 | drivers/block/ide-cd.c | toc->ent[i].addr.msf.second, |
addr | 1714 | drivers/block/ide-cd.c | toc->ent[i].addr.msf.frame); |
addr | 1725 | drivers/block/ide-cd.c | msf_from_bcd (&ms_tmp.ent.addr.msf); |
addr | 1728 | drivers/block/ide-cd.c | toc->last_session_lba = msf_to_lba (ms_tmp.ent.addr.msf.minute, |
addr | 1729 | drivers/block/ide-cd.c | ms_tmp.ent.addr.msf.second, |
addr | 1730 | drivers/block/ide-cd.c | ms_tmp.ent.addr.msf.frame); |
addr | 2046 | drivers/block/ide-cd.c | lba_start = first_toc->addr.lba; |
addr | 2047 | drivers/block/ide-cd.c | lba_end = last_toc->addr.lba; |
addr | 2099 | drivers/block/ide-cd.c | lba_to_msf (toce->addr.lba, |
addr | 2104 | drivers/block/ide-cd.c | tocentry.cdte_addr.lba = toce->addr.lba; |
addr | 2247 | drivers/block/ide-cd.c | &ms_info.addr.msf.minute, |
addr | 2248 | drivers/block/ide-cd.c | &ms_info.addr.msf.second, |
addr | 2249 | drivers/block/ide-cd.c | &ms_info.addr.msf.frame); |
addr | 2251 | drivers/block/ide-cd.c | ms_info.addr.lba = toc->last_session_lba; |
addr | 2290 | drivers/block/ide-cd.c | lba = msf_to_lba (ra.addr.msf.minute, |
addr | 2291 | drivers/block/ide-cd.c | ra.addr.msf.second, |
addr | 2292 | drivers/block/ide-cd.c | ra.addr.msf.frame); |
addr | 2294 | drivers/block/ide-cd.c | lba = ra.addr.lba; |
addr | 214 | drivers/block/ide.h | } addr; |
addr | 183 | drivers/block/triton.c | unsigned long size, addr, *table = HWIF(drive)->dmatable; |
addr | 195 | drivers/block/triton.c | addr = virt_to_bus (rq->buffer); |
addr | 204 | drivers/block/triton.c | addr = virt_to_bus (bh->b_data); |
addr | 207 | drivers/block/triton.c | if ((addr + size) != virt_to_bus (bh->b_data)) |
addr | 222 | drivers/block/triton.c | unsigned long bcount = 0x10000 - (addr & 0xffff); |
addr | 225 | drivers/block/triton.c | *table++ = addr; |
addr | 227 | drivers/block/triton.c | addr += bcount; |
addr | 680 | drivers/cdrom/aztcd.c | { ms.addr.msf.minute = azt_bcd2bin(DiskInfo.lastSession.min); |
addr | 681 | drivers/cdrom/aztcd.c | ms.addr.msf.second = azt_bcd2bin(DiskInfo.lastSession.sec); |
addr | 682 | drivers/cdrom/aztcd.c | ms.addr.msf.frame = azt_bcd2bin(DiskInfo.lastSession.frame); |
addr | 685 | drivers/cdrom/aztcd.c | ms.addr.lba = azt_msf2hsg(&DiskInfo.lastSession); |
addr | 695 | drivers/cdrom/aztcd.c | ms.xa_flag, ms.addr.msf.minute, ms.addr.msf.second, |
addr | 696 | drivers/cdrom/aztcd.c | ms.addr.msf.frame, DiskInfo.lastSession.min, |
addr | 700 | drivers/cdrom/aztcd.c | ms.xa_flag, ms.addr.lba, DiskInfo.lastSession.min, |
addr | 2228 | drivers/cdrom/cdu31a.c | if (start_request(ra->addr.lba, ra->nframes, 1)) |
addr | 2244 | drivers/cdrom/cdu31a.c | ra->addr.lba + cframe); |
addr | 2267 | drivers/cdrom/cdu31a.c | if (start_request(ra->addr.lba + cframe, ra->nframes - cframe, 1)) |
addr | 2282 | drivers/cdrom/cdu31a.c | ra->addr.lba + cframe); |
addr | 2287 | drivers/cdrom/cdu31a.c | ra->addr.lba + cframe, |
addr | 2303 | drivers/cdrom/cdu31a.c | ra->addr.lba + cframe, |
addr | 2670 | drivers/cdrom/cdu31a.c | if ( (ra.addr.lba >= sony_toc.lead_out_start_lba) |
addr | 2671 | drivers/cdrom/cdu31a.c | || (ra.addr.lba + ra.nframes >= sony_toc.lead_out_start_lba)) |
addr | 2678 | drivers/cdrom/cdu31a.c | if ( (ra.addr.msf.minute >= 75) |
addr | 2679 | drivers/cdrom/cdu31a.c | || (ra.addr.msf.second >= 60) |
addr | 2680 | drivers/cdrom/cdu31a.c | || (ra.addr.msf.frame >= 75)) |
addr | 2685 | drivers/cdrom/cdu31a.c | ra.addr.lba = ( (ra.addr.msf.minute * 4500) |
addr | 2686 | drivers/cdrom/cdu31a.c | + (ra.addr.msf.second * 75) |
addr | 2687 | drivers/cdrom/cdu31a.c | + ra.addr.msf.frame); |
addr | 2688 | drivers/cdrom/cdu31a.c | if ( (ra.addr.lba >= sony_toc.lead_out_start_lba) |
addr | 2689 | drivers/cdrom/cdu31a.c | || (ra.addr.lba + ra.nframes >= sony_toc.lead_out_start_lba)) |
addr | 2697 | drivers/cdrom/cdu31a.c | ra.addr.lba -= LOG_START_OFFSET; |
addr | 678 | drivers/cdrom/cm206.c | mssp->addr.lba = fsm2lba(&cd->disc_status[3]); |
addr | 680 | drivers/cdrom/cm206.c | mssp->addr.msf.frame = cd->disc_status[3]; |
addr | 681 | drivers/cdrom/cm206.c | mssp->addr.msf.second = cd->disc_status[4]; |
addr | 682 | drivers/cdrom/cm206.c | mssp->addr.msf.minute = cd->disc_status[5]; |
addr | 475 | drivers/cdrom/mcdx.c | ms.addr.msf.minute = bcd2uint(stuffp->multi.msf_last.minute); |
addr | 476 | drivers/cdrom/mcdx.c | ms.addr.msf.second = bcd2uint(stuffp->multi.msf_last.second); |
addr | 477 | drivers/cdrom/mcdx.c | ms.addr.msf.frame = bcd2uint(stuffp->multi.msf_last.frame); |
addr | 479 | drivers/cdrom/mcdx.c | ms.addr.lba = msf2log(&stuffp->multi.msf_last); |
addr | 493 | drivers/cdrom/mcdx.c | ms.addr.msf.minute, |
addr | 494 | drivers/cdrom/mcdx.c | ms.addr.msf.second, |
addr | 495 | drivers/cdrom/mcdx.c | ms.addr.msf.frame, |
addr | 504 | drivers/cdrom/mcdx.c | ms.addr.lba, |
addr | 563 | drivers/cdrom/optcd.c | static void msf2lba(union cdrom_addr *addr) |
addr | 565 | drivers/cdrom/optcd.c | addr->lba = addr->msf.minute * CD_FPM |
addr | 566 | drivers/cdrom/optcd.c | + addr->msf.second * CD_FRAMES |
addr | 567 | drivers/cdrom/optcd.c | + addr->msf.frame - CD_MSF_OFFSET; |
addr | 573 | drivers/cdrom/optcd.c | static void msf_bcd2bin(union cdrom_addr *addr) |
addr | 575 | drivers/cdrom/optcd.c | addr->msf.minute = bcd2bin(addr->msf.minute); |
addr | 576 | drivers/cdrom/optcd.c | addr->msf.second = bcd2bin(addr->msf.second); |
addr | 577 | drivers/cdrom/optcd.c | addr->msf.frame = bcd2bin(addr->msf.frame); |
addr | 1678 | drivers/cdrom/optcd.c | ms.addr.msf.minute = disk_info.last_session.minute; |
addr | 1679 | drivers/cdrom/optcd.c | ms.addr.msf.second = disk_info.last_session.second; |
addr | 1680 | drivers/cdrom/optcd.c | ms.addr.msf.frame = disk_info.last_session.frame; |
addr | 1686 | drivers/cdrom/optcd.c | msf2lba(&ms.addr); |
addr | 1697 | drivers/cdrom/optcd.c | ms.addr.msf.minute, |
addr | 1698 | drivers/cdrom/optcd.c | ms.addr.msf.second, |
addr | 1699 | drivers/cdrom/optcd.c | ms.addr.msf.frame); |
addr | 1703 | drivers/cdrom/optcd.c | ms.addr.lba, |
addr | 4171 | drivers/cdrom/sbpcd.c | block=msf2lba(&read_audio.addr.msf.minute); |
addr | 4173 | drivers/cdrom/sbpcd.c | block=read_audio.addr.lba; |
addr | 4362 | drivers/cdrom/sbpcd.c | lba2msf(D_S[d].lba_multi,&ms_info.addr.msf.minute); |
addr | 4364 | drivers/cdrom/sbpcd.c | ms_info.addr.lba=D_S[d].lba_multi; |
addr | 4372 | drivers/cdrom/sbpcd.c | ms_info.xa_flag, ms_info.addr.lba); |
addr | 5163 | drivers/cdrom/sbpcd.c | int addr[2]={1, CDROM_PORT}; |
addr | 5193 | drivers/cdrom/sbpcd.c | addr[1]=sbpcd[port_index]; |
addr | 5194 | drivers/cdrom/sbpcd.c | if (addr[1]==0) break; |
addr | 5195 | drivers/cdrom/sbpcd.c | if (check_region(addr[1],4)) |
addr | 5197 | drivers/cdrom/sbpcd.c | msg(DBG_INF,"check_region: %03X is not free.\n",addr[1]); |
addr | 5204 | drivers/cdrom/sbpcd.c | sbpcd_setup(type, addr); |
addr | 5214 | drivers/cdrom/sbpcd.c | if (check_card(addr[1])) continue; |
addr | 108 | drivers/char/ftape/kernel-interface.c | void dmafree(void *addr, int order) |
addr | 110 | drivers/char/ftape/kernel-interface.c | free_pages((unsigned long) addr, order); |
addr | 282 | drivers/char/istallion.c | unsigned long addr; |
addr | 1169 | drivers/char/istallion.c | cp = &((volatile cdkasy_t *) EBRDGETMEMPTR(brdp, portp->addr))->ctrl; |
addr | 1244 | drivers/char/istallion.c | cp = &((volatile cdkasy_t *) EBRDGETMEMPTR(brdp, portp->addr))->ctrl; |
addr | 1481 | drivers/char/istallion.c | ap = (volatile cdkasy_t *) EBRDGETMEMPTR(brdp, portp->addr); |
addr | 1503 | drivers/char/istallion.c | ap = (volatile cdkasy_t *) EBRDGETMEMPTR(brdp, portp->addr); |
addr | 1534 | drivers/char/istallion.c | ap = (volatile cdkasy_t *) EBRDGETMEMPTR(brdp, portp->addr); |
addr | 1633 | drivers/char/istallion.c | ap = (volatile cdkasy_t *) EBRDGETMEMPTR(brdp, portp->addr); |
addr | 1665 | drivers/char/istallion.c | ap = (volatile cdkasy_t *) EBRDGETMEMPTR(brdp, portp->addr); |
addr | 1717 | drivers/char/istallion.c | rp = &((volatile cdkasy_t *) EBRDGETMEMPTR(brdp, portp->addr))->txq; |
addr | 1772 | drivers/char/istallion.c | rp = &((volatile cdkasy_t *) EBRDGETMEMPTR(brdp, portp->addr))->txq; |
addr | 2317 | drivers/char/istallion.c | cp = &((volatile cdkasy_t *) EBRDGETMEMPTR(brdp, portp->addr))->ctrl; |
addr | 2364 | drivers/char/istallion.c | rp = &((volatile cdkasy_t *) EBRDGETMEMPTR(brdp, portp->addr))->rxq; |
addr | 2396 | drivers/char/istallion.c | rp = &((volatile cdkasy_t *) EBRDGETMEMPTR(brdp, portp->addr))->rxq; |
addr | 2470 | drivers/char/istallion.c | ap = (volatile cdkasy_t *) EBRDGETMEMPTR(brdp, portp->addr); |
addr | 3795 | drivers/char/istallion.c | portp->addr = memp->offset; |
addr | 3810 | drivers/char/istallion.c | if (portp->addr == 0) |
addr | 3812 | drivers/char/istallion.c | ap = (volatile cdkasy_t *) EBRDGETMEMPTR(brdp, portp->addr); |
addr | 1114 | drivers/char/keyboard.c | unsigned int *addr; |
addr | 1120 | drivers/char/keyboard.c | unsigned int *addr, unsigned int mask) { |
addr | 1123 | drivers/char/keyboard.c | ledptrs[led].addr = addr; |
addr | 1140 | drivers/char/keyboard.c | if (*ledptrs[0].addr & ledptrs[0].mask) |
addr | 1146 | drivers/char/keyboard.c | if (*ledptrs[1].addr & ledptrs[1].mask) |
addr | 1152 | drivers/char/keyboard.c | if (*ledptrs[2].addr & ledptrs[2].mask) |
addr | 87 | drivers/char/selection.h | static inline void scr_writew(unsigned short val, unsigned short * addr) |
addr | 93 | drivers/char/selection.h | *addr = val; |
addr | 94 | drivers/char/selection.h | if ((unsigned long)addr < video_mem_term && |
addr | 95 | drivers/char/selection.h | (unsigned long)addr >= video_mem_base) { |
addr | 96 | drivers/char/selection.h | tga_blitc(val, (unsigned long) addr); |
addr | 100 | drivers/char/selection.h | static inline unsigned short scr_readw(unsigned short * addr) |
addr | 102 | drivers/char/selection.h | return *addr; |
addr | 120 | drivers/char/selection.h | static inline void scr_writeb(unsigned char val, unsigned char * addr) |
addr | 122 | drivers/char/selection.h | if ((long) addr < 0) |
addr | 123 | drivers/char/selection.h | *addr = val; |
addr | 125 | drivers/char/selection.h | writeb(val, (unsigned long) addr); |
addr | 128 | drivers/char/selection.h | static inline unsigned char scr_readb(unsigned char * addr) |
addr | 130 | drivers/char/selection.h | if ((long) addr < 0) |
addr | 131 | drivers/char/selection.h | return *addr; |
addr | 132 | drivers/char/selection.h | return readb((unsigned long) addr); |
addr | 135 | drivers/char/selection.h | static inline void scr_writew(unsigned short val, unsigned short * addr) |
addr | 137 | drivers/char/selection.h | if ((long) addr < 0) |
addr | 138 | drivers/char/selection.h | *addr = val; |
addr | 140 | drivers/char/selection.h | writew(val, (unsigned long) addr); |
addr | 143 | drivers/char/selection.h | static inline unsigned short scr_readw(unsigned short * addr) |
addr | 145 | drivers/char/selection.h | if ((long) addr < 0) |
addr | 146 | drivers/char/selection.h | return *addr; |
addr | 147 | drivers/char/selection.h | return readw((unsigned long) addr); |
addr | 156 | drivers/char/selection.h | static inline void scr_writeb(unsigned char val, unsigned char * addr) |
addr | 158 | drivers/char/selection.h | *addr = val; |
addr | 161 | drivers/char/selection.h | static inline unsigned char scr_readb(unsigned char * addr) |
addr | 163 | drivers/char/selection.h | return *addr; |
addr | 166 | drivers/char/selection.h | static inline void scr_writew(unsigned short val, unsigned short * addr) |
addr | 168 | drivers/char/selection.h | *addr = val; |
addr | 171 | drivers/char/selection.h | static inline unsigned short scr_readw(unsigned short * addr) |
addr | 173 | drivers/char/selection.h | return *addr; |
addr | 181 | drivers/char/selection.h | unsigned short * addr = (unsigned short *) s; |
addr | 186 | drivers/char/selection.h | scr_writew(c, addr++); |
addr | 789 | drivers/char/tga.c | tga_blitc(unsigned int charattr, unsigned long addr) |
addr | 812 | drivers/char/tga.c | temp = (addr - video_mem_base) >> 1; |
addr | 28 | drivers/isdn/teles/card.c | #define byteout(addr,val) outb_p(val,addr) |
addr | 29 | drivers/isdn/teles/card.c | #define bytein(addr) inb_p(addr) |
addr | 95 | drivers/net/3c503.c | int *addr, addrs[] = { 0xddffe, 0xd9ffe, 0xcdffe, 0xc9ffe, 0}; |
addr | 103 | drivers/net/3c503.c | for (addr = addrs; *addr; addr++) { |
addr | 105 | drivers/net/3c503.c | unsigned int base_bits = readb(*addr); |
addr | 204 | drivers/net/3c505.c | #define GET_ASF(addr) \ |
addr | 205 | drivers/net/3c505.c | (get_status(addr)&ASF_PCB_MASK) |
addr | 1280 | drivers/net/3c505.c | int addr=dev->base_addr; |
addr | 1285 | drivers/net/3c505.c | if (check_region(addr, 0xf)) |
addr | 1288 | drivers/net/3c505.c | orig_HCR=inb_control(addr); |
addr | 1289 | drivers/net/3c505.c | orig_HSR=inb_status(addr); |
addr | 1292 | drivers/net/3c505.c | printk(search_msg, name, addr); |
addr | 1309 | drivers/net/3c505.c | if (GET_ASF(addr) != ASF_PCB_END) |
addr | 1314 | drivers/net/3c505.c | outb_control(orig_HCR & ~DIR,addr); |
addr | 1319 | drivers/net/3c505.c | if (inb_status(addr) & DIR) { |
addr | 1320 | drivers/net/3c505.c | outb_control(orig_HCR,addr); |
addr | 1327 | drivers/net/3c505.c | outb_control(orig_HCR | DIR,addr); |
addr | 1332 | drivers/net/3c505.c | if (!(inb_status(addr) & DIR)) { |
addr | 1333 | drivers/net/3c505.c | outb_control(orig_HCR,addr); |
addr | 125 | drivers/net/3c509.c | static void update_stats(int addr, struct device *dev); |
addr | 242 | drivers/net/3c59x.c | static void update_stats(int addr, struct device *dev); |
addr | 43 | drivers/net/apricot.c | #define check_region(addr, size) 0 |
addr | 44 | drivers/net/apricot.c | #define request_region(addr, size,name) do ; while(0) |
addr | 244 | drivers/net/de4x5.c | int addr; /* MII address for the PHY */ |
addr | 595 | drivers/net/de4x5.c | static void sendto_srom(u_int command, u_long addr); |
addr | 596 | drivers/net/de4x5.c | static int getfrom_srom(u_long addr); |
addr | 603 | drivers/net/de4x5.c | static void mii_address(u_char addr, u_long ioaddr); |
addr | 2174 | drivers/net/de4x5.c | mii_wr(ana, MII_ANA, lp->phy[lp->active].addr, DE4X5_MII); |
addr | 2192 | drivers/net/de4x5.c | mii_wr(MII_CR_ASSE | MII_CR_RAN, MII_CR, lp->phy[lp->active].addr, DE4X5_MII); |
addr | 2215 | drivers/net/de4x5.c | anlpa = mii_rd(MII_ANLPA, lp->phy[lp->active].addr, DE4X5_MII); |
addr | 2216 | drivers/net/de4x5.c | ana = mii_rd(MII_ANA, lp->phy[lp->active].addr, DE4X5_MII); |
addr | 2319 | drivers/net/de4x5.c | mii_wr(MII_CR_RST, MII_CR, lp->phy[lp->active].addr, DE4X5_MII); |
addr | 2398 | drivers/net/de4x5.c | reg = mii_rd(reg, lp->phy[lp->active].addr, DE4X5_MII) & mask; |
addr | 2417 | drivers/net/de4x5.c | spd = mii_rd(lp->phy[lp->active].spd.reg, lp->phy[lp->active].addr, DE4X5_MII); |
addr | 2434 | drivers/net/de4x5.c | mii_rd(MII_SR, lp->phy[lp->active].addr, DE4X5_MII); |
addr | 2435 | drivers/net/de4x5.c | return (mii_rd(MII_SR, lp->phy[lp->active].addr, DE4X5_MII) & MII_SR_LKS); |
addr | 2448 | drivers/net/de4x5.c | mii_rd(MII_SR, lp->phy[lp->active].addr, DE4X5_MII); |
addr | 2449 | drivers/net/de4x5.c | return (mii_rd(MII_SR, lp->phy[lp->active].addr, DE4X5_MII) & MII_SR_LKS); |
addr | 2461 | drivers/net/de4x5.c | return (mii_rd(MII_SR, lp->phy[lp->active].addr, DE4X5_MII) & MII_SR_ANC); |
addr | 2942 | drivers/net/de4x5.c | static short srom_rd(u_long addr, u_char offset) |
addr | 2944 | drivers/net/de4x5.c | sendto_srom(SROM_RD | SROM_SR, addr); |
addr | 2946 | drivers/net/de4x5.c | srom_latch(SROM_RD | SROM_SR | DT_CS, addr); |
addr | 2947 | drivers/net/de4x5.c | srom_command(SROM_RD | SROM_SR | DT_IN | DT_CS, addr); |
addr | 2948 | drivers/net/de4x5.c | srom_address(SROM_RD | SROM_SR | DT_CS, addr, offset); |
addr | 2950 | drivers/net/de4x5.c | return srom_data(SROM_RD | SROM_SR | DT_CS, addr); |
addr | 2953 | drivers/net/de4x5.c | static void srom_latch(u_int command, u_long addr) |
addr | 2955 | drivers/net/de4x5.c | sendto_srom(command, addr); |
addr | 2956 | drivers/net/de4x5.c | sendto_srom(command | DT_CLK, addr); |
addr | 2957 | drivers/net/de4x5.c | sendto_srom(command, addr); |
addr | 2962 | drivers/net/de4x5.c | static void srom_command(u_int command, u_long addr) |
addr | 2964 | drivers/net/de4x5.c | srom_latch(command, addr); |
addr | 2965 | drivers/net/de4x5.c | srom_latch(command, addr); |
addr | 2966 | drivers/net/de4x5.c | srom_latch((command & 0x0000ff00) | DT_CS, addr); |
addr | 2971 | drivers/net/de4x5.c | static void srom_address(u_int command, u_long addr, u_char offset) |
addr | 2978 | drivers/net/de4x5.c | srom_latch(command | ((a < 0) ? DT_IN : 0), addr); |
addr | 2982 | drivers/net/de4x5.c | i = (getfrom_srom(addr) >> 3) & 0x01; |
addr | 2990 | drivers/net/de4x5.c | static short srom_data(u_int command, u_long addr) |
addr | 2997 | drivers/net/de4x5.c | sendto_srom(command | DT_CLK, addr); |
addr | 2998 | drivers/net/de4x5.c | tmp = getfrom_srom(addr); |
addr | 2999 | drivers/net/de4x5.c | sendto_srom(command, addr); |
addr | 3004 | drivers/net/de4x5.c | sendto_srom(command & 0x0000ff00, addr); |
addr | 3024 | drivers/net/de4x5.c | static void sendto_srom(u_int command, u_long addr) |
addr | 3026 | drivers/net/de4x5.c | outl(command, addr); |
addr | 3032 | drivers/net/de4x5.c | static int getfrom_srom(u_long addr) |
addr | 3036 | drivers/net/de4x5.c | tmp = inl(addr); |
addr | 3097 | drivers/net/de4x5.c | static void mii_address(u_char addr, u_long ioaddr) |
addr | 3101 | drivers/net/de4x5.c | addr = mii_swap(addr, 5); |
addr | 3103 | drivers/net/de4x5.c | sendto_mii(MII_MWR | MII_WR, addr, ioaddr); |
addr | 3104 | drivers/net/de4x5.c | addr >>= 1; |
addr | 3229 | drivers/net/de4x5.c | lp->phy[k].addr = i; |
addr | 3239 | drivers/net/de4x5.c | mii_wr(MII_CR_RST, MII_CR, lp->phy[k].addr, DE4X5_MII); |
addr | 3240 | drivers/net/de4x5.c | while (mii_rd(MII_CR, lp->phy[k].addr, DE4X5_MII) & MII_CR_RST); |
addr | 3425 | drivers/net/de4x5.c | printk("\nMII CR: %x\n",mii_rd(MII_CR,lp->phy[k].addr,DE4X5_MII)); |
addr | 3426 | drivers/net/de4x5.c | printk("MII SR: %x\n",mii_rd(MII_SR,lp->phy[k].addr,DE4X5_MII)); |
addr | 3427 | drivers/net/de4x5.c | printk("MII ID0: %x\n",mii_rd(MII_ID0,lp->phy[k].addr,DE4X5_MII)); |
addr | 3428 | drivers/net/de4x5.c | printk("MII ID1: %x\n",mii_rd(MII_ID1,lp->phy[k].addr,DE4X5_MII)); |
addr | 3430 | drivers/net/de4x5.c | printk("MII ANA: %x\n",mii_rd(0x04,lp->phy[k].addr,DE4X5_MII)); |
addr | 3431 | drivers/net/de4x5.c | printk("MII ANC: %x\n",mii_rd(0x05,lp->phy[k].addr,DE4X5_MII)); |
addr | 3433 | drivers/net/de4x5.c | printk("MII 16: %x\n",mii_rd(0x10,lp->phy[k].addr,DE4X5_MII)); |
addr | 3435 | drivers/net/de4x5.c | printk("MII 17: %x\n",mii_rd(0x11,lp->phy[k].addr,DE4X5_MII)); |
addr | 3436 | drivers/net/de4x5.c | printk("MII 18: %x\n",mii_rd(0x12,lp->phy[k].addr,DE4X5_MII)); |
addr | 3438 | drivers/net/de4x5.c | printk("MII 20: %x\n",mii_rd(0x14,lp->phy[k].addr,DE4X5_MII)); |
addr | 3511 | drivers/net/de4x5.c | u8 addr[(HASH_TABLE_LEN * ETH_ALEN)]; |
addr | 3523 | drivers/net/de4x5.c | tmp.addr[i] = dev->dev_addr[i]; |
addr | 3525 | drivers/net/de4x5.c | memcpy_tofs(ioc->data, tmp.addr, ioc->len); |
addr | 3536 | drivers/net/de4x5.c | memcpy_fromfs(tmp.addr, ioc->data, ETH_ALEN); |
addr | 3538 | drivers/net/de4x5.c | dev->dev_addr[i] = tmp.addr[i]; |
addr | 3592 | drivers/net/de4x5.c | memcpy_fromfs(tmp.addr, ioc->data, ETH_ALEN * ioc->len); |
addr | 3644 | drivers/net/de4x5.c | tmp.addr[0] = inl(DE4X5_OMR); |
addr | 3646 | drivers/net/de4x5.c | memcpy_tofs(ioc->data, tmp.addr, 1); |
addr | 3653 | drivers/net/de4x5.c | memcpy_fromfs(tmp.addr, ioc->data, 1); |
addr | 3654 | drivers/net/de4x5.c | outl(tmp.addr[0], DE4X5_OMR); |
addr | 3673 | drivers/net/de4x5.c | memcpy_tofs(ioc->data, tmp.addr, ioc->len); |
addr | 3681 | drivers/net/de4x5.c | tmp.addr[j++] = dev->irq; |
addr | 3683 | drivers/net/de4x5.c | tmp.addr[j++] = dev->dev_addr[i]; |
addr | 3685 | drivers/net/de4x5.c | tmp.addr[j++] = lp->rxRingSize; |
addr | 3742 | drivers/net/de4x5.c | tmp.lval[j>>2]=mii_rd(MII_CR,lp->phy[lp->active].addr,DE4X5_MII); j+=4; |
addr | 3743 | drivers/net/de4x5.c | tmp.lval[j>>2]=mii_rd(MII_SR,lp->phy[lp->active].addr,DE4X5_MII); j+=4; |
addr | 3744 | drivers/net/de4x5.c | tmp.lval[j>>2]=mii_rd(MII_ID0,lp->phy[lp->active].addr,DE4X5_MII); j+=4; |
addr | 3745 | drivers/net/de4x5.c | tmp.lval[j>>2]=mii_rd(MII_ID1,lp->phy[lp->active].addr,DE4X5_MII); j+=4; |
addr | 3747 | drivers/net/de4x5.c | tmp.lval[j>>2]=mii_rd(MII_ANA,lp->phy[lp->active].addr,DE4X5_MII); j+=4; |
addr | 3748 | drivers/net/de4x5.c | tmp.lval[j>>2]=mii_rd(MII_ANLPA,lp->phy[lp->active].addr,DE4X5_MII); j+=4; |
addr | 3750 | drivers/net/de4x5.c | tmp.lval[j>>2]=mii_rd(0x10,lp->phy[lp->active].addr,DE4X5_MII); j+=4; |
addr | 3752 | drivers/net/de4x5.c | tmp.lval[j>>2]=mii_rd(0x11,lp->phy[lp->active].addr,DE4X5_MII); j+=4; |
addr | 3753 | drivers/net/de4x5.c | tmp.lval[j>>2]=mii_rd(0x12,lp->phy[lp->active].addr,DE4X5_MII); j+=4; |
addr | 3755 | drivers/net/de4x5.c | tmp.lval[j>>2]=mii_rd(0x14,lp->phy[lp->active].addr,DE4X5_MII); j+=4; |
addr | 3759 | drivers/net/de4x5.c | tmp.addr[j++] = lp->txRingSize; |
addr | 3760 | drivers/net/de4x5.c | tmp.addr[j++] = dev->tbusy; |
addr | 3764 | drivers/net/de4x5.c | memcpy_tofs(ioc->data, tmp.addr, ioc->len); |
addr | 746 | drivers/net/de4x5.h | mii_wr(MII_CR_10|MII_CR_ASSE,MII_CR,lp->phy[lp->active].addr,DE4X5_MII);\ |
addr | 761 | drivers/net/de4x5.h | mii_wr(MII_CR_100|MII_CR_ASSE, MII_CR, lp->phy[lp->active].addr, DE4X5_MII);\ |
addr | 763 | drivers/net/de4x5.h | sr = mii_rd(MII_SR, lp->phy[lp->active].addr, DE4X5_MII);\ |
addr | 293 | drivers/net/de600.c | #define de600_setup_address(addr,type) ( \ |
addr | 294 | drivers/net/de600.c | outb_p((((addr) << 4) & 0xf0) | type , DATA_PORT), \ |
addr | 295 | drivers/net/de600.c | outb_p(( (addr) & 0xf0) | type | HI_NIBBLE, DATA_PORT), \ |
addr | 296 | drivers/net/de600.c | outb_p((((addr) >> 4) & 0xf0) | type , DATA_PORT), \ |
addr | 297 | drivers/net/de600.c | outb_p((((addr) >> 8) & 0xf0) | type | HI_NIBBLE, DATA_PORT)) |
addr | 1706 | drivers/net/depca.c | u8 addr[(HASH_TABLE_LEN * ETH_ALEN)]; |
addr | 1714 | drivers/net/depca.c | tmp.addr[i] = dev->dev_addr[i]; |
addr | 1718 | drivers/net/depca.c | memcpy_tofs(ioc->data, tmp.addr, ioc->len); |
addr | 1725 | drivers/net/depca.c | memcpy_fromfs(tmp.addr,ioc->data,ETH_ALEN); |
addr | 1727 | drivers/net/depca.c | dev->dev_addr[i] = tmp.addr[i]; |
addr | 1794 | drivers/net/depca.c | memcpy_fromfs(tmp.addr, ioc->data, ETH_ALEN * ioc->len); |
addr | 1845 | drivers/net/depca.c | memcpy_tofs(ioc->data, tmp.addr, ioc->len); |
addr | 1680 | drivers/net/ewrk3.c | u_char addr[HASH_TABLE_LEN * ETH_ALEN]; |
addr | 1687 | drivers/net/ewrk3.c | tmp.addr[i] = dev->dev_addr[i]; |
addr | 1691 | drivers/net/ewrk3.c | memcpy_tofs(ioc->data, tmp.addr, ioc->len); |
addr | 1702 | drivers/net/ewrk3.c | memcpy_fromfs(tmp.addr,ioc->data,ETH_ALEN); |
addr | 1704 | drivers/net/ewrk3.c | dev->dev_addr[i] = tmp.addr[i]; |
addr | 1705 | drivers/net/ewrk3.c | outb(tmp.addr[i], EWRK3_PAR0 + i); |
addr | 1748 | drivers/net/ewrk3.c | tmp.addr[i] = inb(EWRK3_DATA); |
addr | 1752 | drivers/net/ewrk3.c | memcpy_fromio(tmp.addr, (char *)(lp->shmem_base + PAGE0_HTE), (HASH_TABLE_LEN >> 3)); |
addr | 1755 | drivers/net/ewrk3.c | memcpy_tofs(ioc->data, tmp.addr, ioc->len); |
addr | 1763 | drivers/net/ewrk3.c | memcpy_fromfs(tmp.addr, ioc->data, ETH_ALEN * ioc->len); |
addr | 1810 | drivers/net/ewrk3.c | tmp.addr[0] = inb(EWRK3_CSR); |
addr | 1813 | drivers/net/ewrk3.c | memcpy_tofs(ioc->data, tmp.addr, ioc->len); |
addr | 1820 | drivers/net/ewrk3.c | memcpy_fromfs(tmp.addr, ioc->data, 1); |
addr | 1821 | drivers/net/ewrk3.c | outb(tmp.addr[0], EWRK3_CSR); |
addr | 1834 | drivers/net/ewrk3.c | tmp.addr[i++] = inb(EWRK3_CMR); /* Config/Management Reg. */ |
addr | 1836 | drivers/net/ewrk3.c | tmp.addr[i++] = inb(EWRK3_PAR0 + j); |
addr | 1840 | drivers/net/ewrk3.c | memcpy_tofs(ioc->data, tmp.addr, ioc->len); |
addr | 1850 | drivers/net/ewrk3.c | memcpy_fromfs(tmp.addr, ioc->data, EEPROM_MAX); |
addr | 1861 | drivers/net/ewrk3.c | tmp.addr[0] = inb(EWRK3_CMR); |
addr | 1864 | drivers/net/ewrk3.c | memcpy_tofs(ioc->data, tmp.addr, ioc->len); |
addr | 301 | drivers/net/hp.c | int addr = (high << 8) + low; |
addr | 303 | drivers/net/hp.c | if (((ring_offset + xfer_count) & 0xff) != (addr & 0xff)) |
addr | 305 | drivers/net/hp.c | dev->name, ring_offset + xfer_count, addr); |
addr | 359 | drivers/net/hp.c | int addr = (high << 8) + low; |
addr | 360 | drivers/net/hp.c | if ((start_page << 8) + count != addr) |
addr | 362 | drivers/net/hp.c | dev->name, (start_page << 8) + count, addr); |
addr | 539 | drivers/net/ne.c | int addr, tries = 20; |
addr | 545 | drivers/net/ne.c | addr = (high << 8) + low; |
addr | 552 | drivers/net/ne.c | dev->name, ring_offset + xfer_count, addr); |
addr | 628 | drivers/net/ne.c | int addr, tries = 20; |
addr | 632 | drivers/net/ne.c | addr = (high << 8) + low; |
addr | 633 | drivers/net/ne.c | if ((start_page << 8) + count == addr) |
addr | 639 | drivers/net/ne.c | dev->name, (start_page << 8) + count, addr); |
addr | 140 | drivers/net/net_init.c | struct sockaddr *addr=p; |
addr | 143 | drivers/net/net_init.c | memcpy(dev->dev_addr, addr->sa_data,dev->addr_len); |
addr | 180 | drivers/net/ni52.c | #define WAIT_4_STAT_COMPL(addr) { int i; \ |
addr | 182 | drivers/net/ni52.c | if((addr)->cmd_status & STAT_COMPL) break; \ |
addr | 164 | drivers/net/pi2.c | static int valid_dma_page(unsigned long addr, unsigned long dev_buffsize); |
addr | 1270 | drivers/net/pi2.c | static int valid_dma_page(unsigned long addr, unsigned long dev_buffsize) |
addr | 1272 | drivers/net/pi2.c | if (((addr & 0xffff) + dev_buffsize) <= 0x10000) |
addr | 1516 | drivers/net/ppp.c | int addr, ctrl, proto; |
addr | 1564 | drivers/net/ppp.c | addr = PPP_ALLSTATIONS; |
addr | 1587 | drivers/net/ppp.c | *(--data) = addr; |
addr | 133 | drivers/net/pt.c | static int valid_dma_page(unsigned long addr, unsigned long dev_buffsize); |
addr | 733 | drivers/net/pt.c | static int valid_dma_page(unsigned long addr, unsigned long dev_bufsize) |
addr | 735 | drivers/net/pt.c | if (((addr & 0xffff) + dev_bufsize) <= 0x10000) |
addr | 70 | drivers/net/sdla.c | #define SDLA_WINDOW(dev,addr) outb((((addr) >> 13) & 0x1F), (dev)->base_addr + SDLA_REG_Z80_WINDOW) |
addr | 72 | drivers/net/sdla.c | static void sdla_read(struct device *dev, int addr, void *buf, short len) |
addr | 81 | drivers/net/sdla.c | offset = addr & 0x1FFF; |
addr | 92 | drivers/net/sdla.c | SDLA_WINDOW(dev, addr); |
addr | 96 | drivers/net/sdla.c | addr += bytes; |
addr | 102 | drivers/net/sdla.c | static void sdla_write(struct device *dev, int addr, void *buf, short len) |
addr | 111 | drivers/net/sdla.c | offset = addr & 0x1FFF; |
addr | 122 | drivers/net/sdla.c | SDLA_WINDOW(dev, addr); |
addr | 126 | drivers/net/sdla.c | addr += bytes; |
addr | 136 | drivers/net/sdla.c | int offset, len, addr, bytes; |
addr | 139 | drivers/net/sdla.c | addr = 0; |
addr | 142 | drivers/net/sdla.c | offset = addr & 0x1FFF; |
addr | 153 | drivers/net/sdla.c | SDLA_WINDOW(dev, addr); |
addr | 157 | drivers/net/sdla.c | addr += bytes; |
addr | 162 | drivers/net/sdla.c | static char sdla_byte(struct device *dev, int addr) |
addr | 168 | drivers/net/sdla.c | temp += addr & 0x1FFF; |
addr | 172 | drivers/net/sdla.c | SDLA_WINDOW(dev, addr); |
addr | 628 | drivers/net/sdla.c | int ret, addr; |
addr | 654 | drivers/net/sdla.c | size = sizeof(addr); |
addr | 655 | drivers/net/sdla.c | ret = sdla_cmd(dev, SDLA_INFORMATION_WRITE, *(short *)(skb->dev->dev_addr), 0, NULL, skb->len, &addr, &size); |
addr | 660 | drivers/net/sdla.c | SDLA_WINDOW(dev, addr); |
addr | 661 | drivers/net/sdla.c | pbuf = (void *)(((int) dev->mem_start) + (addr & 0x1FFF)); |
addr | 665 | drivers/net/sdla.c | SDLA_WINDOW(dev, addr); |
addr | 704 | drivers/net/sdla.c | int i, received, success, addr; |
addr | 712 | drivers/net/sdla.c | addr = 0; |
addr | 768 | drivers/net/sdla.c | addr = pbuf->buf_addr; |
addr | 793 | drivers/net/sdla.c | split = addr + len > pbufi->buf_top + 1 ? pbufi->buf_top - addr + 1 : 0; |
addr | 797 | drivers/net/sdla.c | sdla_read(dev, addr, skb_put(skb, len), len); |
addr | 1179 | drivers/net/sdla.c | sdla_read(dev, mem.addr, temp, mem.len); |
addr | 1193 | drivers/net/sdla.c | sdla_write(dev, mem.addr, temp, mem.len); |
addr | 1016 | drivers/net/slip.c | sl_set_mac_address(struct device *dev, void *addr) |
addr | 1020 | drivers/net/slip.c | err = verify_area(VERIFY_READ, addr, AX25_ADDR_LEN); |
addr | 1025 | drivers/net/slip.c | memcpy_fromfs(dev->dev_addr, addr, AX25_ADDR_LEN); /* addr is an AX.25 shifted ASCII mac address */ |
addr | 1031 | drivers/net/slip.c | sl_set_dev_mac_address(struct device *dev, void *addr) |
addr | 1033 | drivers/net/slip.c | struct sockaddr *sa=addr; |
addr | 126 | drivers/net/smc-ultra.c | unsigned char num_pages, irqreg, addr; |
addr | 166 | drivers/net/smc-ultra.c | addr = inb(ioaddr + 0xb); |
addr | 203 | drivers/net/smc-ultra.c | dev->mem_start = ((addr & 0x0f) << 13) + addr_tbl[(addr >> 6) & 3] ; |
addr | 204 | drivers/net/smc-ultra.c | num_pages = num_pages_tbl[(addr >> 4) & 3]; |
addr | 1006 | drivers/net/strip.c | static int strip_set_dev_mac_address(struct device *dev, void *addr) |
addr | 1008 | drivers/net/strip.c | memcpy(dev->dev_addr, addr, 7); |
addr | 368 | drivers/net/tulip.c | u_char addr[ETH_ALEN]; |
addr | 373 | drivers/net/tulip.c | u_char addr[ETH_ALEN]; |
addr | 376 | drivers/net/tulip.c | #define ng_addr hw.ng.addr |
addr | 377 | drivers/net/tulip.c | #define ok_addr hw.ok.addr |
addr | 1139 | drivers/net/tulip.c | set_mac_address(struct device *dev, void *addr) |
addr | 1142 | drivers/net/tulip.c | struct sockaddr *sa=(struct sockaddr *)addr; |
addr | 1245 | drivers/net/tulip.c | u_char *addr; |
addr | 1248 | drivers/net/tulip.c | addr = eep.ng_addr;/* broken EEPROM structure */ |
addr | 1250 | drivers/net/tulip.c | addr = eep.ok_addr;/* DEC EtherWorks */ |
addr | 1253 | drivers/net/tulip.c | sum += addr[i]; |
addr | 1254 | drivers/net/tulip.c | dev->dev_addr[i] = addr[i]; |
addr | 1578 | drivers/net/wavelan.c | unsigned char addr[WAVELAN_ADDR_SIZE]; |
addr | 1585 | drivers/net/wavelan.c | obram_read(ioaddr, rbd.rbd_bufl + sizeof(addr), &addr[0], sizeof(addr)); |
addr | 1592 | drivers/net/wavelan.c | addrcmp(&addr[0], toweraddr) != 0 |
addr | 1597 | drivers/net/wavelan.c | printk("%s%02x", (i == 0) ? "" : ":", addr[i]); |
addr | 1605 | drivers/net/wavelan.c | unsigned char addr[WAVELAN_ADDR_SIZE]; |
addr | 1622 | drivers/net/wavelan.c | obram_read(ioaddr, rbd.rbd_bufl, &addr[0], sizeof(addr)); |
addr | 1625 | drivers/net/wavelan.c | printk("%s%02x", (i == 0) ? "" : ":", addr[i]); |
addr | 1628 | drivers/net/wavelan.c | obram_read(ioaddr, rbd.rbd_bufl + sizeof(addr), &addr[0], sizeof(addr)); |
addr | 1631 | drivers/net/wavelan.c | printk("%s%02x", (i == 0) ? "" : ":", addr[i]); |
addr | 1634 | drivers/net/wavelan.c | obram_read(ioaddr, rbd.rbd_bufl + sizeof(addr) * 2, (unsigned char *)<ype, sizeof(ltype)); |
addr | 367 | drivers/net/znet.c | unsigned addr = inb(dma_port); |
addr | 368 | drivers/net/znet.c | addr |= inb(dma_port) << 8; |
addr | 369 | drivers/net/znet.c | addr <<= 1; |
addr | 370 | drivers/net/znet.c | if (((int)zn.tx_cur & 0x1ffff) != addr) |
addr | 372 | drivers/net/znet.c | (int)zn.tx_cur & 0xffff, addr); |
addr | 373 | drivers/net/znet.c | zn.tx_cur = (ushort *)(((int)zn.tx_cur & 0xfe0000) | addr); |
addr | 668 | drivers/net/znet.c | unsigned addr = inb(dma_port); |
addr | 669 | drivers/net/znet.c | addr |= inb(dma_port) << 8; |
addr | 670 | drivers/net/znet.c | printk("Addr: %04x cnt:%3x...", addr<<1, get_dma_residue(zn.tx_dma)); |
addr | 277 | drivers/pci/pci.c | unsigned char addr; /* config space address */ |
addr | 540 | drivers/pci/pci.c | if (!bmap->addr) { |
addr | 543 | drivers/pci/pci.c | pcibios_read_config_byte(bus, devfn, bmap->addr, &val); |
addr | 548 | drivers/pci/pci.c | bmap->addr, |
addr | 557 | drivers/pci/pci.c | bmap->addr, |
addr | 267 | drivers/scsi/53c7,8xx.c | static int check_address (unsigned long addr, int size); |
addr | 3094 | drivers/scsi/53c7,8xx.c | memcpy ((void *) bp->addr, (void *) bp->old, sizeof(bp->old)); |
addr | 3127 | drivers/scsi/53c7,8xx.c | bp->addr, bp->old[0], bp->old[1]); |
addr | 3131 | drivers/scsi/53c7,8xx.c | sprintf(buf + len, "%08x\n", * (u32 *) bp->addr); |
addr | 6345 | drivers/scsi/53c7,8xx.c | check_address (unsigned long addr, int size) { |
addr | 6346 | drivers/scsi/53c7,8xx.c | return (MAP_NR(addr) < 1 || MAP_NR(addr + size) > MAP_NR(high_memory) ? |
addr | 118 | drivers/scsi/53c7,8xx.h | #define readb(addr) (*(volatile unsigned char *) (addr)) |
addr | 119 | drivers/scsi/53c7,8xx.h | #define readw(addr) (*(volatile unsigned short *) (addr)) |
addr | 120 | drivers/scsi/53c7,8xx.h | #define readl(addr) (*(volatile unsigned int *) (addr)) |
addr | 122 | drivers/scsi/53c7,8xx.h | #define writeb(b,addr) ((*(volatile unsigned char *) (addr)) = (b)) |
addr | 123 | drivers/scsi/53c7,8xx.h | #define writew(b,addr) ((*(volatile unsigned short *) (addr)) = (b)) |
addr | 124 | drivers/scsi/53c7,8xx.h | #define writel(b,addr) ((*(volatile unsigned int *) (addr)) = (b)) |
addr | 297 | drivers/scsi/AM53C974.h | #define AM53C974_read_8(addr) inb(io_port + (addr)) |
addr | 298 | drivers/scsi/AM53C974.h | #define AM53C974_write_8(addr,x) outb((x), io_port + (addr)) |
addr | 299 | drivers/scsi/AM53C974.h | #define AM53C974_read_16(addr) inw(io_port + (addr)) |
addr | 300 | drivers/scsi/AM53C974.h | #define AM53C974_write_16(addr,x) outw((x), io_port + (addr)) |
addr | 301 | drivers/scsi/AM53C974.h | #define AM53C974_read_32(addr) inl(io_port + (addr)) |
addr | 302 | drivers/scsi/AM53C974.h | #define AM53C974_write_32(addr,x) outl((x), io_port + (addr)) |
addr | 1161 | drivers/scsi/advansys.c | ulong addr; |
addr | 1713 | drivers/scsi/advansys.c | #define AscSetChipLramAddr( port, addr ) outpw( ( PortAddr )( (port)+IOP_RAM_ADDR ), addr ) |
addr | 3772 | drivers/scsi/advansys.c | sghead.sg_list[sgcnt].addr = (ulong) slp->address; |
addr | 4533 | drivers/scsi/advansys.c | asc_sg_head_ptr->sg_list[0].addr = (ulong) buf_addr; |
addr | 4895 | drivers/scsi/advansys.c | i, (unsigned) sgp->sg_list[i].addr, sgp->sg_list[i].bytes); |
addr | 6050 | drivers/scsi/advansys.c | ulong addr; |
addr | 6113 | drivers/scsi/advansys.c | scsiq->q1.data_addr = scsiq->sg_head->sg_list[0].addr; |
addr | 6128 | drivers/scsi/advansys.c | addr = scsiq->sg_head->sg_list[i].addr + |
addr | 6131 | drivers/scsi/advansys.c | if (((ushort) addr & 0x0003) != 0) { |
addr | 6144 | drivers/scsi/advansys.c | addr = scsiq->sg_head->sg_list[sg_entry_cnt_minus_one].addr + |
addr | 6146 | drivers/scsi/advansys.c | if (((ushort) addr & 0x0003) != 0) { |
addr | 6189 | drivers/scsi/advansys.c | addr = scsiq->q1.data_addr + scsiq->q1.data_cnt; |
addr | 6192 | drivers/scsi/advansys.c | if (((ushort) addr & 0x0003) != 0) { |
addr | 6524 | drivers/scsi/advansys.c | scsiq->q1.data_addr = sg_head->sg_list[0].addr; |
addr | 7357 | drivers/scsi/advansys.c | return (sg_head.sg_list[0].addr); |
addr | 8197 | drivers/scsi/advansys.c | uchar addr |
addr | 8205 | drivers/scsi/advansys.c | cmd_reg = addr | ASC_EEP_CMD_READ; |
addr | 8216 | drivers/scsi/advansys.c | uchar addr, |
addr | 8222 | drivers/scsi/advansys.c | read_wval = AscReadEEPWord(iop_base, addr); |
addr | 8231 | drivers/scsi/advansys.c | (uchar) ((uchar) ASC_EEP_CMD_WRITE | addr)); |
addr | 8236 | drivers/scsi/advansys.c | return (AscReadEEPWord(iop_base, addr)); |
addr | 8805 | drivers/scsi/advansys.c | ushort addr |
addr | 8811 | drivers/scsi/advansys.c | if (isodd_word(addr)) { |
addr | 8812 | drivers/scsi/advansys.c | AscSetChipLramAddr(iop_base, addr - 1); |
addr | 8822 | drivers/scsi/advansys.c | AscSetChipLramAddr(iop_base, addr); |
addr | 8838 | drivers/scsi/advansys.c | ushort addr |
addr | 8843 | drivers/scsi/advansys.c | AscSetChipLramAddr(iop_base, addr); |
addr | 8851 | drivers/scsi/advansys.c | ushort addr |
addr | 8857 | drivers/scsi/advansys.c | AscSetChipLramAddr(iop_base, addr); |
addr | 8875 | drivers/scsi/advansys.c | ushort addr, |
addr | 8879 | drivers/scsi/advansys.c | AscSetChipLramAddr(iop_base, addr); |
addr | 8887 | drivers/scsi/advansys.c | ushort addr, |
addr | 8893 | drivers/scsi/advansys.c | AscSetChipLramAddr(iop_base, addr); |
addr | 8912 | drivers/scsi/advansys.c | ushort addr, |
addr | 8918 | drivers/scsi/advansys.c | if (isodd_word(addr)) { |
addr | 8919 | drivers/scsi/advansys.c | addr--; |
addr | 8920 | drivers/scsi/advansys.c | word_data = AscReadLramWord(iop_base, addr); |
addr | 8924 | drivers/scsi/advansys.c | word_data = AscReadLramWord(iop_base, addr); |
addr | 8928 | drivers/scsi/advansys.c | AscWriteLramWord(iop_base, addr, word_data); |
addr | 8935 | drivers/scsi/advansys.c | ushort addr, |
addr | 8942 | drivers/scsi/advansys.c | AscSetChipLramAddr(iop_base, addr); |
addr | 8944 | drivers/scsi/advansys.c | AscSetChipLramAddr(iop_base, addr); |
addr | 1695 | drivers/scsi/aic7xxx.c | void *addr; |
addr | 2068 | drivers/scsi/aic7xxx.c | addr = scb->sense_cmd; |
addr | 2070 | drivers/scsi/aic7xxx.c | memcpy(scb->SCSI_cmd_pointer, &addr, |
addr | 4023 | drivers/scsi/aic7xxx.c | void *addr; |
addr | 4090 | drivers/scsi/aic7xxx.c | addr = cmd->cmnd; |
addr | 4092 | drivers/scsi/aic7xxx.c | memcpy(scb->SCSI_cmd_pointer, &addr, sizeof(scb->SCSI_cmd_pointer)); |
addr | 4130 | drivers/scsi/aic7xxx.c | addr = &scb->sg; |
addr | 4131 | drivers/scsi/aic7xxx.c | memcpy(scb->SG_list_pointer, &addr, sizeof(scb->SG_list_pointer)); |
addr | 287 | drivers/scsi/aic7xxx_asm.c | unsigned int addr; /* NA or pos_from_0 */ |
addr | 503 | drivers/scsi/aic7xxx_asm.c | I_addr = eval_addr(a, instr[i].addr); |
addr | 337 | drivers/scsi/eata.c | static inline unchar do_dma (ushort iobase, unsigned int addr, unchar cmd) { |
addr | 341 | drivers/scsi/eata.c | if (addr) { |
addr | 342 | drivers/scsi/eata.c | outb((char) addr, iobase + REG_LOW); |
addr | 343 | drivers/scsi/eata.c | outb((char) (addr >> 8), iobase + REG_LM); |
addr | 344 | drivers/scsi/eata.c | outb((char) (addr >> 16), iobase + REG_MID); |
addr | 345 | drivers/scsi/eata.c | outb((char) (addr >> 24), iobase + REG_MSB); |
addr | 309 | drivers/scsi/eata_dma.c | inline int eata_send_command(u32 addr, u32 base, u8 command) |
addr | 318 | drivers/scsi/eata_dma.c | outb( addr & 0x000000ff, base + HA_WDMAADDR); |
addr | 319 | drivers/scsi/eata_dma.c | outb((addr & 0x0000ff00) >> 8, base + HA_WDMAADDR + 1); |
addr | 320 | drivers/scsi/eata_dma.c | outb((addr & 0x00ff0000) >> 16, base + HA_WDMAADDR + 2); |
addr | 321 | drivers/scsi/eata_dma.c | outb((addr & 0xff000000) >> 24, base + HA_WDMAADDR + 3); |
addr | 327 | drivers/scsi/eata_dma.c | inline int eata_send_immediate(u32 addr, u32 base, u8 cmnd, u8 cmnd2, u8 id, |
addr | 330 | drivers/scsi/eata_dma.c | if(addr){ |
addr | 331 | drivers/scsi/eata_dma.c | outb( addr & 0x000000ff, base + HA_WDMAADDR); |
addr | 332 | drivers/scsi/eata_dma.c | outb((addr & 0x0000ff00) >> 8, base + HA_WDMAADDR + 1); |
addr | 333 | drivers/scsi/eata_dma.c | outb((addr & 0x00ff0000) >> 16, base + HA_WDMAADDR + 2); |
addr | 334 | drivers/scsi/eata_dma.c | outb((addr & 0xff000000) >> 24, base + HA_WDMAADDR + 3); |
addr | 539 | drivers/scsi/sr_ioctl.c | ms_info.addr.msf.minute = lba / (CD_SECS*CD_FRAMES); |
addr | 541 | drivers/scsi/sr_ioctl.c | ms_info.addr.msf.second = lba / CD_FRAMES; |
addr | 542 | drivers/scsi/sr_ioctl.c | ms_info.addr.msf.frame = lba % CD_FRAMES; |
addr | 544 | drivers/scsi/sr_ioctl.c | ms_info.addr.lba=scsi_CDs[target].mpcd_sector; |
addr | 541 | drivers/scsi/ultrastor.c | unsigned short addr = (i << 12) | ULTRASTOR_24F_PORT; |
addr | 543 | drivers/scsi/ultrastor.c | if (inb(addr) != US24F_PRODUCT_ID_0 && |
addr | 544 | drivers/scsi/ultrastor.c | inb(addr+1) != US24F_PRODUCT_ID_1 && |
addr | 545 | drivers/scsi/ultrastor.c | inb(addr+2) != US24F_PRODUCT_ID_2) |
addr | 548 | drivers/scsi/ultrastor.c | config.revision = inb(addr+3); |
addr | 550 | drivers/scsi/ultrastor.c | if (! (inb(addr+4) & 1)) |
addr | 560 | drivers/scsi/ultrastor.c | config_1 = inb(addr + 5); |
addr | 588 | drivers/scsi/ultrastor.c | config.port_address = addr; |
addr | 589 | drivers/scsi/ultrastor.c | config.doorbell_address = addr + 12; |
addr | 590 | drivers/scsi/ultrastor.c | config.ogm_address = addr + 0x17; |
addr | 591 | drivers/scsi/ultrastor.c | config.icm_address = addr + 0x1C; |
addr | 592 | drivers/scsi/ultrastor.c | config_2 = inb(addr + 7); |
addr | 618 | drivers/scsi/ultrastor.c | outb(0, addr + 0x16); |
addr | 619 | drivers/scsi/ultrastor.c | outb(0, addr + 0x1B); |
addr | 623 | drivers/scsi/ultrastor.c | outb(ultrastor_bus_reset ? 0xc2 : 0x82, LCL_DOORBELL_MASK(addr+12)); |
addr | 624 | drivers/scsi/ultrastor.c | outb(0x02, SYS_DOORBELL_MASK(addr+12)); |
addr | 202 | drivers/sound/dev_table.h | int (*load_patch) (int dev, int format, const char *addr, |
addr | 181 | drivers/sound/gus_wave.c | static void gus_poke (long addr, unsigned char data); |
addr | 225 | drivers/sound/gus_wave.c | gus_poke (long addr, unsigned char data) |
addr | 232 | drivers/sound/gus_wave.c | outb (addr & 0xff, u_DataLo); |
addr | 233 | drivers/sound/gus_wave.c | outb ((addr >> 8) & 0xff, u_DataHi); |
addr | 236 | drivers/sound/gus_wave.c | outb ((addr >> 16) & 0xff, u_DataHi); |
addr | 242 | drivers/sound/gus_wave.c | gus_peek (long addr) |
addr | 250 | drivers/sound/gus_wave.c | outb (addr & 0xff, u_DataLo); |
addr | 251 | drivers/sound/gus_wave.c | outb ((addr >> 8) & 0xff, u_DataHi); |
addr | 254 | drivers/sound/gus_wave.c | outb ((addr >> 16) & 0xff, u_DataHi); |
addr | 1511 | drivers/sound/gus_wave.c | guswave_load_patch (int dev, int format, const char *addr, |
addr | 1547 | drivers/sound/gus_wave.c | memcpy_fromfs (&((char *) &patch)[offs], &((addr)[offs]), sizeof_patch - offs); |
addr | 1672 | drivers/sound/gus_wave.c | data = get_fs_byte (&((addr)[sizeof_patch + i])); |
addr | 1690 | drivers/sound/gus_wave.c | memcpy_fromfs (audio_devs[gus_devnum]->dmap_out->raw_buf, &((addr)[sizeof_patch + src_offs]), blk_sz); |
addr | 3465 | drivers/sound/gus_wave.c | gus_timer_command (unsigned int addr, unsigned int val) |
addr | 3469 | drivers/sound/gus_wave.c | outb ((unsigned char) (addr & 0xff), select_addr); |
addr | 25 | drivers/sound/hex2hex.h | int addr; |
addr | 32 | drivers/sound/hex2hex.h | if (fscanf(inf, "%04x", &addr) != 1) |
addr | 34 | drivers/sound/hex2hex.h | sum += addr/256; |
addr | 35 | drivers/sound/hex2hex.h | sum += addr%256; |
addr | 48 | drivers/sound/hex2hex.h | if (addr >= MAX_SIZE) |
addr | 50 | drivers/sound/hex2hex.h | buf[addr++] = c; |
addr | 51 | drivers/sound/hex2hex.h | if (addr > l) |
addr | 52 | drivers/sound/hex2hex.h | l = addr; |
addr | 55 | drivers/sound/maui.c | static int (*orig_load_patch) (int dev, int format, const char *addr, |
addr | 300 | drivers/sound/maui.c | maui_load_patch (int dev, int format, const char *addr, |
addr | 310 | drivers/sound/maui.c | return orig_load_patch (dev, format, addr, offs, count, pmgr_flag); |
addr | 330 | drivers/sound/maui.c | memcpy_fromfs (&((char *) &header)[offs], &((addr)[offs]), hdr_size - offs); |
addr | 346 | drivers/sound/maui.c | data = get_fs_byte (&((addr)[hdr_size + i])); |
addr | 503 | drivers/sound/midi_synth.c | midi_synth_load_patch (int dev, int format, const char *addr, |
addr | 538 | drivers/sound/midi_synth.c | memcpy_fromfs (&((char *) &sysex)[offs], &((addr)[offs]), hdr_size - offs); |
addr | 556 | drivers/sound/midi_synth.c | data = get_fs_byte (&((addr)[hdr_size + i])); |
addr | 10 | drivers/sound/midi_synth.h | int midi_synth_load_patch (int dev, int format, const char * addr, |
addr | 91 | drivers/sound/opl3.c | static void opl3_command (int io_addr, unsigned int addr, unsigned int val); |
addr | 769 | drivers/sound/opl3.c | opl3_command (int io_addr, unsigned int addr, unsigned int val) |
addr | 778 | drivers/sound/opl3.c | outb ((unsigned char) (addr & 0xff), io_addr); |
addr | 882 | drivers/sound/opl3.c | opl3_load_patch (int dev, int format, const char *addr, |
addr | 893 | drivers/sound/opl3.c | memcpy_fromfs (&((char *) &ins)[offs], &((addr)[offs]), sizeof (ins) - offs); |
addr | 1049 | drivers/sound/sb_dsp.c | smw_putmem (int base, int addr, unsigned char val) |
addr | 1056 | drivers/sound/sb_dsp.c | outb (addr & 0xff, base + 1); /* Low address bits */ |
addr | 1057 | drivers/sound/sb_dsp.c | outb (addr >> 8, base + 2); /* High address bits */ |
addr | 1064 | drivers/sound/sb_dsp.c | smw_getmem (int base, int addr) |
addr | 1072 | drivers/sound/sb_dsp.c | outb (addr & 0xff, base + 1); /* Low address bits */ |
addr | 1073 | drivers/sound/sb_dsp.c | outb (addr >> 8, base + 2); /* High address bits */ |
addr | 85 | drivers/sound/sound_calls.h | int snd_ioctl_return(int *addr, int value); |
addr | 181 | drivers/sound/sound_calls.h | void gus_timer_command (unsigned int addr, unsigned int val); |
addr | 59 | drivers/sound/soundcard.c | snd_ioctl_return (int *addr, int value) |
addr | 64 | drivers/sound/soundcard.c | put_fs_long (value, (long *) &((addr)[0])); |
addr | 53 | drivers/sound/trix.c | trix_read (int addr) |
addr | 55 | drivers/sound/trix.c | outb ((unsigned char) addr, 0x390); /* MT-0002-PC ASIC address */ |
addr | 60 | drivers/sound/trix.c | trix_write (int addr, int data) |
addr | 62 | drivers/sound/trix.c | outb ((unsigned char) addr, 0x390); /* MT-0002-PC ASIC address */ |
addr | 59 | fs/binfmt_aout.c | #define DUMP_WRITE(addr,nr) \ |
addr | 60 | fs/binfmt_aout.c | while (file.f_op->write(inode,&file,(char *)(addr),(nr)) != (nr)) goto close_coredump |
addr | 820 | fs/binfmt_elf.c | static int dump_write(struct file *file, const void *addr, int nr) |
addr | 822 | fs/binfmt_elf.c | return file->f_op->write(file->f_inode, file, addr, nr) == nr; |
addr | 897 | fs/binfmt_elf.c | #define DUMP_WRITE(addr, nr) \ |
addr | 898 | fs/binfmt_elf.c | do { if (!dump_write(file, (addr), (nr))) return 0; } while(0) |
addr | 922 | fs/binfmt_elf.c | #define DUMP_WRITE(addr, nr) \ |
addr | 923 | fs/binfmt_elf.c | if (!dump_write(&file, (addr), (nr))) \ |
addr | 1187 | fs/binfmt_elf.c | unsigned long addr = vma->vm_start; |
addr | 1194 | fs/binfmt_elf.c | printk("elf_core_dump: writing %08lx %lx\n", addr, len); |
addr | 1196 | fs/binfmt_elf.c | DUMP_WRITE((void *)addr, len); |
addr | 664 | fs/dquot.c | static int get_stats(caddr_t addr) |
addr | 668 | fs/dquot.c | if ((error = verify_area(VERIFY_WRITE, addr, sizeof(struct dqstats))) != 0) |
addr | 673 | fs/dquot.c | memcpy_tofs(addr, (caddr_t)&dqstats, sizeof(struct dqstats)); |
addr | 1011 | fs/dquot.c | asmlinkage int sys_quotactl(int cmd, const char *special, int id, caddr_t addr) |
addr | 1051 | fs/dquot.c | return(quota_on(dev, type, (char *) addr)); |
addr | 1055 | fs/dquot.c | return(get_quota(dev, id, type, (struct dqblk *) addr)); |
addr | 1068 | fs/dquot.c | return(get_stats(addr)); |
addr | 1075 | fs/dquot.c | return(set_dqblk(dev, id, type, flags, (struct dqblk *) addr)); |
addr | 325 | fs/exec.c | char * addr, unsigned long count, int to_kmem) |
addr | 352 | fs/exec.c | result = file.f_op->read(inode, &file, addr, count); |
addr | 355 | fs/exec.c | result = verify_area(VERIFY_WRITE, addr, count); |
addr | 358 | fs/exec.c | result = file.f_op->read(inode, &file, addr, count); |
addr | 242 | fs/hpfs/hpfs_fs.c | static int zerop(void *addr, unsigned len); |
addr | 542 | fs/hpfs/hpfs_fs.c | static int zerop(void *addr, unsigned len) |
addr | 544 | fs/hpfs/hpfs_fs.c | unsigned char *p = addr; |
addr | 188 | fs/isofs/inode.c | printk("isofs.inode: vol_desc_start = %d\n", ms_info.addr.lba); |
addr | 191 | fs/isofs/inode.c | if ((i==0)&&(ms_info.xa_flag)) vol_desc_start=ms_info.addr.lba; |
addr | 129 | fs/ncpfs/ioctl.c | info.addr = server->m.serv_addr; |
addr | 160 | fs/nfs/inode.c | if (data->addr.sin_addr.s_addr == INADDR_ANY) { /* No address passed */ |
addr | 179 | fs/nfs/inode.c | memcpy((char *)&(server->toaddr),(char *)(&data->addr),sizeof(server->toaddr)); |
addr | 521 | fs/nfs/nfsroot.c | static int root_connect_udp_sock(struct socket *sock, u32 addr, u16 port) |
addr | 527 | fs/nfs/nfsroot.c | sa.sin_addr.s_addr = htonl(addr); |
addr | 541 | fs/nfs/nfsroot.c | static int root_bind_udp_sock(struct socket *sock, u32 addr, u16 port) |
addr | 547 | fs/nfs/nfsroot.c | sa.sin_addr.s_addr = htonl(addr); |
addr | 1681 | fs/nfs/nfsroot.c | nfs_data.addr = server; |
addr | 76 | fs/noquot.c | asmlinkage int sys_quotactl(int cmd, const char *special, int id, caddr_t addr) |
addr | 364 | fs/proc/array.c | unsigned long addr; |
addr | 371 | fs/proc/array.c | addr = get_phys_addr(*p, start); |
addr | 372 | fs/proc/array.c | if (!addr) |
addr | 375 | fs/proc/array.c | c = *(char *) addr; |
addr | 382 | fs/proc/array.c | addr++; |
addr | 386 | fs/proc/array.c | } while (addr & ~PAGE_MASK); |
addr | 26 | fs/proc/mem.c | static int check_range(struct task_struct * tsk, unsigned long addr, int count) |
addr | 31 | fs/proc/mem.c | vma = find_vma(tsk, addr); |
addr | 34 | fs/proc/mem.c | if (vma->vm_start > addr) |
addr | 38 | fs/proc/mem.c | while ((retval = vma->vm_end - addr) < count) { |
addr | 60 | fs/proc/mem.c | unsigned long addr, pid; |
addr | 76 | fs/proc/mem.c | addr = file->f_pos; |
addr | 77 | fs/proc/mem.c | count = check_range(tsk, addr, count); |
addr | 84 | fs/proc/mem.c | page_dir = pgd_offset(tsk->mm,addr); |
addr | 92 | fs/proc/mem.c | page_middle = pmd_offset(page_dir,addr); |
addr | 100 | fs/proc/mem.c | pte = *pte_offset(page_middle,addr); |
addr | 103 | fs/proc/mem.c | page = (char *) pte_page(pte) + (addr & ~PAGE_MASK); |
addr | 104 | fs/proc/mem.c | i = PAGE_SIZE-(addr & ~PAGE_MASK); |
addr | 108 | fs/proc/mem.c | addr += i; |
addr | 112 | fs/proc/mem.c | file->f_pos = addr; |
addr | 125 | fs/proc/mem.c | unsigned long addr, pid; |
addr | 131 | fs/proc/mem.c | addr = file->f_pos; |
addr | 146 | fs/proc/mem.c | page_dir = pgd_offset(tsk,addr); |
addr | 154 | fs/proc/mem.c | page_middle = pmd_offset(page_dir,addr); |
addr | 162 | fs/proc/mem.c | pte = *pte_offset(page_middle,addr); |
addr | 167 | fs/proc/mem.c | page = (char *) pte_page(pte) + (addr & ~PAGE_MASK); |
addr | 168 | fs/proc/mem.c | i = PAGE_SIZE-(addr & ~PAGE_MASK); |
addr | 172 | fs/proc/mem.c | addr += i; |
addr | 176 | fs/proc/mem.c | file->f_pos = addr; |
addr | 480 | fs/smbfs/sock.c | return sock->ops->connect(sock, (struct sockaddr *)&(server->m.addr), |
addr | 200 | include/asm-alpha/alcor.h | extern inline unsigned int __inb(unsigned long addr) |
addr | 202 | include/asm-alpha/alcor.h | long result = *(vuip) ((addr << 5) + ALCOR_IO + 0x00); |
addr | 203 | include/asm-alpha/alcor.h | result >>= (addr & 3) * 8; |
addr | 207 | include/asm-alpha/alcor.h | extern inline void __outb(unsigned char b, unsigned long addr) |
addr | 211 | include/asm-alpha/alcor.h | asm ("insbl %2,%1,%0" : "r="(w) : "ri"(addr & 0x3), "r"(b)); |
addr | 212 | include/asm-alpha/alcor.h | *(vuip) ((addr << 5) + ALCOR_IO + 0x00) = w; |
addr | 216 | include/asm-alpha/alcor.h | extern inline unsigned int __inw(unsigned long addr) |
addr | 218 | include/asm-alpha/alcor.h | long result = *(vuip) ((addr << 5) + ALCOR_IO + 0x08); |
addr | 219 | include/asm-alpha/alcor.h | result >>= (addr & 3) * 8; |
addr | 223 | include/asm-alpha/alcor.h | extern inline void __outw(unsigned short b, unsigned long addr) |
addr | 227 | include/asm-alpha/alcor.h | asm ("inswl %2,%1,%0" : "r="(w) : "ri"(addr & 0x3), "r"(b)); |
addr | 228 | include/asm-alpha/alcor.h | *(vuip) ((addr << 5) + ALCOR_IO + 0x08) = w; |
addr | 232 | include/asm-alpha/alcor.h | extern inline unsigned int __inl(unsigned long addr) |
addr | 234 | include/asm-alpha/alcor.h | return *(vuip) ((addr << 5) + ALCOR_IO + 0x18); |
addr | 237 | include/asm-alpha/alcor.h | extern inline void __outl(unsigned int b, unsigned long addr) |
addr | 239 | include/asm-alpha/alcor.h | *(vuip) ((addr << 5) + ALCOR_IO + 0x18) = b; |
addr | 276 | include/asm-alpha/alcor.h | extern inline unsigned long __readb(unsigned long addr) |
addr | 280 | include/asm-alpha/alcor.h | shift = (addr & 0x3) * 8 ; |
addr | 281 | include/asm-alpha/alcor.h | msb = addr & 0xE0000000 ; |
addr | 282 | include/asm-alpha/alcor.h | addr &= MEM_SP1_MASK ; |
addr | 286 | include/asm-alpha/alcor.h | result = *(vuip) ((addr << 5) + ALCOR_SPARSE_MEM + 0x00) ; |
addr | 291 | include/asm-alpha/alcor.h | extern inline unsigned long __readw(unsigned long addr) |
addr | 295 | include/asm-alpha/alcor.h | shift = (addr & 0x3) * 8; |
addr | 296 | include/asm-alpha/alcor.h | msb = addr & 0xE0000000 ; |
addr | 297 | include/asm-alpha/alcor.h | addr &= MEM_SP1_MASK ; |
addr | 301 | include/asm-alpha/alcor.h | result = *(vuip) ((addr << 5) + ALCOR_SPARSE_MEM + 0x08); |
addr | 306 | include/asm-alpha/alcor.h | extern inline unsigned long __readl(unsigned long addr) |
addr | 308 | include/asm-alpha/alcor.h | return *(vuip) (addr + ALCOR_DENSE_MEM); |
addr | 311 | include/asm-alpha/alcor.h | extern inline void __writeb(unsigned char b, unsigned long addr) |
addr | 315 | include/asm-alpha/alcor.h | msb = addr & 0xE0000000 ; |
addr | 316 | include/asm-alpha/alcor.h | addr &= MEM_SP1_MASK ; |
addr | 320 | include/asm-alpha/alcor.h | *(vuip) ((addr << 5) + ALCOR_SPARSE_MEM + 0x00) = b * 0x01010101; |
addr | 323 | include/asm-alpha/alcor.h | extern inline void __writew(unsigned short b, unsigned long addr) |
addr | 327 | include/asm-alpha/alcor.h | msb = addr & 0xE0000000 ; |
addr | 328 | include/asm-alpha/alcor.h | addr &= MEM_SP1_MASK ; |
addr | 332 | include/asm-alpha/alcor.h | *(vuip) ((addr << 5) + ALCOR_SPARSE_MEM + 0x08) = b * 0x00010001; |
addr | 335 | include/asm-alpha/alcor.h | extern inline void __writel(unsigned int b, unsigned long addr) |
addr | 337 | include/asm-alpha/alcor.h | *(vuip) (addr + ALCOR_DENSE_MEM) = b; |
addr | 265 | include/asm-alpha/apecs.h | extern inline unsigned int __inb(unsigned long addr) |
addr | 267 | include/asm-alpha/apecs.h | long result = *(vuip) ((addr << 5) + APECS_IO + 0x00); |
addr | 268 | include/asm-alpha/apecs.h | result >>= (addr & 3) * 8; |
addr | 272 | include/asm-alpha/apecs.h | extern inline void __outb(unsigned char b, unsigned long addr) |
addr | 276 | include/asm-alpha/apecs.h | asm ("insbl %2,%1,%0" : "r="(w) : "ri"(addr & 0x3), "r"(b)); |
addr | 277 | include/asm-alpha/apecs.h | *(vuip) ((addr << 5) + APECS_IO + 0x00) = w; |
addr | 281 | include/asm-alpha/apecs.h | extern inline unsigned int __inw(unsigned long addr) |
addr | 283 | include/asm-alpha/apecs.h | long result = *(vuip) ((addr << 5) + APECS_IO + 0x08); |
addr | 284 | include/asm-alpha/apecs.h | result >>= (addr & 3) * 8; |
addr | 288 | include/asm-alpha/apecs.h | extern inline void __outw(unsigned short b, unsigned long addr) |
addr | 292 | include/asm-alpha/apecs.h | asm ("inswl %2,%1,%0" : "r="(w) : "ri"(addr & 0x3), "r"(b)); |
addr | 293 | include/asm-alpha/apecs.h | *(vuip) ((addr << 5) + APECS_IO + 0x08) = w; |
addr | 297 | include/asm-alpha/apecs.h | extern inline unsigned int __inl(unsigned long addr) |
addr | 299 | include/asm-alpha/apecs.h | return *(vuip) ((addr << 5) + APECS_IO + 0x18); |
addr | 302 | include/asm-alpha/apecs.h | extern inline void __outl(unsigned int b, unsigned long addr) |
addr | 304 | include/asm-alpha/apecs.h | *(vuip) ((addr << 5) + APECS_IO + 0x18) = b; |
addr | 313 | include/asm-alpha/apecs.h | extern inline unsigned long __readb(unsigned long addr) |
addr | 317 | include/asm-alpha/apecs.h | shift = (addr & 0x3) * 8; |
addr | 318 | include/asm-alpha/apecs.h | if (addr >= (1UL << 24)) { |
addr | 319 | include/asm-alpha/apecs.h | msb = addr & 0xf8000000; |
addr | 320 | include/asm-alpha/apecs.h | addr -= msb; |
addr | 325 | include/asm-alpha/apecs.h | result = *(vuip) ((addr << 5) + APECS_SPARSE_MEM + 0x00); |
addr | 330 | include/asm-alpha/apecs.h | extern inline unsigned long __readw(unsigned long addr) |
addr | 334 | include/asm-alpha/apecs.h | shift = (addr & 0x3) * 8; |
addr | 335 | include/asm-alpha/apecs.h | if (addr >= (1UL << 24)) { |
addr | 336 | include/asm-alpha/apecs.h | msb = addr & 0xf8000000; |
addr | 337 | include/asm-alpha/apecs.h | addr -= msb; |
addr | 342 | include/asm-alpha/apecs.h | result = *(vuip) ((addr << 5) + APECS_SPARSE_MEM + 0x08); |
addr | 347 | include/asm-alpha/apecs.h | extern inline unsigned long __readl(unsigned long addr) |
addr | 349 | include/asm-alpha/apecs.h | return *(vuip) (addr + APECS_DENSE_MEM); |
addr | 352 | include/asm-alpha/apecs.h | extern inline void __writeb(unsigned char b, unsigned long addr) |
addr | 356 | include/asm-alpha/apecs.h | if (addr >= (1UL << 24)) { |
addr | 357 | include/asm-alpha/apecs.h | msb = addr & 0xf8000000; |
addr | 358 | include/asm-alpha/apecs.h | addr -= msb; |
addr | 363 | include/asm-alpha/apecs.h | *(vuip) ((addr << 5) + APECS_SPARSE_MEM + 0x00) = b * 0x01010101; |
addr | 366 | include/asm-alpha/apecs.h | extern inline void __writew(unsigned short b, unsigned long addr) |
addr | 370 | include/asm-alpha/apecs.h | if (addr >= (1UL << 24)) { |
addr | 371 | include/asm-alpha/apecs.h | msb = addr & 0xf8000000; |
addr | 372 | include/asm-alpha/apecs.h | addr -= msb; |
addr | 377 | include/asm-alpha/apecs.h | *(vuip) ((addr << 5) + APECS_SPARSE_MEM + 0x08) = b * 0x00010001; |
addr | 380 | include/asm-alpha/apecs.h | extern inline void __writel(unsigned int b, unsigned long addr) |
addr | 382 | include/asm-alpha/apecs.h | *(vuip) (addr + APECS_DENSE_MEM) = b; |
addr | 16 | include/asm-alpha/bitops.h | extern __inline__ unsigned long set_bit(unsigned long nr, void * addr) |
addr | 20 | include/asm-alpha/bitops.h | unsigned int * m = ((unsigned int *) addr) + (nr >> 5); |
addr | 39 | include/asm-alpha/bitops.h | extern __inline__ unsigned long clear_bit(unsigned long nr, void * addr) |
addr | 43 | include/asm-alpha/bitops.h | unsigned int * m = ((unsigned int *) addr) + (nr >> 5); |
addr | 62 | include/asm-alpha/bitops.h | extern __inline__ unsigned long change_bit(unsigned long nr, void * addr) |
addr | 66 | include/asm-alpha/bitops.h | unsigned int * m = ((unsigned int *) addr) + (nr >> 5); |
addr | 83 | include/asm-alpha/bitops.h | extern __inline__ unsigned long test_bit(int nr, const void * addr) |
addr | 85 | include/asm-alpha/bitops.h | return 1UL & (((int *) addr)[nr >> 5] >> (nr & 31)); |
addr | 120 | include/asm-alpha/bitops.h | extern inline unsigned long find_next_zero_bit(void * addr, unsigned long size, unsigned long offset) |
addr | 122 | include/asm-alpha/bitops.h | unsigned long * p = ((unsigned long *) addr) + (offset >> 6); |
addr | 158 | include/asm-alpha/bitops.h | #define find_first_zero_bit(addr, size) \ |
addr | 159 | include/asm-alpha/bitops.h | find_next_zero_bit((addr), (size), 0) |
addr | 24 | include/asm-alpha/floppy.h | #define fd_set_dma_addr(addr) set_dma_addr(FLOPPY_DMA,addr) |
addr | 28 | include/asm-alpha/floppy.h | #define fd_cacheflush(addr,size) /* nothing */ |
addr | 64 | include/asm-alpha/io.h | extern void __sethae (unsigned long addr); /* syscall */ |
addr | 65 | include/asm-alpha/io.h | extern void _sethae (unsigned long addr); /* cached version */ |
addr | 97 | include/asm-alpha/io.h | extern unsigned long _readb(unsigned long addr); |
addr | 98 | include/asm-alpha/io.h | extern unsigned long _readw(unsigned long addr); |
addr | 99 | include/asm-alpha/io.h | extern unsigned long _readl(unsigned long addr); |
addr | 100 | include/asm-alpha/io.h | extern void _writeb(unsigned char b, unsigned long addr); |
addr | 101 | include/asm-alpha/io.h | extern void _writew(unsigned short b, unsigned long addr); |
addr | 102 | include/asm-alpha/io.h | extern void _writel(unsigned int b, unsigned long addr); |
addr | 195 | include/asm-alpha/io.h | #define memset_io(addr,c,len) _memset_io((unsigned long)(addr),(c),(len)) |
addr | 90 | include/asm-alpha/jensen.h | extern inline void __set_hae(unsigned long addr) |
addr | 93 | include/asm-alpha/jensen.h | addr >>= 25; |
addr | 94 | include/asm-alpha/jensen.h | if (addr != hae.cache) |
addr | 95 | include/asm-alpha/jensen.h | set_hae(addr); |
addr | 109 | include/asm-alpha/jensen.h | extern inline unsigned int __local_inb(unsigned long addr) |
addr | 111 | include/asm-alpha/jensen.h | long result = *(volatile int *) ((addr << 9) + EISA_VL82C106); |
addr | 115 | include/asm-alpha/jensen.h | extern inline void __local_outb(unsigned char b, unsigned long addr) |
addr | 117 | include/asm-alpha/jensen.h | *(volatile unsigned int *) ((addr << 9) + EISA_VL82C106) = b; |
addr | 121 | include/asm-alpha/jensen.h | extern unsigned int _bus_inb(unsigned long addr); |
addr | 123 | include/asm-alpha/jensen.h | extern inline unsigned int __bus_inb(unsigned long addr) |
addr | 128 | include/asm-alpha/jensen.h | result = *(volatile int *) ((addr << 7) + EISA_IO + 0x00); |
addr | 129 | include/asm-alpha/jensen.h | result >>= (addr & 3) * 8; |
addr | 133 | include/asm-alpha/jensen.h | extern void _bus_outb(unsigned char b, unsigned long addr); |
addr | 135 | include/asm-alpha/jensen.h | extern inline void __bus_outb(unsigned char b, unsigned long addr) |
addr | 138 | include/asm-alpha/jensen.h | *(volatile unsigned int *) ((addr << 7) + EISA_IO + 0x00) = b * 0x01010101; |
addr | 147 | include/asm-alpha/jensen.h | #define __is_local(addr) ( \ |
addr | 148 | include/asm-alpha/jensen.h | /* keyboard */ (addr == 0x60 || addr == 0x64) || \ |
addr | 149 | include/asm-alpha/jensen.h | /* RTC */ (addr == 0x170 || addr == 0x171) || \ |
addr | 150 | include/asm-alpha/jensen.h | /* mb COM2 */ (addr >= 0x2f8 && addr <= 0x2ff) || \ |
addr | 151 | include/asm-alpha/jensen.h | /* mb LPT1 */ (addr >= 0x3bc && addr <= 0x3be) || \ |
addr | 152 | include/asm-alpha/jensen.h | /* mb COM2 */ (addr >= 0x3f8 && addr <= 0x3ff)) |
addr | 154 | include/asm-alpha/jensen.h | extern inline unsigned int __inb(unsigned long addr) |
addr | 156 | include/asm-alpha/jensen.h | if (__is_local(addr)) |
addr | 157 | include/asm-alpha/jensen.h | return __local_inb(addr); |
addr | 158 | include/asm-alpha/jensen.h | return _bus_inb(addr); |
addr | 161 | include/asm-alpha/jensen.h | extern inline void __outb(unsigned char b, unsigned long addr) |
addr | 163 | include/asm-alpha/jensen.h | if (__is_local(addr)) |
addr | 164 | include/asm-alpha/jensen.h | __local_outb(b, addr); |
addr | 166 | include/asm-alpha/jensen.h | _bus_outb(b, addr); |
addr | 169 | include/asm-alpha/jensen.h | extern inline unsigned int __inw(unsigned long addr) |
addr | 174 | include/asm-alpha/jensen.h | result = *(volatile int *) ((addr << 7) + EISA_IO + 0x20); |
addr | 175 | include/asm-alpha/jensen.h | result >>= (addr & 3) * 8; |
addr | 179 | include/asm-alpha/jensen.h | extern inline unsigned int __inl(unsigned long addr) |
addr | 182 | include/asm-alpha/jensen.h | return *(volatile unsigned int *) ((addr << 7) + EISA_IO + 0x60); |
addr | 185 | include/asm-alpha/jensen.h | extern inline void __outw(unsigned short b, unsigned long addr) |
addr | 188 | include/asm-alpha/jensen.h | *(volatile unsigned int *) ((addr << 7) + EISA_IO + 0x20) = b * 0x00010001; |
addr | 192 | include/asm-alpha/jensen.h | extern inline void __outl(unsigned int b, unsigned long addr) |
addr | 195 | include/asm-alpha/jensen.h | *(volatile unsigned int *) ((addr << 7) + EISA_IO + 0x60) = b; |
addr | 202 | include/asm-alpha/jensen.h | extern inline unsigned long __readb(unsigned long addr) |
addr | 206 | include/asm-alpha/jensen.h | __set_hae(addr); |
addr | 207 | include/asm-alpha/jensen.h | addr &= __HAE_MASK; |
addr | 208 | include/asm-alpha/jensen.h | result = *(volatile int *) ((addr << 7) + EISA_MEM + 0x00); |
addr | 209 | include/asm-alpha/jensen.h | result >>= (addr & 3) * 8; |
addr | 213 | include/asm-alpha/jensen.h | extern inline unsigned long __readw(unsigned long addr) |
addr | 217 | include/asm-alpha/jensen.h | __set_hae(addr); |
addr | 218 | include/asm-alpha/jensen.h | addr &= __HAE_MASK; |
addr | 219 | include/asm-alpha/jensen.h | result = *(volatile int *) ((addr << 7) + EISA_MEM + 0x20); |
addr | 220 | include/asm-alpha/jensen.h | result >>= (addr & 3) * 8; |
addr | 224 | include/asm-alpha/jensen.h | extern inline unsigned long __readl(unsigned long addr) |
addr | 226 | include/asm-alpha/jensen.h | __set_hae(addr); |
addr | 227 | include/asm-alpha/jensen.h | addr &= __HAE_MASK; |
addr | 228 | include/asm-alpha/jensen.h | return *(volatile unsigned int *) ((addr << 7) + EISA_MEM + 0x60); |
addr | 231 | include/asm-alpha/jensen.h | extern inline void __writeb(unsigned short b, unsigned long addr) |
addr | 233 | include/asm-alpha/jensen.h | __set_hae(addr); |
addr | 234 | include/asm-alpha/jensen.h | addr &= __HAE_MASK; |
addr | 235 | include/asm-alpha/jensen.h | *(volatile unsigned int *) ((addr << 7) + EISA_MEM + 0x00) = b * 0x01010101; |
addr | 238 | include/asm-alpha/jensen.h | extern inline void __writew(unsigned short b, unsigned long addr) |
addr | 240 | include/asm-alpha/jensen.h | __set_hae(addr); |
addr | 241 | include/asm-alpha/jensen.h | addr &= __HAE_MASK; |
addr | 242 | include/asm-alpha/jensen.h | *(volatile unsigned int *) ((addr << 7) + EISA_MEM + 0x20) = b * 0x00010001; |
addr | 245 | include/asm-alpha/jensen.h | extern inline void __writel(unsigned int b, unsigned long addr) |
addr | 247 | include/asm-alpha/jensen.h | __set_hae(addr); |
addr | 248 | include/asm-alpha/jensen.h | addr &= __HAE_MASK; |
addr | 249 | include/asm-alpha/jensen.h | *(volatile unsigned int *) ((addr << 7) + EISA_MEM + 0x60) = b; |
addr | 170 | include/asm-alpha/lca.h | extern inline unsigned int __inb(unsigned long addr) |
addr | 172 | include/asm-alpha/lca.h | long result = *(vuip) ((addr << 5) + LCA_IO + 0x00); |
addr | 173 | include/asm-alpha/lca.h | result >>= (addr & 3) * 8; |
addr | 177 | include/asm-alpha/lca.h | extern inline void __outb(unsigned char b, unsigned long addr) |
addr | 181 | include/asm-alpha/lca.h | asm ("insbl %2,%1,%0" : "r="(w) : "ri"(addr & 0x3), "r"(b)); |
addr | 182 | include/asm-alpha/lca.h | *(vuip) ((addr << 5) + LCA_IO + 0x00) = w; |
addr | 186 | include/asm-alpha/lca.h | extern inline unsigned int __inw(unsigned long addr) |
addr | 188 | include/asm-alpha/lca.h | long result = *(vuip) ((addr << 5) + LCA_IO + 0x08); |
addr | 189 | include/asm-alpha/lca.h | result >>= (addr & 3) * 8; |
addr | 193 | include/asm-alpha/lca.h | extern inline void __outw(unsigned short b, unsigned long addr) |
addr | 197 | include/asm-alpha/lca.h | asm ("inswl %2,%1,%0" : "r="(w) : "ri"(addr & 0x3), "r"(b)); |
addr | 198 | include/asm-alpha/lca.h | *(vuip) ((addr << 5) + LCA_IO + 0x08) = w; |
addr | 202 | include/asm-alpha/lca.h | extern inline unsigned int __inl(unsigned long addr) |
addr | 204 | include/asm-alpha/lca.h | return *(vuip) ((addr << 5) + LCA_IO + 0x18); |
addr | 207 | include/asm-alpha/lca.h | extern inline void __outl(unsigned int b, unsigned long addr) |
addr | 209 | include/asm-alpha/lca.h | *(vuip) ((addr << 5) + LCA_IO + 0x18) = b; |
addr | 218 | include/asm-alpha/lca.h | extern inline unsigned long __readb(unsigned long addr) |
addr | 222 | include/asm-alpha/lca.h | shift = (addr & 0x3) * 8; |
addr | 223 | include/asm-alpha/lca.h | if (addr >= (1UL << 24)) { |
addr | 224 | include/asm-alpha/lca.h | msb = addr & 0xf8000000; |
addr | 225 | include/asm-alpha/lca.h | addr -= msb; |
addr | 230 | include/asm-alpha/lca.h | result = *(vuip) ((addr << 5) + LCA_SPARSE_MEM + 0x00); |
addr | 235 | include/asm-alpha/lca.h | extern inline unsigned long __readw(unsigned long addr) |
addr | 239 | include/asm-alpha/lca.h | shift = (addr & 0x3) * 8; |
addr | 240 | include/asm-alpha/lca.h | if (addr >= (1UL << 24)) { |
addr | 241 | include/asm-alpha/lca.h | msb = addr & 0xf8000000; |
addr | 242 | include/asm-alpha/lca.h | addr -= msb; |
addr | 247 | include/asm-alpha/lca.h | result = *(vuip) ((addr << 5) + LCA_SPARSE_MEM + 0x08); |
addr | 252 | include/asm-alpha/lca.h | extern inline unsigned long __readl(unsigned long addr) |
addr | 254 | include/asm-alpha/lca.h | return *(vuip) (addr + LCA_DENSE_MEM); |
addr | 257 | include/asm-alpha/lca.h | extern inline void __writeb(unsigned char b, unsigned long addr) |
addr | 262 | include/asm-alpha/lca.h | if (addr >= (1UL << 24)) { |
addr | 263 | include/asm-alpha/lca.h | msb = addr & 0xf8000000; |
addr | 264 | include/asm-alpha/lca.h | addr -= msb; |
addr | 269 | include/asm-alpha/lca.h | asm ("insbl %2,%1,%0" : "r="(w) : "ri"(addr & 0x3), "r"(b)); |
addr | 270 | include/asm-alpha/lca.h | *(vuip) ((addr << 5) + LCA_SPARSE_MEM + 0x00) = w; |
addr | 273 | include/asm-alpha/lca.h | extern inline void __writew(unsigned short b, unsigned long addr) |
addr | 278 | include/asm-alpha/lca.h | if (addr >= (1UL << 24)) { |
addr | 279 | include/asm-alpha/lca.h | msb = addr & 0xf8000000; |
addr | 280 | include/asm-alpha/lca.h | addr -= msb; |
addr | 285 | include/asm-alpha/lca.h | asm ("inswl %2,%1,%0" : "r="(w) : "ri"(addr & 0x3), "r"(b)); |
addr | 286 | include/asm-alpha/lca.h | *(vuip) ((addr << 5) + LCA_SPARSE_MEM + 0x08) = w; |
addr | 289 | include/asm-alpha/lca.h | extern inline void __writel(unsigned int b, unsigned long addr) |
addr | 291 | include/asm-alpha/lca.h | *(vuip) (addr + LCA_DENSE_MEM) = b; |
addr | 52 | include/asm-alpha/page.h | #define PAGE_ALIGN(addr) (((addr)+PAGE_SIZE-1)&PAGE_MASK) |
addr | 55 | include/asm-alpha/page.h | #define MAP_NR(addr) ((((unsigned long) (addr)) - PAGE_OFFSET) >> PAGE_SHIFT) |
addr | 58 | include/asm-alpha/pgtable.h | unsigned long addr) |
addr | 65 | include/asm-alpha/pgtable.h | tbi(2 + ((vma->vm_flags & VM_EXEC) != 0), addr); |
addr | 80 | include/asm-alpha/segment.h | #define get_fs_byte(addr) get_user((unsigned char *)(addr)) |
addr | 81 | include/asm-alpha/segment.h | #define get_fs_word(addr) get_user((unsigned short *)(addr)) |
addr | 82 | include/asm-alpha/segment.h | #define get_fs_long(addr) get_user((unsigned int *)(addr)) |
addr | 83 | include/asm-alpha/segment.h | #define get_fs_quad(addr) get_user((unsigned long *)(addr)) |
addr | 85 | include/asm-alpha/segment.h | #define put_fs_byte(x,addr) put_user((x),(char *)(addr)) |
addr | 86 | include/asm-alpha/segment.h | #define put_fs_word(x,addr) put_user((x),(short *)(addr)) |
addr | 87 | include/asm-alpha/segment.h | #define put_fs_long(x,addr) put_user((x),(int *)(addr)) |
addr | 88 | include/asm-alpha/segment.h | #define put_fs_quad(x,addr) put_user((x),(long *)(addr)) |
addr | 19 | include/asm-generic/bitops.h | extern __inline__ int set_bit(int nr,int * addr) |
addr | 23 | include/asm-generic/bitops.h | addr += nr >> 5; |
addr | 26 | include/asm-generic/bitops.h | retval = (mask & *addr) != 0; |
addr | 27 | include/asm-generic/bitops.h | *addr |= mask; |
addr | 32 | include/asm-generic/bitops.h | extern __inline__ int clear_bit(int nr, int * addr) |
addr | 36 | include/asm-generic/bitops.h | addr += nr >> 5; |
addr | 39 | include/asm-generic/bitops.h | retval = (mask & *addr) != 0; |
addr | 40 | include/asm-generic/bitops.h | *addr &= ~mask; |
addr | 45 | include/asm-generic/bitops.h | extern __inline__ int test_bit(int nr, int * addr) |
addr | 49 | include/asm-generic/bitops.h | addr += nr >> 5; |
addr | 51 | include/asm-generic/bitops.h | return ((mask & *addr) != 0); |
addr | 28 | include/asm-i386/bitops.h | #define ADDR (*(struct __dummy *) addr) |
addr | 29 | include/asm-i386/bitops.h | #define CONST_ADDR (*(const struct __dummy *) addr) |
addr | 31 | include/asm-i386/bitops.h | extern __inline__ int set_bit(int nr, SMPVOL void * addr) |
addr | 42 | include/asm-i386/bitops.h | extern __inline__ int clear_bit(int nr, SMPVOL void * addr) |
addr | 53 | include/asm-i386/bitops.h | extern __inline__ int change_bit(int nr, SMPVOL void * addr) |
addr | 67 | include/asm-i386/bitops.h | extern __inline__ int test_bit(int nr, const SMPVOL void * addr) |
addr | 69 | include/asm-i386/bitops.h | return 1UL & (((const unsigned int *) addr)[nr >> 5] >> (nr & 31)); |
addr | 75 | include/asm-i386/bitops.h | extern __inline__ int find_first_zero_bit(void * addr, unsigned size) |
addr | 93 | include/asm-i386/bitops.h | :"c" ((size + 31) >> 5), "D" (addr), "b" (addr) |
addr | 98 | include/asm-i386/bitops.h | extern __inline__ int find_next_zero_bit (void * addr, int size, int offset) |
addr | 100 | include/asm-i386/bitops.h | unsigned long * p = ((unsigned long *) addr) + (offset >> 5); |
addr | 121 | include/asm-i386/bitops.h | res = find_first_zero_bit (p, size - 32 * (p - (unsigned long *) addr)); |
addr | 22 | include/asm-i386/floppy.h | #define fd_set_dma_addr(addr) set_dma_addr(FLOPPY_DMA,addr) |
addr | 26 | include/asm-i386/floppy.h | #define fd_cacheflush(addr,size) /* nothing */ |
addr | 68 | include/asm-i386/io.h | #define readb(addr) (*(volatile unsigned char *) (addr)) |
addr | 69 | include/asm-i386/io.h | #define readw(addr) (*(volatile unsigned short *) (addr)) |
addr | 70 | include/asm-i386/io.h | #define readl(addr) (*(volatile unsigned int *) (addr)) |
addr | 72 | include/asm-i386/io.h | #define writeb(b,addr) ((*(volatile unsigned char *) (addr)) = (b)) |
addr | 73 | include/asm-i386/io.h | #define writew(b,addr) ((*(volatile unsigned short *) (addr)) = (b)) |
addr | 74 | include/asm-i386/io.h | #define writel(b,addr) ((*(volatile unsigned int *) (addr)) = (b)) |
addr | 115 | include/asm-i386/io.h | extern inline void ins##s(unsigned short port, void * addr, unsigned long count) \ |
addr | 117 | include/asm-i386/io.h | : "=D" (addr), "=c" (count) : "d" (port),"0" (addr),"1" (count)); } |
addr | 120 | include/asm-i386/io.h | extern inline void outs##s(unsigned short port, const void * addr, unsigned long count) \ |
addr | 122 | include/asm-i386/io.h | : "=S" (addr), "=c" (count) : "d" (port),"0" (addr),"1" (count)); } |
addr | 54 | include/asm-i386/page.h | #define PAGE_ALIGN(addr) (((addr)+PAGE_SIZE-1)&PAGE_MASK) |
addr | 58 | include/asm-i386/page.h | #define MAP_NR(addr) (((unsigned long)(addr)) >> PAGE_SHIFT) |
addr | 46 | include/asm-i386/pgtable.h | #define __flush_tlb_one(addr) flush_tlb() |
addr | 48 | include/asm-i386/pgtable.h | #define __flush_tlb_one(addr) \ |
addr | 49 | include/asm-i386/pgtable.h | __asm__ __volatile__("invlpg %0": :"m" (*(char *) addr)) |
addr | 64 | include/asm-i386/pgtable.h | unsigned long addr) |
addr | 67 | include/asm-i386/pgtable.h | __flush_tlb_one(addr); |
addr | 153 | include/asm-i386/pgtable.h | unsigned long addr) |
addr | 269 | include/asm-i386/segment.h | #define get_fs_byte(addr) __get_user((const unsigned char *)(addr),1) |
addr | 270 | include/asm-i386/segment.h | #define get_fs_word(addr) __get_user((const unsigned short *)(addr),2) |
addr | 271 | include/asm-i386/segment.h | #define get_fs_long(addr) __get_user((const unsigned int *)(addr),4) |
addr | 273 | include/asm-i386/segment.h | #define put_fs_byte(x,addr) __put_user((x),(unsigned char *)(addr),1) |
addr | 274 | include/asm-i386/segment.h | #define put_fs_word(x,addr) __put_user((x),(unsigned short *)(addr),2) |
addr | 275 | include/asm-i386/segment.h | #define put_fs_long(x,addr) __put_user((x),(unsigned int *)(addr),4) |
addr | 279 | include/asm-i386/segment.h | static inline unsigned short get_user_word(const short *addr) |
addr | 281 | include/asm-i386/segment.h | return __get_user(addr, 2); |
addr | 284 | include/asm-i386/segment.h | static inline unsigned char get_user_byte(const char * addr) |
addr | 286 | include/asm-i386/segment.h | return __get_user(addr,1); |
addr | 289 | include/asm-i386/segment.h | static inline unsigned long get_user_long(const int *addr) |
addr | 291 | include/asm-i386/segment.h | return __get_user(addr, 4); |
addr | 294 | include/asm-i386/segment.h | static inline void put_user_byte(char val,char *addr) |
addr | 296 | include/asm-i386/segment.h | __put_user(val, addr, 1); |
addr | 299 | include/asm-i386/segment.h | static inline void put_user_word(short val,short * addr) |
addr | 301 | include/asm-i386/segment.h | __put_user(val, addr, 2); |
addr | 304 | include/asm-i386/segment.h | static inline void put_user_long(unsigned long val,int * addr) |
addr | 306 | include/asm-i386/segment.h | __put_user(val, addr, 4); |
addr | 679 | include/asm-i386/string-486.h | extern inline void * memscan(void * addr, int c, size_t size) |
addr | 682 | include/asm-i386/string-486.h | return addr; |
addr | 688 | include/asm-i386/string-486.h | : "=D" (addr), "=c" (size) |
addr | 689 | include/asm-i386/string-486.h | : "0" (addr), "1" (size), "a" (c)); |
addr | 690 | include/asm-i386/string-486.h | return addr; |
addr | 596 | include/asm-i386/string.h | extern inline void * memscan(void * addr, int c, size_t size) |
addr | 599 | include/asm-i386/string.h | return addr; |
addr | 605 | include/asm-i386/string.h | : "=D" (addr), "=c" (size) |
addr | 606 | include/asm-i386/string.h | : "0" (addr), "1" (size), "a" (c)); |
addr | 607 | include/asm-i386/string.h | return addr; |
addr | 123 | include/asm-i386/system.h | #define _set_base(addr,base) \ |
addr | 129 | include/asm-i386/system.h | :"m" (*((addr)+2)), \ |
addr | 130 | include/asm-i386/system.h | "m" (*((addr)+4)), \ |
addr | 131 | include/asm-i386/system.h | "m" (*((addr)+7)), \ |
addr | 135 | include/asm-i386/system.h | #define _set_limit(addr,limit) \ |
addr | 143 | include/asm-i386/system.h | :"m" (*(addr)), \ |
addr | 144 | include/asm-i386/system.h | "m" (*((addr)+6)), \ |
addr | 151 | include/asm-i386/system.h | static inline unsigned long _get_base(char * addr) |
addr | 159 | include/asm-i386/system.h | :"m" (*((addr)+2)), |
addr | 160 | include/asm-i386/system.h | "m" (*((addr)+4)), |
addr | 161 | include/asm-i386/system.h | "m" (*((addr)+7))); |
addr | 231 | include/asm-i386/system.h | #define _set_gate(gate_addr,type,dpl,addr) \ |
addr | 239 | include/asm-i386/system.h | "d" ((char *) (addr)),"a" (KERNEL_CS << 16) \ |
addr | 242 | include/asm-i386/system.h | #define set_intr_gate(n,addr) \ |
addr | 243 | include/asm-i386/system.h | _set_gate(&idt[n],14,0,addr) |
addr | 245 | include/asm-i386/system.h | #define set_trap_gate(n,addr) \ |
addr | 246 | include/asm-i386/system.h | _set_gate(&idt[n],15,0,addr) |
addr | 248 | include/asm-i386/system.h | #define set_system_gate(n,addr) \ |
addr | 249 | include/asm-i386/system.h | _set_gate(&idt[n],15,3,addr) |
addr | 251 | include/asm-i386/system.h | #define set_call_gate(a,addr) \ |
addr | 252 | include/asm-i386/system.h | _set_gate(a,12,3,addr) |
addr | 264 | include/asm-i386/system.h | #define _set_tssldt_desc(n,addr,limit,type) \ |
addr | 274 | include/asm-i386/system.h | :"a" (addr+0xc0000000), "m" (*(n)), "m" (*(n+2)), "m" (*(n+4)), \ |
addr | 278 | include/asm-i386/system.h | #define set_tss_desc(n,addr) _set_tssldt_desc(((char *) (n)),((int)(addr)),235,"0x89") |
addr | 279 | include/asm-i386/system.h | #define set_ldt_desc(n,addr,size) \ |
addr | 280 | include/asm-i386/system.h | _set_tssldt_desc(((char *) (n)),((int)(addr)),((size << 3) - 1),"0x82") |
addr | 64 | include/asm-m68k/bitops.h | unsigned long *addr = vaddr; |
addr | 81 | include/asm-m68k/bitops.h | : "0" ((size + 31) >> 5), "1" (addr) |
addr | 83 | include/asm-m68k/bitops.h | return ((p - addr) << 5) + res; |
addr | 89 | include/asm-m68k/bitops.h | unsigned long *addr = vaddr; |
addr | 90 | include/asm-m68k/bitops.h | unsigned long *p = addr + (offset >> 5); |
addr | 104 | include/asm-m68k/bitops.h | res = find_first_zero_bit (p, size - 32 * (p - addr)); |
addr | 4 | include/asm-m68k/io.h | static inline unsigned char get_user_byte_io(const char * addr) |
addr | 8 | include/asm-m68k/io.h | __asm__ __volatile__ ("moveb %1,%0":"=r" (_v):"m" (*addr)); |
addr | 11 | include/asm-m68k/io.h | #define inb_p(addr) get_user_byte_io((char *)(addr)) |
addr | 12 | include/asm-m68k/io.h | #define inb(addr) get_user_byte_io((char *)(addr)) |
addr | 14 | include/asm-m68k/io.h | static inline void put_user_byte_io(char val,char *addr) |
addr | 18 | include/asm-m68k/io.h | :"r" (val),"m" (*addr) |
addr | 21 | include/asm-m68k/io.h | #define outb_p(x,addr) put_user_byte_io((x),(char *)(addr)) |
addr | 22 | include/asm-m68k/io.h | #define outb(x,addr) put_user_byte_io((x),(char *)(addr)) |
addr | 18 | include/asm-m68k/segment.h | static inline unsigned char get_user_byte(const char * addr) |
addr | 22 | include/asm-m68k/segment.h | __asm__ __volatile__ ("movesb %1,%0":"=r" (_v):"m" (*addr)); |
addr | 26 | include/asm-m68k/segment.h | #define get_fs_byte(addr) get_user_byte((char *)(addr)) |
addr | 28 | include/asm-m68k/segment.h | static inline unsigned short get_user_word(const short *addr) |
addr | 32 | include/asm-m68k/segment.h | __asm__ __volatile__ ("movesw %1,%0":"=r" (_v):"m" (*addr)); |
addr | 36 | include/asm-m68k/segment.h | #define get_fs_word(addr) get_user_word((short *)(addr)) |
addr | 38 | include/asm-m68k/segment.h | static inline unsigned long get_user_long(const int *addr) |
addr | 42 | include/asm-m68k/segment.h | __asm__ __volatile__ ("movesl %1,%0":"=r" (_v):"m" (*addr)); \ |
addr | 46 | include/asm-m68k/segment.h | #define get_fs_long(addr) get_user_long((int *)(addr)) |
addr | 48 | include/asm-m68k/segment.h | static inline void put_user_byte(char val,char *addr) |
addr | 50 | include/asm-m68k/segment.h | __asm__ __volatile__ ("movesb %0,%1": /* no outputs */ :"r" (val),"m" (*addr) : "memory"); |
addr | 53 | include/asm-m68k/segment.h | #define put_fs_byte(x,addr) put_user_byte((x),(char *)(addr)) |
addr | 55 | include/asm-m68k/segment.h | static inline void put_user_word(short val,short * addr) |
addr | 57 | include/asm-m68k/segment.h | __asm__ __volatile__ ("movesw %0,%1": /* no outputs */ :"r" (val),"m" (*addr) : "memory"); |
addr | 60 | include/asm-m68k/segment.h | #define put_fs_word(x,addr) put_user_word((x),(short *)(addr)) |
addr | 62 | include/asm-m68k/segment.h | static inline void put_user_long(unsigned long val,int * addr) |
addr | 64 | include/asm-m68k/segment.h | __asm__ __volatile__ ("movesl %0,%1": /* no outputs */ :"r" (val),"m" (*addr) : "memory"); |
addr | 67 | include/asm-m68k/segment.h | #define put_fs_long(x,addr) put_user_long((x),(int *)(addr)) |
addr | 208 | include/asm-mips/asm.h | #define PREF(hint,addr) \ |
addr | 209 | include/asm-mips/asm.h | pref hint,addr |
addr | 210 | include/asm-mips/asm.h | #define PREFX(hint,addr) \ |
addr | 211 | include/asm-mips/asm.h | prefx hint,addr |
addr | 24 | include/asm-mips/bitops.h | extern __inline__ int set_bit(int nr, void *addr) |
addr | 28 | include/asm-mips/bitops.h | addr += ((nr >> 3) & ~3); |
addr | 31 | include/asm-mips/bitops.h | mw = load_linked(addr); |
addr | 34 | include/asm-mips/bitops.h | while (!store_conditional(addr, mw|mask)); |
addr | 39 | include/asm-mips/bitops.h | extern __inline__ int clear_bit(int nr, void *addr) |
addr | 43 | include/asm-mips/bitops.h | addr += ((nr >> 3) & ~3); |
addr | 46 | include/asm-mips/bitops.h | mw = load_linked(addr); |
addr | 49 | include/asm-mips/bitops.h | while (!store_conditional(addr, mw & ~mask)); |
addr | 54 | include/asm-mips/bitops.h | extern __inline__ int change_bit(int nr, void *addr) |
addr | 58 | include/asm-mips/bitops.h | addr += ((nr >> 3) & ~3); |
addr | 61 | include/asm-mips/bitops.h | mw = load_linked(addr); |
addr | 64 | include/asm-mips/bitops.h | while (!store_conditional(addr, mw ^ mask)); |
addr | 89 | include/asm-mips/bitops.h | extern __inline__ int set_bit(int nr, void * addr) |
addr | 92 | include/asm-mips/bitops.h | int *a = addr; |
addr | 106 | include/asm-mips/bitops.h | extern __inline__ int clear_bit(int nr, void * addr) |
addr | 109 | include/asm-mips/bitops.h | int *a = addr; |
addr | 123 | include/asm-mips/bitops.h | extern __inline__ int change_bit(int nr, void * addr) |
addr | 126 | include/asm-mips/bitops.h | int *a = addr; |
addr | 147 | include/asm-mips/bitops.h | extern __inline__ int test_bit(int nr, const void *addr) |
addr | 149 | include/asm-mips/bitops.h | return 1UL & (((const unsigned int *) addr)[nr >> 5] >> (nr & 31)); |
addr | 152 | include/asm-mips/bitops.h | extern __inline__ int find_first_zero_bit (void *addr, unsigned size) |
addr | 180 | include/asm-mips/bitops.h | "r" (addr) |
addr | 186 | include/asm-mips/bitops.h | extern __inline__ int find_next_zero_bit (void * addr, int size, int offset) |
addr | 188 | include/asm-mips/bitops.h | unsigned long * p = ((unsigned long *) addr) + (offset >> 5); |
addr | 217 | include/asm-mips/bitops.h | res = find_first_zero_bit (p, size - 32 * (p - (unsigned long *) addr)); |
addr | 33 | include/asm-mips/cachectl.h | extern int sys_cacheflush(void *addr, int nbytes, int cache); |
addr | 28 | include/asm-mips/floppy.h | #define fd_set_dma_addr(addr) feature->fd_set_dma_addr(addr) |
addr | 33 | include/asm-mips/floppy.h | #define fd_cacheflush(addr, size) feature->fd_cacheflush((void *)addr, size) |
addr | 76 | include/asm-mips/io.h | #define readb(addr) (*(volatile unsigned char *) (addr)) |
addr | 77 | include/asm-mips/io.h | #define readw(addr) (*(volatile unsigned short *) (addr)) |
addr | 78 | include/asm-mips/io.h | #define readl(addr) (*(volatile unsigned int *) (addr)) |
addr | 80 | include/asm-mips/io.h | #define writeb(b,addr) ((*(volatile unsigned char *) (addr)) = (b)) |
addr | 81 | include/asm-mips/io.h | #define writew(b,addr) ((*(volatile unsigned short *) (addr)) = (b)) |
addr | 82 | include/asm-mips/io.h | #define writel(b,addr) ((*(volatile unsigned int *) (addr)) = (b)) |
addr | 128 | include/asm-mips/io.h | extern inline void __ins##s(unsigned int port, void * addr, unsigned long count) { |
addr | 144 | include/asm-mips/io.h | : "=r" (addr), "=r" (count) \ |
addr | 145 | include/asm-mips/io.h | : "0" (addr), "1" (count), "i" (0), "r" (PORT_BASE+port), "I" (i) \ |
addr | 148 | include/asm-mips/io.h | : "=r" (addr), "=r" (count) \ |
addr | 149 | include/asm-mips/io.h | : "0" (addr), "1" (count), "ir" (port), "r" (PORT_BASE), "I" (i) \ |
addr | 153 | include/asm-mips/io.h | extern inline void __outs##s(unsigned int port, const void * addr, unsigned long count) { |
addr | 169 | include/asm-mips/io.h | : "=r" (addr), "=r" (count) \ |
addr | 170 | include/asm-mips/io.h | : "0" (addr), "1" (count), "i" (0), "r" (PORT_BASE+port), "I" (i) \ |
addr | 173 | include/asm-mips/io.h | : "=r" (addr), "=r" (count) \ |
addr | 174 | include/asm-mips/io.h | : "0" (addr), "1" (count), "ir" (port), "r" (PORT_BASE), "I" (i) \ |
addr | 259 | include/asm-mips/io.h | #define outsb(port,addr,count) \ |
addr | 261 | include/asm-mips/io.h | __outsbc((port),(addr),(count)) : \ |
addr | 262 | include/asm-mips/io.h | __outsb ((port),(addr),(count))) |
addr | 264 | include/asm-mips/io.h | #define insb(port,addr,count) \ |
addr | 266 | include/asm-mips/io.h | __insbc((port),(addr),(count)) : \ |
addr | 267 | include/asm-mips/io.h | __insb((port),(addr),(count))) |
addr | 269 | include/asm-mips/io.h | #define outsw(port,addr,count) \ |
addr | 271 | include/asm-mips/io.h | __outswc((port),(addr),(count)) : \ |
addr | 272 | include/asm-mips/io.h | __outsw ((port),(addr),(count))) |
addr | 274 | include/asm-mips/io.h | #define insw(port,addr,count) \ |
addr | 276 | include/asm-mips/io.h | __inswc((port),(addr),(count)) : \ |
addr | 277 | include/asm-mips/io.h | __insw((port),(addr),(count))) |
addr | 279 | include/asm-mips/io.h | #define outsl(port,addr,count) \ |
addr | 281 | include/asm-mips/io.h | __outslc((port),(addr),(count)) : \ |
addr | 282 | include/asm-mips/io.h | __outsl ((port),(addr),(count))) |
addr | 284 | include/asm-mips/io.h | #define insl(port,addr,count) \ |
addr | 286 | include/asm-mips/io.h | __inslc((port),(addr),(count)) : \ |
addr | 287 | include/asm-mips/io.h | __insl((port),(addr),(count))) |
addr | 258 | include/asm-mips/jazz.h | extern inline unsigned short r4030_read_reg16(unsigned addr) { |
addr | 259 | include/asm-mips/jazz.h | unsigned short ret = *((volatile unsigned short *)addr); |
addr | 270 | include/asm-mips/jazz.h | extern inline unsigned int r4030_read_reg32(unsigned addr) { |
addr | 271 | include/asm-mips/jazz.h | unsigned int ret = *((volatile unsigned int *)addr); |
addr | 282 | include/asm-mips/jazz.h | extern inline void r4030_write_reg16(unsigned addr, unsigned val) { |
addr | 283 | include/asm-mips/jazz.h | *((volatile unsigned short *)addr) = val; |
addr | 293 | include/asm-mips/jazz.h | extern inline unsigned int r4030_write_reg32(unsigned addr, unsigned val) { |
addr | 294 | include/asm-mips/jazz.h | *((volatile unsigned int *)addr) = val; |
addr | 23 | include/asm-mips/jazzdma.h | void vdma_set_addr(int channel, long addr); |
addr | 19 | include/asm-mips/mc146818rtc.h | #define CMOS_READ(addr) ({ \ |
addr | 20 | include/asm-mips/mc146818rtc.h | outb_p((addr),RTC_PORT(0)); \ |
addr | 23 | include/asm-mips/mc146818rtc.h | #define CMOS_WRITE(val, addr) ({ \ |
addr | 24 | include/asm-mips/mc146818rtc.h | outb_p((addr),RTC_PORT(0)); \ |
addr | 183 | include/asm-mips/mipsregs.h | #define load_linked(addr) \ |
addr | 190 | include/asm-mips/mipsregs.h | : "r" ((unsigned int) (addr))); \ |
addr | 195 | include/asm-mips/mipsregs.h | #define store_conditional(addr,value) \ |
addr | 202 | include/asm-mips/mipsregs.h | : "0" (value), "r" (addr)); \ |
addr | 66 | include/asm-mips/page.h | #define PAGE_ALIGN(addr) (((addr)+PAGE_SIZE-1)&PAGE_MASK) |
addr | 87 | include/asm-mips/page.h | #define MAP_NR(addr) ((((unsigned long)(addr)) & MAP_MASK) >> PAGE_SHIFT) |
addr | 43 | include/asm-mips/pgtable.h | #define invalidate_page(mm_struct,addr) \ |
addr | 99 | include/asm-mips/segment.h | #define get_fs_byte(addr) get_user((unsigned char *)(addr)) |
addr | 100 | include/asm-mips/segment.h | #define get_fs_word(addr) get_user((unsigned short *)(addr)) |
addr | 101 | include/asm-mips/segment.h | #define get_fs_long(addr) get_user((unsigned int *)(addr)) |
addr | 102 | include/asm-mips/segment.h | #define get_fs_quad(addr) get_user((unsigned long *)(addr)) |
addr | 104 | include/asm-mips/segment.h | #define put_fs_byte(x,addr) put_user((x),(char *)(addr)) |
addr | 105 | include/asm-mips/segment.h | #define put_fs_word(x,addr) put_user((x),(short *)(addr)) |
addr | 106 | include/asm-mips/segment.h | #define put_fs_long(x,addr) put_user((x),(int *)(addr)) |
addr | 107 | include/asm-mips/segment.h | #define put_fs_quad(x,addr) put_user((x),(long *)(addr)) |
addr | 206 | include/asm-mips/string.h | extern __inline__ void * memscan(void * addr, int c, size_t size) |
addr | 209 | include/asm-mips/string.h | return addr; |
addr | 220 | include/asm-mips/string.h | : "=r" (addr), "=r" (size) |
addr | 221 | include/asm-mips/string.h | : "0" (addr), "1" (size), "r" (c) |
addr | 224 | include/asm-mips/string.h | return addr; |
addr | 214 | include/asm-mips/system.h | #define set_int_vector(n,addr) \ |
addr | 215 | include/asm-mips/system.h | IRQ_vectors[n] = (unsigned long) (addr) |
addr | 217 | include/asm-mips/system.h | #define set_except_vector(n,addr) \ |
addr | 218 | include/asm-mips/system.h | exception_handlers[n] = (unsigned long) (addr) |
addr | 40 | include/asm-mips/vector.h | void (*fd_cacheflush)(unsigned char *addr, unsigned int size); |
addr | 28 | include/asm-ppc/bitops.h | BITFIELD *addr = add; |
addr | 31 | include/asm-ppc/bitops.h | addr += nr >> 5; |
addr | 33 | include/asm-ppc/bitops.h | oldbit = (mask & *addr) != 0; |
addr | 34 | include/asm-ppc/bitops.h | *addr |= mask; |
addr | 45 | include/asm-ppc/bitops.h | BITFIELD *addr = add; |
addr | 48 | include/asm-ppc/bitops.h | addr += nr >> 5; |
addr | 50 | include/asm-ppc/bitops.h | retval = (mask & *addr) != 0; |
addr | 51 | include/asm-ppc/bitops.h | *addr ^= mask; |
addr | 60 | include/asm-ppc/bitops.h | BITFIELD *addr = add; |
addr | 63 | include/asm-ppc/bitops.h | addr += nr >> 5; |
addr | 65 | include/asm-ppc/bitops.h | retval = (mask & *addr) != 0; |
addr | 66 | include/asm-ppc/bitops.h | *addr &= ~mask; |
addr | 75 | include/asm-ppc/bitops.h | BITFIELD *addr = add; |
addr | 77 | include/asm-ppc/bitops.h | addr += nr >> 5; |
addr | 79 | include/asm-ppc/bitops.h | return ((mask & *addr) != 0); |
addr | 39 | include/asm-ppc/io.h | #define readb(addr) (*(volatile unsigned char *) (addr)) |
addr | 40 | include/asm-ppc/io.h | #define readw(addr) (*(volatile unsigned short *) (addr)) |
addr | 41 | include/asm-ppc/io.h | #define readl(addr) (*(volatile unsigned int *) (addr)) |
addr | 43 | include/asm-ppc/io.h | #define writeb(b,addr) ((*(volatile unsigned char *) (addr)) = (b)) |
addr | 44 | include/asm-ppc/io.h | #define writew(b,addr) ((*(volatile unsigned short *) (addr)) = (b)) |
addr | 45 | include/asm-ppc/io.h | #define writel(b,addr) ((*(volatile unsigned int *) (addr)) = (b)) |
addr | 56 | include/asm-ppc/page.h | #define PAGE_ALIGN(addr) (((addr)+PAGE_SIZE-1)&PAGE_MASK) |
addr | 62 | include/asm-ppc/page.h | #define MAP_NR(addr) ((((unsigned long)addr) - PAGE_OFFSET) >> PAGE_SHIFT) |
addr | 47 | include/asm-ppc/segment.h | static inline unsigned char get_user_byte(const char * addr) |
addr | 49 | include/asm-ppc/segment.h | return *addr; |
addr | 52 | include/asm-ppc/segment.h | #define get_fs_byte(addr) get_user_byte((char *)(addr)) |
addr | 54 | include/asm-ppc/segment.h | static inline unsigned short get_user_word(const short *addr) |
addr | 56 | include/asm-ppc/segment.h | return *addr; |
addr | 59 | include/asm-ppc/segment.h | #define get_fs_word(addr) get_user_word((short *)(addr)) |
addr | 61 | include/asm-ppc/segment.h | static inline unsigned long get_user_long(const int *addr) |
addr | 63 | include/asm-ppc/segment.h | return *addr; |
addr | 66 | include/asm-ppc/segment.h | #define get_fs_long(addr) get_user_long((int *)(addr)) |
addr | 68 | include/asm-ppc/segment.h | static inline unsigned long get_user_quad(const long *addr) |
addr | 70 | include/asm-ppc/segment.h | return *addr; |
addr | 73 | include/asm-ppc/segment.h | #define get_fs_quad(addr) get_user_quad((long *)(addr)) |
addr | 75 | include/asm-ppc/segment.h | static inline void put_user_byte(char val,char *addr) |
addr | 77 | include/asm-ppc/segment.h | *addr = val; |
addr | 80 | include/asm-ppc/segment.h | #define put_fs_byte(x,addr) put_user_byte((x),(char *)(addr)) |
addr | 82 | include/asm-ppc/segment.h | static inline void put_user_word(short val,short * addr) |
addr | 84 | include/asm-ppc/segment.h | *addr = val; |
addr | 87 | include/asm-ppc/segment.h | #define put_fs_word(x,addr) put_user_word((x),(short *)(addr)) |
addr | 89 | include/asm-ppc/segment.h | static inline void put_user_long(unsigned long val,int * addr) |
addr | 91 | include/asm-ppc/segment.h | *addr = val; |
addr | 94 | include/asm-ppc/segment.h | #define put_fs_long(x,addr) put_user_long((x),(int *)(addr)) |
addr | 96 | include/asm-ppc/segment.h | static inline void put_user_quad(unsigned long val,long * addr) |
addr | 98 | include/asm-ppc/segment.h | *addr = val; |
addr | 101 | include/asm-ppc/segment.h | #define put_fs_quad(x,addr) put_user_quad((x),(long *)(addr)) |
addr | 232 | include/asm-sparc/asi.h | ldb_sun4m_bypass(unsigned int addr) |
addr | 238 | include/asm-sparc/asi.h | "i" (ASI_M_BYPASS), "r" (addr)); |
addr | 244 | include/asm-sparc/asi.h | ldw_sun4m_bypass(unsigned int addr) |
addr | 250 | include/asm-sparc/asi.h | "i" (ASI_M_BYPASS), "r" (addr)); |
addr | 256 | include/asm-sparc/asi.h | stb_sun4m_bypass(unsigned char value, unsigned int addr) |
addr | 259 | include/asm-sparc/asi.h | "r" (value), "i" (ASI_M_BYPASS), "r" (addr) : |
addr | 264 | include/asm-sparc/asi.h | stw_sun4m_bypass(unsigned int value, unsigned int addr) |
addr | 267 | include/asm-sparc/asi.h | "r" (value), "i" (ASI_M_BYPASS), "r" (addr) : |
addr | 22 | include/asm-sparc/bitops.h | extern __inline__ unsigned long set_bit(unsigned long nr, void *addr) |
addr | 25 | include/asm-sparc/bitops.h | unsigned long *ADDR = (unsigned long *) addr; |
addr | 37 | include/asm-sparc/bitops.h | extern __inline__ unsigned long clear_bit(unsigned long nr, void *addr) |
addr | 40 | include/asm-sparc/bitops.h | unsigned long *ADDR = (unsigned long *) addr; |
addr | 52 | include/asm-sparc/bitops.h | extern __inline__ unsigned long change_bit(unsigned long nr, void *addr) |
addr | 55 | include/asm-sparc/bitops.h | unsigned long *ADDR = (unsigned long *) addr; |
addr | 68 | include/asm-sparc/bitops.h | extern __inline__ unsigned long test_bit(int nr, const void *addr) |
addr | 70 | include/asm-sparc/bitops.h | return 1UL & (((const unsigned int *) addr)[nr >> 5] >> (nr & 31)); |
addr | 90 | include/asm-sparc/bitops.h | extern __inline__ unsigned long find_next_zero_bit(void *addr, unsigned long size, unsigned long offset) |
addr | 92 | include/asm-sparc/bitops.h | unsigned long *p = ((unsigned long *) addr) + (offset >> 5); |
addr | 130 | include/asm-sparc/bitops.h | #define find_first_zero_bit(addr, size) \ |
addr | 131 | include/asm-sparc/bitops.h | find_next_zero_bit((addr), (size), 0) |
addr | 135 | include/asm-sparc/bitops.h | extern __inline__ int ext2_set_bit(int nr,void * addr) |
addr | 138 | include/asm-sparc/bitops.h | unsigned char *ADDR = (unsigned char *) addr; |
addr | 149 | include/asm-sparc/bitops.h | extern __inline__ int ext2_clear_bit(int nr, void * addr) |
addr | 152 | include/asm-sparc/bitops.h | unsigned char *ADDR = (unsigned char *) addr; |
addr | 163 | include/asm-sparc/bitops.h | extern __inline__ int ext2_test_bit(int nr, const void * addr) |
addr | 166 | include/asm-sparc/bitops.h | const unsigned char *ADDR = (const unsigned char *) addr; |
addr | 173 | include/asm-sparc/bitops.h | #define ext2_find_first_zero_bit(addr, size) \ |
addr | 174 | include/asm-sparc/bitops.h | ext2_find_next_zero_bit((addr), (size), 0) |
addr | 176 | include/asm-sparc/bitops.h | extern __inline__ unsigned long ext2_find_next_zero_bit(void *addr, unsigned long size, unsigned long offset) |
addr | 178 | include/asm-sparc/bitops.h | unsigned long *p = ((unsigned long *) addr) + (offset >> 5); |
addr | 88 | include/asm-sparc/cache.h | extern inline void flush_ei_page(unsigned int addr) |
addr | 91 | include/asm-sparc/cache.h | "r" (addr), "i" (ASI_M_FLUSH_PAGE) : |
addr | 95 | include/asm-sparc/cache.h | extern inline void flush_ei_seg(unsigned int addr) |
addr | 98 | include/asm-sparc/cache.h | "r" (addr), "i" (ASI_M_FLUSH_SEG) : |
addr | 102 | include/asm-sparc/cache.h | extern inline void flush_ei_region(unsigned int addr) |
addr | 105 | include/asm-sparc/cache.h | "r" (addr), "i" (ASI_M_FLUSH_REGION) : |
addr | 109 | include/asm-sparc/cache.h | extern inline void flush_ei_ctx(unsigned int addr) |
addr | 112 | include/asm-sparc/cache.h | "r" (addr), "i" (ASI_M_FLUSH_CTX) : |
addr | 116 | include/asm-sparc/cache.h | extern inline void flush_ei_user(unsigned int addr) |
addr | 119 | include/asm-sparc/cache.h | "r" (addr), "i" (ASI_M_FLUSH_USER) : |
addr | 57 | include/asm-sparc/cypress.h | extern inline void cypress_flush_segment(unsigned long addr) |
addr | 60 | include/asm-sparc/cypress.h | "r" (addr), "i" (ASI_M_FLUSH_SEG)); |
addr | 63 | include/asm-sparc/cypress.h | extern inline void cypress_flush_region(unsigned long addr) |
addr | 66 | include/asm-sparc/cypress.h | "r" (addr), "i" (ASI_M_FLUSH_REGION)); |
addr | 61 | include/asm-sparc/dma.h | unsigned long addr; /* Start address of current transfer */ |
addr | 126 | include/asm-sparc/dma.h | #define DMA_MAXEND(addr) (0x01000000UL-(((unsigned long)(addr))&0x00ffffffUL)) |
addr | 136 | include/asm-sparc/dma.h | #define DMA_SETSTART(regs, addr) ((((regs)->st_addr) = (char *) addr)) |
addr | 62 | include/asm-sparc/floppy.h | #define fd_set_dma_addr(addr) sun_fd_set_dma_addr(addr) |
addr | 66 | include/asm-sparc/floppy.h | #define fd_cacheflush(addr, size) /* nothing... */ |
addr | 17 | include/asm-sparc/io.h | extern inline unsigned long inb_local(unsigned long addr) |
addr | 22 | include/asm-sparc/io.h | extern inline void outb_local(unsigned char b, unsigned long addr) |
addr | 27 | include/asm-sparc/io.h | extern inline unsigned long inb(unsigned long addr) |
addr | 32 | include/asm-sparc/io.h | extern inline unsigned long inw(unsigned long addr) |
addr | 37 | include/asm-sparc/io.h | extern inline unsigned long inl(unsigned long addr) |
addr | 42 | include/asm-sparc/io.h | extern inline void outb(unsigned char b, unsigned long addr) |
addr | 47 | include/asm-sparc/io.h | extern inline void outw(unsigned short b, unsigned long addr) |
addr | 52 | include/asm-sparc/io.h | extern inline void outl(unsigned int b, unsigned long addr) |
addr | 60 | include/asm-sparc/io.h | extern inline unsigned long readb(unsigned long addr) |
addr | 65 | include/asm-sparc/io.h | extern inline unsigned long readw(unsigned long addr) |
addr | 70 | include/asm-sparc/io.h | extern inline unsigned long readl(unsigned long addr) |
addr | 75 | include/asm-sparc/io.h | extern inline void writeb(unsigned short b, unsigned long addr) |
addr | 80 | include/asm-sparc/io.h | extern inline void writew(unsigned short b, unsigned long addr) |
addr | 85 | include/asm-sparc/io.h | extern inline void writel(unsigned int b, unsigned long addr) |
addr | 107 | include/asm-sparc/page.h | #define PAGE_ALIGN(addr) (((addr)+PAGE_SIZE-1)&PAGE_MASK) |
addr | 112 | include/asm-sparc/page.h | #define MAP_NR(addr) ((((unsigned long) (addr)) - PAGE_OFFSET) >> PAGE_SHIFT) |
addr | 16 | include/asm-sparc/pgtsrmmu.h | #define SRMMU_PMD_ALIGN(addr) (((addr)+SRMMU_PMD_SIZE-1)&SRMMU_PMD_MASK) |
addr | 22 | include/asm-sparc/pgtsrmmu.h | #define SRMMU_PGDIR_ALIGN(addr) (((addr)+SRMMU_PGDIR_SIZE-1)&SRMMU_PGDIR_MASK) |
addr | 181 | include/asm-sparc/pgtsrmmu.h | extern inline void srmmu_flush_tlb_region(unsigned long addr) |
addr | 183 | include/asm-sparc/pgtsrmmu.h | addr &= SRMMU_PGDIR_MASK; |
addr | 185 | include/asm-sparc/pgtsrmmu.h | "r" (addr | 0x200), /* Flush TLB region.. */ |
addr | 191 | include/asm-sparc/pgtsrmmu.h | extern inline void srmmu_flush_tlb_segment(unsigned long addr) |
addr | 193 | include/asm-sparc/pgtsrmmu.h | addr &= SRMMU_PMD_MASK; |
addr | 195 | include/asm-sparc/pgtsrmmu.h | "r" (addr | 0x100), /* Flush TLB segment.. */ |
addr | 13 | include/asm-sparc/pgtsun4c.h | #define SUN4C_PMD_ALIGN(addr) (((addr)+SUN4C_PMD_SIZE-1)&SUN4C_PMD_MASK) |
addr | 19 | include/asm-sparc/pgtsun4c.h | #define SUN4C_PGDIR_ALIGN(addr) (((addr)+SUN4C_PGDIR_SIZE-1)&SUN4C_PGDIR_MASK) |
addr | 25 | include/asm-sparc/pgtsun4c.h | #define SUN4C_REAL_PGDIR_ALIGN(addr) (((addr)+SUN4C_REAL_PGDIR_SIZE-1)&SUN4C_REAL_PGDIR_MASK) |
addr | 92 | include/asm-sparc/pgtsun4c.h | extern __inline__ unsigned long sun4c_get_segmap(unsigned long addr) |
addr | 98 | include/asm-sparc/pgtsun4c.h | "r" (addr), "i" (ASI_SEGMAP)); |
addr | 103 | include/asm-sparc/pgtsun4c.h | extern __inline__ void sun4c_put_segmap(unsigned long addr, unsigned long entry) |
addr | 107 | include/asm-sparc/pgtsun4c.h | "r" (addr), "r" (entry), |
addr | 113 | include/asm-sparc/pgtsun4c.h | extern __inline__ unsigned long sun4c_get_pte(unsigned long addr) |
addr | 119 | include/asm-sparc/pgtsun4c.h | "r" (addr), "i" (ASI_PTE)); |
addr | 123 | include/asm-sparc/pgtsun4c.h | extern __inline__ void sun4c_put_pte(unsigned long addr, unsigned long entry) |
addr | 126 | include/asm-sparc/pgtsun4c.h | "r" (addr), |
addr | 56 | include/asm-sparc/ross.h | extern inline void hyper_flush_i_page(unsigned int addr) |
addr | 59 | include/asm-sparc/ross.h | "r" (addr), "i" (ASI_M_IFLUSH_PAGE) : |
addr | 64 | include/asm-sparc/ross.h | extern inline void hyper_flush_i_seg(unsigned int addr) |
addr | 67 | include/asm-sparc/ross.h | "r" (addr), "i" (ASI_M_IFLUSH_SEG) : |
addr | 72 | include/asm-sparc/ross.h | extern inline void hyper_flush_i_region(unsigned int addr) |
addr | 75 | include/asm-sparc/ross.h | "r" (addr), "i" (ASI_M_IFLUSH_REGION) : |
addr | 80 | include/asm-sparc/ross.h | extern inline void hyper_flush_i_ctx(unsigned int addr) |
addr | 83 | include/asm-sparc/ross.h | "r" (addr), "i" (ASI_M_IFLUSH_CTX) : |
addr | 88 | include/asm-sparc/ross.h | extern inline void hyper_flush_i_user(unsigned int addr) |
addr | 91 | include/asm-sparc/ross.h | "r" (addr), "i" (ASI_M_IFLUSH_USER) : |
addr | 160 | include/asm-sparc/ross.h | unsigned long addr; |
addr | 162 | include/asm-sparc/ross.h | for(addr = 0; addr < hyper_cache_size; addr += 32) |
addr | 164 | include/asm-sparc/ross.h | "r" (addr)); |
addr | 61 | include/asm-sparc/segment.h | static inline unsigned char get_user_byte(const char * addr) |
addr | 63 | include/asm-sparc/segment.h | return *addr; |
addr | 66 | include/asm-sparc/segment.h | #define get_fs_byte(addr) get_user_byte((char *)(addr)) |
addr | 68 | include/asm-sparc/segment.h | static inline unsigned short get_user_word(const short *addr) |
addr | 70 | include/asm-sparc/segment.h | return *addr; |
addr | 73 | include/asm-sparc/segment.h | #define get_fs_word(addr) get_user_word((short *)(addr)) |
addr | 75 | include/asm-sparc/segment.h | static inline unsigned long get_user_long(const int *addr) |
addr | 77 | include/asm-sparc/segment.h | return *addr; |
addr | 80 | include/asm-sparc/segment.h | #define get_fs_long(addr) get_user_long((int *)(addr)) |
addr | 82 | include/asm-sparc/segment.h | static inline void put_user_byte(char val,char *addr) |
addr | 84 | include/asm-sparc/segment.h | *addr = val; |
addr | 87 | include/asm-sparc/segment.h | #define put_fs_byte(x,addr) put_user_byte((x),(char *)(addr)) |
addr | 89 | include/asm-sparc/segment.h | static inline void put_user_word(short val,short * addr) |
addr | 91 | include/asm-sparc/segment.h | *addr = val; |
addr | 94 | include/asm-sparc/segment.h | #define put_fs_word(x,addr) put_user_word((x),(short *)(addr)) |
addr | 96 | include/asm-sparc/segment.h | static inline void put_user_long(unsigned long val,int * addr) |
addr | 98 | include/asm-sparc/segment.h | *addr = val; |
addr | 101 | include/asm-sparc/segment.h | #define put_fs_long(x,addr) put_user_long((x),(int *)(addr)) |
addr | 30 | include/asm-sparc/smp.h | unsigned long addr; /* page for inv_pg, start for inv_rnge */ |
addr | 18 | include/asm-sparc/smpprim.h | extern inline volatile char test_and_set(void *addr) |
addr | 23 | include/asm-sparc/smpprim.h | "=r" (addr), "=r" (state) : |
addr | 24 | include/asm-sparc/smpprim.h | "0" (addr), "1" (state) : "memory"); |
addr | 39 | include/asm-sparc/smpprim.h | extern inline volatile smp_lock(void *addr) |
addr | 41 | include/asm-sparc/smpprim.h | while(test_and_set(addr) == 0xff) |
addr | 49 | include/asm-sparc/smpprim.h | extern inline volatile smp_unlock(void *addr) |
addr | 51 | include/asm-sparc/smpprim.h | *((unsigned char *) addr) = 0; |
addr | 29 | include/asm-sparc/swift.h | extern inline void swift_inv_insn_tag(unsigned long addr) |
addr | 32 | include/asm-sparc/swift.h | "r" (addr), "i" (ASI_M_TXTC_TAG)); |
addr | 35 | include/asm-sparc/swift.h | extern inline void swift_inv_data_tag(unsigned long addr) |
addr | 38 | include/asm-sparc/swift.h | "r" (addr), "i" (ASI_M_DATAC_TAG)); |
addr | 47 | include/asm-sparc/swift.h | extern inline void swift_flush_segment(unsigned long addr) |
addr | 50 | include/asm-sparc/swift.h | "r" (addr), "i" (ASI_M_FLUSH_SEG)); |
addr | 53 | include/asm-sparc/swift.h | extern inline void swift_flush_region(unsigned long addr) |
addr | 56 | include/asm-sparc/swift.h | "r" (addr), "i" (ASI_M_FLUSH_REGION)); |
addr | 15 | include/asm-sparc/user.h | unsigned long *addr; |
addr | 142 | include/linux/atalk.h | extern void aarp_send_probe(struct device *dev, struct at_addr *addr); |
addr | 55 | include/linux/ax25.h | ax25_address addr; |
addr | 45 | include/linux/binfmts.h | char * addr, unsigned long count, int to_kmem); |
addr | 187 | include/linux/cdrom.h | union cdrom_addr addr; /* frame address */ |
addr | 200 | include/linux/cdrom.h | union cdrom_addr addr; /* frame address: start-of-last-session (not the new "frame 16"!)*/ |
addr | 112 | include/linux/igmp.h | extern int ip_mc_join_group(struct sock *sk, struct device *dev, unsigned long addr); |
addr | 113 | include/linux/igmp.h | extern int ip_mc_leave_group(struct sock *sk, struct device *dev,unsigned long addr); |
addr | 20 | include/linux/mc146818rtc.h | #define CMOS_READ(addr) ({ \ |
addr | 21 | include/linux/mc146818rtc.h | outb_p((addr),RTC_PORT(0)); \ |
addr | 24 | include/linux/mc146818rtc.h | #define CMOS_WRITE(val, addr) ({ \ |
addr | 25 | include/linux/mc146818rtc.h | outb_p((addr),RTC_PORT(0)); \ |
addr | 165 | include/linux/mm.h | #define free_page(addr) free_pages((addr),0) |
addr | 166 | include/linux/mm.h | extern void free_pages(unsigned long addr, unsigned long order); |
addr | 197 | include/linux/mm.h | extern void vfree(void * addr); |
addr | 198 | include/linux/mm.h | extern int vread(char *buf, char *addr, int count); |
addr | 201 | include/linux/mm.h | extern unsigned long do_mmap(struct file * file, unsigned long addr, unsigned long len, |
addr | 251 | include/linux/mm.h | static inline struct vm_area_struct * find_vma (struct task_struct * task, unsigned long addr) |
addr | 261 | include/linux/mm.h | if (tree->vm_end > addr) { |
addr | 262 | include/linux/mm.h | if (tree->vm_start <= addr) |
addr | 46 | include/linux/module.h | void *addr; |
addr | 67 | include/linux/module.h | void* addr; /* address of module */ |
addr | 83 | include/linux/module.h | #define GET_USE_COUNT(module) (* (long *) (module)->addr) |
addr | 31 | include/linux/ncp_fs.h | struct sockaddr_ipx addr; |
addr | 182 | include/linux/netdevice.h | int (*set_mac_address)(struct device *dev, void *addr); |
addr | 220 | include/linux/netdevice.h | extern int ip_chk_addr(unsigned long addr); |
addr | 223 | include/linux/netdevice.h | extern unsigned long ip_get_mask(unsigned long addr); |
addr | 224 | include/linux/netdevice.h | extern struct device *ip_dev_find(unsigned long addr); |
addr | 295 | include/linux/netdevice.h | extern void dev_mc_delete(struct device *dev, void *addr, int alen, int all); |
addr | 296 | include/linux/netdevice.h | extern void dev_mc_add(struct device *dev, void *addr, int alen, int newonly); |
addr | 47 | include/linux/nfs_mount.h | struct sockaddr_in addr; /* 1 */ |
addr | 54 | include/linux/sdla.h | int addr; |
addr | 63 | include/linux/shm.h | asmlinkage int sys_shmat (int shmid, char *shmaddr, int shmflg, ulong *addr); |
addr | 20 | include/linux/smb_mount.h | struct sockaddr_in addr; |
addr | 120 | include/linux/swapctl.h | static inline int age_of(unsigned long addr) |
addr | 122 | include/linux/swapctl.h | return mem_map[MAP_NR(addr)].age; |
addr | 125 | include/linux/swapctl.h | static inline void set_page_new(unsigned long addr) |
addr | 127 | include/linux/swapctl.h | mem_map[MAP_NR(addr)].age = PAGE_INITIAL_AGE; |
addr | 71 | include/net/route.h | static __inline__ void ATOMIC_INCR(unsigned int * addr) |
addr | 81 | include/net/route.h | : "m=" (*addr), "r=&" (tmp) |
addr | 82 | include/net/route.h | : "m"(*addr)); |
addr | 85 | include/net/route.h | static __inline__ void ATOMIC_DECR(unsigned int * addr) |
addr | 95 | include/net/route.h | : "m=" (*addr), "r=&" (tmp) |
addr | 96 | include/net/route.h | : "m"(*addr)); |
addr | 99 | include/net/route.h | static __inline__ int ATOMIC_DECR_AND_CHECK (unsigned int * addr) |
addr | 111 | include/net/route.h | : "m=" (*addr), "r=&" (tmp), "r=&"(result) |
addr | 112 | include/net/route.h | : "m"(*addr)); |
addr | 119 | include/net/route.h | extern __inline__ void ATOMIC_INCR(void * addr) |
addr | 126 | include/net/route.h | extern __inline__ void ATOMIC_DECR(void * addr) |
addr | 138 | include/net/route.h | extern __inline__ unsigned long ATOMIC_DECR_AND_CHECK(void * addr) |
addr | 150 | include/net/route.h | static __inline__ void ATOMIC_INCR(unsigned int * addr) |
addr | 152 | include/net/route.h | (*(__volatile__ unsigned int*)addr)++; |
addr | 155 | include/net/route.h | static __inline__ void ATOMIC_DECR(unsigned int * addr) |
addr | 157 | include/net/route.h | (*(__volatile__ unsigned int*)addr)--; |
addr | 160 | include/net/route.h | static __inline__ int ATOMIC_DECR_AND_CHECK (unsigned int * addr) |
addr | 162 | include/net/route.h | ATOMIC_DECR(addr); |
addr | 163 | include/net/route.h | return *(volatile unsigned int*)addr; |
addr | 220 | include/net/route.h | extern __inline__ unsigned ip_rt_hash_code(__u32 addr) |
addr | 222 | include/net/route.h | unsigned tmp = addr + (addr>>16); |
addr | 463 | ipc/shm.c | unsigned long addr; |
addr | 476 | ipc/shm.c | if (!(addr = (ulong) shmaddr)) { |
addr | 479 | ipc/shm.c | if (!(addr = get_unmapped_area(0, shp->shm_segsz))) |
addr | 481 | ipc/shm.c | } else if (addr & (SHMLBA-1)) { |
addr | 483 | ipc/shm.c | addr &= ~(SHMLBA-1); /* round down */ |
addr | 491 | ipc/shm.c | if (addr < current->mm->start_stack && |
addr | 492 | ipc/shm.c | addr > current->mm->start_stack - PAGE_SIZE*(shp->shm_npages + 4)) |
addr | 498 | ipc/shm.c | if ((shmd = find_vma_intersection(current, addr, addr + shp->shm_segsz))) { |
addr | 518 | ipc/shm.c | shmd->vm_start = addr; |
addr | 519 | ipc/shm.c | shmd->vm_end = addr + shp->shm_npages * PAGE_SIZE; |
addr | 543 | ipc/shm.c | *raddr = addr; |
addr | 106 | ipc/util.c | asmlinkage int sys_shmat (int shmid, char *shmaddr, int shmflg, ulong *addr) |
addr | 91 | kernel/module.c | void* addr; |
addr | 113 | kernel/module.c | if ((addr = vmalloc(npages * PAGE_SIZE)) == 0) { |
addr | 123 | kernel/module.c | mp->addr = addr; |
addr | 127 | kernel/module.c | * (long *) addr = 0; /* set use count to zero */ |
addr | 131 | kernel/module.c | mp->name, (unsigned long) mp->size, (unsigned long) mp->addr)); |
addr | 132 | kernel/module.c | return (unsigned long) addr; |
addr | 185 | kernel/module.c | memcpy_fromfs((char *)mp->addr + sizeof (long), code, codesize); |
addr | 186 | kernel/module.c | memset((char *)mp->addr + sizeof (long) + codesize, 0, |
addr | 376 | kernel/module.c | isym.value = (unsigned long)from->addr; |
addr | 474 | kernel/module.c | vfree(mp->addr); |
addr | 580 | kernel/module.c | (long)sym->addr, |
addr | 584 | kernel/module.c | (long)sym->addr, |
addr | 270 | lib/string.c | void * memscan(void * addr, int c, size_t size) |
addr | 272 | lib/string.c | unsigned char * p = (unsigned char *) addr; |
addr | 211 | mm/filemap.c | unsigned long addr; |
addr | 214 | mm/filemap.c | addr = page_address(page); |
addr | 215 | mm/filemap.c | memcpy((void *) (offset + addr), buf, len); |
addr | 216 | mm/filemap.c | free_page(addr); |
addr | 323 | mm/filemap.c | unsigned long offset, addr, nr; |
addr | 359 | mm/filemap.c | addr = page_address(page); |
addr | 384 | mm/filemap.c | memcpy_tofs(buf, (void *) (addr + offset), nr); |
addr | 385 | mm/filemap.c | free_page(addr); |
addr | 399 | mm/filemap.c | addr = page_cache; |
addr | 421 | mm/filemap.c | free_page(addr); |
addr | 310 | mm/memory.c | unsigned long addr = pte_page(page); |
addr | 311 | mm/memory.c | if (addr >= high_memory || mem_map[MAP_NR(addr)].reserved) |
addr | 313 | mm/memory.c | free_page(addr); |
addr | 671 | mm/memory.c | int verify_area(int type, const void * addr, unsigned long size) |
addr | 674 | mm/memory.c | unsigned long start = (unsigned long) addr; |
addr | 42 | mm/mmap.c | unsigned long do_mmap(struct file * file, unsigned long addr, unsigned long len, |
addr | 48 | mm/mmap.c | return addr; |
addr | 50 | mm/mmap.c | if (addr > TASK_SIZE || len > TASK_SIZE || addr > TASK_SIZE-len) |
addr | 98 | mm/mmap.c | if (addr & ~PAGE_MASK) |
addr | 100 | mm/mmap.c | if (len > TASK_SIZE || addr > TASK_SIZE - len) |
addr | 103 | mm/mmap.c | addr = get_unmapped_area(addr, len); |
addr | 104 | mm/mmap.c | if (!addr) |
addr | 122 | mm/mmap.c | vma->vm_start = addr; |
addr | 123 | mm/mmap.c | vma->vm_end = addr + len; |
addr | 154 | mm/mmap.c | do_munmap(addr, len); /* Clear old maps */ |
addr | 172 | mm/mmap.c | unsigned long start = addr; |
addr | 181 | mm/mmap.c | return addr; |
addr | 189 | mm/mmap.c | unsigned long get_unmapped_area(unsigned long addr, unsigned long len) |
addr | 195 | mm/mmap.c | if (!addr) |
addr | 196 | mm/mmap.c | addr = TASK_SIZE / 3; |
addr | 197 | mm/mmap.c | addr = PAGE_ALIGN(addr); |
addr | 199 | mm/mmap.c | for (vmm = find_vma(current, addr); ; vmm = vmm->vm_next) { |
addr | 201 | mm/mmap.c | if (TASK_SIZE - len < addr) |
addr | 203 | mm/mmap.c | if (!vmm || addr + len <= vmm->vm_start) |
addr | 204 | mm/mmap.c | return addr; |
addr | 205 | mm/mmap.c | addr = vmm->vm_end; |
addr | 600 | mm/mmap.c | unsigned long addr, size_t len) |
addr | 603 | mm/mmap.c | unsigned long end = addr + len; |
addr | 605 | mm/mmap.c | if (addr < area->vm_start || addr >= area->vm_end || |
addr | 607 | mm/mmap.c | end < addr) |
addr | 610 | mm/mmap.c | area->vm_start, area->vm_end, addr, end); |
addr | 618 | mm/mmap.c | if (addr == area->vm_start && end == area->vm_end) { |
addr | 628 | mm/mmap.c | area->vm_end = addr; |
addr | 630 | mm/mmap.c | if (addr == area->vm_start) { |
addr | 648 | mm/mmap.c | area->vm_end = addr; /* Truncate area */ |
addr | 666 | mm/mmap.c | asmlinkage int sys_munmap(unsigned long addr, size_t len) |
addr | 668 | mm/mmap.c | return do_munmap(addr, len); |
addr | 677 | mm/mmap.c | int do_munmap(unsigned long addr, size_t len) |
addr | 681 | mm/mmap.c | if ((addr & ~PAGE_MASK) || addr > TASK_SIZE || len > TASK_SIZE-addr) |
addr | 693 | mm/mmap.c | mpnt = find_vma(current, addr); |
addr | 702 | mm/mmap.c | for ( ; mpnt && mpnt->vm_start < addr+len; mpnt = *npp) { |
addr | 726 | mm/mmap.c | st = addr < mpnt->vm_start ? mpnt->vm_start : addr; |
addr | 727 | mm/mmap.c | end = addr+len; |
addr | 737 | mm/mmap.c | zap_page_range(current->mm, addr, len); |
addr | 22 | mm/mremap.c | static inline pte_t *get_one_pte(struct mm_struct *mm, unsigned long addr) |
addr | 28 | mm/mremap.c | pgd = pgd_offset(mm, addr); |
addr | 37 | mm/mremap.c | pmd = pmd_offset(pgd, addr); |
addr | 46 | mm/mremap.c | pte = pte_offset(pmd, addr); |
addr | 53 | mm/mremap.c | static inline pte_t *alloc_one_pte(struct mm_struct *mm, unsigned long addr) |
addr | 58 | mm/mremap.c | pmd = pmd_alloc(pgd_offset(mm, addr), addr); |
addr | 60 | mm/mremap.c | pte = pte_alloc(pmd, addr); |
addr | 128 | mm/mremap.c | unsigned long addr, unsigned long old_len, unsigned long new_len) |
addr | 135 | mm/mremap.c | unsigned long new_addr = get_unmapped_area(addr, new_len); |
addr | 137 | mm/mremap.c | if (new_addr && !move_page_tables(current->mm, new_addr, addr, old_len)) { |
addr | 141 | mm/mremap.c | new_vma->vm_offset = vma->vm_offset + (addr - vma->vm_start); |
addr | 148 | mm/mremap.c | do_munmap(addr, old_len); |
addr | 160 | mm/mremap.c | asmlinkage unsigned long sys_mremap(unsigned long addr, |
addr | 166 | mm/mremap.c | if (addr & ~PAGE_MASK) |
addr | 171 | mm/mremap.c | return addr; |
addr | 178 | mm/mremap.c | do_munmap(addr+new_len, old_len - new_len); |
addr | 179 | mm/mremap.c | return addr; |
addr | 185 | mm/mremap.c | vma = find_vma(current, addr); |
addr | 186 | mm/mremap.c | if (!vma || vma->vm_start > addr) |
addr | 189 | mm/mremap.c | if (old_len > vma->vm_end - addr) |
addr | 199 | mm/mremap.c | if (old_len == vma->vm_end - addr) { |
addr | 204 | mm/mremap.c | if (max_addr - addr >= new_len) { |
addr | 206 | mm/mremap.c | vma->vm_end = addr + new_len; |
addr | 210 | mm/mremap.c | return addr; |
addr | 220 | mm/mremap.c | return move_vma(vma, addr, old_len, new_len); |
addr | 126 | mm/page_alloc.c | void free_pages(unsigned long addr, unsigned long order) |
addr | 128 | mm/page_alloc.c | unsigned long map_nr = MAP_NR(addr); |
addr | 147 | mm/page_alloc.c | printk("Trying to free free memory (%08lx): memory probably corrupted\n",addr); |
addr | 23 | mm/vmalloc.c | void * addr; |
addr | 239 | mm/vmalloc.c | void *addr; |
addr | 245 | mm/vmalloc.c | addr = (void *) VMALLOC_START; |
addr | 249 | mm/vmalloc.c | if (size + (unsigned long) addr < (unsigned long) tmp->addr) |
addr | 251 | mm/vmalloc.c | addr = (void *) (tmp->size + (unsigned long) tmp->addr); |
addr | 253 | mm/vmalloc.c | area->addr = addr; |
addr | 259 | mm/vmalloc.c | void vfree(void * addr) |
addr | 263 | mm/vmalloc.c | if (!addr) |
addr | 265 | mm/vmalloc.c | if ((PAGE_SIZE-1) & (unsigned long) addr) { |
addr | 266 | mm/vmalloc.c | printk("Trying to vfree() bad address (%p)\n", addr); |
addr | 270 | mm/vmalloc.c | if (tmp->addr == addr) { |
addr | 272 | mm/vmalloc.c | free_area_pages(VMALLOC_VMADDR(tmp->addr), tmp->size); |
addr | 277 | mm/vmalloc.c | printk("Trying to vfree() nonexistent vm area (%p)\n", addr); |
addr | 282 | mm/vmalloc.c | void * addr; |
addr | 291 | mm/vmalloc.c | addr = area->addr; |
addr | 292 | mm/vmalloc.c | if (alloc_area_pages(VMALLOC_VMADDR(addr), size)) { |
addr | 293 | mm/vmalloc.c | vfree(addr); |
addr | 296 | mm/vmalloc.c | return addr; |
addr | 306 | mm/vmalloc.c | void * addr; |
addr | 319 | mm/vmalloc.c | addr = area->addr; |
addr | 320 | mm/vmalloc.c | if (remap_area_pages(VMALLOC_VMADDR(addr), offset, size)) { |
addr | 321 | mm/vmalloc.c | vfree(addr); |
addr | 324 | mm/vmalloc.c | return addr; |
addr | 327 | mm/vmalloc.c | int vread(char *buf, char *addr, int count) |
addr | 334 | mm/vmalloc.c | vaddr = (char *) tmp->addr; |
addr | 335 | mm/vmalloc.c | while (addr < vaddr) { |
addr | 338 | mm/vmalloc.c | put_user('\0', buf++), addr++, count--; |
addr | 341 | mm/vmalloc.c | if (addr > vaddr) |
addr | 342 | mm/vmalloc.c | n -= addr - vaddr; |
addr | 346 | mm/vmalloc.c | put_user(*addr++, buf++), count--; |
addr | 27 | net/802/tr.c | unsigned char addr[TR_ALEN]; |
addr | 137 | net/802/tr.c | for(entry=rif_table[hash];entry && memcmp(&(entry->addr[0]),&(trh->daddr[0]),TR_ALEN);entry=entry->next); |
addr | 176 | net/802/tr.c | for(entry=rif_table[hash];entry && memcmp(&(entry->addr[0]),&(trh->saddr[0]),TR_ALEN);entry=entry->next); |
addr | 192 | net/802/tr.c | memcpy(&(entry->addr[0]),&(trh->saddr[0]),TR_ALEN); |
addr | 261 | net/802/tr.c | entry->addr[0],entry->addr[1],entry->addr[2],entry->addr[3],entry->addr[4],entry->addr[5], |
addr | 662 | net/appletalk/ddp.c | static int atrtr_delete( struct at_addr *addr ) |
addr | 669 | net/appletalk/ddp.c | if (tmp->target.s_net == addr->s_net && |
addr | 671 | net/appletalk/ddp.c | tmp->target.s_node == addr->s_node )) |
addr | 1264 | net/appletalk/ddp.c | struct sockaddr_at *addr=(struct sockaddr_at *)uaddr; |
addr | 1274 | net/appletalk/ddp.c | if(addr->sat_family!=AF_APPLETALK) |
addr | 1277 | net/appletalk/ddp.c | if(addr->sat_addr.s_net==htons(ATADDR_ANYNET)) |
addr | 1282 | net/appletalk/ddp.c | sk->protinfo.af_at.src_net=addr->sat_addr.s_net=ap->s_net; |
addr | 1283 | net/appletalk/ddp.c | sk->protinfo.af_at.src_node=addr->sat_addr.s_node=ap->s_node; |
addr | 1287 | net/appletalk/ddp.c | if ( atalk_find_interface( addr->sat_addr.s_net, addr->sat_addr.s_node ) == NULL ) |
addr | 1289 | net/appletalk/ddp.c | sk->protinfo.af_at.src_net=addr->sat_addr.s_net; |
addr | 1290 | net/appletalk/ddp.c | sk->protinfo.af_at.src_node=addr->sat_addr.s_node; |
addr | 1293 | net/appletalk/ddp.c | if(addr->sat_port == ATADDR_ANYPORT) |
addr | 1295 | net/appletalk/ddp.c | int n = atalk_pick_port(addr); |
addr | 1298 | net/appletalk/ddp.c | sk->protinfo.af_at.src_port=addr->sat_port=n; |
addr | 1301 | net/appletalk/ddp.c | sk->protinfo.af_at.src_port=addr->sat_port; |
addr | 1303 | net/appletalk/ddp.c | if(atalk_find_socket(addr)!=NULL) |
addr | 1319 | net/appletalk/ddp.c | struct sockaddr_at *addr; |
addr | 1324 | net/appletalk/ddp.c | if(addr_len!=sizeof(*addr)) |
addr | 1326 | net/appletalk/ddp.c | addr=(struct sockaddr_at *)uaddr; |
addr | 1328 | net/appletalk/ddp.c | if(addr->sat_family!=AF_APPLETALK) |
addr | 1331 | net/appletalk/ddp.c | if(addr->sat_addr.s_node==ATADDR_BCAST && !sk->broadcast) |
addr | 1340 | net/appletalk/ddp.c | if(atrtr_get_dev(&addr->sat_addr)==NULL) |
addr | 1343 | net/appletalk/ddp.c | sk->protinfo.af_at.dest_port=addr->sat_port; |
addr | 1344 | net/appletalk/ddp.c | sk->protinfo.af_at.dest_net=addr->sat_addr.s_net; |
addr | 1345 | net/appletalk/ddp.c | sk->protinfo.af_at.dest_node=addr->sat_addr.s_node; |
addr | 279 | net/ax25/af_ax25.c | static struct sock *ax25_find_listener(ax25_address *addr, struct device *dev, int type) |
addr | 288 | net/ax25/af_ax25.c | if (s->sk != NULL && ax25cmp(&s->source_addr, addr) == 0 && s->sk->type == type && s->sk->state == TCP_LISTEN) { |
addr | 353 | net/ax25/af_ax25.c | static struct sock *ax25_addr_match(ax25_address *addr) |
addr | 362 | net/ax25/af_ax25.c | if (s->sk != NULL && ax25cmp(&s->source_addr, addr) == 0 && s->sk->type == SOCK_RAW) { |
addr | 833 | net/ax25/af_ax25.c | struct device *ax25rtr_get_dev(ax25_address *addr) |
addr | 841 | net/ax25/af_ax25.c | if (ax25cmp(addr, (ax25_address *)dev->dev_addr) == 0) |
addr | 849 | net/ax25/af_ax25.c | if (ax25cmp(addr, dev_addr) == 0) |
addr | 1325 | net/ax25/af_ax25.c | struct full_sockaddr_ax25 *addr = (struct full_sockaddr_ax25 *)uaddr; |
addr | 1342 | net/ax25/af_ax25.c | sk->ax25->source_addr = addr->fsa_ax25.sax25_call; |
addr | 1349 | net/ax25/af_ax25.c | if (addr_len == sizeof(struct full_sockaddr_ax25) && addr->fsa_ax25.sax25_ndigis == 1) { |
addr | 1350 | net/ax25/af_ax25.c | if (ax25cmp(&addr->fsa_digipeater[0], &null_ax25_address) == 0) { |
addr | 1355 | net/ax25/af_ax25.c | if ((dev = ax25rtr_get_dev(&addr->fsa_digipeater[0])) == NULL) { |
addr | 1364 | net/ax25/af_ax25.c | if ((dev = ax25rtr_get_dev(&addr->fsa_ax25.sax25_call)) == NULL) { |
addr | 1388 | net/ax25/af_ax25.c | struct sockaddr_ax25 *addr = (struct sockaddr_ax25 *)uaddr; |
addr | 1413 | net/ax25/af_ax25.c | if (addr_len == sizeof(struct full_sockaddr_ax25) && addr->sax25_ndigis != 0) { |
addr | 1415 | net/ax25/af_ax25.c | struct full_sockaddr_ax25 *fsa = (struct full_sockaddr_ax25 *)addr; |
addr | 1418 | net/ax25/af_ax25.c | if (addr->sax25_ndigis < 1 || addr->sax25_ndigis > AX25_MAX_DIGIS) |
addr | 1426 | net/ax25/af_ax25.c | sk->ax25->digipeat->ndigi = addr->sax25_ndigis; |
addr | 1428 | net/ax25/af_ax25.c | while (ct < addr->sax25_ndigis) { |
addr | 1438 | net/ax25/af_ax25.c | ax25_rt_build_path(sk->ax25, &addr->sax25_call); |
addr | 1447 | net/ax25/af_ax25.c | if ((err = ax25_rt_autobind(sk->ax25, &addr->sax25_call)) < 0) |
addr | 1456 | net/ax25/af_ax25.c | if (sk->type == SOCK_SEQPACKET && ax25_find_cb(&sk->ax25->source_addr, &addr->sax25_call, sk->ax25->device) != NULL) |
addr | 1459 | net/ax25/af_ax25.c | sk->ax25->dest_addr = addr->sax25_call; |
addr | 1569 | net/ax25/af_ax25.c | ax25_address *addr; |
addr | 1579 | net/ax25/af_ax25.c | addr = &sk->ax25->dest_addr; |
addr | 1581 | net/ax25/af_ax25.c | addr = &sk->ax25->source_addr; |
addr | 1585 | net/ax25/af_ax25.c | sax->fsa_ax25.sax25_call = *addr; |
addr | 85 | net/ax25/ax25_route.c | static struct ax25_route * ax25_find_route(ax25_address *addr); |
addr | 483 | net/ax25/ax25_route.c | static struct ax25_route * ax25_find_route(ax25_address *addr) |
addr | 494 | net/ax25/ax25_route.c | if (ax25cmp(&ax25_rt->callsign, addr) == 0 && ax25_rt->dev != NULL) |
addr | 512 | net/ax25/ax25_route.c | static inline void ax25_adjust_path(ax25_address *addr, ax25_digi *digipeat) |
addr | 517 | net/ax25/ax25_route.c | if (ax25cmp(addr, &digipeat->calls[k]) == 0) |
addr | 528 | net/ax25/ax25_route.c | int ax25_rt_autobind(ax25_cb *ax25, ax25_address *addr) |
addr | 533 | net/ax25/ax25_route.c | if ((ax25_rt = ax25_find_route(addr)) == NULL) |
addr | 550 | net/ax25/ax25_route.c | ax25_adjust_path(addr, ax25->digipeat); |
addr | 563 | net/ax25/ax25_route.c | void ax25_rt_build_path(ax25_cb *ax25, ax25_address *addr) |
addr | 567 | net/ax25/ax25_route.c | ax25_rt = ax25_find_route(addr); |
addr | 577 | net/ax25/ax25_route.c | ax25_adjust_path(addr, ax25->digipeat); |
addr | 580 | net/ax25/ax25_route.c | void ax25_dg_build_path(struct sk_buff *skb, ax25_address *addr, struct device *dev) |
addr | 590 | net/ax25/ax25_route.c | ax25_rt = ax25_find_route(addr); |
addr | 596 | net/ax25/ax25_route.c | ax25_adjust_path(addr, &digipeat); |
addr | 897 | net/ax25/ax25_route.c | bpqdev->callsign = bpqaddr.addr; |
addr | 904 | net/ax25/ax25_route.c | bpqdev->callsign = bpqaddr.addr; |
addr | 897 | net/core/dev.c | static inline int bad_mask(unsigned long mask, unsigned long addr) |
addr | 899 | net/core/dev.c | if (addr & (mask = ~mask)) |
addr | 85 | net/core/dev_mcast.c | void dev_mc_delete(struct device *dev, void *addr, int alen, int all) |
addr | 90 | net/core/dev_mcast.c | if(memcmp((*dmi)->dmi_addr,addr,(*dmi)->dmi_addrlen)==0 && alen==(*dmi)->dmi_addrlen) |
addr | 108 | net/core/dev_mcast.c | void dev_mc_add(struct device *dev, void *addr, int alen, int newonly) |
addr | 113 | net/core/dev_mcast.c | if(memcmp(dmi->dmi_addr,addr,dmi->dmi_addrlen)==0 && dmi->dmi_addrlen==alen) |
addr | 123 | net/core/dev_mcast.c | memcpy(dmi->dmi_addr, addr, alen); |
addr | 122 | net/core/net_alias.c | HASH(__u32 addr, int af) |
addr | 124 | net/core/net_alias.c | unsigned tmp = addr ^ (addr>>16); /* 4 -> 2 */ |
addr | 721 | net/core/skbuff.c | void * addr = skb->head; |
addr | 727 | net/core/skbuff.c | addr = skb; |
addr | 730 | net/core/skbuff.c | kfree(addr); |
addr | 787 | net/ipv4/af_inet.c | struct sockaddr_in *addr=(struct sockaddr_in *)uaddr; |
addr | 810 | net/ipv4/af_inet.c | snum = ntohs(addr->sin_port); |
addr | 826 | net/ipv4/af_inet.c | chk_addr_ret = ip_chk_addr(addr->sin_addr.s_addr); |
addr | 827 | net/ipv4/af_inet.c | if (addr->sin_addr.s_addr != 0 && chk_addr_ret != IS_MYADDR && chk_addr_ret != IS_MULTICAST && chk_addr_ret != IS_BROADCAST) |
addr | 830 | net/ipv4/af_inet.c | if (chk_addr_ret || addr->sin_addr.s_addr == 0) |
addr | 840 | net/ipv4/af_inet.c | sk->rcv_saddr = addr->sin_addr.s_addr; |
addr | 844 | net/ipv4/af_inet.c | sk->saddr = addr->sin_addr.s_addr; |
addr | 1102 | net/ipv4/af_inet.c | __u32 addr = sk->rcv_saddr; |
addr | 1103 | net/ipv4/af_inet.c | if (!addr) { |
addr | 1104 | net/ipv4/af_inet.c | addr = sk->saddr; |
addr | 1105 | net/ipv4/af_inet.c | if (!addr) |
addr | 1106 | net/ipv4/af_inet.c | addr = ip_my_addr(); |
addr | 1109 | net/ipv4/af_inet.c | sin->sin_addr.s_addr = addr; |
addr | 494 | net/ipv4/arp.c | static struct arp_table * arpd_lookup(u32 addr, unsigned short flags, |
addr | 504 | net/ipv4/arp.c | arpreq.ip = addr; |
addr | 1857 | net/ipv4/arp.c | static inline int empty(unsigned char * addr, int len) |
addr | 1860 | net/ipv4/arp.c | if (*addr) |
addr | 1863 | net/ipv4/arp.c | addr++; |
addr | 47 | net/ipv4/devinet.c | unsigned long ip_get_mask(unsigned long addr) |
addr | 51 | net/ipv4/devinet.c | if (addr == 0L) |
addr | 54 | net/ipv4/devinet.c | dst = ntohl(addr); |
addr | 76 | net/ipv4/devinet.c | int ip_chk_addr(unsigned long addr) |
addr | 89 | net/ipv4/devinet.c | if (addr == INADDR_ANY || addr == INADDR_BROADCAST || |
addr | 90 | net/ipv4/devinet.c | addr == htonl(0x7FFFFFFFL)) |
addr | 93 | net/ipv4/devinet.c | mask = ip_get_mask(addr); |
addr | 99 | net/ipv4/devinet.c | if ((addr & mask) == htonl(0x7F000000L)) |
addr | 122 | net/ipv4/devinet.c | if (addr == dev->pa_addr) |
addr | 128 | net/ipv4/devinet.c | if ((dev->flags & IFF_BROADCAST) && addr == dev->pa_brdaddr) |
addr | 134 | net/ipv4/devinet.c | if (((addr ^ dev->pa_addr) & dev->pa_mask) == 0) |
addr | 136 | net/ipv4/devinet.c | if ((addr & ~dev->pa_mask) == 0) |
addr | 138 | net/ipv4/devinet.c | if ((addr & ~dev->pa_mask) == ~dev->pa_mask) |
addr | 146 | net/ipv4/devinet.c | if (((addr ^ dev->pa_addr) & mask) == 0) |
addr | 148 | net/ipv4/devinet.c | if ((addr & ~mask) == 0) |
addr | 150 | net/ipv4/devinet.c | if ((addr & ~mask) == ~mask) |
addr | 154 | net/ipv4/devinet.c | if(IN_MULTICAST(ntohl(addr))) |
addr | 189 | net/ipv4/devinet.c | struct device * ip_dev_check(unsigned long addr) |
addr | 199 | net/ipv4/devinet.c | if (addr != dev->pa_dstaddr) |
addr | 209 | net/ipv4/devinet.c | if (dev->pa_mask & (addr ^ dev->pa_addr)) |
addr | 220 | net/ipv4/devinet.c | struct device *ip_dev_find(unsigned long addr) |
addr | 225 | net/ipv4/devinet.c | if((dev->flags&IFF_UP) && dev->pa_addr==addr) |
addr | 369 | net/ipv4/igmp.c | extern __inline__ void ip_mc_map(unsigned long addr, char *buf) |
addr | 371 | net/ipv4/igmp.c | addr=ntohl(addr); |
addr | 375 | net/ipv4/igmp.c | buf[5]=addr&0xFF; |
addr | 376 | net/ipv4/igmp.c | addr>>=8; |
addr | 377 | net/ipv4/igmp.c | buf[4]=addr&0xFF; |
addr | 378 | net/ipv4/igmp.c | addr>>=8; |
addr | 379 | net/ipv4/igmp.c | buf[3]=addr&0x7F; |
addr | 386 | net/ipv4/igmp.c | void ip_mc_filter_add(struct device *dev, unsigned long addr) |
addr | 391 | net/ipv4/igmp.c | ip_mc_map(addr,buf); |
addr | 399 | net/ipv4/igmp.c | void ip_mc_filter_del(struct device *dev, unsigned long addr) |
addr | 404 | net/ipv4/igmp.c | ip_mc_map(addr,buf); |
addr | 487 | net/ipv4/igmp.c | static void ip_mc_inc_group(struct device *dev, unsigned long addr) |
addr | 492 | net/ipv4/igmp.c | if(i->multiaddr==addr) |
addr | 503 | net/ipv4/igmp.c | i->multiaddr=addr; |
addr | 513 | net/ipv4/igmp.c | static void ip_mc_dec_group(struct device *dev, unsigned long addr) |
addr | 518 | net/ipv4/igmp.c | if((*i)->multiaddr==addr) |
addr | 575 | net/ipv4/igmp.c | int ip_mc_join_group(struct sock *sk , struct device *dev, unsigned long addr) |
addr | 579 | net/ipv4/igmp.c | if(!MULTICAST(addr)) |
addr | 591 | net/ipv4/igmp.c | if(sk->ip_mc_list->multiaddr[i]==addr && sk->ip_mc_list->multidev[i]==dev) |
addr | 599 | net/ipv4/igmp.c | sk->ip_mc_list->multiaddr[unused]=addr; |
addr | 601 | net/ipv4/igmp.c | ip_mc_inc_group(dev,addr); |
addr | 609 | net/ipv4/igmp.c | int ip_mc_leave_group(struct sock *sk, struct device *dev, unsigned long addr) |
addr | 612 | net/ipv4/igmp.c | if(!MULTICAST(addr)) |
addr | 621 | net/ipv4/igmp.c | if(sk->ip_mc_list->multiaddr[i]==addr && sk->ip_mc_list->multidev[i]==dev) |
addr | 624 | net/ipv4/igmp.c | ip_mc_dec_group(dev,addr); |
addr | 81 | net/ipv4/ip_alias.c | __u32 addr; |
addr | 96 | net/ipv4/ip_alias.c | addr = (sa)? (*(struct sockaddr_in *)sa).sin_addr.s_addr : 0; |
addr | 97 | net/ipv4/ip_alias.c | if (addr == 0) |
addr | 105 | net/ipv4/ip_alias.c | rt = ip_rt_route(addr, 0); |
addr | 91 | net/ipv4/ip_masq.c | ip_masq_hash_key(unsigned proto, __u32 addr, __u16 port) |
addr | 93 | net/ipv4/ip_masq.c | return (proto^ntohl(addr)^ntohs(port)) & (IP_MASQ_TAB_SIZE-1); |
addr | 137 | net/ipv4/ip_options.c | __u32 addr; |
addr | 138 | net/ipv4/ip_options.c | memcpy(&addr, sptr+soffset-9, 4); |
addr | 139 | net/ipv4/ip_options.c | if (ip_chk_addr(addr) == 0) |
addr | 407 | net/ipv4/ip_options.c | __u32 addr; |
addr | 408 | net/ipv4/ip_options.c | memcpy(&addr, &optptr[ts->ptr-1], 4); |
addr | 409 | net/ipv4/ip_options.c | if (ip_chk_addr(addr) == 0) |
addr | 96 | net/ipv4/ip_sockglue.c | static struct device *ip_mc_find_devfor(unsigned long addr) |
addr | 102 | net/ipv4/ip_sockglue.c | (dev->pa_addr==addr)) |
addr | 214 | net/ipv4/ip_sockglue.c | struct in_addr addr; |
addr | 221 | net/ipv4/ip_sockglue.c | err=verify_area(VERIFY_READ, optval, sizeof(addr)); |
addr | 225 | net/ipv4/ip_sockglue.c | memcpy_fromfs(&addr,optval,sizeof(addr)); |
addr | 232 | net/ipv4/ip_sockglue.c | if(addr.s_addr==INADDR_ANY) /* Default */ |
addr | 242 | net/ipv4/ip_sockglue.c | dev=ip_mc_find_devfor(addr.s_addr); |
addr | 363 | net/ipv4/route.c | static inline int bad_mask(__u32 mask, __u32 addr) |
addr | 365 | net/ipv4/route.c | if (addr & (mask = ~mask)) |
addr | 1165 | net/ipv4/tcp.c | struct sockaddr_in *addr=(struct sockaddr_in *)msg->msg_name; |
addr | 1167 | net/ipv4/tcp.c | if (msg->msg_namelen < sizeof(*addr)) |
addr | 1169 | net/ipv4/tcp.c | if (addr->sin_family && addr->sin_family != AF_INET) |
addr | 1175 | net/ipv4/tcp.c | if (addr->sin_port != sk->dummy_th.dest) |
addr | 1177 | net/ipv4/tcp.c | if (addr->sin_addr.s_addr != sk->daddr) |
addr | 1766 | net/ipx/af_ipx.c | struct sockaddr_ipx *addr=(struct sockaddr_ipx *)uaddr; |
addr | 1776 | net/ipx/af_ipx.c | intrfc = ipxitf_find_using_net(addr->sipx_network); |
addr | 1780 | net/ipx/af_ipx.c | if (addr->sipx_port == 0) { |
addr | 1781 | net/ipx/af_ipx.c | addr->sipx_port = ipx_first_free_socketnum(intrfc); |
addr | 1782 | net/ipx/af_ipx.c | if (addr->sipx_port == 0) |
addr | 1786 | net/ipx/af_ipx.c | if(ntohs(addr->sipx_port)<IPX_MIN_EPHEMERAL_SOCKET && !suser()) |
addr | 1789 | net/ipx/af_ipx.c | sk->protinfo.af_ipx.port=addr->sipx_port; |
addr | 1799 | net/ipx/af_ipx.c | if (memcmp(addr->sipx_node, ipx_broadcast_node, |
addr | 1804 | net/ipx/af_ipx.c | if (memcmp(addr->sipx_node, ipx_this_node, IPX_NODE_LEN) == 0) |
addr | 1811 | net/ipx/af_ipx.c | memcpy(sk->protinfo.af_ipx.node, addr->sipx_node, IPX_NODE_LEN); |
addr | 1819 | net/ipx/af_ipx.c | " use.\n", (int)addr->sipx_port); |
addr | 1833 | net/ipx/af_ipx.c | if(ipxitf_find_socket(intrfc, addr->sipx_port)!=NULL) { |
addr | 1836 | net/ipx/af_ipx.c | " use.\n", (int)addr->sipx_port); |
addr | 1846 | net/ipx/af_ipx.c | if(ipxitf_find_socket(intrfc, addr->sipx_port)!=NULL) { |
addr | 1849 | net/ipx/af_ipx.c | (int)addr->sipx_port); |
addr | 1866 | net/ipx/af_ipx.c | struct sockaddr_ipx *addr; |
addr | 1871 | net/ipx/af_ipx.c | if(addr_len!=sizeof(*addr)) |
addr | 1873 | net/ipx/af_ipx.c | addr=(struct sockaddr_ipx *)uaddr; |
addr | 1892 | net/ipx/af_ipx.c | if(ipxrtr_lookup(addr->sipx_network)==NULL) |
addr | 1894 | net/ipx/af_ipx.c | sk->protinfo.af_ipx.dest_addr.net=addr->sipx_network; |
addr | 1895 | net/ipx/af_ipx.c | sk->protinfo.af_ipx.dest_addr.sock=addr->sipx_port; |
addr | 1897 | net/ipx/af_ipx.c | addr->sipx_node,IPX_NODE_LEN); |
addr | 1898 | net/ipx/af_ipx.c | sk->protinfo.af_ipx.type=addr->sipx_type; |
addr | 1921 | net/ipx/af_ipx.c | ipx_address *addr; |
addr | 1932 | net/ipx/af_ipx.c | addr=&sk->protinfo.af_ipx.dest_addr; |
addr | 1933 | net/ipx/af_ipx.c | sipx.sipx_network = addr->net; |
addr | 1934 | net/ipx/af_ipx.c | memcpy(sipx.sipx_node,addr->node,IPX_NODE_LEN); |
addr | 1935 | net/ipx/af_ipx.c | sipx.sipx_port = addr->sock; |
addr | 154 | net/netrom/af_netrom.c | static struct sock *nr_find_listener(ax25_address *addr) |
addr | 163 | net/netrom/af_netrom.c | if (ax25cmp(&s->nr->source_addr, addr) == 0 && s->state == TCP_LISTEN) { |
addr | 660 | net/netrom/af_netrom.c | struct full_sockaddr_ax25 *addr = (struct full_sockaddr_ax25 *)uaddr; |
addr | 672 | net/netrom/af_netrom.c | if ((dev = nr_dev_get(&addr->fsa_ax25.sax25_call)) == NULL) { |
addr | 681 | net/netrom/af_netrom.c | if (addr->fsa_ax25.sax25_ndigis == 1) { |
addr | 684 | net/netrom/af_netrom.c | sk->nr->user_addr = addr->fsa_digipeater[0]; |
addr | 685 | net/netrom/af_netrom.c | sk->nr->source_addr = addr->fsa_ax25.sax25_call; |
addr | 687 | net/netrom/af_netrom.c | source = &addr->fsa_ax25.sax25_call; |
addr | 714 | net/netrom/af_netrom.c | struct sockaddr_ax25 *addr = (struct sockaddr_ax25 *)uaddr; |
addr | 758 | net/netrom/af_netrom.c | sk->nr->dest_addr = addr->sax25_call; |
addr | 1142 | net/netrom/af_netrom.c | struct sockaddr_ax25 addr; |
addr | 1144 | net/netrom/af_netrom.c | addr.sax25_family = AF_NETROM; |
addr | 1145 | net/netrom/af_netrom.c | memcpy(&addr.sax25_call, skb->data + 7, AX25_ADDR_LEN); |
addr | 1147 | net/netrom/af_netrom.c | *sax = addr; |
addr | 141 | net/netrom/nr_dev.c | static int nr_set_mac_address(struct device *dev, void *addr) |
addr | 143 | net/netrom/nr_dev.c | struct sockaddr *sa=addr; |
addr | 550 | net/netrom/nr_route.c | struct device *nr_dev_get(ax25_address *addr) |
addr | 555 | net/netrom/nr_route.c | if ((dev->flags & IFF_UP) && dev->type == ARPHRD_NETROM && ax25cmp(addr, (ax25_address *)dev->dev_addr) == 0) |
addr | 932 | net/socket.c | struct sockaddr *addr, int addr_len) |
addr | 952 | net/socket.c | if((err=move_addr_to_kernel(addr,addr_len,address))<0) |
addr | 1010 | net/socket.c | struct sockaddr *addr, int *addr_len) |
addr | 1044 | net/socket.c | if(addr!=NULL && (err=move_addr_to_user(address,alen, addr, addr_len))<0) |