tag | line | file | source code |
addr | 172 | arch/alpha/boot/main.c | static inline long load(long dev, unsigned long addr, unsigned long count) |
addr | 184 | arch/alpha/boot/main.c | return dispatch(CCB_READ, dev, count, addr, BOOT_SIZE/512 + 1); |
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 | 79 | arch/sparc/kernel/ioport.c | mapioaddr (addr, vaddr, bus_type, rdonly); |
addr | 81 | 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 | 42 | arch/sparc/kernel/sys_sunos.c | unsigned long addr; |
addr | 47 | arch/sparc/kernel/sys_sunos.c | addr = 0xE8000000UL; /* To make it work on a sun4c. */ |
addr | 49 | arch/sparc/kernel/sys_sunos.c | if (TASK_SIZE - len < addr) |
addr | 52 | arch/sparc/kernel/sys_sunos.c | return addr; |
addr | 53 | arch/sparc/kernel/sys_sunos.c | if (addr > vmm->vm_end) |
addr | 55 | arch/sparc/kernel/sys_sunos.c | if (addr + len > vmm->vm_start) { |
addr | 56 | arch/sparc/kernel/sys_sunos.c | addr = vmm->vm_end; |
addr | 59 | arch/sparc/kernel/sys_sunos.c | return addr; |
addr | 64 | arch/sparc/kernel/sys_sunos.c | asmlinkage unsigned long sunos_mmap(unsigned long addr, unsigned long len, |
addr | 79 | arch/sparc/kernel/sys_sunos.c | if(!(flags & MAP_FIXED) && !addr) { |
addr | 80 | arch/sparc/kernel/sys_sunos.c | addr = get_sparc_unmapped_area(len); |
addr | 81 | arch/sparc/kernel/sys_sunos.c | if(!addr) |
addr | 95 | arch/sparc/kernel/sys_sunos.c | retval = do_mmap(file, addr, len, prot, flags, off); |
addr | 103 | arch/sparc/kernel/sys_sunos.c | asmlinkage int sunos_mctl(unsigned long addr, unsigned long len, int function, char *arg) |
addr | 106 | arch/sparc/kernel/sys_sunos.c | "is unsupported\n", current->comm, addr, len, function, arg); |
addr | 113 | arch/sparc/kernel/sys_sunos.c | asmlinkage int sunos_msync(unsigned long addr, unsigned long len, unsigned long flags) |
addr | 116 | arch/sparc/kernel/sys_sunos.c | "is unsupported\n", current->comm, addr, len, flags); |
addr | 270 | arch/sparc/kernel/sys_sunos.c | asmlinkage int sunos_mincore(unsigned long addr, unsigned long len, char *array) |
addr | 278 | arch/sparc/kernel/sys_sunos.c | if(addr & (PAGE_SIZE - 1)) |
addr | 284 | arch/sparc/kernel/sys_sunos.c | if((addr >= KERNBASE) || ((addr + len) > KERNBASE)) |
addr | 289 | arch/sparc/kernel/sys_sunos.c | for(limit = addr + len; addr < limit; addr += PAGE_SIZE, pnum++) { |
addr | 290 | arch/sparc/kernel/sys_sunos.c | pgdp = pgd_offset(current->mm, addr); |
addr | 293 | arch/sparc/kernel/sys_sunos.c | pmdp = pmd_offset(pgdp, addr); |
addr | 296 | arch/sparc/kernel/sys_sunos.c | ptep = pte_offset(pmdp, addr); |
addr | 560 | arch/sparc/kernel/sys_sunos.c | struct sockaddr_in *addr; /* file server address */ |
addr | 599 | arch/sparc/kernel/sys_sunos.c | sunos_nfs_get_server_fd (int fd, struct sockaddr_in *addr) |
addr | 630 | arch/sparc/kernel/sys_sunos.c | server.sin_addr = addr->sin_addr; |
addr | 672 | arch/sparc/kernel/sys_sunos.c | if (!sunos_nfs_get_server_fd (server_fd, sunos_mount->addr)){ |
addr | 680 | arch/sparc/kernel/sys_sunos.c | linux_nfs_mount.addr = *sunos_mount->addr; |
addr | 148 | arch/sparc/mm/init.c | unsigned long tmp2, addr; |
addr | 156 | arch/sparc/mm/init.c | addr = PAGE_OFFSET; |
addr | 157 | arch/sparc/mm/init.c | while(addr < start_mem) { |
addr | 158 | arch/sparc/mm/init.c | mem_map[MAP_NR(addr)].reserved = 1; |
addr | 159 | arch/sparc/mm/init.c | addr += PAGE_SIZE; |
addr | 162 | arch/sparc/mm/init.c | for(addr = start_mem; addr < end_mem; addr += PAGE_SIZE) { |
addr | 164 | arch/sparc/mm/init.c | unsigned long phys_addr = (addr - PAGE_OFFSET); |
addr | 170 | arch/sparc/mm/init.c | mem_map[MAP_NR(addr)].reserved = 0; |
addr | 173 | arch/sparc/mm/init.c | for (addr = PAGE_OFFSET; addr < end_mem; addr += PAGE_SIZE) { |
addr | 174 | arch/sparc/mm/init.c | if(mem_map[MAP_NR(addr)].reserved) { |
addr | 175 | arch/sparc/mm/init.c | if (addr < (unsigned long) &etext) |
addr | 177 | arch/sparc/mm/init.c | else if(addr < start_mem) |
addr | 181 | arch/sparc/mm/init.c | mem_map[MAP_NR(addr)].count = 1; |
addr | 182 | arch/sparc/mm/init.c | free_page(addr); |
addr | 21 | arch/sparc/mm/srmmu.c | unsigned int srmmu_pmd_align(unsigned int addr) { return SRMMU_PMD_ALIGN(addr); } |
addr | 22 | arch/sparc/mm/srmmu.c | unsigned int srmmu_pgdir_align(unsigned int addr) { return SRMMU_PGDIR_ALIGN(addr); } |
addr | 39 | arch/sparc/mm/sun4c.c | unsigned int sun4c_pmd_align(unsigned int addr) { return SUN4C_PMD_ALIGN(addr); } |
addr | 40 | arch/sparc/mm/sun4c.c | unsigned int sun4c_pgdir_align(unsigned int addr) { return SUN4C_PGDIR_ALIGN(addr); } |
addr | 327 | arch/sparc/mm/sun4c.c | static inline void sun4c_unload_page_from_tlb(unsigned long addr, |
addr | 336 | arch/sparc/mm/sun4c.c | sun4c_flush_page(addr); |
addr | 337 | arch/sparc/mm/sun4c.c | put_pte(addr, 0); |
addr | 803 | arch/sparc/mm/sun4c.c | unsigned long addr, vaddr, kern_begin, kern_end; |
addr | 913 | arch/sparc/mm/sun4c.c | addr = DVMA_VADDR; |
addr | 915 | arch/sparc/mm/sun4c.c | while(addr < DVMA_END) { |
addr | 923 | arch/sparc/mm/sun4c.c | put_pte(addr, dvmapte); |
addr | 924 | arch/sparc/mm/sun4c.c | addr += PAGE_SIZE; |
addr | 966 | arch/sparc/mm/sun4c.c | unsigned long addr = (unsigned long) &end; |
addr | 968 | arch/sparc/mm/sun4c.c | addr = (addr & SUN4C_REAL_PGDIR_MASK); |
addr | 970 | arch/sparc/mm/sun4c.c | while(addr < start_mem) { |
addr | 973 | arch/sparc/mm/sun4c.c | sun4c_lock_tlb_entry(addr); |
addr | 974 | arch/sparc/mm/sun4c.c | pseg = get_segmap(addr); |
addr | 979 | arch/sparc/mm/sun4c.c | addr += SUN4C_REAL_PGDIR_SIZE; |
addr | 1804 | drivers/block/ide-cd.c | toc->ent[i].addr.msf.m = bcd2bin (toc->ent[i].addr.msf.m); |
addr | 1805 | drivers/block/ide-cd.c | toc->ent[i].addr.msf.s = bcd2bin (toc->ent[i].addr.msf.s); |
addr | 1806 | drivers/block/ide-cd.c | toc->ent[i].addr.msf.f = bcd2bin (toc->ent[i].addr.msf.f); |
addr | 1808 | drivers/block/ide-cd.c | toc->ent[i].addr.lba = msf_to_lba (toc->ent[i].addr.msf.m, |
addr | 1809 | drivers/block/ide-cd.c | toc->ent[i].addr.msf.s, |
addr | 1810 | drivers/block/ide-cd.c | toc->ent[i].addr.msf.f); |
addr | 1814 | drivers/block/ide-cd.c | toc->ent[i].addr.lba = ntohl (toc->ent[i].addr.lba); |
addr | 1824 | drivers/block/ide-cd.c | toc->last_session_lba = msf_to_lba (ms_tmp.ent.addr.msf.m, |
addr | 1825 | drivers/block/ide-cd.c | ms_tmp.ent.addr.msf.s, |
addr | 1826 | drivers/block/ide-cd.c | ms_tmp.ent.addr.msf.f); |
addr | 1829 | drivers/block/ide-cd.c | toc->last_session_lba = ntohl (ms_tmp.ent.addr.lba); |
addr | 2206 | drivers/block/ide-cd.c | lba_start = first_toc->addr.lba; |
addr | 2207 | drivers/block/ide-cd.c | lba_end = last_toc->addr.lba; |
addr | 2258 | drivers/block/ide-cd.c | lba_to_msf (toce->addr.lba, |
addr | 2264 | drivers/block/ide-cd.c | tocentry.cdte_addr.lba = toce->addr.lba; |
addr | 2401 | drivers/block/ide-cd.c | &ms_info.addr.msf.minute, |
addr | 2402 | drivers/block/ide-cd.c | &ms_info.addr.msf.second, |
addr | 2403 | drivers/block/ide-cd.c | &ms_info.addr.msf.frame); |
addr | 2406 | drivers/block/ide-cd.c | ms_info.addr.lba = toc->last_session_lba; |
addr | 2447 | drivers/block/ide-cd.c | lba = msf_to_lba (ra.addr.msf.minute, ra.addr.msf.second, |
addr | 2448 | drivers/block/ide-cd.c | ra.addr.msf.frame); |
addr | 2451 | drivers/block/ide-cd.c | lba = ra.addr.lba; |
addr | 195 | drivers/block/ide.h | } addr; |
addr | 178 | drivers/block/triton.c | unsigned long size, addr, *table = HWIF(drive)->dmatable; |
addr | 190 | drivers/block/triton.c | addr = virt_to_bus (rq->buffer); |
addr | 199 | drivers/block/triton.c | addr = virt_to_bus (bh->b_data); |
addr | 202 | drivers/block/triton.c | if ((addr + size) != virt_to_bus (bh->b_data)) |
addr | 217 | drivers/block/triton.c | unsigned long bcount = 0x10000 - (addr & 0xffff); |
addr | 220 | drivers/block/triton.c | *table++ = addr; |
addr | 222 | 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 | 464 | drivers/cdrom/mcdx.c | ms.addr.msf.minute = bcd2uint(stuffp->multi.msf_last.minute); |
addr | 465 | drivers/cdrom/mcdx.c | ms.addr.msf.second = bcd2uint(stuffp->multi.msf_last.second); |
addr | 466 | drivers/cdrom/mcdx.c | ms.addr.msf.frame = bcd2uint(stuffp->multi.msf_last.frame); |
addr | 468 | drivers/cdrom/mcdx.c | ms.addr.lba = msf2log(&stuffp->multi.msf_last); |
addr | 482 | drivers/cdrom/mcdx.c | ms.addr.msf.minute, |
addr | 483 | drivers/cdrom/mcdx.c | ms.addr.msf.second, |
addr | 484 | drivers/cdrom/mcdx.c | ms.addr.msf.frame, |
addr | 493 | drivers/cdrom/mcdx.c | ms.addr.lba, |
addr | 571 | drivers/cdrom/optcd.c | static void msf2lba(union cd_addr *addr) |
addr | 573 | drivers/cdrom/optcd.c | addr->lba = addr->msf.minute * 4500 |
addr | 574 | drivers/cdrom/optcd.c | + addr->msf.second * 75 |
addr | 575 | drivers/cdrom/optcd.c | + addr->msf.frame - CD_MSF_OFFSET; |
addr | 581 | drivers/cdrom/optcd.c | static void msf_bcd2bin(union cd_addr *addr) |
addr | 583 | drivers/cdrom/optcd.c | addr->msf.minute = bcd2bin(addr->msf.minute); |
addr | 584 | drivers/cdrom/optcd.c | addr->msf.second = bcd2bin(addr->msf.second); |
addr | 585 | drivers/cdrom/optcd.c | addr->msf.frame = bcd2bin(addr->msf.frame); |
addr | 1669 | drivers/cdrom/optcd.c | ms.addr.msf.minute = disk_info.last_session.minute; |
addr | 1670 | drivers/cdrom/optcd.c | ms.addr.msf.second = disk_info.last_session.second; |
addr | 1671 | drivers/cdrom/optcd.c | ms.addr.msf.frame = disk_info.last_session.frame; |
addr | 1677 | drivers/cdrom/optcd.c | msf2lba((union cd_addr *)/*%%*/&ms.addr); |
addr | 1688 | drivers/cdrom/optcd.c | ms.addr.msf.minute, |
addr | 1689 | drivers/cdrom/optcd.c | ms.addr.msf.second, |
addr | 1690 | drivers/cdrom/optcd.c | ms.addr.msf.frame); |
addr | 1694 | 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 | 273 | drivers/char/istallion.c | unsigned long addr; |
addr | 1154 | drivers/char/istallion.c | cp = &((volatile cdkasy_t *) EBRDGETMEMPTR(brdp, portp->addr))->ctrl; |
addr | 1229 | drivers/char/istallion.c | cp = &((volatile cdkasy_t *) EBRDGETMEMPTR(brdp, portp->addr))->ctrl; |
addr | 1466 | drivers/char/istallion.c | ap = (volatile cdkasy_t *) EBRDGETMEMPTR(brdp, portp->addr); |
addr | 1488 | drivers/char/istallion.c | ap = (volatile cdkasy_t *) EBRDGETMEMPTR(brdp, portp->addr); |
addr | 1519 | drivers/char/istallion.c | ap = (volatile cdkasy_t *) EBRDGETMEMPTR(brdp, portp->addr); |
addr | 1618 | drivers/char/istallion.c | ap = (volatile cdkasy_t *) EBRDGETMEMPTR(brdp, portp->addr); |
addr | 1650 | drivers/char/istallion.c | ap = (volatile cdkasy_t *) EBRDGETMEMPTR(brdp, portp->addr); |
addr | 1702 | drivers/char/istallion.c | rp = &((volatile cdkasy_t *) EBRDGETMEMPTR(brdp, portp->addr))->txq; |
addr | 1757 | drivers/char/istallion.c | rp = &((volatile cdkasy_t *) EBRDGETMEMPTR(brdp, portp->addr))->txq; |
addr | 2294 | drivers/char/istallion.c | cp = &((volatile cdkasy_t *) EBRDGETMEMPTR(brdp, portp->addr))->ctrl; |
addr | 2341 | drivers/char/istallion.c | rp = &((volatile cdkasy_t *) EBRDGETMEMPTR(brdp, portp->addr))->rxq; |
addr | 2373 | drivers/char/istallion.c | rp = &((volatile cdkasy_t *) EBRDGETMEMPTR(brdp, portp->addr))->rxq; |
addr | 2447 | drivers/char/istallion.c | ap = (volatile cdkasy_t *) EBRDGETMEMPTR(brdp, portp->addr); |
addr | 3770 | drivers/char/istallion.c | portp->addr = memp->offset; |
addr | 3785 | drivers/char/istallion.c | if (portp->addr == 0) |
addr | 3787 | drivers/char/istallion.c | ap = (volatile cdkasy_t *) EBRDGETMEMPTR(brdp, portp->addr); |
addr | 1095 | drivers/char/keyboard.c | unsigned int *addr; |
addr | 1101 | drivers/char/keyboard.c | unsigned int *addr, unsigned int mask) { |
addr | 1104 | drivers/char/keyboard.c | ledptrs[led].addr = addr; |
addr | 1121 | drivers/char/keyboard.c | if (*ledptrs[0].addr & ledptrs[0].mask) |
addr | 1127 | drivers/char/keyboard.c | if (*ledptrs[1].addr & ledptrs[1].mask) |
addr | 1133 | 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 | 790 | drivers/char/tga.c | tga_blitc(unsigned int charattr, unsigned long addr) |
addr | 813 | drivers/char/tga.c | temp = (addr - video_mem_base) >> 1; |
addr | 93 | drivers/net/3c503.c | int *addr, addrs[] = { 0xddffe, 0xd9ffe, 0xcdffe, 0xc9ffe, 0}; |
addr | 101 | drivers/net/3c503.c | for (addr = addrs; *addr; addr++) { |
addr | 103 | drivers/net/3c503.c | unsigned int base_bits = readb(*addr); |
addr | 209 | drivers/net/3c505.c | #define GET_ASF(addr) \ |
addr | 210 | drivers/net/3c505.c | (get_status(addr)&ASF_PCB_MASK) |
addr | 233 | drivers/net/3c505.c | #define WAIT_HCRE(addr,toval) wait_hcre((addr),(toval),__LINE__) |
addr | 1284 | drivers/net/3c505.c | int addr=dev->base_addr; |
addr | 1289 | drivers/net/3c505.c | if (check_region(addr, 0xf)) |
addr | 1292 | drivers/net/3c505.c | orig_HCR=inb_control(addr); |
addr | 1293 | drivers/net/3c505.c | orig_HSR=inb_status(addr); |
addr | 1296 | drivers/net/3c505.c | printk(search_msg, name, addr); |
addr | 1313 | drivers/net/3c505.c | if (GET_ASF(addr) != ASF_PCB_END) |
addr | 1318 | drivers/net/3c505.c | outb_control(orig_HCR & ~DIR,addr); |
addr | 1323 | drivers/net/3c505.c | if (inb_status(addr) & DIR) { |
addr | 1324 | drivers/net/3c505.c | outb_control(orig_HCR,addr); |
addr | 1331 | drivers/net/3c505.c | outb_control(orig_HCR | DIR,addr); |
addr | 1336 | drivers/net/3c505.c | if (!(inb_status(addr) & DIR)) { |
addr | 1337 | drivers/net/3c505.c | outb_control(orig_HCR,addr); |
addr | 106 | 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 | 436 | drivers/net/de4x5.c | static void sendto_srom(u_int command, u_long addr); |
addr | 437 | drivers/net/de4x5.c | static int getfrom_srom(u_long addr); |
addr | 2320 | drivers/net/de4x5.c | static short srom_rd(u_long addr, u_char offset) |
addr | 2322 | drivers/net/de4x5.c | sendto_srom(SROM_RD | SROM_SR, addr); |
addr | 2324 | drivers/net/de4x5.c | srom_latch(SROM_RD | SROM_SR | DT_CS, addr); |
addr | 2325 | drivers/net/de4x5.c | srom_command(SROM_RD | SROM_SR | DT_IN | DT_CS, addr); |
addr | 2326 | drivers/net/de4x5.c | srom_address(SROM_RD | SROM_SR | DT_CS, addr, offset); |
addr | 2328 | drivers/net/de4x5.c | return srom_data(SROM_RD | SROM_SR | DT_CS, addr); |
addr | 2331 | drivers/net/de4x5.c | static void srom_latch(u_int command, u_long addr) |
addr | 2333 | drivers/net/de4x5.c | sendto_srom(command, addr); |
addr | 2334 | drivers/net/de4x5.c | sendto_srom(command | DT_CLK, addr); |
addr | 2335 | drivers/net/de4x5.c | sendto_srom(command, addr); |
addr | 2340 | drivers/net/de4x5.c | static void srom_command(u_int command, u_long addr) |
addr | 2342 | drivers/net/de4x5.c | srom_latch(command, addr); |
addr | 2343 | drivers/net/de4x5.c | srom_latch(command, addr); |
addr | 2344 | drivers/net/de4x5.c | srom_latch((command & 0x0000ff00) | DT_CS, addr); |
addr | 2349 | drivers/net/de4x5.c | static void srom_address(u_int command, u_long addr, u_char offset) |
addr | 2356 | drivers/net/de4x5.c | srom_latch(command | ((a < 0) ? DT_IN : 0), addr); |
addr | 2360 | drivers/net/de4x5.c | i = (getfrom_srom(addr) >> 3) & 0x01; |
addr | 2369 | drivers/net/de4x5.c | static short srom_data(u_int command, u_long addr) |
addr | 2376 | drivers/net/de4x5.c | sendto_srom(command | DT_CLK, addr); |
addr | 2377 | drivers/net/de4x5.c | tmp = getfrom_srom(addr); |
addr | 2378 | drivers/net/de4x5.c | sendto_srom(command, addr); |
addr | 2383 | drivers/net/de4x5.c | sendto_srom(command & 0x0000ff00, addr); |
addr | 2403 | drivers/net/de4x5.c | static void sendto_srom(u_int command, u_long addr) |
addr | 2405 | drivers/net/de4x5.c | outl(command, addr); |
addr | 2411 | drivers/net/de4x5.c | static int getfrom_srom(u_long addr) |
addr | 2415 | drivers/net/de4x5.c | tmp = inl(addr); |
addr | 2502 | drivers/net/de4x5.c | u8 addr[(HASH_TABLE_LEN * ETH_ALEN)]; |
addr | 2514 | drivers/net/de4x5.c | tmp.addr[i] = dev->dev_addr[i]; |
addr | 2516 | drivers/net/de4x5.c | memcpy_tofs(ioc->data, tmp.addr, ioc->len); |
addr | 2527 | drivers/net/de4x5.c | memcpy_fromfs(tmp.addr, ioc->data, ETH_ALEN); |
addr | 2529 | drivers/net/de4x5.c | dev->dev_addr[i] = tmp.addr[i]; |
addr | 2582 | drivers/net/de4x5.c | memcpy_fromfs(tmp.addr, ioc->data, ETH_ALEN * ioc->len); |
addr | 2633 | drivers/net/de4x5.c | tmp.addr[0] = inl(DE4X5_OMR); |
addr | 2635 | drivers/net/de4x5.c | memcpy_tofs(ioc->data, tmp.addr, 1); |
addr | 2642 | drivers/net/de4x5.c | memcpy_fromfs(tmp.addr, ioc->data, 1); |
addr | 2643 | drivers/net/de4x5.c | outl(tmp.addr[0], DE4X5_OMR); |
addr | 2662 | drivers/net/de4x5.c | memcpy_tofs(ioc->data, tmp.addr, ioc->len); |
addr | 2670 | drivers/net/de4x5.c | tmp.addr[j++] = dev->irq; |
addr | 2672 | drivers/net/de4x5.c | tmp.addr[j++] = dev->dev_addr[i]; |
addr | 2674 | drivers/net/de4x5.c | tmp.addr[j++] = lp->rxRingSize; |
addr | 2720 | drivers/net/de4x5.c | tmp.addr[j++] = lp->txRingSize; |
addr | 2721 | drivers/net/de4x5.c | tmp.addr[j++] = dev->tbusy; |
addr | 2725 | drivers/net/de4x5.c | memcpy_tofs(ioc->data, tmp.addr, ioc->len); |
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 | 1703 | drivers/net/depca.c | u8 addr[(HASH_TABLE_LEN * ETH_ALEN)]; |
addr | 1711 | drivers/net/depca.c | tmp.addr[i] = dev->dev_addr[i]; |
addr | 1715 | drivers/net/depca.c | memcpy_tofs(ioc->data, tmp.addr, ioc->len); |
addr | 1722 | drivers/net/depca.c | memcpy_fromfs(tmp.addr,ioc->data,ETH_ALEN); |
addr | 1724 | drivers/net/depca.c | dev->dev_addr[i] = tmp.addr[i]; |
addr | 1791 | drivers/net/depca.c | memcpy_fromfs(tmp.addr, ioc->data, ETH_ALEN * ioc->len); |
addr | 1842 | drivers/net/depca.c | memcpy_tofs(ioc->data, tmp.addr, ioc->len); |
addr | 1678 | drivers/net/ewrk3.c | u_char addr[HASH_TABLE_LEN * ETH_ALEN]; |
addr | 1685 | drivers/net/ewrk3.c | tmp.addr[i] = dev->dev_addr[i]; |
addr | 1689 | drivers/net/ewrk3.c | memcpy_tofs(ioc->data, tmp.addr, ioc->len); |
addr | 1700 | drivers/net/ewrk3.c | memcpy_fromfs(tmp.addr,ioc->data,ETH_ALEN); |
addr | 1702 | drivers/net/ewrk3.c | dev->dev_addr[i] = tmp.addr[i]; |
addr | 1703 | drivers/net/ewrk3.c | outb(tmp.addr[i], EWRK3_PAR0 + i); |
addr | 1746 | drivers/net/ewrk3.c | tmp.addr[i] = inb(EWRK3_DATA); |
addr | 1750 | drivers/net/ewrk3.c | memcpy_fromio(tmp.addr, (char *)(lp->shmem_base + PAGE0_HTE), (HASH_TABLE_LEN >> 3)); |
addr | 1753 | drivers/net/ewrk3.c | memcpy_tofs(ioc->data, tmp.addr, ioc->len); |
addr | 1761 | drivers/net/ewrk3.c | memcpy_fromfs(tmp.addr, ioc->data, ETH_ALEN * ioc->len); |
addr | 1808 | drivers/net/ewrk3.c | tmp.addr[0] = inb(EWRK3_CSR); |
addr | 1811 | drivers/net/ewrk3.c | memcpy_tofs(ioc->data, tmp.addr, ioc->len); |
addr | 1818 | drivers/net/ewrk3.c | memcpy_fromfs(tmp.addr, ioc->data, 1); |
addr | 1819 | drivers/net/ewrk3.c | outb(tmp.addr[0], EWRK3_CSR); |
addr | 1832 | drivers/net/ewrk3.c | tmp.addr[i++] = inb(EWRK3_CMR); /* Config/Management Reg. */ |
addr | 1834 | drivers/net/ewrk3.c | tmp.addr[i++] = inb(EWRK3_PAR0 + j); |
addr | 1838 | drivers/net/ewrk3.c | memcpy_tofs(ioc->data, tmp.addr, ioc->len); |
addr | 1848 | drivers/net/ewrk3.c | memcpy_fromfs(tmp.addr, ioc->data, EEPROM_MAX); |
addr | 1859 | drivers/net/ewrk3.c | tmp.addr[0] = inb(EWRK3_CMR); |
addr | 1862 | 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 | 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 | 196 | drivers/net/ppp.c | #define get_long_user(addr) get_user_long((void *) addr) |
addr | 197 | drivers/net/ppp.c | #define get_int_user(addr) ((int) get_user_long((void *) addr)) |
addr | 198 | drivers/net/ppp.c | #define put_byte_user(val,addr) put_fs_byte(val,((u_char *) (addr))) |
addr | 199 | drivers/net/ppp.c | #define put_long_user(val,addr) put_fs_long((val),((void *) (addr))) |
addr | 207 | drivers/net/ppp.c | #define get_long_user(addr) get_user(((int *) addr)) |
addr | 208 | drivers/net/ppp.c | #define get_int_user(addr) ((int) get_user(((int *) addr))) |
addr | 209 | drivers/net/ppp.c | #define put_byte_user(val,addr) put_user((val),((u_char *) (addr))) |
addr | 210 | drivers/net/ppp.c | #define put_long_user(val,addr) put_user((val),((int *) (addr))) |
addr | 1615 | drivers/net/ppp.c | int addr, ctrl, proto; |
addr | 1663 | drivers/net/ppp.c | addr = PPP_ALLSTATIONS; |
addr | 1686 | 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 | 1010 | drivers/net/slip.c | sl_set_mac_address(struct device *dev, void *addr) |
addr | 1014 | drivers/net/slip.c | err = verify_area(VERIFY_READ, addr, AX25_ADDR_LEN); |
addr | 1019 | drivers/net/slip.c | memcpy_fromfs(dev->dev_addr, addr, AX25_ADDR_LEN); /* addr is an AX.25 shifted ASCII mac address */ |
addr | 1025 | drivers/net/slip.c | sl_set_dev_mac_address(struct device *dev, void *addr) |
addr | 1027 | 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 | 162 | drivers/net/tulip.c | static int set_mac_address(struct device *dev, void *addr); |
addr | 727 | drivers/net/tulip.c | set_mac_address(struct device *dev, void *addr) |
addr | 730 | drivers/net/tulip.c | struct sockaddr *sa=(struct sockaddr *)addr; |
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 | 249 | drivers/pci/pci.c | unsigned char addr; /* config space address */ |
addr | 507 | drivers/pci/pci.c | if (!bmap->addr) { |
addr | 510 | drivers/pci/pci.c | pcibios_read_config_byte(bus, devfn, bmap->addr, &val); |
addr | 515 | drivers/pci/pci.c | bmap->addr, |
addr | 524 | drivers/pci/pci.c | bmap->addr, |
addr | 260 | drivers/scsi/53c7,8xx.c | static int check_address (unsigned long addr, int size); |
addr | 3083 | drivers/scsi/53c7,8xx.c | memcpy ((void *) bp->addr, (void *) bp->old, sizeof(bp->old)); |
addr | 3116 | drivers/scsi/53c7,8xx.c | bp->addr, bp->old[0], bp->old[1]); |
addr | 3120 | drivers/scsi/53c7,8xx.c | sprintf(buf + len, "%08x\n", * (u32 *) bp->addr); |
addr | 6334 | drivers/scsi/53c7,8xx.c | check_address (unsigned long addr, int size) { |
addr | 6335 | 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 | 1138 | drivers/scsi/advansys.c | ulong addr; |
addr | 1690 | drivers/scsi/advansys.c | #define AscSetChipLramAddr( port, addr ) outpw( ( PortAddr )( (port)+IOP_RAM_ADDR ), addr ) |
addr | 3743 | drivers/scsi/advansys.c | sghead.sg_list[sgcnt].addr = (ulong) slp->address; |
addr | 4504 | drivers/scsi/advansys.c | asc_sg_head_ptr->sg_list[0].addr = (ulong) buf_addr; |
addr | 4866 | drivers/scsi/advansys.c | i, (unsigned) sgp->sg_list[i].addr, sgp->sg_list[i].bytes); |
addr | 6021 | drivers/scsi/advansys.c | ulong addr; |
addr | 6084 | drivers/scsi/advansys.c | scsiq->q1.data_addr = scsiq->sg_head->sg_list[0].addr; |
addr | 6099 | drivers/scsi/advansys.c | addr = scsiq->sg_head->sg_list[i].addr + |
addr | 6102 | drivers/scsi/advansys.c | if (((ushort) addr & 0x0003) != 0) { |
addr | 6115 | drivers/scsi/advansys.c | addr = scsiq->sg_head->sg_list[sg_entry_cnt_minus_one].addr + |
addr | 6117 | drivers/scsi/advansys.c | if (((ushort) addr & 0x0003) != 0) { |
addr | 6160 | drivers/scsi/advansys.c | addr = scsiq->q1.data_addr + scsiq->q1.data_cnt; |
addr | 6163 | drivers/scsi/advansys.c | if (((ushort) addr & 0x0003) != 0) { |
addr | 6495 | drivers/scsi/advansys.c | scsiq->q1.data_addr = sg_head->sg_list[0].addr; |
addr | 7328 | drivers/scsi/advansys.c | return (sg_head.sg_list[0].addr); |
addr | 8168 | drivers/scsi/advansys.c | uchar addr |
addr | 8176 | drivers/scsi/advansys.c | cmd_reg = addr | ASC_EEP_CMD_READ; |
addr | 8187 | drivers/scsi/advansys.c | uchar addr, |
addr | 8193 | drivers/scsi/advansys.c | read_wval = AscReadEEPWord(iop_base, addr); |
addr | 8202 | drivers/scsi/advansys.c | (uchar) ((uchar) ASC_EEP_CMD_WRITE | addr)); |
addr | 8207 | drivers/scsi/advansys.c | return (AscReadEEPWord(iop_base, addr)); |
addr | 8756 | drivers/scsi/advansys.c | ushort addr |
addr | 8762 | drivers/scsi/advansys.c | if (isodd_word(addr)) { |
addr | 8763 | drivers/scsi/advansys.c | AscSetChipLramAddr(iop_base, addr - 1); |
addr | 8773 | drivers/scsi/advansys.c | AscSetChipLramAddr(iop_base, addr); |
addr | 8789 | drivers/scsi/advansys.c | ushort addr |
addr | 8794 | drivers/scsi/advansys.c | AscSetChipLramAddr(iop_base, addr); |
addr | 8802 | drivers/scsi/advansys.c | ushort addr |
addr | 8808 | drivers/scsi/advansys.c | AscSetChipLramAddr(iop_base, addr); |
addr | 8826 | drivers/scsi/advansys.c | ushort addr, |
addr | 8830 | drivers/scsi/advansys.c | AscSetChipLramAddr(iop_base, addr); |
addr | 8838 | drivers/scsi/advansys.c | ushort addr, |
addr | 8844 | drivers/scsi/advansys.c | AscSetChipLramAddr(iop_base, addr); |
addr | 8863 | drivers/scsi/advansys.c | ushort addr, |
addr | 8869 | drivers/scsi/advansys.c | if (isodd_word(addr)) { |
addr | 8870 | drivers/scsi/advansys.c | addr--; |
addr | 8871 | drivers/scsi/advansys.c | word_data = AscReadLramWord(iop_base, addr); |
addr | 8875 | drivers/scsi/advansys.c | word_data = AscReadLramWord(iop_base, addr); |
addr | 8879 | drivers/scsi/advansys.c | AscWriteLramWord(iop_base, addr, word_data); |
addr | 8886 | drivers/scsi/advansys.c | ushort addr, |
addr | 8893 | drivers/scsi/advansys.c | AscSetChipLramAddr(iop_base, addr); |
addr | 8895 | 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 | 442 | drivers/scsi/sr_ioctl.c | ms_info.addr.msf.minute = lba / (CD_SECS*CD_FRAMES); |
addr | 444 | drivers/scsi/sr_ioctl.c | ms_info.addr.msf.second = lba / CD_FRAMES; |
addr | 445 | drivers/scsi/sr_ioctl.c | ms_info.addr.msf.frame = lba % CD_FRAMES; |
addr | 447 | 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 | 199 | drivers/sound/dev_table.h | int (*load_patch) (int dev, int format, const char *addr, |
addr | 180 | drivers/sound/gus_wave.c | static void gus_poke (long addr, unsigned char data); |
addr | 224 | drivers/sound/gus_wave.c | gus_poke (long addr, unsigned char data) |
addr | 231 | drivers/sound/gus_wave.c | outb (addr & 0xff, u_DataLo); |
addr | 232 | drivers/sound/gus_wave.c | outb ((addr >> 8) & 0xff, u_DataHi); |
addr | 235 | drivers/sound/gus_wave.c | outb ((addr >> 16) & 0xff, u_DataHi); |
addr | 241 | drivers/sound/gus_wave.c | gus_peek (long addr) |
addr | 249 | drivers/sound/gus_wave.c | outb (addr & 0xff, u_DataLo); |
addr | 250 | drivers/sound/gus_wave.c | outb ((addr >> 8) & 0xff, u_DataHi); |
addr | 253 | drivers/sound/gus_wave.c | outb ((addr >> 16) & 0xff, u_DataHi); |
addr | 1510 | drivers/sound/gus_wave.c | guswave_load_patch (int dev, int format, const char *addr, |
addr | 1546 | drivers/sound/gus_wave.c | memcpy_fromfs (&((char *) &patch)[offs], &((addr)[offs]), sizeof_patch - offs); |
addr | 1671 | drivers/sound/gus_wave.c | data = get_fs_byte (&((addr)[sizeof_patch + i])); |
addr | 1689 | drivers/sound/gus_wave.c | memcpy_fromfs (audio_devs[gus_devnum]->dmap_out->raw_buf, &((addr)[sizeof_patch + src_offs]), blk_sz); |
addr | 3451 | drivers/sound/gus_wave.c | gus_timer_command (unsigned int addr, unsigned int val) |
addr | 3455 | 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 | 103 | drivers/sound/maui.c | maui_load_patch (int dev, int format, const char *addr, |
addr | 113 | drivers/sound/maui.c | return orig_load_patch (dev, format, addr, offs, count, pmgr_flag); |
addr | 133 | drivers/sound/maui.c | memcpy_fromfs (&((char *) &header)[offs], &((addr)[offs]), hdr_size - offs); |
addr | 149 | 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 | 90 | drivers/sound/opl3.c | static void opl3_command (int io_addr, unsigned int addr, unsigned int val); |
addr | 768 | drivers/sound/opl3.c | opl3_command (int io_addr, unsigned int addr, unsigned int val) |
addr | 777 | drivers/sound/opl3.c | outb ((unsigned char) (addr & 0xff), io_addr); |
addr | 881 | drivers/sound/opl3.c | opl3_load_patch (int dev, int format, const char *addr, |
addr | 892 | drivers/sound/opl3.c | memcpy_fromfs (&((char *) &ins)[offs], &((addr)[offs]), sizeof (ins) - offs); |
addr | 1034 | drivers/sound/sb_dsp.c | smw_putmem (int base, int addr, unsigned char val) |
addr | 1041 | drivers/sound/sb_dsp.c | outb (addr & 0xff, base + 1); /* Low address bits */ |
addr | 1042 | drivers/sound/sb_dsp.c | outb (addr >> 8, base + 2); /* High address bits */ |
addr | 1049 | drivers/sound/sb_dsp.c | smw_getmem (int base, int addr) |
addr | 1057 | drivers/sound/sb_dsp.c | outb (addr & 0xff, base + 1); /* Low address bits */ |
addr | 1058 | 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 | 58 | drivers/sound/soundcard.c | snd_ioctl_return (int *addr, int value) |
addr | 63 | 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 | 829 | fs/binfmt_elf.c | static int dump_write(struct file *file, const void *addr, int nr) |
addr | 831 | fs/binfmt_elf.c | return file->f_op->write(file->f_inode, file, addr, nr) == nr; |
addr | 904 | fs/binfmt_elf.c | #define DUMP_WRITE(addr, nr) \ |
addr | 905 | fs/binfmt_elf.c | do { if (!dump_write(file, (addr), (nr))) return 0; } while(0) |
addr | 929 | fs/binfmt_elf.c | #define DUMP_WRITE(addr, nr) \ |
addr | 930 | fs/binfmt_elf.c | if (!dump_write(&file, (addr), (nr))) \ |
addr | 1193 | fs/binfmt_elf.c | unsigned long addr = vma->vm_start; |
addr | 1200 | fs/binfmt_elf.c | printk("elf_core_dump: writing %08lx %lx\n", addr, len); |
addr | 1202 | 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 | 362 | fs/exec.c | char * addr, unsigned long count, int to_kmem) |
addr | 389 | fs/exec.c | result = file.f_op->read(inode, &file, addr, count); |
addr | 392 | fs/exec.c | result = verify_area(VERIFY_WRITE, addr, count); |
addr | 395 | 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 | 186 | fs/isofs/inode.c | printk("isofs.inode: vol_desc_start = %d\n", ms_info.addr.lba); |
addr | 189 | fs/isofs/inode.c | if ((i==0)&&(ms_info.xa_flag)) vol_desc_start=ms_info.addr.lba; |
addr | 99 | fs/ncpfs/ioctl.c | info.addr = server->m.serv_addr; |
addr | 138 | fs/nfs/inode.c | if (data->addr.sin_addr.s_addr == INADDR_ANY) { /* No address passed */ |
addr | 157 | fs/nfs/inode.c | memcpy((char *)&(server->toaddr),(char *)(&data->addr),sizeof(server->toaddr)); |
addr | 958 | 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 | 344 | fs/proc/array.c | unsigned long addr; |
addr | 351 | fs/proc/array.c | addr = get_phys_addr(*p, start); |
addr | 352 | fs/proc/array.c | if (!addr) |
addr | 355 | fs/proc/array.c | c = *(char *) addr; |
addr | 362 | fs/proc/array.c | addr++; |
addr | 366 | 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 | 197 | include/asm-alpha/apecs.h | extern inline unsigned int __inb(unsigned long addr) |
addr | 199 | include/asm-alpha/apecs.h | long result = *(vuip) ((addr << 5) + APECS_IO + 0x00); |
addr | 200 | include/asm-alpha/apecs.h | result >>= (addr & 3) * 8; |
addr | 204 | include/asm-alpha/apecs.h | extern inline void __outb(unsigned char b, unsigned long addr) |
addr | 208 | include/asm-alpha/apecs.h | asm ("insbl %2,%1,%0" : "r="(w) : "ri"(addr & 0x3), "r"(b)); |
addr | 209 | include/asm-alpha/apecs.h | *(vuip) ((addr << 5) + APECS_IO + 0x00) = w; |
addr | 213 | include/asm-alpha/apecs.h | extern inline unsigned int __inw(unsigned long addr) |
addr | 215 | include/asm-alpha/apecs.h | long result = *(vuip) ((addr << 5) + APECS_IO + 0x08); |
addr | 216 | include/asm-alpha/apecs.h | result >>= (addr & 3) * 8; |
addr | 220 | include/asm-alpha/apecs.h | extern inline void __outw(unsigned short b, unsigned long addr) |
addr | 224 | include/asm-alpha/apecs.h | asm ("inswl %2,%1,%0" : "r="(w) : "ri"(addr & 0x3), "r"(b)); |
addr | 225 | include/asm-alpha/apecs.h | *(vuip) ((addr << 5) + APECS_IO + 0x08) = w; |
addr | 229 | include/asm-alpha/apecs.h | extern inline unsigned int __inl(unsigned long addr) |
addr | 231 | include/asm-alpha/apecs.h | return *(vuip) ((addr << 5) + APECS_IO + 0x18); |
addr | 234 | include/asm-alpha/apecs.h | extern inline void __outl(unsigned int b, unsigned long addr) |
addr | 236 | include/asm-alpha/apecs.h | *(vuip) ((addr << 5) + APECS_IO + 0x18) = b; |
addr | 245 | include/asm-alpha/apecs.h | extern inline unsigned long __readb(unsigned long addr) |
addr | 249 | include/asm-alpha/apecs.h | shift = (addr & 0x3) * 8; |
addr | 250 | include/asm-alpha/apecs.h | if (addr >= (1UL << 24)) { |
addr | 251 | include/asm-alpha/apecs.h | msb = addr & 0xf8000000; |
addr | 252 | include/asm-alpha/apecs.h | addr -= msb; |
addr | 257 | include/asm-alpha/apecs.h | result = *(vuip) ((addr << 5) + APECS_SPARSE_MEM + 0x00); |
addr | 262 | include/asm-alpha/apecs.h | extern inline unsigned long __readw(unsigned long addr) |
addr | 266 | include/asm-alpha/apecs.h | shift = (addr & 0x3) * 8; |
addr | 267 | include/asm-alpha/apecs.h | if (addr >= (1UL << 24)) { |
addr | 268 | include/asm-alpha/apecs.h | msb = addr & 0xf8000000; |
addr | 269 | include/asm-alpha/apecs.h | addr -= msb; |
addr | 274 | include/asm-alpha/apecs.h | result = *(vuip) ((addr << 5) + APECS_SPARSE_MEM + 0x08); |
addr | 279 | include/asm-alpha/apecs.h | extern inline unsigned long __readl(unsigned long addr) |
addr | 281 | include/asm-alpha/apecs.h | return *(vuip) (addr + APECS_DENSE_MEM); |
addr | 284 | include/asm-alpha/apecs.h | extern inline void __writeb(unsigned char b, unsigned long addr) |
addr | 288 | include/asm-alpha/apecs.h | if (addr >= (1UL << 24)) { |
addr | 289 | include/asm-alpha/apecs.h | msb = addr & 0xf8000000; |
addr | 290 | include/asm-alpha/apecs.h | addr -= msb; |
addr | 295 | include/asm-alpha/apecs.h | *(vuip) ((addr << 5) + APECS_SPARSE_MEM + 0x00) = b * 0x01010101; |
addr | 298 | include/asm-alpha/apecs.h | extern inline void __writew(unsigned short b, unsigned long addr) |
addr | 302 | include/asm-alpha/apecs.h | if (addr >= (1UL << 24)) { |
addr | 303 | include/asm-alpha/apecs.h | msb = addr & 0xf8000000; |
addr | 304 | include/asm-alpha/apecs.h | addr -= msb; |
addr | 309 | include/asm-alpha/apecs.h | *(vuip) ((addr << 5) + APECS_SPARSE_MEM + 0x08) = b * 0x00010001; |
addr | 312 | include/asm-alpha/apecs.h | extern inline void __writel(unsigned int b, unsigned long addr) |
addr | 314 | 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 | 22 | include/asm-alpha/floppy.h | #define fd_set_dma_addr(addr) set_dma_addr(FLOPPY_DMA,addr) |
addr | 26 | 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 | 95 | include/asm-alpha/io.h | extern unsigned long _readb(unsigned long addr); |
addr | 96 | include/asm-alpha/io.h | extern unsigned long _readw(unsigned long addr); |
addr | 97 | include/asm-alpha/io.h | extern void _writeb(unsigned char b, unsigned long addr); |
addr | 98 | include/asm-alpha/io.h | extern void _writew(unsigned short b, unsigned long addr); |
addr | 191 | 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 | 51 | include/asm-alpha/pgtable.h | unsigned long addr) |
addr | 58 | 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 | 26 | include/asm-i386/bitops.h | #define ADDR (*(struct __dummy *) addr) |
addr | 27 | include/asm-i386/bitops.h | #define CONST_ADDR (*(const struct __dummy *) addr) |
addr | 29 | include/asm-i386/bitops.h | extern __inline__ int set_bit(int nr, void * addr) |
addr | 40 | include/asm-i386/bitops.h | extern __inline__ int clear_bit(int nr, void * addr) |
addr | 51 | include/asm-i386/bitops.h | extern __inline__ int change_bit(int nr, void * addr) |
addr | 65 | include/asm-i386/bitops.h | extern __inline__ int test_bit(int nr, const void * addr) |
addr | 67 | include/asm-i386/bitops.h | return 1UL & (((const unsigned int *) addr)[nr >> 5] >> (nr & 31)); |
addr | 73 | include/asm-i386/bitops.h | extern __inline__ int find_first_zero_bit(void * addr, unsigned size) |
addr | 92 | include/asm-i386/bitops.h | :"c" ((size + 31) >> 5), "D" (addr), "b" (addr) |
addr | 97 | include/asm-i386/bitops.h | extern __inline__ int find_next_zero_bit (void * addr, int size, int offset) |
addr | 99 | 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 | 39 | include/asm-i386/pgtable.h | #define __invalidate_one(addr) invalidate() |
addr | 41 | include/asm-i386/pgtable.h | #define __invalidate_one(addr) \ |
addr | 42 | include/asm-i386/pgtable.h | __asm__ __volatile__("invlpg %0": :"m" (*(char *) addr)) |
addr | 57 | include/asm-i386/pgtable.h | unsigned long addr) |
addr | 60 | include/asm-i386/pgtable.h | __invalidate_one(addr); |
addr | 146 | 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 | 579 | include/asm-i386/string.h | extern inline void * memscan(void * addr, int c, size_t size) |
addr | 582 | include/asm-i386/string.h | return addr; |
addr | 588 | include/asm-i386/string.h | : "=D" (addr), "=c" (size) |
addr | 589 | include/asm-i386/string.h | : "0" (addr), "1" (size), "a" (c)); |
addr | 590 | include/asm-i386/string.h | return addr; |
addr | 127 | include/asm-i386/system.h | #define _set_base(addr,base) \ |
addr | 133 | include/asm-i386/system.h | :"m" (*((addr)+2)), \ |
addr | 134 | include/asm-i386/system.h | "m" (*((addr)+4)), \ |
addr | 135 | include/asm-i386/system.h | "m" (*((addr)+7)), \ |
addr | 139 | include/asm-i386/system.h | #define _set_limit(addr,limit) \ |
addr | 147 | include/asm-i386/system.h | :"m" (*(addr)), \ |
addr | 148 | include/asm-i386/system.h | "m" (*((addr)+6)), \ |
addr | 155 | include/asm-i386/system.h | static inline unsigned long _get_base(char * addr) |
addr | 163 | include/asm-i386/system.h | :"m" (*((addr)+2)), |
addr | 164 | include/asm-i386/system.h | "m" (*((addr)+4)), |
addr | 165 | include/asm-i386/system.h | "m" (*((addr)+7))); |
addr | 235 | include/asm-i386/system.h | #define _set_gate(gate_addr,type,dpl,addr) \ |
addr | 243 | include/asm-i386/system.h | "d" ((char *) (addr)),"a" (KERNEL_CS << 16) \ |
addr | 246 | include/asm-i386/system.h | #define set_intr_gate(n,addr) \ |
addr | 247 | include/asm-i386/system.h | _set_gate(&idt[n],14,0,addr) |
addr | 249 | include/asm-i386/system.h | #define set_trap_gate(n,addr) \ |
addr | 250 | include/asm-i386/system.h | _set_gate(&idt[n],15,0,addr) |
addr | 252 | include/asm-i386/system.h | #define set_system_gate(n,addr) \ |
addr | 253 | include/asm-i386/system.h | _set_gate(&idt[n],15,3,addr) |
addr | 255 | include/asm-i386/system.h | #define set_call_gate(a,addr) \ |
addr | 256 | include/asm-i386/system.h | _set_gate(a,12,3,addr) |
addr | 268 | include/asm-i386/system.h | #define _set_tssldt_desc(n,addr,limit,type) \ |
addr | 278 | include/asm-i386/system.h | :"a" (addr+0xc0000000), "m" (*(n)), "m" (*(n+2)), "m" (*(n+4)), \ |
addr | 282 | include/asm-i386/system.h | #define set_tss_desc(n,addr) _set_tssldt_desc(((char *) (n)),((int)(addr)),235,"0x89") |
addr | 283 | include/asm-i386/system.h | #define set_ldt_desc(n,addr,size) \ |
addr | 284 | 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 | 228 | include/asm-sparc/asi.h | ldb_sun4m_bypass(unsigned int addr) |
addr | 234 | include/asm-sparc/asi.h | "i" (ASI_M_BYPASS), "r" (addr)); |
addr | 240 | include/asm-sparc/asi.h | ldw_sun4m_bypass(unsigned int addr) |
addr | 246 | include/asm-sparc/asi.h | "i" (ASI_M_BYPASS), "r" (addr)); |
addr | 252 | include/asm-sparc/asi.h | stb_sun4m_bypass(unsigned char value, unsigned int addr) |
addr | 255 | include/asm-sparc/asi.h | "r" (value), "i" (ASI_M_BYPASS), "r" (addr) : |
addr | 260 | include/asm-sparc/asi.h | stw_sun4m_bypass(unsigned int value, unsigned int addr) |
addr | 263 | 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 & (((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 | 61 | include/asm-sparc/dma.h | unsigned long addr; /* Start address of current transfer */ |
addr | 125 | include/asm-sparc/dma.h | #define DMA_MAXEND(addr) (0x01000000UL-(((unsigned long)(addr))&0x00ffffffUL)) |
addr | 135 | 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 | 100 | include/asm-sparc/page.h | #define PAGE_ALIGN(addr) (((addr)+PAGE_SIZE-1)&PAGE_MASK) |
addr | 105 | include/asm-sparc/page.h | #define MAP_NR(addr) ((((unsigned long) (addr)) - PAGE_OFFSET) >> PAGE_SHIFT) |
addr | 254 | include/asm-sparc/page.h | extern __inline__ unsigned long get_segmap(unsigned long addr) |
addr | 260 | include/asm-sparc/page.h | "r" (addr), "i" (ASI_SEGMAP)); |
addr | 265 | include/asm-sparc/page.h | extern __inline__ void put_segmap(unsigned long addr, unsigned long entry) |
addr | 269 | include/asm-sparc/page.h | "r" (addr), "r" (entry), |
addr | 275 | include/asm-sparc/page.h | extern __inline__ unsigned long get_pte(unsigned long addr) |
addr | 281 | include/asm-sparc/page.h | "r" (addr), "i" (ASI_PTE)); |
addr | 285 | include/asm-sparc/page.h | extern __inline__ void put_pte(unsigned long addr, unsigned long entry) |
addr | 288 | include/asm-sparc/page.h | "r" (addr), |
addr | 20 | include/asm-sparc/pgtsrmmu.h | #define SRMMU_PMD_ALIGN(addr) (((addr)+SRMMU_PMD_SIZE-1)&SRMMU_PMD_MASK) |
addr | 26 | include/asm-sparc/pgtsrmmu.h | #define SRMMU_PGDIR_ALIGN(addr) (((addr)+SRMMU_PGDIR_SIZE-1)&SRMMU_PGDIR_MASK) |
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 | 54 | include/asm-sparc/ross.h | extern inline void flush_i_page(unsigned int addr) |
addr | 57 | include/asm-sparc/ross.h | "r" (addr), "i" (ASI_M_IFLUSH_PAGE) : |
addr | 62 | include/asm-sparc/ross.h | extern inline void flush_i_seg(unsigned int addr) |
addr | 65 | include/asm-sparc/ross.h | "r" (addr), "i" (ASI_M_IFLUSH_SEG) : |
addr | 70 | include/asm-sparc/ross.h | extern inline void flush_i_region(unsigned int addr) |
addr | 73 | include/asm-sparc/ross.h | "r" (addr), "i" (ASI_M_IFLUSH_REGION) : |
addr | 78 | include/asm-sparc/ross.h | extern inline void flush_i_ctx(unsigned int addr) |
addr | 81 | include/asm-sparc/ross.h | "r" (addr), "i" (ASI_M_IFLUSH_CTX) : |
addr | 86 | include/asm-sparc/ross.h | extern inline void flush_i_user(unsigned int addr) |
addr | 89 | include/asm-sparc/ross.h | "r" (addr), "i" (ASI_M_IFLUSH_USER) : |
addr | 66 | include/asm-sparc/segment.h | static inline unsigned char get_user_byte(const char * addr) |
addr | 68 | include/asm-sparc/segment.h | return *addr; |
addr | 71 | include/asm-sparc/segment.h | #define get_fs_byte(addr) get_user_byte((char *)(addr)) |
addr | 73 | include/asm-sparc/segment.h | static inline unsigned short get_user_word(const short *addr) |
addr | 75 | include/asm-sparc/segment.h | return *addr; |
addr | 78 | include/asm-sparc/segment.h | #define get_fs_word(addr) get_user_word((short *)(addr)) |
addr | 80 | include/asm-sparc/segment.h | static inline unsigned long get_user_long(const int *addr) |
addr | 82 | include/asm-sparc/segment.h | return *addr; |
addr | 85 | include/asm-sparc/segment.h | #define get_fs_long(addr) get_user_long((int *)(addr)) |
addr | 87 | include/asm-sparc/segment.h | static inline void put_user_byte(char val,char *addr) |
addr | 89 | include/asm-sparc/segment.h | *addr = val; |
addr | 92 | include/asm-sparc/segment.h | #define put_fs_byte(x,addr) put_user_byte((x),(char *)(addr)) |
addr | 94 | include/asm-sparc/segment.h | static inline void put_user_word(short val,short * addr) |
addr | 96 | include/asm-sparc/segment.h | *addr = val; |
addr | 99 | include/asm-sparc/segment.h | #define put_fs_word(x,addr) put_user_word((x),(short *)(addr)) |
addr | 101 | include/asm-sparc/segment.h | static inline void put_user_long(unsigned long val,int * addr) |
addr | 103 | include/asm-sparc/segment.h | *addr = val; |
addr | 106 | include/asm-sparc/segment.h | #define put_fs_long(x,addr) put_user_long((x),(int *)(addr)) |
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 | 142 | include/linux/atalk.h | extern void aarp_send_probe(struct device *dev, struct at_addr *addr); |
addr | 38 | include/linux/ax25.h | ax25_address addr; |
addr | 44 | include/linux/binfmts.h | char * addr, unsigned long count, int to_kmem); |
addr | 204 | include/linux/cdrom.h | } addr; /* frame address */ |
addr | 226 | include/linux/cdrom.h | } 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 | 177 | include/linux/mm.h | #define free_page(addr) free_pages((addr),0) |
addr | 178 | include/linux/mm.h | extern void free_pages(unsigned long addr, unsigned long order); |
addr | 209 | include/linux/mm.h | extern void vfree(void * addr); |
addr | 210 | include/linux/mm.h | extern int vread(char *buf, char *addr, int count); |
addr | 213 | include/linux/mm.h | extern unsigned long do_mmap(struct file * file, unsigned long addr, unsigned long len, |
addr | 260 | include/linux/mm.h | static inline struct vm_area_struct * find_vma (struct task_struct * task, unsigned long addr) |
addr | 270 | include/linux/mm.h | if (tree->vm_end > addr) { |
addr | 271 | 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 | 86 | include/linux/module.h | #define GET_USE_COUNT(module) (* (long *) (module)->addr) |
addr | 31 | include/linux/ncp_fs.h | struct sockaddr_ipx addr; |
addr | 178 | include/linux/netdevice.h | int (*set_mac_address)(struct device *dev, void *addr); |
addr | 214 | include/linux/netdevice.h | extern int ip_chk_addr(unsigned long addr); |
addr | 217 | include/linux/netdevice.h | extern unsigned long ip_get_mask(unsigned long addr); |
addr | 218 | include/linux/netdevice.h | extern struct device *ip_dev_find(unsigned long addr); |
addr | 290 | include/linux/netdevice.h | extern void dev_mc_delete(struct device *dev, void *addr, int alen, int all); |
addr | 291 | 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 | 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 | 102 | include/linux/swap.h | extern inline unsigned long in_swap_cache(unsigned long addr) |
addr | 104 | include/linux/swap.h | return swap_cache[MAP_NR(addr)]; |
addr | 107 | include/linux/swap.h | extern inline long find_in_swap_cache (unsigned long addr) |
addr | 114 | include/linux/swap.h | entry = xchg(swap_cache + MAP_NR(addr), 0); |
addr | 122 | include/linux/swap.h | extern inline int delete_from_swap_cache(unsigned long addr) |
addr | 129 | include/linux/swap.h | entry= xchg(swap_cache + MAP_NR(addr), 0); |
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 | 219 | include/net/route.h | extern __inline__ unsigned ip_rt_hash_code(__u32 addr) |
addr | 221 | include/net/route.h | unsigned tmp = addr + (addr>>16); |
addr | 462 | ipc/shm.c | unsigned long addr; |
addr | 475 | ipc/shm.c | if (!(addr = (ulong) shmaddr)) { |
addr | 478 | ipc/shm.c | if (!(addr = get_unmapped_area(0, shp->shm_segsz))) |
addr | 480 | ipc/shm.c | } else if (addr & (SHMLBA-1)) { |
addr | 482 | ipc/shm.c | addr &= ~(SHMLBA-1); /* round down */ |
addr | 490 | ipc/shm.c | if (addr < current->mm->start_stack && |
addr | 491 | ipc/shm.c | addr > current->mm->start_stack - PAGE_SIZE*(shp->shm_npages + 4)) |
addr | 497 | ipc/shm.c | if ((shmd = find_vma_intersection(current, addr, addr + shp->shm_segsz))) { |
addr | 517 | ipc/shm.c | shmd->vm_start = addr; |
addr | 518 | ipc/shm.c | shmd->vm_end = addr + shp->shm_npages * PAGE_SIZE; |
addr | 542 | ipc/shm.c | *raddr = addr; |
addr | 106 | ipc/util.c | asmlinkage int sys_shmat (int shmid, char *shmaddr, int shmflg, ulong *addr) |
addr | 147 | kernel/module.c | void* addr; |
addr | 169 | kernel/module.c | if ((addr = vmalloc(npages * PAGE_SIZE)) == 0) { |
addr | 179 | kernel/module.c | mp->addr = addr; |
addr | 183 | kernel/module.c | * (long *) addr = 0; /* set use count to zero */ |
addr | 187 | kernel/module.c | mp->name, (unsigned long) mp->size, (unsigned long) mp->addr)); |
addr | 188 | kernel/module.c | return (unsigned long) addr; |
addr | 241 | kernel/module.c | memcpy_fromfs((char *)mp->addr + sizeof (long), code, codesize); |
addr | 242 | kernel/module.c | memset((char *)mp->addr + sizeof (long) + codesize, 0, |
addr | 432 | kernel/module.c | isym.value = (unsigned long)from->addr; |
addr | 530 | kernel/module.c | vfree(mp->addr); |
addr | 636 | kernel/module.c | (long)sym->addr, |
addr | 640 | 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 | 172 | mm/filemap.c | unsigned long addr; |
addr | 175 | mm/filemap.c | addr = page_address(page); |
addr | 176 | mm/filemap.c | memcpy((void *) ((pos & ~PAGE_MASK) + addr), buf, count); |
addr | 177 | mm/filemap.c | free_page(addr); |
addr | 265 | mm/filemap.c | unsigned long offset, addr, nr; |
addr | 324 | mm/filemap.c | addr = page_address(page); |
addr | 359 | mm/filemap.c | memcpy_tofs(buf, (void *) (addr + offset), nr); |
addr | 360 | mm/filemap.c | free_page(addr); |
addr | 314 | mm/memory.c | unsigned long addr = pte_page(page); |
addr | 315 | mm/memory.c | if (addr >= high_memory || mem_map[MAP_NR(addr)].reserved) |
addr | 317 | mm/memory.c | free_page(addr); |
addr | 665 | mm/memory.c | int verify_area(int type, const void * addr, unsigned long size) |
addr | 668 | mm/memory.c | unsigned long start = (unsigned long) addr; |
addr | 53 | mm/mmap.c | unsigned long do_mmap(struct file * file, unsigned long addr, unsigned long len, |
addr | 60 | mm/mmap.c | return addr; |
addr | 62 | mm/mmap.c | if (addr > TASK_SIZE || len > TASK_SIZE || addr > TASK_SIZE-len) |
addr | 110 | mm/mmap.c | if (addr & ~PAGE_MASK) |
addr | 112 | mm/mmap.c | if (len > TASK_SIZE || addr > TASK_SIZE - len) |
addr | 115 | mm/mmap.c | addr = get_unmapped_area(addr, len); |
addr | 116 | mm/mmap.c | if (!addr) |
addr | 134 | mm/mmap.c | vma->vm_start = addr; |
addr | 135 | mm/mmap.c | vma->vm_end = addr + len; |
addr | 166 | mm/mmap.c | do_munmap(addr, len); /* Clear old maps */ |
addr | 190 | mm/mmap.c | return addr; |
addr | 198 | mm/mmap.c | unsigned long get_unmapped_area(unsigned long addr, unsigned long len) |
addr | 204 | mm/mmap.c | if (!addr) |
addr | 205 | mm/mmap.c | addr = TASK_SIZE / 3; |
addr | 206 | mm/mmap.c | addr = PAGE_ALIGN(addr); |
addr | 209 | mm/mmap.c | if (TASK_SIZE - len < addr) |
addr | 212 | mm/mmap.c | return addr; |
addr | 213 | mm/mmap.c | if (addr > vmm->vm_end) |
addr | 215 | mm/mmap.c | if (addr + len > vmm->vm_start) { |
addr | 216 | mm/mmap.c | addr = vmm->vm_end; |
addr | 219 | mm/mmap.c | return addr; |
addr | 614 | mm/mmap.c | unsigned long addr, size_t len) |
addr | 617 | mm/mmap.c | unsigned long end = addr + len; |
addr | 619 | mm/mmap.c | if (addr < area->vm_start || addr >= area->vm_end || |
addr | 621 | mm/mmap.c | end < addr) |
addr | 624 | mm/mmap.c | area->vm_start, area->vm_end, addr, end); |
addr | 632 | mm/mmap.c | if (addr == area->vm_start && end == area->vm_end) { |
addr | 642 | mm/mmap.c | area->vm_end = addr; |
addr | 644 | mm/mmap.c | if (addr == area->vm_start) { |
addr | 662 | mm/mmap.c | area->vm_end = addr; /* Truncate area */ |
addr | 680 | mm/mmap.c | asmlinkage int sys_munmap(unsigned long addr, size_t len) |
addr | 682 | mm/mmap.c | return do_munmap(addr, len); |
addr | 691 | mm/mmap.c | int do_munmap(unsigned long addr, size_t len) |
addr | 695 | mm/mmap.c | if ((addr & ~PAGE_MASK) || addr > TASK_SIZE || len > TASK_SIZE-addr) |
addr | 707 | mm/mmap.c | mpnt = find_vma(current, addr); |
addr | 716 | mm/mmap.c | for ( ; mpnt && mpnt->vm_start < addr+len; mpnt = *npp) { |
addr | 740 | mm/mmap.c | st = addr < mpnt->vm_start ? mpnt->vm_start : addr; |
addr | 741 | mm/mmap.c | end = addr+len; |
addr | 751 | mm/mmap.c | zap_page_range(current->mm, addr, len); |
addr | 58 | mm/page_alloc.c | static inline void free_pages_ok(unsigned long addr, unsigned long order) |
addr | 60 | mm/page_alloc.c | unsigned long index = MAP_NR(addr) >> (1 + order); |
addr | 63 | mm/page_alloc.c | addr &= mask; |
addr | 68 | mm/page_alloc.c | remove_mem_queue(free_area_list+order, (struct mem_list *) (addr ^ (1+~mask))); |
addr | 72 | mm/page_alloc.c | addr &= mask; |
addr | 74 | mm/page_alloc.c | add_mem_queue(free_area_list+order, (struct mem_list *) addr); |
addr | 77 | mm/page_alloc.c | static inline void check_free_buffers(unsigned long addr) |
addr | 81 | mm/page_alloc.c | bh = buffer_pages[MAP_NR(addr)]; |
addr | 93 | mm/page_alloc.c | void free_pages(unsigned long addr, unsigned long order) |
addr | 95 | mm/page_alloc.c | if (MAP_NR(addr) < MAP_NR(high_memory)) { |
addr | 97 | mm/page_alloc.c | mem_map_t * map = mem_map + MAP_NR(addr); |
addr | 104 | mm/page_alloc.c | free_pages_ok(addr, order); |
addr | 105 | mm/page_alloc.c | delete_from_swap_cache(addr); |
addr | 109 | mm/page_alloc.c | check_free_buffers(addr); |
addr | 112 | mm/page_alloc.c | printk("Trying to free free memory (%08lx): memory probably corrupted\n",addr); |
addr | 140 | mm/page_alloc.c | static inline int mark_used(unsigned long addr, unsigned long order) |
addr | 142 | mm/page_alloc.c | return change_bit(MAP_NR(addr) >> (1+order), free_area_map[order]); |
addr | 145 | mm/page_alloc.c | #define EXPAND(addr,low,high) \ |
addr | 149 | mm/page_alloc.c | add_mem_queue(free_area_list+high, addr); \ |
addr | 150 | mm/page_alloc.c | mark_used((unsigned long) addr, high); \ |
addr | 152 | mm/page_alloc.c | addr = (struct mem_list *) (size + (unsigned long) addr); \ |
addr | 153 | mm/page_alloc.c | } mem_map[MAP_NR((unsigned long) addr)].count = 1; \ |
addr | 154 | mm/page_alloc.c | mem_map[MAP_NR((unsigned long) addr)].age = PAGE_INITIAL_AGE; \ |
addr | 52 | mm/swap_state.c | int add_to_swap_cache(unsigned long addr, unsigned long entry) |
addr | 60 | mm/swap_state.c | entry = xchg(swap_cache + MAP_NR(addr), entry); |
addr | 23 | mm/vmalloc.c | void * addr; |
addr | 236 | mm/vmalloc.c | void *addr; |
addr | 242 | mm/vmalloc.c | addr = (void *) VMALLOC_START; |
addr | 246 | mm/vmalloc.c | if (size + (unsigned long) addr < (unsigned long) tmp->addr) |
addr | 248 | mm/vmalloc.c | addr = (void *) (tmp->size + (unsigned long) tmp->addr); |
addr | 250 | mm/vmalloc.c | area->addr = addr; |
addr | 256 | mm/vmalloc.c | void vfree(void * addr) |
addr | 260 | mm/vmalloc.c | if (!addr) |
addr | 262 | mm/vmalloc.c | if ((PAGE_SIZE-1) & (unsigned long) addr) { |
addr | 263 | mm/vmalloc.c | printk("Trying to vfree() bad address (%p)\n", addr); |
addr | 267 | mm/vmalloc.c | if (tmp->addr == addr) { |
addr | 269 | mm/vmalloc.c | free_area_pages(VMALLOC_VMADDR(tmp->addr), tmp->size); |
addr | 274 | mm/vmalloc.c | printk("Trying to vfree() nonexistent vm area (%p)\n", addr); |
addr | 279 | mm/vmalloc.c | void * addr; |
addr | 288 | mm/vmalloc.c | addr = area->addr; |
addr | 289 | mm/vmalloc.c | if (alloc_area_pages(VMALLOC_VMADDR(addr), size)) { |
addr | 290 | mm/vmalloc.c | vfree(addr); |
addr | 293 | mm/vmalloc.c | return addr; |
addr | 303 | mm/vmalloc.c | void * addr; |
addr | 316 | mm/vmalloc.c | addr = area->addr; |
addr | 317 | mm/vmalloc.c | if (remap_area_pages(VMALLOC_VMADDR(addr), offset, size)) { |
addr | 318 | mm/vmalloc.c | vfree(addr); |
addr | 321 | mm/vmalloc.c | return addr; |
addr | 324 | mm/vmalloc.c | int vread(char *buf, char *addr, int count) |
addr | 331 | mm/vmalloc.c | vaddr = (char *) tmp->addr; |
addr | 332 | mm/vmalloc.c | while (addr < vaddr) { |
addr | 335 | mm/vmalloc.c | put_user('\0', buf++), addr++, count--; |
addr | 338 | mm/vmalloc.c | if (addr > vaddr) |
addr | 339 | mm/vmalloc.c | n -= addr - vaddr; |
addr | 343 | 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 | 618 | net/appletalk/ddp.c | static int atrtr_delete( struct at_addr *addr ) |
addr | 625 | net/appletalk/ddp.c | if (tmp->target.s_net == addr->s_net && |
addr | 627 | net/appletalk/ddp.c | tmp->target.s_node == addr->s_node )) |
addr | 1211 | net/appletalk/ddp.c | struct sockaddr_at *addr=(struct sockaddr_at *)uaddr; |
addr | 1221 | net/appletalk/ddp.c | if(addr->sat_family!=AF_APPLETALK) |
addr | 1224 | net/appletalk/ddp.c | if(addr->sat_addr.s_net==htons(ATADDR_ANYNET)) |
addr | 1229 | net/appletalk/ddp.c | sk->protinfo.af_at.src_net=addr->sat_addr.s_net=ap->s_net; |
addr | 1230 | net/appletalk/ddp.c | sk->protinfo.af_at.src_node=addr->sat_addr.s_node=ap->s_node; |
addr | 1234 | net/appletalk/ddp.c | if ( atalk_find_interface( addr->sat_addr.s_net, addr->sat_addr.s_node ) == NULL ) |
addr | 1236 | net/appletalk/ddp.c | sk->protinfo.af_at.src_net=addr->sat_addr.s_net; |
addr | 1237 | net/appletalk/ddp.c | sk->protinfo.af_at.src_node=addr->sat_addr.s_node; |
addr | 1240 | net/appletalk/ddp.c | if(addr->sat_port == ATADDR_ANYPORT) |
addr | 1242 | net/appletalk/ddp.c | int n = atalk_pick_port(addr); |
addr | 1245 | net/appletalk/ddp.c | sk->protinfo.af_at.src_port=addr->sat_port=n; |
addr | 1248 | net/appletalk/ddp.c | sk->protinfo.af_at.src_port=addr->sat_port; |
addr | 1250 | net/appletalk/ddp.c | if(atalk_find_socket(addr)!=NULL) |
addr | 1266 | net/appletalk/ddp.c | struct sockaddr_at *addr; |
addr | 1271 | net/appletalk/ddp.c | if(addr_len!=sizeof(*addr)) |
addr | 1273 | net/appletalk/ddp.c | addr=(struct sockaddr_at *)uaddr; |
addr | 1275 | net/appletalk/ddp.c | if(addr->sat_family!=AF_APPLETALK) |
addr | 1278 | net/appletalk/ddp.c | if(addr->sat_addr.s_node==ATADDR_BCAST && !sk->broadcast) |
addr | 1287 | net/appletalk/ddp.c | if(atrtr_get_dev(&addr->sat_addr)==NULL) |
addr | 1290 | net/appletalk/ddp.c | sk->protinfo.af_at.dest_port=addr->sat_port; |
addr | 1291 | net/appletalk/ddp.c | sk->protinfo.af_at.dest_net=addr->sat_addr.s_net; |
addr | 1292 | net/appletalk/ddp.c | sk->protinfo.af_at.dest_node=addr->sat_addr.s_node; |
addr | 270 | net/ax25/af_ax25.c | static struct sock *ax25_find_listener(ax25_address *addr, struct device *dev, int type) |
addr | 279 | 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 | 344 | net/ax25/af_ax25.c | static struct sock *ax25_addr_match(ax25_address *addr) |
addr | 353 | net/ax25/af_ax25.c | if (s->sk != NULL && ax25cmp(&s->source_addr, addr) == 0 && s->sk->type == SOCK_RAW) { |
addr | 687 | net/ax25/af_ax25.c | struct device *ax25rtr_get_dev(ax25_address *addr) |
addr | 695 | net/ax25/af_ax25.c | if (ax25cmp(addr, (ax25_address *)dev->dev_addr) == 0) |
addr | 703 | net/ax25/af_ax25.c | if (ax25cmp(addr, dev_addr) == 0) |
addr | 1156 | net/ax25/af_ax25.c | struct full_sockaddr_ax25 *addr = (struct full_sockaddr_ax25 *)uaddr; |
addr | 1173 | net/ax25/af_ax25.c | memcpy(&sk->ax25->source_addr, &addr->fsa_ax25.sax25_call, sizeof(ax25_address)); |
addr | 1180 | net/ax25/af_ax25.c | if (addr_len == sizeof(struct full_sockaddr_ax25) && addr->fsa_ax25.sax25_ndigis == 1) { |
addr | 1181 | net/ax25/af_ax25.c | if (ax25cmp(&addr->fsa_digipeater[0], &null_ax25_address) == 0) { |
addr | 1186 | net/ax25/af_ax25.c | if ((dev = ax25rtr_get_dev(&addr->fsa_digipeater[0])) == NULL) { |
addr | 1195 | net/ax25/af_ax25.c | if ((dev = ax25rtr_get_dev(&addr->fsa_ax25.sax25_call)) == NULL) { |
addr | 1219 | net/ax25/af_ax25.c | struct sockaddr_ax25 *addr = (struct sockaddr_ax25 *)uaddr; |
addr | 1244 | net/ax25/af_ax25.c | if (addr_len == sizeof(struct full_sockaddr_ax25) && addr->sax25_ndigis != 0) { |
addr | 1246 | net/ax25/af_ax25.c | struct full_sockaddr_ax25 *fsa = (struct full_sockaddr_ax25 *)addr; |
addr | 1249 | net/ax25/af_ax25.c | if (addr->sax25_ndigis < 1 || addr->sax25_ndigis > AX25_MAX_DIGIS) |
addr | 1257 | net/ax25/af_ax25.c | sk->ax25->digipeat->ndigi = addr->sax25_ndigis; |
addr | 1259 | net/ax25/af_ax25.c | while (ct < addr->sax25_ndigis) { |
addr | 1271 | net/ax25/af_ax25.c | ax25_rt_build_path(sk->ax25, &addr->sax25_call); |
addr | 1280 | net/ax25/af_ax25.c | if ((err = ax25_rt_autobind(sk->ax25, &addr->sax25_call)) < 0) |
addr | 1289 | 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 | 1292 | net/ax25/af_ax25.c | memcpy(&sk->ax25->dest_addr, &addr->sax25_call, sizeof(ax25_address)); |
addr | 1402 | net/ax25/af_ax25.c | ax25_address *addr; |
addr | 1412 | net/ax25/af_ax25.c | addr = &sk->ax25->dest_addr; |
addr | 1414 | net/ax25/af_ax25.c | addr = &sk->ax25->source_addr; |
addr | 1418 | net/ax25/af_ax25.c | memcpy(&sax->fsa_ax25.sax25_call, addr, sizeof(ax25_address)); |
addr | 374 | net/ax25/ax25_route.c | int ax25_rt_autobind(ax25_cb *ax25, ax25_address *addr) |
addr | 386 | net/ax25/ax25_route.c | if (ax25cmp(&ax25_rt->callsign, addr) == 0 && ax25_rt->dev != NULL) |
addr | 422 | net/ax25/ax25_route.c | void ax25_rt_build_path(ax25_cb *ax25, ax25_address *addr) |
addr | 427 | net/ax25/ax25_route.c | if ( ax25cmp(&ax25_rt->callsign, addr) == 0 && ax25_rt->digipeat != NULL ) { |
addr | 716 | net/ax25/ax25_route.c | bpqdev->callsign = bpqaddr.addr; |
addr | 723 | net/ax25/ax25_route.c | bpqdev->callsign = bpqaddr.addr; |
addr | 907 | net/core/dev.c | static inline int bad_mask(unsigned long mask, unsigned long addr) |
addr | 909 | 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 | 114 | net/core/net_alias.c | HASH(__u32 addr, int af) |
addr | 116 | net/core/net_alias.c | unsigned tmp = addr ^ (addr>>16); /* 4 -> 2 */ |
addr | 607 | net/core/skbuff.c | void * addr = skb->head; |
addr | 615 | net/core/skbuff.c | addr = skb; |
addr | 618 | net/core/skbuff.c | kfree(addr); |
addr | 838 | net/ipv4/af_inet.c | struct sockaddr_in *addr=(struct sockaddr_in *)uaddr; |
addr | 861 | net/ipv4/af_inet.c | snum = ntohs(addr->sin_port); |
addr | 877 | net/ipv4/af_inet.c | chk_addr_ret = ip_chk_addr(addr->sin_addr.s_addr); |
addr | 878 | 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 | 881 | net/ipv4/af_inet.c | if (chk_addr_ret || addr->sin_addr.s_addr == 0) |
addr | 891 | net/ipv4/af_inet.c | sk->rcv_saddr = addr->sin_addr.s_addr; |
addr | 895 | net/ipv4/af_inet.c | sk->saddr = addr->sin_addr.s_addr; |
addr | 1155 | net/ipv4/af_inet.c | __u32 addr = sk->rcv_saddr; |
addr | 1156 | net/ipv4/af_inet.c | if (!addr) { |
addr | 1157 | net/ipv4/af_inet.c | addr = sk->saddr; |
addr | 1158 | net/ipv4/af_inet.c | if (!addr) |
addr | 1159 | net/ipv4/af_inet.c | addr = ip_my_addr(); |
addr | 1162 | net/ipv4/af_inet.c | sin->sin_addr.s_addr = addr; |
addr | 1638 | net/ipv4/arp.c | static inline int empty(unsigned char * addr, int len) |
addr | 1641 | net/ipv4/arp.c | if (*addr) |
addr | 1644 | 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 | 366 | net/ipv4/igmp.c | extern __inline__ void ip_mc_map(unsigned long addr, char *buf) |
addr | 368 | net/ipv4/igmp.c | addr=ntohl(addr); |
addr | 372 | net/ipv4/igmp.c | buf[5]=addr&0xFF; |
addr | 373 | net/ipv4/igmp.c | addr>>=8; |
addr | 374 | net/ipv4/igmp.c | buf[4]=addr&0xFF; |
addr | 375 | net/ipv4/igmp.c | addr>>=8; |
addr | 376 | net/ipv4/igmp.c | buf[3]=addr&0x7F; |
addr | 383 | net/ipv4/igmp.c | void ip_mc_filter_add(struct device *dev, unsigned long addr) |
addr | 388 | net/ipv4/igmp.c | ip_mc_map(addr,buf); |
addr | 396 | net/ipv4/igmp.c | void ip_mc_filter_del(struct device *dev, unsigned long addr) |
addr | 401 | net/ipv4/igmp.c | ip_mc_map(addr,buf); |
addr | 484 | net/ipv4/igmp.c | static void ip_mc_inc_group(struct device *dev, unsigned long addr) |
addr | 489 | net/ipv4/igmp.c | if(i->multiaddr==addr) |
addr | 500 | net/ipv4/igmp.c | i->multiaddr=addr; |
addr | 510 | net/ipv4/igmp.c | static void ip_mc_dec_group(struct device *dev, unsigned long addr) |
addr | 515 | net/ipv4/igmp.c | if((*i)->multiaddr==addr) |
addr | 573 | net/ipv4/igmp.c | int ip_mc_join_group(struct sock *sk , struct device *dev, unsigned long addr) |
addr | 577 | net/ipv4/igmp.c | if(!MULTICAST(addr)) |
addr | 589 | net/ipv4/igmp.c | if(sk->ip_mc_list->multiaddr[i]==addr && sk->ip_mc_list->multidev[i]==dev) |
addr | 597 | net/ipv4/igmp.c | sk->ip_mc_list->multiaddr[unused]=addr; |
addr | 599 | net/ipv4/igmp.c | ip_mc_inc_group(dev,addr); |
addr | 607 | net/ipv4/igmp.c | int ip_mc_leave_group(struct sock *sk, struct device *dev, unsigned long addr) |
addr | 610 | net/ipv4/igmp.c | if(!MULTICAST(addr)) |
addr | 619 | net/ipv4/igmp.c | if(sk->ip_mc_list->multiaddr[i]==addr && sk->ip_mc_list->multidev[i]==dev) |
addr | 622 | net/ipv4/igmp.c | ip_mc_dec_group(dev,addr); |
addr | 83 | 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 | 98 | net/ipv4/ip_alias.c | if (addr == 0) return NULL; |
addr | 105 | net/ipv4/ip_alias.c | rt = ip_rt_route(addr, 0); |
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 | 360 | net/ipv4/route.c | static inline int bad_mask(__u32 mask, __u32 addr) |
addr | 362 | net/ipv4/route.c | if (addr & (mask = ~mask)) |
addr | 1161 | net/ipv4/tcp.c | struct sockaddr_in *addr=(struct sockaddr_in *)msg->msg_name; |
addr | 1163 | net/ipv4/tcp.c | if (msg->msg_namelen < sizeof(*addr)) |
addr | 1165 | net/ipv4/tcp.c | if (addr->sin_family && addr->sin_family != AF_INET) |
addr | 1171 | net/ipv4/tcp.c | if (addr->sin_port != sk->dummy_th.dest) |
addr | 1173 | net/ipv4/tcp.c | if (addr->sin_addr.s_addr != sk->daddr) |
addr | 1678 | net/ipx/af_ipx.c | struct sockaddr_ipx *addr=(struct sockaddr_ipx *)uaddr; |
addr | 1688 | net/ipx/af_ipx.c | intrfc = ipxitf_find_using_net(addr->sipx_network); |
addr | 1692 | net/ipx/af_ipx.c | if (addr->sipx_port == 0) { |
addr | 1693 | net/ipx/af_ipx.c | addr->sipx_port = ipx_first_free_socketnum(intrfc); |
addr | 1694 | net/ipx/af_ipx.c | if (addr->sipx_port == 0) |
addr | 1698 | net/ipx/af_ipx.c | if(ntohs(addr->sipx_port)<IPX_MIN_EPHEMERAL_SOCKET && !suser()) |
addr | 1701 | net/ipx/af_ipx.c | sk->ipx_port=addr->sipx_port; |
addr | 1711 | net/ipx/af_ipx.c | if (memcmp(addr->sipx_node, ipx_broadcast_node, |
addr | 1716 | net/ipx/af_ipx.c | if (memcmp(addr->sipx_node, ipx_this_node, IPX_NODE_LEN) == 0) |
addr | 1723 | net/ipx/af_ipx.c | memcpy(sk->ipx_node, addr->sipx_node, IPX_NODE_LEN); |
addr | 1730 | net/ipx/af_ipx.c | " use.\n", (int)addr->sipx_port); |
addr | 1743 | net/ipx/af_ipx.c | if(ipxitf_find_socket(intrfc, addr->sipx_port)!=NULL) { |
addr | 1746 | net/ipx/af_ipx.c | " use.\n", (int)addr->sipx_port); |
addr | 1756 | net/ipx/af_ipx.c | if(ipxitf_find_socket(intrfc, addr->sipx_port)!=NULL) { |
addr | 1759 | net/ipx/af_ipx.c | (int)addr->sipx_port); |
addr | 1776 | net/ipx/af_ipx.c | struct sockaddr_ipx *addr; |
addr | 1781 | net/ipx/af_ipx.c | if(addr_len!=sizeof(*addr)) |
addr | 1783 | net/ipx/af_ipx.c | addr=(struct sockaddr_ipx *)uaddr; |
addr | 1802 | net/ipx/af_ipx.c | if(ipxrtr_lookup(addr->sipx_network)==NULL) |
addr | 1804 | net/ipx/af_ipx.c | sk->ipx_dest_addr.net=addr->sipx_network; |
addr | 1805 | net/ipx/af_ipx.c | sk->ipx_dest_addr.sock=addr->sipx_port; |
addr | 1806 | net/ipx/af_ipx.c | memcpy(sk->ipx_dest_addr.node,addr->sipx_node,IPX_NODE_LEN); |
addr | 1807 | net/ipx/af_ipx.c | sk->ipx_type=addr->sipx_type; |
addr | 1828 | net/ipx/af_ipx.c | ipx_address *addr; |
addr | 1839 | net/ipx/af_ipx.c | addr=&sk->ipx_dest_addr; |
addr | 1840 | net/ipx/af_ipx.c | sipx.sipx_network = addr->net; |
addr | 1841 | net/ipx/af_ipx.c | memcpy(sipx.sipx_node,addr->node,IPX_NODE_LEN); |
addr | 1842 | 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, int type) |
addr | 163 | net/netrom/af_netrom.c | if (ax25cmp(&s->nr->source_addr, addr) == 0 && s->type == type && s->state == TCP_LISTEN) { |
addr | 666 | net/netrom/af_netrom.c | struct full_sockaddr_ax25 *addr = (struct full_sockaddr_ax25 *)uaddr; |
addr | 678 | net/netrom/af_netrom.c | if ((dev = nr_dev_get(&addr->fsa_ax25.sax25_call)) == NULL) { |
addr | 687 | net/netrom/af_netrom.c | if (addr->fsa_ax25.sax25_ndigis == 1) { |
addr | 690 | net/netrom/af_netrom.c | memcpy(&sk->nr->user_addr, &addr->fsa_digipeater[0], sizeof(ax25_address)); |
addr | 691 | net/netrom/af_netrom.c | memcpy(&sk->nr->source_addr, &addr->fsa_ax25.sax25_call, sizeof(ax25_address)); |
addr | 693 | net/netrom/af_netrom.c | source = &addr->fsa_ax25.sax25_call; |
addr | 720 | net/netrom/af_netrom.c | struct sockaddr_ax25 *addr = (struct sockaddr_ax25 *)uaddr; |
addr | 765 | net/netrom/af_netrom.c | memcpy(&sk->nr->dest_addr, &addr->sax25_call, sizeof(ax25_address)); |
addr | 1149 | net/netrom/af_netrom.c | struct sockaddr_ax25 addr; |
addr | 1151 | net/netrom/af_netrom.c | addr.sax25_family = AF_NETROM; |
addr | 1152 | net/netrom/af_netrom.c | memcpy(&addr.sax25_call, skb->data + 7, sizeof(ax25_address)); |
addr | 1154 | net/netrom/af_netrom.c | memcpy(sax, &addr, sizeof(*sax)); |
addr | 142 | net/netrom/nr_dev.c | static int nr_set_mac_address(struct device *dev, void *addr) |
addr | 144 | net/netrom/nr_dev.c | struct sockaddr *sa=addr; |
addr | 552 | net/netrom/nr_route.c | struct device *nr_dev_get(ax25_address *addr) |
addr | 557 | net/netrom/nr_route.c | if ((dev->flags & IFF_UP) && dev->type == ARPHRD_NETROM && ax25cmp(addr, (ax25_address *)dev->dev_addr) == 0) |
addr | 899 | net/socket.c | struct sockaddr *addr, int addr_len) |
addr | 919 | net/socket.c | if((err=move_addr_to_kernel(addr,addr_len,address))<0) |
addr | 977 | net/socket.c | struct sockaddr *addr, int *addr_len) |
addr | 1011 | net/socket.c | if(addr!=NULL && (err=move_addr_to_user(address,alen, addr, addr_len))<0) |