tag | line | file | source code |
addr | 149 | arch/alpha/boot/main.c | static inline long load(long dev, unsigned long addr, unsigned long count) |
addr | 161 | arch/alpha/boot/main.c | return dispatch(CCB_READ, dev, count, addr, BOOT_SIZE/512 + 1); |
addr | 69 | arch/alpha/kernel/lca.c | unsigned long addr; |
addr | 82 | arch/alpha/kernel/lca.c | addr = (1 << (11 + device)) | (func << 8) | where; |
addr | 86 | arch/alpha/kernel/lca.c | addr = (bus << 16) | (device_fn << 8) | where; |
addr | 88 | arch/alpha/kernel/lca.c | *pci_addr = addr; |
addr | 94 | arch/alpha/kernel/lca.c | static unsigned int conf_read(unsigned long addr) |
addr | 108 | arch/alpha/kernel/lca.c | value = *((volatile unsigned int*)addr); |
addr | 132 | arch/alpha/kernel/lca.c | static void conf_write(unsigned long addr, unsigned int value) |
addr | 145 | arch/alpha/kernel/lca.c | *((volatile unsigned int*)addr) = value; |
addr | 168 | arch/alpha/kernel/lca.c | unsigned long addr = LCA_CONF; |
addr | 177 | arch/alpha/kernel/lca.c | addr |= (pci_addr << 5) + 0x00; |
addr | 179 | arch/alpha/kernel/lca.c | *value = conf_read(addr) >> ((where & 3) * 8); |
addr | 188 | arch/alpha/kernel/lca.c | unsigned long addr = LCA_CONF; |
addr | 201 | arch/alpha/kernel/lca.c | addr |= (pci_addr << 5) + 0x08; |
addr | 203 | arch/alpha/kernel/lca.c | *value = conf_read(addr) >> ((where & 3) * 8); |
addr | 211 | arch/alpha/kernel/lca.c | unsigned long addr = LCA_CONF; |
addr | 224 | arch/alpha/kernel/lca.c | addr |= (pci_addr << 5) + 0x18; |
addr | 226 | arch/alpha/kernel/lca.c | *value = conf_read(addr); |
addr | 235 | arch/alpha/kernel/lca.c | unsigned long addr = LCA_CONF; |
addr | 242 | arch/alpha/kernel/lca.c | addr |= (pci_addr << 5) + 0x00; |
addr | 244 | arch/alpha/kernel/lca.c | conf_write(addr, value << ((where & 3) * 8)); |
addr | 253 | arch/alpha/kernel/lca.c | unsigned long addr = LCA_CONF; |
addr | 260 | arch/alpha/kernel/lca.c | addr |= (pci_addr << 5) + 0x08; |
addr | 262 | arch/alpha/kernel/lca.c | conf_write(addr, value << ((where & 3) * 8)); |
addr | 271 | arch/alpha/kernel/lca.c | unsigned long addr = LCA_CONF; |
addr | 278 | arch/alpha/kernel/lca.c | addr |= (pci_addr << 5) + 0x18; |
addr | 280 | arch/alpha/kernel/lca.c | conf_write(addr, value << ((where & 3) * 8)); |
addr | 156 | arch/alpha/kernel/osf_sys.c | asmlinkage unsigned long osf_mmap(unsigned long addr, unsigned long len, |
addr | 168 | arch/alpha/kernel/osf_sys.c | return do_mmap(file, addr, len, prot, flags, off); |
addr | 134 | arch/alpha/kernel/ptrace.c | static unsigned long get_long(struct vm_area_struct * vma, unsigned long addr) |
addr | 141 | arch/alpha/kernel/ptrace.c | DBG(DBG_MEM, ("Getting long at 0x%lx\n", addr)); |
addr | 143 | arch/alpha/kernel/ptrace.c | pgdir = pgd_offset(vma->vm_task, addr); |
addr | 145 | arch/alpha/kernel/ptrace.c | do_no_page(vma, addr, 0); |
addr | 153 | arch/alpha/kernel/ptrace.c | pgmiddle = pmd_offset(pgdir, addr); |
addr | 155 | arch/alpha/kernel/ptrace.c | do_no_page(vma, addr, 0); |
addr | 163 | arch/alpha/kernel/ptrace.c | pgtable = pte_offset(pgmiddle, addr); |
addr | 165 | arch/alpha/kernel/ptrace.c | do_no_page(vma, addr, 0); |
addr | 172 | arch/alpha/kernel/ptrace.c | page += addr & ~PAGE_MASK; |
addr | 185 | arch/alpha/kernel/ptrace.c | static void put_long(struct vm_area_struct * vma, unsigned long addr, |
addr | 194 | arch/alpha/kernel/ptrace.c | pgdir = pgd_offset(vma->vm_task, addr); |
addr | 196 | arch/alpha/kernel/ptrace.c | do_no_page(vma, addr, 1); |
addr | 204 | arch/alpha/kernel/ptrace.c | pgmiddle = pmd_offset(pgdir, addr); |
addr | 206 | arch/alpha/kernel/ptrace.c | do_no_page(vma, addr, 1); |
addr | 214 | arch/alpha/kernel/ptrace.c | pgtable = pte_offset(pgmiddle, addr); |
addr | 216 | arch/alpha/kernel/ptrace.c | do_no_page(vma, addr, 1); |
addr | 221 | arch/alpha/kernel/ptrace.c | do_wp_page(vma, addr, 1); |
addr | 226 | arch/alpha/kernel/ptrace.c | page += addr & ~PAGE_MASK; |
addr | 235 | arch/alpha/kernel/ptrace.c | static struct vm_area_struct * find_extend_vma(struct task_struct * tsk, unsigned long addr) |
addr | 239 | arch/alpha/kernel/ptrace.c | addr &= PAGE_MASK; |
addr | 240 | arch/alpha/kernel/ptrace.c | vma = find_vma(tsk,addr); |
addr | 243 | arch/alpha/kernel/ptrace.c | if (vma->vm_start <= addr) |
addr | 247 | arch/alpha/kernel/ptrace.c | if (vma->vm_end - addr > tsk->rlim[RLIMIT_STACK].rlim_cur) |
addr | 249 | arch/alpha/kernel/ptrace.c | vma->vm_offset -= vma->vm_start - addr; |
addr | 250 | arch/alpha/kernel/ptrace.c | vma->vm_start = addr; |
addr | 258 | arch/alpha/kernel/ptrace.c | static int read_long(struct task_struct * tsk, unsigned long addr, |
addr | 261 | arch/alpha/kernel/ptrace.c | struct vm_area_struct * vma = find_extend_vma(tsk, addr); |
addr | 265 | arch/alpha/kernel/ptrace.c | printk("Unable to find vma for addr 0x%lx\n",addr); |
addr | 268 | arch/alpha/kernel/ptrace.c | if ((addr & ~PAGE_MASK) > (PAGE_SIZE-sizeof(long))) { |
addr | 272 | arch/alpha/kernel/ptrace.c | if (addr + sizeof(long) >= vma->vm_end) { |
addr | 277 | arch/alpha/kernel/ptrace.c | low = get_long(vma, addr & ~(sizeof(long)-1)); |
addr | 278 | arch/alpha/kernel/ptrace.c | high = get_long(vma_high, (addr+sizeof(long)) & ~(sizeof(long)-1)); |
addr | 279 | arch/alpha/kernel/ptrace.c | switch (addr & (sizeof(long)-1)) { |
addr | 311 | arch/alpha/kernel/ptrace.c | long l =get_long(vma, addr); |
addr | 323 | arch/alpha/kernel/ptrace.c | static int write_long(struct task_struct * tsk, unsigned long addr, |
addr | 326 | arch/alpha/kernel/ptrace.c | struct vm_area_struct * vma = find_extend_vma(tsk, addr); |
addr | 330 | arch/alpha/kernel/ptrace.c | if ((addr & ~PAGE_MASK) > PAGE_SIZE-sizeof(long)) { |
addr | 334 | arch/alpha/kernel/ptrace.c | if (addr + sizeof(long) >= vma->vm_end) { |
addr | 339 | arch/alpha/kernel/ptrace.c | low = get_long(vma, addr & ~(sizeof(long)-1)); |
addr | 340 | arch/alpha/kernel/ptrace.c | high = get_long(vma_high, (addr+sizeof(long)) & ~(sizeof(long)-1)); |
addr | 341 | arch/alpha/kernel/ptrace.c | switch (addr & (sizeof(long)-1)) { |
addr | 389 | arch/alpha/kernel/ptrace.c | put_long(vma, addr & ~(sizeof(long)-1),low); |
addr | 390 | arch/alpha/kernel/ptrace.c | put_long(vma_high, (addr+sizeof(long)) & ~(sizeof(long)-1),high); |
addr | 392 | arch/alpha/kernel/ptrace.c | put_long(vma, addr, data); |
addr | 399 | arch/alpha/kernel/ptrace.c | static int read_int(struct task_struct * tsk, unsigned long addr, unsigned int *data) |
addr | 404 | arch/alpha/kernel/ptrace.c | align = addr & 0x7; |
addr | 405 | arch/alpha/kernel/ptrace.c | addr &= ~0x7; |
addr | 407 | arch/alpha/kernel/ptrace.c | res = read_long(tsk, addr, &l); |
addr | 425 | arch/alpha/kernel/ptrace.c | static int write_int(struct task_struct * tsk, unsigned long addr, unsigned int data) |
addr | 430 | arch/alpha/kernel/ptrace.c | align = addr & 0x7; |
addr | 431 | arch/alpha/kernel/ptrace.c | addr &= ~0x7; |
addr | 433 | arch/alpha/kernel/ptrace.c | res = read_long(tsk, addr, &l); |
addr | 442 | arch/alpha/kernel/ptrace.c | return write_long(tsk, addr, l); |
addr | 546 | arch/alpha/kernel/ptrace.c | asmlinkage long sys_ptrace(long request, long pid, long addr, long data, int a4, int a5, |
addr | 555 | arch/alpha/kernel/ptrace.c | DBG(DBG_MEM, ("request=%ld pid=%ld addr=0x%lx data=0x%lx\n",request,pid,addr,data)); |
addr | 627 | arch/alpha/kernel/ptrace.c | DBG(DBG_MEM, ("doing request at addr 0x%lx\n",addr)); |
addr | 628 | arch/alpha/kernel/ptrace.c | res = read_long(child, addr, &tmp); |
addr | 644 | arch/alpha/kernel/ptrace.c | if (addr == 30) { |
addr | 649 | arch/alpha/kernel/ptrace.c | int reg = addr; |
addr | 651 | arch/alpha/kernel/ptrace.c | addr = offset_of_register(addr); |
addr | 652 | arch/alpha/kernel/ptrace.c | if (addr < 0) { |
addr | 656 | arch/alpha/kernel/ptrace.c | tmp = get_stack_long(child, addr); |
addr | 666 | arch/alpha/kernel/ptrace.c | long res = write_long(child,addr,data); |
addr | 676 | arch/alpha/kernel/ptrace.c | addr = offset_of_register(addr); |
addr | 677 | arch/alpha/kernel/ptrace.c | if(addr < 0) { |
addr | 681 | arch/alpha/kernel/ptrace.c | res = put_stack_long(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 | 21 | arch/alpha/lib/io.c | void __bus_outb(unsigned char b, unsigned long addr) |
addr | 23 | arch/alpha/lib/io.c | ___bus_outb(b, addr); |
addr | 28 | arch/alpha/lib/io.c | unsigned int inb(unsigned long addr) |
addr | 30 | arch/alpha/lib/io.c | return __inb(addr); |
addr | 34 | arch/alpha/lib/io.c | unsigned int inw(unsigned long addr) |
addr | 36 | arch/alpha/lib/io.c | return __inw(addr); |
addr | 40 | arch/alpha/lib/io.c | unsigned int inl(unsigned long addr) |
addr | 42 | arch/alpha/lib/io.c | return __inl(addr); |
addr | 47 | arch/alpha/lib/io.c | void outb(unsigned char b, unsigned long addr) |
addr | 49 | arch/alpha/lib/io.c | __outb(b, addr); |
addr | 53 | arch/alpha/lib/io.c | void outw(unsigned short b, unsigned long addr) |
addr | 55 | arch/alpha/lib/io.c | __outw(b, addr); |
addr | 59 | arch/alpha/lib/io.c | void outl(unsigned int b, unsigned long addr) |
addr | 61 | arch/alpha/lib/io.c | __outl(b, addr); |
addr | 66 | arch/alpha/lib/io.c | unsigned long readb(unsigned long addr) |
addr | 68 | arch/alpha/lib/io.c | return __readb(addr); |
addr | 72 | arch/alpha/lib/io.c | unsigned long readw(unsigned long addr) |
addr | 74 | arch/alpha/lib/io.c | return __readw(addr); |
addr | 78 | arch/alpha/lib/io.c | unsigned long readl(unsigned long addr) |
addr | 80 | arch/alpha/lib/io.c | return __readl(addr); |
addr | 85 | arch/alpha/lib/io.c | void writeb(unsigned char b, unsigned long addr) |
addr | 87 | arch/alpha/lib/io.c | __writeb(b, addr); |
addr | 91 | arch/alpha/lib/io.c | void writew(unsigned short b, unsigned long addr) |
addr | 93 | arch/alpha/lib/io.c | __writew(b, addr); |
addr | 97 | arch/alpha/lib/io.c | void writel(unsigned int b, unsigned long addr) |
addr | 99 | arch/alpha/lib/io.c | __writel(b, addr); |
addr | 86 | arch/i386/kernel/ptrace.c | static unsigned long get_long(struct vm_area_struct * vma, unsigned long addr) |
addr | 94 | arch/i386/kernel/ptrace.c | pgdir = pgd_offset(vma->vm_task, addr); |
addr | 96 | arch/i386/kernel/ptrace.c | do_no_page(vma, addr, 0); |
addr | 104 | arch/i386/kernel/ptrace.c | pgmiddle = pmd_offset(pgdir, addr); |
addr | 106 | arch/i386/kernel/ptrace.c | do_no_page(vma, addr, 0); |
addr | 114 | arch/i386/kernel/ptrace.c | pgtable = pte_offset(pgmiddle, addr); |
addr | 116 | arch/i386/kernel/ptrace.c | do_no_page(vma, addr, 0); |
addr | 123 | arch/i386/kernel/ptrace.c | page += addr & ~PAGE_MASK; |
addr | 136 | arch/i386/kernel/ptrace.c | static void put_long(struct vm_area_struct * vma, unsigned long addr, |
addr | 145 | arch/i386/kernel/ptrace.c | pgdir = pgd_offset(vma->vm_task, addr); |
addr | 147 | arch/i386/kernel/ptrace.c | do_no_page(vma, addr, 1); |
addr | 155 | arch/i386/kernel/ptrace.c | pgmiddle = pmd_offset(pgdir, addr); |
addr | 157 | arch/i386/kernel/ptrace.c | do_no_page(vma, addr, 1); |
addr | 165 | arch/i386/kernel/ptrace.c | pgtable = pte_offset(pgmiddle, addr); |
addr | 167 | arch/i386/kernel/ptrace.c | do_no_page(vma, addr, 1); |
addr | 172 | arch/i386/kernel/ptrace.c | do_wp_page(vma, addr, 1); |
addr | 177 | arch/i386/kernel/ptrace.c | page += addr & ~PAGE_MASK; |
addr | 186 | arch/i386/kernel/ptrace.c | static struct vm_area_struct * find_extend_vma(struct task_struct * tsk, unsigned long addr) |
addr | 190 | arch/i386/kernel/ptrace.c | addr &= PAGE_MASK; |
addr | 191 | arch/i386/kernel/ptrace.c | vma = find_vma(tsk,addr); |
addr | 194 | arch/i386/kernel/ptrace.c | if (vma->vm_start <= addr) |
addr | 198 | arch/i386/kernel/ptrace.c | if (vma->vm_end - addr > tsk->rlim[RLIMIT_STACK].rlim_cur) |
addr | 200 | arch/i386/kernel/ptrace.c | vma->vm_offset -= vma->vm_start - addr; |
addr | 201 | arch/i386/kernel/ptrace.c | vma->vm_start = addr; |
addr | 209 | arch/i386/kernel/ptrace.c | static int read_long(struct task_struct * tsk, unsigned long addr, |
addr | 212 | arch/i386/kernel/ptrace.c | struct vm_area_struct * vma = find_extend_vma(tsk, addr); |
addr | 216 | arch/i386/kernel/ptrace.c | if ((addr & ~PAGE_MASK) > PAGE_SIZE-sizeof(long)) { |
addr | 220 | arch/i386/kernel/ptrace.c | if (addr + sizeof(long) >= vma->vm_end) { |
addr | 225 | arch/i386/kernel/ptrace.c | low = get_long(vma, addr & ~(sizeof(long)-1)); |
addr | 226 | arch/i386/kernel/ptrace.c | high = get_long(vma_high, (addr+sizeof(long)) & ~(sizeof(long)-1)); |
addr | 227 | arch/i386/kernel/ptrace.c | switch (addr & (sizeof(long)-1)) { |
addr | 243 | arch/i386/kernel/ptrace.c | *result = get_long(vma, addr); |
addr | 251 | arch/i386/kernel/ptrace.c | static int write_long(struct task_struct * tsk, unsigned long addr, |
addr | 254 | arch/i386/kernel/ptrace.c | struct vm_area_struct * vma = find_extend_vma(tsk, addr); |
addr | 258 | arch/i386/kernel/ptrace.c | if ((addr & ~PAGE_MASK) > PAGE_SIZE-sizeof(long)) { |
addr | 262 | arch/i386/kernel/ptrace.c | if (addr + sizeof(long) >= vma->vm_end) { |
addr | 267 | arch/i386/kernel/ptrace.c | low = get_long(vma, addr & ~(sizeof(long)-1)); |
addr | 268 | arch/i386/kernel/ptrace.c | high = get_long(vma_high, (addr+sizeof(long)) & ~(sizeof(long)-1)); |
addr | 269 | arch/i386/kernel/ptrace.c | switch (addr & (sizeof(long)-1)) { |
addr | 292 | arch/i386/kernel/ptrace.c | put_long(vma, addr & ~(sizeof(long)-1),low); |
addr | 293 | arch/i386/kernel/ptrace.c | put_long(vma_high, (addr+sizeof(long)) & ~(sizeof(long)-1),high); |
addr | 295 | arch/i386/kernel/ptrace.c | put_long(vma, addr, data); |
addr | 299 | arch/i386/kernel/ptrace.c | asmlinkage int sys_ptrace(long request, long pid, long addr, long data) |
addr | 356 | arch/i386/kernel/ptrace.c | res = read_long(child, addr, &tmp); |
addr | 370 | arch/i386/kernel/ptrace.c | if ((addr & 3) || addr < 0 || |
addr | 371 | arch/i386/kernel/ptrace.c | addr > sizeof(struct user) - 3) |
addr | 378 | arch/i386/kernel/ptrace.c | if(addr < 17*sizeof(long)) { |
addr | 379 | arch/i386/kernel/ptrace.c | addr = addr >> 2; /* temporary hack. */ |
addr | 381 | arch/i386/kernel/ptrace.c | tmp = get_stack_long(child, sizeof(long)*addr - MAGICNUMBER); |
addr | 382 | arch/i386/kernel/ptrace.c | if (addr == DS || addr == ES || |
addr | 383 | arch/i386/kernel/ptrace.c | addr == FS || addr == GS || |
addr | 384 | arch/i386/kernel/ptrace.c | addr == CS || addr == SS) |
addr | 387 | arch/i386/kernel/ptrace.c | if(addr >= (long) &dummy->u_debugreg[0] && |
addr | 388 | arch/i386/kernel/ptrace.c | addr <= (long) &dummy->u_debugreg[7]){ |
addr | 389 | arch/i386/kernel/ptrace.c | addr -= (long) &dummy->u_debugreg[0]; |
addr | 390 | arch/i386/kernel/ptrace.c | addr = addr >> 2; |
addr | 391 | arch/i386/kernel/ptrace.c | tmp = child->debugreg[addr]; |
addr | 400 | arch/i386/kernel/ptrace.c | return write_long(child,addr,data); |
addr | 403 | arch/i386/kernel/ptrace.c | if ((addr & 3) || addr < 0 || |
addr | 404 | arch/i386/kernel/ptrace.c | addr > sizeof(struct user) - 3) |
addr | 407 | arch/i386/kernel/ptrace.c | addr = addr >> 2; /* temporary hack. */ |
addr | 409 | arch/i386/kernel/ptrace.c | if (addr == ORIG_EAX) |
addr | 411 | arch/i386/kernel/ptrace.c | if (addr == DS || addr == ES || |
addr | 412 | arch/i386/kernel/ptrace.c | addr == FS || addr == GS || |
addr | 413 | arch/i386/kernel/ptrace.c | addr == CS || addr == SS) { |
addr | 418 | arch/i386/kernel/ptrace.c | if (addr == EFL) { /* flags. */ |
addr | 424 | arch/i386/kernel/ptrace.c | if(addr < 17){ |
addr | 425 | arch/i386/kernel/ptrace.c | if (put_stack_long(child, sizeof(long)*addr-MAGICNUMBER, data)) |
addr | 435 | arch/i386/kernel/ptrace.c | addr = addr << 2; /* Convert back again */ |
addr | 436 | arch/i386/kernel/ptrace.c | if(addr >= (long) &dummy->u_debugreg[0] && |
addr | 437 | arch/i386/kernel/ptrace.c | addr <= (long) &dummy->u_debugreg[7]){ |
addr | 439 | arch/i386/kernel/ptrace.c | if(addr == (long) &dummy->u_debugreg[4]) return -EIO; |
addr | 440 | arch/i386/kernel/ptrace.c | if(addr == (long) &dummy->u_debugreg[5]) return -EIO; |
addr | 441 | arch/i386/kernel/ptrace.c | if(addr < (long) &dummy->u_debugreg[4] && |
addr | 444 | arch/i386/kernel/ptrace.c | if(addr == (long) &dummy->u_debugreg[7]) { |
addr | 451 | arch/i386/kernel/ptrace.c | addr -= (long) &dummy->u_debugreg; |
addr | 452 | arch/i386/kernel/ptrace.c | addr = addr >> 2; |
addr | 453 | arch/i386/kernel/ptrace.c | child->debugreg[addr] = data; |
addr | 48 | arch/i386/kernel/traps.c | #define get_seg_byte(seg,addr) ({ \ |
addr | 51 | arch/i386/kernel/traps.c | :"=a" (__res):"0" (seg),"m" (*(addr))); \ |
addr | 54 | arch/i386/kernel/traps.c | #define get_seg_long(seg,addr) ({ \ |
addr | 57 | arch/i386/kernel/traps.c | :"=a" (__res):"0" (seg),"m" (*(addr))); \ |
addr | 101 | arch/i386/kernel/traps.c | unsigned long *stack, addr, module_start, module_end; |
addr | 140 | arch/i386/kernel/traps.c | addr = get_seg_long(ss, stack++); |
addr | 149 | arch/i386/kernel/traps.c | if (((addr >= (unsigned long) &start_kernel) && |
addr | 150 | arch/i386/kernel/traps.c | (addr <= (unsigned long) &_etext)) || |
addr | 151 | arch/i386/kernel/traps.c | ((addr >= module_start) && (addr <= module_end))) { |
addr | 154 | 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 | 85 | arch/mips/kernel/ptrace.c | static unsigned long get_long(struct vm_area_struct * vma, unsigned long addr) |
addr | 92 | arch/mips/kernel/ptrace.c | pgdir = PAGE_DIR_OFFSET(vma->vm_task, addr); |
addr | 94 | arch/mips/kernel/ptrace.c | do_no_page(vma, addr, 0); |
addr | 102 | arch/mips/kernel/ptrace.c | pgtable = (pte_t *) (PAGE_PTR(addr) + pgd_page(*pgdir)); |
addr | 104 | arch/mips/kernel/ptrace.c | do_no_page(vma, addr, 0); |
addr | 111 | arch/mips/kernel/ptrace.c | page += addr & ~PAGE_MASK; |
addr | 124 | arch/mips/kernel/ptrace.c | static void put_long(struct vm_area_struct * vma, unsigned long addr, |
addr | 132 | arch/mips/kernel/ptrace.c | pgdir = PAGE_DIR_OFFSET(vma->vm_task, addr); |
addr | 134 | arch/mips/kernel/ptrace.c | do_no_page(vma, addr, 1); |
addr | 142 | arch/mips/kernel/ptrace.c | pgtable = (pte_t *) (PAGE_PTR(addr) + pgd_page(*pgdir)); |
addr | 144 | arch/mips/kernel/ptrace.c | do_no_page(vma, addr, 1); |
addr | 149 | arch/mips/kernel/ptrace.c | do_wp_page(vma, addr, 1); |
addr | 154 | arch/mips/kernel/ptrace.c | page += addr & ~PAGE_MASK; |
addr | 163 | arch/mips/kernel/ptrace.c | static struct vm_area_struct * find_extend_vma(struct task_struct * tsk, unsigned long addr) |
addr | 167 | arch/mips/kernel/ptrace.c | addr &= PAGE_MASK; |
addr | 168 | arch/mips/kernel/ptrace.c | vma = find_vma(tsk, addr); |
addr | 171 | arch/mips/kernel/ptrace.c | if (vma->vm_start <= addr) |
addr | 175 | arch/mips/kernel/ptrace.c | if (vma->vm_end - addr > tsk->rlim[RLIMIT_STACK].rlim_cur) |
addr | 177 | arch/mips/kernel/ptrace.c | vma->vm_offset -= vma->vm_start - addr; |
addr | 178 | arch/mips/kernel/ptrace.c | vma->vm_start = addr; |
addr | 186 | arch/mips/kernel/ptrace.c | static int read_long(struct task_struct * tsk, unsigned long addr, |
addr | 189 | arch/mips/kernel/ptrace.c | struct vm_area_struct * vma = find_extend_vma(tsk, addr); |
addr | 193 | arch/mips/kernel/ptrace.c | if ((addr & ~PAGE_MASK) > PAGE_SIZE-sizeof(long)) { |
addr | 197 | arch/mips/kernel/ptrace.c | if (addr + sizeof(long) >= vma->vm_end) { |
addr | 202 | arch/mips/kernel/ptrace.c | low = get_long(vma, addr & ~(sizeof(long)-1)); |
addr | 203 | arch/mips/kernel/ptrace.c | high = get_long(vma_high, (addr+sizeof(long)) & ~(sizeof(long)-1)); |
addr | 204 | arch/mips/kernel/ptrace.c | switch (addr & (sizeof(long)-1)) { |
addr | 220 | arch/mips/kernel/ptrace.c | *result = get_long(vma, addr); |
addr | 228 | arch/mips/kernel/ptrace.c | static int write_long(struct task_struct * tsk, unsigned long addr, |
addr | 231 | arch/mips/kernel/ptrace.c | struct vm_area_struct * vma = find_extend_vma(tsk, addr); |
addr | 235 | arch/mips/kernel/ptrace.c | if ((addr & ~PAGE_MASK) > PAGE_SIZE-sizeof(long)) { |
addr | 239 | arch/mips/kernel/ptrace.c | if (addr + sizeof(long) >= vma->vm_end) { |
addr | 244 | arch/mips/kernel/ptrace.c | low = get_long(vma, addr & ~(sizeof(long)-1)); |
addr | 245 | arch/mips/kernel/ptrace.c | high = get_long(vma_high, (addr+sizeof(long)) & ~(sizeof(long)-1)); |
addr | 246 | arch/mips/kernel/ptrace.c | switch (addr & (sizeof(long)-1)) { |
addr | 269 | arch/mips/kernel/ptrace.c | put_long(vma, addr & ~(sizeof(long)-1),low); |
addr | 270 | arch/mips/kernel/ptrace.c | put_long(vma_high, (addr+sizeof(long)) & ~(sizeof(long)-1),high); |
addr | 272 | arch/mips/kernel/ptrace.c | put_long(vma, addr, data); |
addr | 277 | arch/mips/kernel/ptrace.c | asmlinkage int sys_ptrace(long request, long pid, long addr, long data) |
addr | 338 | arch/mips/kernel/ptrace.c | res = read_long(child, addr, &tmp); |
addr | 352 | arch/mips/kernel/ptrace.c | if ((addr & 3) || addr < 0 || |
addr | 353 | arch/mips/kernel/ptrace.c | addr > sizeof(struct user) - 3) |
addr | 360 | arch/mips/kernel/ptrace.c | if(addr < 17*sizeof(long)) { |
addr | 361 | arch/mips/kernel/ptrace.c | addr = addr >> 2; /* temporary hack. */ |
addr | 363 | arch/mips/kernel/ptrace.c | tmp = get_stack_long(child, sizeof(long)*addr - MAGICNUMBER); |
addr | 364 | arch/mips/kernel/ptrace.c | if (addr == DS || addr == ES || |
addr | 365 | arch/mips/kernel/ptrace.c | addr == FS || addr == GS || |
addr | 366 | arch/mips/kernel/ptrace.c | addr == CS || addr == SS) |
addr | 369 | arch/mips/kernel/ptrace.c | if(addr >= (long) &dummy->u_debugreg[0] && |
addr | 370 | arch/mips/kernel/ptrace.c | addr <= (long) &dummy->u_debugreg[7]){ |
addr | 371 | arch/mips/kernel/ptrace.c | addr -= (long) &dummy->u_debugreg[0]; |
addr | 372 | arch/mips/kernel/ptrace.c | addr = addr >> 2; |
addr | 373 | arch/mips/kernel/ptrace.c | tmp = child->debugreg[addr]; |
addr | 382 | arch/mips/kernel/ptrace.c | return write_long(child,addr,data); |
addr | 385 | arch/mips/kernel/ptrace.c | if ((addr & 3) || addr < 0 || |
addr | 386 | arch/mips/kernel/ptrace.c | addr > sizeof(struct user) - 3) |
addr | 389 | arch/mips/kernel/ptrace.c | addr = addr >> 2; /* temporary hack. */ |
addr | 391 | arch/mips/kernel/ptrace.c | if (addr == ORIG_EAX) |
addr | 393 | arch/mips/kernel/ptrace.c | if (addr == DS || addr == ES || |
addr | 394 | arch/mips/kernel/ptrace.c | addr == FS || addr == GS || |
addr | 395 | arch/mips/kernel/ptrace.c | addr == CS || addr == SS) { |
addr | 400 | arch/mips/kernel/ptrace.c | if (addr == EFL) { /* flags. */ |
addr | 406 | arch/mips/kernel/ptrace.c | if(addr < 17){ |
addr | 407 | arch/mips/kernel/ptrace.c | if (put_stack_long(child, sizeof(long)*addr-MAGICNUMBER, data)) |
addr | 417 | arch/mips/kernel/ptrace.c | addr = addr << 2; /* Convert back again */ |
addr | 418 | arch/mips/kernel/ptrace.c | if(addr >= (long) &dummy->u_debugreg[0] && |
addr | 419 | arch/mips/kernel/ptrace.c | addr <= (long) &dummy->u_debugreg[7]){ |
addr | 421 | arch/mips/kernel/ptrace.c | if(addr == (long) &dummy->u_debugreg[4]) return -EIO; |
addr | 422 | arch/mips/kernel/ptrace.c | if(addr == (long) &dummy->u_debugreg[5]) return -EIO; |
addr | 423 | arch/mips/kernel/ptrace.c | if(addr < (long) &dummy->u_debugreg[4] && |
addr | 426 | arch/mips/kernel/ptrace.c | if(addr == (long) &dummy->u_debugreg[7]) { |
addr | 433 | arch/mips/kernel/ptrace.c | addr -= (long) &dummy->u_debugreg; |
addr | 434 | arch/mips/kernel/ptrace.c | addr = addr >> 2; |
addr | 435 | arch/mips/kernel/ptrace.c | child->debugreg[addr] = data; |
addr | 35 | arch/mips/kernel/traps.c | #define get_seg_byte(seg,addr) ({ \ |
addr | 37 | arch/mips/kernel/traps.c | __res = get_user_byte(addr); \ |
addr | 40 | arch/mips/kernel/traps.c | #define get_seg_long(seg,addr) ({ \ |
addr | 42 | arch/mips/kernel/traps.c | __res = get_user_word(addr); \ |
addr | 82 | arch/mips/kernel/traps.c | unsigned long *stack, addr, module_start, module_end; |
addr | 149 | arch/mips/kernel/traps.c | addr = get_seg_long(ss, stack++); |
addr | 158 | arch/mips/kernel/traps.c | if (((addr >= (unsigned long) &start_kernel) && |
addr | 159 | arch/mips/kernel/traps.c | (addr <= (unsigned long) &etext)) || |
addr | 160 | arch/mips/kernel/traps.c | ((addr >= module_start) && (addr <= module_end))) { |
addr | 163 | arch/mips/kernel/traps.c | printk("%08lx ", addr); |
addr | 50 | arch/sparc/kernel/ioport.c | unsigned long addr = (unsigned long) address; |
addr | 74 | arch/sparc/kernel/ioport.c | mapioaddr (addr, vaddr, bus_type, rdonly); |
addr | 76 | arch/sparc/kernel/ioport.c | addr += PAGE_SIZE; |
addr | 174 | arch/sparc/mm/init.c | unsigned long tmp2, addr; |
addr | 182 | arch/sparc/mm/init.c | addr = PAGE_OFFSET; |
addr | 183 | arch/sparc/mm/init.c | while(addr < start_mem) { |
addr | 184 | arch/sparc/mm/init.c | mem_map[MAP_NR(addr)] = MAP_PAGE_RESERVED; |
addr | 185 | arch/sparc/mm/init.c | addr += PAGE_SIZE; |
addr | 188 | arch/sparc/mm/init.c | for(addr = start_mem; addr < end_mem; addr += PAGE_SIZE) |
addr | 189 | arch/sparc/mm/init.c | mem_map[MAP_NR(addr)] = 0; |
addr | 195 | arch/sparc/mm/init.c | for (addr = PAGE_OFFSET; addr < end_mem; addr += PAGE_SIZE) { |
addr | 196 | arch/sparc/mm/init.c | if(mem_map[MAP_NR(addr)]) { |
addr | 197 | arch/sparc/mm/init.c | if (addr < (unsigned long) &etext) |
addr | 199 | arch/sparc/mm/init.c | else if(addr < start_mem) |
addr | 205 | arch/sparc/mm/init.c | mem_map[MAP_NR(addr)] = 1; |
addr | 206 | arch/sparc/mm/init.c | free_page(addr); |
addr | 20 | arch/sparc/mm/srmmu.c | unsigned int srmmu_pmd_align(unsigned int addr) { return SRMMU_PMD_ALIGN(addr); } |
addr | 21 | arch/sparc/mm/srmmu.c | unsigned int srmmu_pgdir_align(unsigned int addr) { return SRMMU_PGDIR_ALIGN(addr); } |
addr | 26 | arch/sparc/mm/sun4c.c | unsigned int sun4c_pmd_align(unsigned int addr) { return SUN4C_PMD_ALIGN(addr); } |
addr | 27 | arch/sparc/mm/sun4c.c | unsigned int sun4c_pgdir_align(unsigned int addr) { return SUN4C_PGDIR_ALIGN(addr); } |
addr | 432 | arch/sparc/mm/sun4c.c | unsigned long addr, vaddr, kern_begin, kern_end; |
addr | 503 | arch/sparc/mm/sun4c.c | for(addr=kern_begin; addr < kern_end; addr += SUN4C_REAL_PGDIR_SIZE) { |
addr | 504 | arch/sparc/mm/sun4c.c | if(get_segmap(addr) == invalid_segment) { |
addr | 507 | arch/sparc/mm/sun4c.c | phys_seg = get_segmap(addr); |
addr | 511 | arch/sparc/mm/sun4c.c | (*romvec->pv_setctxt)(i, (char *) addr, phys_seg); |
addr | 514 | arch/sparc/mm/sun4c.c | for(addr=((unsigned long) (&empty_zero_page)) + PAGE_SIZE; |
addr | 515 | arch/sparc/mm/sun4c.c | addr < ((unsigned long) (&etext)); addr += PAGE_SIZE) |
addr | 516 | arch/sparc/mm/sun4c.c | put_pte(addr, (get_pte(addr) & (~(PTE_W | PTE_NC)))); |
addr | 533 | arch/sparc/mm/sun4c.c | for(addr=KADB_DEBUGGER_BEGVM; addr < prom_end; addr += SUN4C_REAL_PGDIR_SIZE) { |
addr | 534 | arch/sparc/mm/sun4c.c | if(get_segmap(addr) == invalid_segment) |
addr | 536 | arch/sparc/mm/sun4c.c | phys_seg = get_segmap(addr); |
addr | 542 | arch/sparc/mm/sun4c.c | if((addr>=LINUX_OPPROM_BEGVM) && (addr<LINUX_OPPROM_ENDVM)) |
addr | 543 | arch/sparc/mm/sun4c.c | for(vaddr=addr; vaddr < (addr+SUN4C_REAL_PGDIR_SIZE); vaddr+=PAGE_SIZE) |
addr | 548 | arch/sparc/mm/sun4c.c | (*romvec->pv_setctxt)(i, (char *) addr, phys_seg); |
addr | 556 | arch/sparc/mm/sun4c.c | for(addr = (IOBASE_VADDR + SUN4C_REAL_PGDIR_SIZE); addr < (IOBASE_VADDR + IOBASE_LEN); |
addr | 557 | arch/sparc/mm/sun4c.c | addr += SUN4C_REAL_PGDIR_SIZE) { |
addr | 558 | arch/sparc/mm/sun4c.c | if(addr & (~SUN4C_REAL_PGDIR_MASK)) { |
addr | 562 | arch/sparc/mm/sun4c.c | put_segmap(addr, phys_seg--); |
addr | 580 | arch/sparc/mm/sun4c.c | unsigned long addr, segmap; |
addr | 594 | arch/sparc/mm/sun4c.c | for(addr=PAGE_OFFSET; addr<start_mem; addr+=SUN4C_REAL_PGDIR_SIZE) |
addr | 595 | arch/sparc/mm/sun4c.c | phys_seg_map[get_segmap(addr)]=PSEG_KERNEL; |
addr | 75 | arch/sparc/mm/vac-flush.c | flush_vac_page(register unsigned int addr) |
addr | 81 | arch/sparc/mm/vac-flush.c | hw_flush_vac_page_entry((unsigned long *) addr); |
addr | 89 | arch/sparc/mm/vac-flush.c | sw_flush_vac_page_entry((unsigned long *) addr); |
addr | 90 | arch/sparc/mm/vac-flush.c | addr += offset; |
addr | 602 | drivers/block/aztcd.c | { ms.addr.msf.minute = azt_bcd2bin(DiskInfo.lastTrack.min); |
addr | 603 | drivers/block/aztcd.c | ms.addr.msf.second = azt_bcd2bin(DiskInfo.lastTrack.sec); |
addr | 604 | drivers/block/aztcd.c | ms.addr.msf.frame = azt_bcd2bin(DiskInfo.lastTrack.frame); |
addr | 607 | drivers/block/aztcd.c | ms.addr.lba = azt_msf2hsg(&DiskInfo.lastTrack); |
addr | 622 | drivers/block/aztcd.c | ms.xa_flag, ms.addr.msf.minute, ms.addr.msf.second, |
addr | 623 | drivers/block/aztcd.c | ms.addr.msf.frame, DiskInfo.lastTrack.min, |
addr | 627 | drivers/block/aztcd.c | ms.xa_flag, ms.addr.lba, DiskInfo.lastTrack.min, |
addr | 2090 | drivers/block/cdu31a.c | if (start_request(ra->addr.lba, ra->nframes, 1)) |
addr | 2106 | drivers/block/cdu31a.c | ra->addr.lba + cframe); |
addr | 2129 | drivers/block/cdu31a.c | if (start_request(ra->addr.lba + cframe, ra->nframes - cframe, 1)) |
addr | 2144 | drivers/block/cdu31a.c | ra->addr.lba + cframe); |
addr | 2149 | drivers/block/cdu31a.c | ra->addr.lba + cframe, |
addr | 2165 | drivers/block/cdu31a.c | ra->addr.lba + cframe, |
addr | 2528 | drivers/block/cdu31a.c | if ( (ra.addr.lba >= sony_toc->lead_out_start_lba) |
addr | 2529 | drivers/block/cdu31a.c | || (ra.addr.lba + ra.nframes >= sony_toc->lead_out_start_lba)) |
addr | 2536 | drivers/block/cdu31a.c | if ( (ra.addr.msf.minute >= 75) |
addr | 2537 | drivers/block/cdu31a.c | || (ra.addr.msf.second >= 60) |
addr | 2538 | drivers/block/cdu31a.c | || (ra.addr.msf.frame >= 75)) |
addr | 2543 | drivers/block/cdu31a.c | ra.addr.lba = ( (ra.addr.msf.minute * 4500) |
addr | 2544 | drivers/block/cdu31a.c | + (ra.addr.msf.second * 75) |
addr | 2545 | drivers/block/cdu31a.c | + ra.addr.msf.frame); |
addr | 2546 | drivers/block/cdu31a.c | if ( (ra.addr.lba >= sony_toc->lead_out_start_lba) |
addr | 2547 | drivers/block/cdu31a.c | || (ra.addr.lba + ra.nframes >= sony_toc->lead_out_start_lba)) |
addr | 2555 | drivers/block/cdu31a.c | ra.addr.lba -= LOG_START_OFFSET; |
addr | 686 | drivers/block/cm206.c | mssp->addr.lba = fsm2lba(&cd->disc_status[3]); |
addr | 688 | drivers/block/cm206.c | mssp->addr.msf.frame = cd->disc_status[3]; |
addr | 689 | drivers/block/cm206.c | mssp->addr.msf.second = cd->disc_status[4]; |
addr | 690 | drivers/block/cm206.c | mssp->addr.msf.minute = cd->disc_status[5]; |
addr | 405 | drivers/block/mcdx.c | ms.addr.msf.minute = bcd2uint(stuffp->multi.msf_last.minute); |
addr | 406 | drivers/block/mcdx.c | ms.addr.msf.second = bcd2uint(stuffp->multi.msf_last.second); |
addr | 407 | drivers/block/mcdx.c | ms.addr.msf.frame = bcd2uint(stuffp->multi.msf_last.frame); |
addr | 409 | drivers/block/mcdx.c | ms.addr.lba = msf2log(&stuffp->multi.msf_last); |
addr | 423 | drivers/block/mcdx.c | ms.addr.msf.minute, |
addr | 424 | drivers/block/mcdx.c | ms.addr.msf.second, |
addr | 425 | drivers/block/mcdx.c | ms.addr.msf.frame, |
addr | 435 | drivers/block/mcdx.c | ms.addr.lba, |
addr | 36 | drivers/block/ramdisk.c | char *addr; |
addr | 40 | drivers/block/ramdisk.c | addr = rd_start + (CURRENT->sector << 9); |
addr | 44 | drivers/block/ramdisk.c | (addr+len > rd_start+rd_length)) { |
addr | 49 | drivers/block/ramdisk.c | (void ) memcpy(addr, |
addr | 54 | drivers/block/ramdisk.c | addr, |
addr | 4137 | drivers/block/sbpcd.c | block=msf2lba(&read_audio.addr.msf.minute); |
addr | 4139 | drivers/block/sbpcd.c | block=read_audio.addr.lba; |
addr | 4316 | drivers/block/sbpcd.c | lba2msf(D_S[d].lba_multi,&ms_info.addr.msf.minute); |
addr | 4318 | drivers/block/sbpcd.c | ms_info.addr.lba=D_S[d].lba_multi; |
addr | 4326 | drivers/block/sbpcd.c | ms_info.xa_flag, ms_info.addr.lba); |
addr | 5074 | drivers/block/sbpcd.c | int addr[2]={1, CDROM_PORT}; |
addr | 5104 | drivers/block/sbpcd.c | addr[1]=sbpcd[port_index]; |
addr | 5105 | drivers/block/sbpcd.c | if (addr[1]==0) break; |
addr | 5106 | drivers/block/sbpcd.c | if (check_region(addr[1],4)) |
addr | 5108 | drivers/block/sbpcd.c | msg(DBG_INF,"check_region: %03X is not free.\n",addr[1]); |
addr | 5114 | drivers/block/sbpcd.c | sbpcd_setup(type, addr); |
addr | 5124 | drivers/block/sbpcd.c | if (check_card(addr[1])) continue; |
addr | 319 | drivers/char/console.c | unsigned short * addr = (unsigned short *) s; |
addr | 324 | drivers/char/console.c | scr_writew(c, addr++); |
addr | 1080 | drivers/char/keyboard.c | unsigned int *addr; |
addr | 1086 | drivers/char/keyboard.c | unsigned int *addr, unsigned int mask) { |
addr | 1089 | drivers/char/keyboard.c | ledptrs[led].addr = addr; |
addr | 1106 | drivers/char/keyboard.c | if (*ledptrs[0].addr & ledptrs[0].mask) |
addr | 1112 | drivers/char/keyboard.c | if (*ledptrs[1].addr & ledptrs[1].mask) |
addr | 1118 | drivers/char/keyboard.c | if (*ledptrs[2].addr & ledptrs[2].mask) |
addr | 39 | drivers/char/selection.h | static inline void scr_writeb(unsigned char val, unsigned char * addr) |
addr | 41 | drivers/char/selection.h | if ((long) addr < 0) |
addr | 42 | drivers/char/selection.h | *addr = val; |
addr | 44 | drivers/char/selection.h | writeb(val, (unsigned long) addr); |
addr | 47 | drivers/char/selection.h | static inline unsigned char scr_readb(unsigned char * addr) |
addr | 49 | drivers/char/selection.h | if ((long) addr < 0) |
addr | 50 | drivers/char/selection.h | return *addr; |
addr | 51 | drivers/char/selection.h | return readb((unsigned long) addr); |
addr | 54 | drivers/char/selection.h | static inline void scr_writew(unsigned short val, unsigned short * addr) |
addr | 56 | drivers/char/selection.h | if ((long) addr < 0) |
addr | 57 | drivers/char/selection.h | *addr = val; |
addr | 59 | drivers/char/selection.h | writew(val, (unsigned long) addr); |
addr | 62 | drivers/char/selection.h | static inline unsigned short scr_readw(unsigned short * addr) |
addr | 64 | drivers/char/selection.h | if ((long) addr < 0) |
addr | 65 | drivers/char/selection.h | return *addr; |
addr | 66 | drivers/char/selection.h | return readw((unsigned long) addr); |
addr | 71 | drivers/char/selection.h | static inline void scr_writeb(unsigned char val, unsigned char * addr) |
addr | 73 | drivers/char/selection.h | *addr = val; |
addr | 76 | drivers/char/selection.h | static inline unsigned char scr_readb(unsigned char * addr) |
addr | 78 | drivers/char/selection.h | return *addr; |
addr | 81 | drivers/char/selection.h | static inline void scr_writew(unsigned short val, unsigned short * addr) |
addr | 83 | drivers/char/selection.h | *addr = val; |
addr | 86 | drivers/char/selection.h | static inline unsigned short scr_readw(unsigned short * addr) |
addr | 88 | drivers/char/selection.h | return *addr; |
addr | 83 | drivers/net/3c503.c | int *addr, addrs[] = { 0xddffe, 0xd9ffe, 0xcdffe, 0xc9ffe, 0}; |
addr | 91 | drivers/net/3c503.c | for (addr = addrs; *addr; addr++) { |
addr | 93 | drivers/net/3c503.c | unsigned int base_bits = *(unsigned char *)*addr; |
addr | 207 | drivers/net/3c505.c | #define GET_ASF(addr) \ |
addr | 208 | drivers/net/3c505.c | (get_status(addr)&ASF_PCB_MASK) |
addr | 231 | drivers/net/3c505.c | #define WAIT_HCRE(addr,toval) wait_hcre((addr),(toval),__LINE__) |
addr | 1263 | drivers/net/3c505.c | int addr=dev->base_addr; |
addr | 1266 | drivers/net/3c505.c | byte orig_HCR=inb_control(addr), |
addr | 1267 | drivers/net/3c505.c | orig_HSR=inb_status(addr); |
addr | 1270 | drivers/net/3c505.c | printk(search_msg, name, addr); |
addr | 1283 | drivers/net/3c505.c | if (GET_ASF(addr) != ASF_PCB_END) |
addr | 1288 | drivers/net/3c505.c | outb_control(orig_HCR & ~DIR,addr); |
addr | 1292 | drivers/net/3c505.c | if (inb_status(addr) & DIR) { |
addr | 1293 | drivers/net/3c505.c | outb_control(orig_HCR,addr); |
addr | 1300 | drivers/net/3c505.c | outb_control(orig_HCR | DIR,addr); |
addr | 1304 | drivers/net/3c505.c | if (!(inb_status(addr) & DIR)) { |
addr | 1305 | 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 | 46 | drivers/net/apricot.c | #define check_region(addr, size) 0 |
addr | 47 | drivers/net/apricot.c | #define request_region(addr, size,name) do ; while(0) |
addr | 426 | drivers/net/arcnet.c | static int arcnet_memprobe(struct device *dev,u_char *addr); |
addr | 504 | drivers/net/arcnet.c | unsigned long *addr, addrs[] = {0xD0000,0xE0000,0xA0000,0xB0000, |
addr | 574 | drivers/net/arcnet.c | for (addr = &addrs[0]; *addr; addr++) { |
addr | 575 | drivers/net/arcnet.c | status=arcnet_memprobe(dev,(u_char *)(*addr)); |
addr | 799 | drivers/net/arcnet.c | int arcnet_memprobe(struct device *dev,u_char *addr) |
addr | 802 | drivers/net/arcnet.c | printk("arcnet: probing memory at %lXh\n",(u_long)addr); |
addr | 807 | drivers/net/arcnet.c | if (addr[0]!=TESTvalue) |
addr | 811 | drivers/net/arcnet.c | (unsigned long)addr,addr[0],TESTvalue); |
addr | 816 | drivers/net/arcnet.c | addr[0]=0x42; |
addr | 817 | drivers/net/arcnet.c | if (addr[0]!=0x42) |
addr | 821 | drivers/net/arcnet.c | (unsigned long)addr,addr[0]); |
addr | 826 | drivers/net/arcnet.c | dev->mem_start=(unsigned long)addr; |
addr | 443 | drivers/net/de4x5.c | static void sendto_srom(u_int command, u_long addr); |
addr | 444 | drivers/net/de4x5.c | static int getfrom_srom(u_long addr); |
addr | 2312 | drivers/net/de4x5.c | static short srom_rd(u_long addr, u_char offset) |
addr | 2314 | drivers/net/de4x5.c | sendto_srom(SROM_RD | SROM_SR, addr); |
addr | 2316 | drivers/net/de4x5.c | srom_latch(SROM_RD | SROM_SR | DT_CS, addr); |
addr | 2317 | drivers/net/de4x5.c | srom_command(SROM_RD | SROM_SR | DT_IN | DT_CS, addr); |
addr | 2318 | drivers/net/de4x5.c | srom_address(SROM_RD | SROM_SR | DT_CS, addr, offset); |
addr | 2320 | drivers/net/de4x5.c | return srom_data(SROM_RD | SROM_SR | DT_CS, addr); |
addr | 2323 | drivers/net/de4x5.c | static void srom_latch(u_int command, u_long addr) |
addr | 2325 | drivers/net/de4x5.c | sendto_srom(command, addr); |
addr | 2326 | drivers/net/de4x5.c | sendto_srom(command | DT_CLK, addr); |
addr | 2327 | drivers/net/de4x5.c | sendto_srom(command, addr); |
addr | 2332 | drivers/net/de4x5.c | static void srom_command(u_int command, u_long addr) |
addr | 2334 | drivers/net/de4x5.c | srom_latch(command, addr); |
addr | 2335 | drivers/net/de4x5.c | srom_latch(command, addr); |
addr | 2336 | drivers/net/de4x5.c | srom_latch((command & 0x0000ff00) | DT_CS, addr); |
addr | 2341 | drivers/net/de4x5.c | static void srom_address(u_int command, u_long addr, u_char offset) |
addr | 2348 | drivers/net/de4x5.c | srom_latch(command | ((a < 0) ? DT_IN : 0), addr); |
addr | 2352 | drivers/net/de4x5.c | i = (getfrom_srom(addr) >> 3) & 0x01; |
addr | 2361 | drivers/net/de4x5.c | static short srom_data(u_int command, u_long addr) |
addr | 2368 | drivers/net/de4x5.c | sendto_srom(command | DT_CLK, addr); |
addr | 2369 | drivers/net/de4x5.c | tmp = getfrom_srom(addr); |
addr | 2370 | drivers/net/de4x5.c | sendto_srom(command, addr); |
addr | 2375 | drivers/net/de4x5.c | sendto_srom(command & 0x0000ff00, addr); |
addr | 2395 | drivers/net/de4x5.c | static void sendto_srom(u_int command, u_long addr) |
addr | 2397 | drivers/net/de4x5.c | outl(command, addr); |
addr | 2403 | drivers/net/de4x5.c | static int getfrom_srom(u_long addr) |
addr | 2407 | drivers/net/de4x5.c | tmp = inl(addr); |
addr | 2494 | drivers/net/de4x5.c | u8 addr[(HASH_TABLE_LEN * ETH_ALEN)]; |
addr | 2506 | drivers/net/de4x5.c | tmp.addr[i] = dev->dev_addr[i]; |
addr | 2508 | drivers/net/de4x5.c | memcpy_tofs(ioc->data, tmp.addr, ioc->len); |
addr | 2519 | drivers/net/de4x5.c | memcpy_fromfs(tmp.addr, ioc->data, ETH_ALEN); |
addr | 2521 | drivers/net/de4x5.c | dev->dev_addr[i] = tmp.addr[i]; |
addr | 2574 | drivers/net/de4x5.c | memcpy_fromfs(tmp.addr, ioc->data, ETH_ALEN * ioc->len); |
addr | 2575 | drivers/net/de4x5.c | set_multicast_list(dev, ioc->len, tmp.addr); |
addr | 2625 | drivers/net/de4x5.c | tmp.addr[0] = inl(DE4X5_OMR); |
addr | 2627 | drivers/net/de4x5.c | memcpy_tofs(ioc->data, tmp.addr, 1); |
addr | 2634 | drivers/net/de4x5.c | memcpy_fromfs(tmp.addr, ioc->data, 1); |
addr | 2635 | drivers/net/de4x5.c | outl(tmp.addr[0], DE4X5_OMR); |
addr | 2654 | drivers/net/de4x5.c | memcpy_tofs(ioc->data, tmp.addr, ioc->len); |
addr | 2662 | drivers/net/de4x5.c | tmp.addr[j++] = dev->irq; |
addr | 2664 | drivers/net/de4x5.c | tmp.addr[j++] = dev->dev_addr[i]; |
addr | 2666 | drivers/net/de4x5.c | tmp.addr[j++] = lp->rxRingSize; |
addr | 2712 | drivers/net/de4x5.c | tmp.addr[j++] = lp->txRingSize; |
addr | 2713 | drivers/net/de4x5.c | tmp.addr[j++] = dev->tbusy; |
addr | 2717 | drivers/net/de4x5.c | memcpy_tofs(ioc->data, tmp.addr, ioc->len); |
addr | 296 | drivers/net/de600.c | #define de600_setup_address(addr,type) ( \ |
addr | 297 | drivers/net/de600.c | outb_p((((addr) << 4) & 0xf0) | type , DATA_PORT), \ |
addr | 298 | drivers/net/de600.c | outb_p(( (addr) & 0xf0) | type | HI_NIBBLE, DATA_PORT), \ |
addr | 299 | drivers/net/de600.c | outb_p((((addr) >> 4) & 0xf0) | type , DATA_PORT), \ |
addr | 300 | drivers/net/de600.c | outb_p((((addr) >> 8) & 0xf0) | type | HI_NIBBLE, DATA_PORT)) |
addr | 1664 | drivers/net/depca.c | u8 addr[(HASH_TABLE_LEN * ETH_ALEN)]; |
addr | 1672 | drivers/net/depca.c | tmp.addr[i] = dev->dev_addr[i]; |
addr | 1676 | drivers/net/depca.c | memcpy_tofs(ioc->data, tmp.addr, ioc->len); |
addr | 1683 | drivers/net/depca.c | memcpy_fromfs(tmp.addr,ioc->data,ETH_ALEN); |
addr | 1685 | drivers/net/depca.c | dev->dev_addr[i] = tmp.addr[i]; |
addr | 1753 | drivers/net/depca.c | memcpy_fromfs(tmp.addr, ioc->data, ETH_ALEN * ioc->len); |
addr | 1754 | drivers/net/depca.c | set_multicast_list(dev, ioc->len, tmp.addr); |
addr | 1807 | drivers/net/depca.c | memcpy_tofs(ioc->data, tmp.addr, ioc->len); |
addr | 1618 | drivers/net/ewrk3.c | unsigned char addr[HASH_TABLE_LEN * ETH_ALEN]; |
addr | 1626 | drivers/net/ewrk3.c | tmp.addr[i] = dev->dev_addr[i]; |
addr | 1632 | drivers/net/ewrk3.c | memcpy_tofs(ioc->data, tmp.addr, ioc->len); |
addr | 1643 | drivers/net/ewrk3.c | memcpy_fromfs(tmp.addr,ioc->data,ETH_ALEN); |
addr | 1645 | drivers/net/ewrk3.c | dev->dev_addr[i] = tmp.addr[i]; |
addr | 1646 | drivers/net/ewrk3.c | outb(tmp.addr[i], EWRK3_PAR0 + i); |
addr | 1690 | drivers/net/ewrk3.c | tmp.addr[i] = inb(EWRK3_DATA); |
addr | 1694 | drivers/net/ewrk3.c | memcpy(tmp.addr, (char *)(lp->shmem_base + PAGE0_HTE), (HASH_TABLE_LEN >> 3)); |
addr | 1697 | drivers/net/ewrk3.c | memcpy_tofs(ioc->data, tmp.addr, ioc->len); |
addr | 1707 | drivers/net/ewrk3.c | memcpy_fromfs(tmp.addr, ioc->data, ETH_ALEN * ioc->len); |
addr | 1709 | drivers/net/ewrk3.c | set_multicast_list(dev, ioc->len, tmp.addr); |
addr | 1758 | drivers/net/ewrk3.c | tmp.addr[0] = inb(EWRK3_CSR); |
addr | 1759 | drivers/net/ewrk3.c | memcpy_tofs(ioc->data, tmp.addr, 1); |
addr | 1767 | drivers/net/ewrk3.c | memcpy_fromfs(tmp.addr, ioc->data, 1); |
addr | 1768 | drivers/net/ewrk3.c | outb(tmp.addr[0], EWRK3_CSR); |
addr | 1783 | drivers/net/ewrk3.c | tmp.addr[i++] = inb(EWRK3_CMR); /* Config/Management Reg. */ |
addr | 1785 | drivers/net/ewrk3.c | tmp.addr[i++] = inb(EWRK3_PAR0 + j); |
addr | 1788 | drivers/net/ewrk3.c | memcpy_tofs(ioc->data, tmp.addr, ioc->len); |
addr | 1799 | drivers/net/ewrk3.c | memcpy_fromfs(tmp.addr, ioc->data, EEPROM_MAX); |
addr | 1812 | drivers/net/ewrk3.c | tmp.addr[0] = inb(EWRK3_CMR); |
addr | 1813 | drivers/net/ewrk3.c | memcpy_tofs(ioc->data, tmp.addr, 1); |
addr | 243 | drivers/net/hp.c | int addr = (high << 8) + low; |
addr | 245 | drivers/net/hp.c | if (((ring_offset + xfer_count) & 0xff) != (addr & 0xff)) |
addr | 247 | drivers/net/hp.c | dev->name, ring_offset + xfer_count, addr); |
addr | 301 | drivers/net/hp.c | int addr = (high << 8) + low; |
addr | 302 | drivers/net/hp.c | if ((start_page << 8) + count != addr) |
addr | 304 | drivers/net/hp.c | dev->name, (start_page << 8) + count, addr); |
addr | 413 | drivers/net/ne.c | int addr, tries = 20; |
addr | 419 | drivers/net/ne.c | addr = (high << 8) + low; |
addr | 426 | drivers/net/ne.c | dev->name, ring_offset + xfer_count, addr); |
addr | 504 | drivers/net/ne.c | int addr, tries = 20; |
addr | 508 | drivers/net/ne.c | addr = (high << 8) + low; |
addr | 509 | drivers/net/ne.c | if ((start_page << 8) + count == addr) |
addr | 515 | drivers/net/ne.c | dev->name, (start_page << 8) + count, addr); |
addr | 163 | drivers/net/net_init.c | static int eth_mac_addr(struct device *dev, void * addr) |
addr | 165 | drivers/net/net_init.c | struct ifreq * ifr = (struct ifreq *) addr; |
addr | 165 | drivers/net/pi2.c | static int valid_dma_page(unsigned long addr, unsigned long dev_buffsize); |
addr | 1274 | drivers/net/pi2.c | static int valid_dma_page(unsigned long addr, unsigned long dev_buffsize) |
addr | 1276 | drivers/net/pi2.c | if (((addr & 0xffff) + dev_buffsize) <= 0x10000) |
addr | 1282 | drivers/net/pi2.c | static int pi_set_mac_address(struct device *dev, void *addr) |
addr | 1284 | drivers/net/pi2.c | memcpy(dev->dev_addr, addr, 7); /* addr is an AX.25 shifted ASCII */ |
addr | 124 | drivers/net/ppp.c | static void ppp_add_arp(unsigned long addr, struct sk_buff *skb, |
addr | 1881 | drivers/net/ppp.c | ppp_add_arp(unsigned long addr, struct sk_buff *skb, struct device *dev) |
addr | 928 | drivers/net/slip.c | sl_set_mac_address(struct device *dev, void *addr) |
addr | 932 | drivers/net/slip.c | err = verify_area(VERIFY_READ, addr, AX25_ADDR_LEN); |
addr | 937 | drivers/net/slip.c | memcpy_fromfs(dev->dev_addr, addr, AX25_ADDR_LEN); /* addr is an AX.25 shifted ASCII mac address */ |
addr | 943 | drivers/net/slip.c | sl_set_dev_mac_address(struct device *dev, void *addr) |
addr | 945 | drivers/net/slip.c | memcpy(dev->dev_addr, addr, AX25_ADDR_LEN); |
addr | 117 | drivers/net/smc-ultra.c | unsigned char num_pages, irqreg, addr; |
addr | 151 | drivers/net/smc-ultra.c | addr = inb(ioaddr + 0xb); |
addr | 183 | drivers/net/smc-ultra.c | dev->mem_start = ((addr & 0x0f) << 13) + addr_tbl[(addr >> 6) & 3] ; |
addr | 184 | drivers/net/smc-ultra.c | num_pages = num_pages_tbl[(addr >> 4) & 3]; |
addr | 166 | drivers/net/tulip.c | static int set_mac_address(struct device *dev, void *addr); |
addr | 718 | drivers/net/tulip.c | set_mac_address(struct device *dev, void *addr) |
addr | 725 | drivers/net/tulip.c | printk(" %2.2x", dev->dev_addr[i] = ((unsigned char *)addr)[i]); |
addr | 1571 | drivers/net/wavelan.c | unsigned char addr[WAVELAN_ADDR_SIZE]; |
addr | 1578 | drivers/net/wavelan.c | obram_read(ioaddr, rbd.rbd_bufl + sizeof(addr), &addr[0], sizeof(addr)); |
addr | 1585 | drivers/net/wavelan.c | addrcmp(&addr[0], toweraddr) != 0 |
addr | 1590 | drivers/net/wavelan.c | printk("%s%02x", (i == 0) ? "" : ":", addr[i]); |
addr | 1598 | drivers/net/wavelan.c | unsigned char addr[WAVELAN_ADDR_SIZE]; |
addr | 1615 | drivers/net/wavelan.c | obram_read(ioaddr, rbd.rbd_bufl, &addr[0], sizeof(addr)); |
addr | 1618 | drivers/net/wavelan.c | printk("%s%02x", (i == 0) ? "" : ":", addr[i]); |
addr | 1621 | drivers/net/wavelan.c | obram_read(ioaddr, rbd.rbd_bufl + sizeof(addr), &addr[0], sizeof(addr)); |
addr | 1624 | drivers/net/wavelan.c | printk("%s%02x", (i == 0) ? "" : ":", addr[i]); |
addr | 1627 | 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 | 674 | drivers/net/znet.c | unsigned addr = inb(dma_port); |
addr | 675 | drivers/net/znet.c | addr |= inb(dma_port) << 8; |
addr | 676 | drivers/net/znet.c | printk("Addr: %04x cnt:%3x...", addr<<1, get_dma_residue(zn.tx_dma)); |
addr | 175 | drivers/pci/pci.c | unsigned char addr; /* config space address */ |
addr | 371 | drivers/pci/pci.c | if (!bmap->addr) { |
addr | 374 | drivers/pci/pci.c | pcibios_read_config_byte(bus, devfn, bmap->addr, &val); |
addr | 379 | drivers/pci/pci.c | bmap->addr, |
addr | 388 | drivers/pci/pci.c | bmap->addr, |
addr | 2040 | drivers/scsi/53c7,8xx.c | memcpy ((void *) bp->addr, (void *) bp->old, sizeof(bp->old)); |
addr | 2072 | drivers/scsi/53c7,8xx.c | bp->addr, bp->old[0], bp->old[1]); |
addr | 2076 | drivers/scsi/53c7,8xx.c | sprintf(buf + len, "%08x\n", * (u32 *) bp->addr); |
addr | 1387 | drivers/scsi/aic7xxx.c | void *addr; |
addr | 1766 | drivers/scsi/aic7xxx.c | addr = scb->sense_cmd; |
addr | 1768 | drivers/scsi/aic7xxx.c | memcpy(scb->SCSI_cmd_pointer, &addr, |
addr | 3260 | drivers/scsi/aic7xxx.c | void *addr; |
addr | 3332 | drivers/scsi/aic7xxx.c | addr = cmd->cmnd; |
addr | 3334 | drivers/scsi/aic7xxx.c | memcpy(scb->SCSI_cmd_pointer, &addr, sizeof(scb->SCSI_cmd_pointer)); |
addr | 3356 | drivers/scsi/aic7xxx.c | addr = &scb->sg; |
addr | 3357 | drivers/scsi/aic7xxx.c | memcpy(scb->SG_list_pointer, &addr, sizeof(scb->SG_list_pointer)); |
addr | 271 | drivers/scsi/aic7xxx_asm.c | unsigned int addr; /* NA or pos_from_0 */ |
addr | 487 | drivers/scsi/aic7xxx_asm.c | I_addr = eval_addr(a, instr[i].addr); |
addr | 194 | drivers/scsi/buslogic.c | # define CHECK_DMA_ADDR(isa, addr, badstmt) \ |
addr | 195 | drivers/scsi/buslogic.c | do { if ((isa) && (addr) > (void *)ISA_DMA_THRESHOLD) badstmt; } while (0) |
addr | 197 | drivers/scsi/buslogic.c | # define CHECK_DMA_ADDR(isa, addr, badstmt) |
addr | 331 | drivers/scsi/eata.c | static inline unchar do_dma (ushort iobase, unsigned int addr, unchar cmd) { |
addr | 335 | drivers/scsi/eata.c | if (addr) { |
addr | 336 | drivers/scsi/eata.c | outb((char) addr, iobase + REG_LOW); |
addr | 337 | drivers/scsi/eata.c | outb((char) (addr >> 8), iobase + REG_LM); |
addr | 338 | drivers/scsi/eata.c | outb((char) (addr >> 16), iobase + REG_MID); |
addr | 339 | drivers/scsi/eata.c | outb((char) (addr >> 24), iobase + REG_MSB); |
addr | 300 | drivers/scsi/eata_dma.c | inline int eata_send_command(u32 addr, u32 base, u8 command) |
addr | 309 | drivers/scsi/eata_dma.c | outb( addr & 0x000000ff, base + HA_WDMAADDR); |
addr | 310 | drivers/scsi/eata_dma.c | outb((addr & 0x0000ff00) >> 8, base + HA_WDMAADDR + 1); |
addr | 311 | drivers/scsi/eata_dma.c | outb((addr & 0x00ff0000) >> 16, base + HA_WDMAADDR + 2); |
addr | 312 | drivers/scsi/eata_dma.c | outb((addr & 0xff000000) >> 24, base + HA_WDMAADDR + 3); |
addr | 318 | drivers/scsi/eata_dma.c | inline int eata_send_immediate(u32 addr, u32 base, u8 cmnd, u8 cmnd2, u8 id, |
addr | 321 | drivers/scsi/eata_dma.c | if(addr){ |
addr | 322 | drivers/scsi/eata_dma.c | outb( addr & 0x000000ff, base + HA_WDMAADDR); |
addr | 323 | drivers/scsi/eata_dma.c | outb((addr & 0x0000ff00) >> 8, base + HA_WDMAADDR + 1); |
addr | 324 | drivers/scsi/eata_dma.c | outb((addr & 0x00ff0000) >> 16, base + HA_WDMAADDR + 2); |
addr | 325 | drivers/scsi/eata_dma.c | outb((addr & 0xff000000) >> 24, base + HA_WDMAADDR + 3); |
addr | 430 | drivers/scsi/sr_ioctl.c | ms_info.addr.msf.minute = lba / (CD_SECS*CD_FRAMES); |
addr | 432 | drivers/scsi/sr_ioctl.c | ms_info.addr.msf.second = lba / CD_FRAMES; |
addr | 433 | drivers/scsi/sr_ioctl.c | ms_info.addr.msf.frame = lba % CD_FRAMES; |
addr | 435 | drivers/scsi/sr_ioctl.c | ms_info.addr.lba=scsi_CDs[target].mpcd_sector; |
addr | 535 | drivers/scsi/ultrastor.c | unsigned short addr = (i << 12) | ULTRASTOR_24F_PORT; |
addr | 537 | drivers/scsi/ultrastor.c | if (inb(addr) != US24F_PRODUCT_ID_0 && |
addr | 538 | drivers/scsi/ultrastor.c | inb(addr+1) != US24F_PRODUCT_ID_1 && |
addr | 539 | drivers/scsi/ultrastor.c | inb(addr+2) != US24F_PRODUCT_ID_2) |
addr | 542 | drivers/scsi/ultrastor.c | config.revision = inb(addr+3); |
addr | 544 | drivers/scsi/ultrastor.c | if (! (inb(addr+4) & 1)) |
addr | 554 | drivers/scsi/ultrastor.c | config_1 = inb(addr + 5); |
addr | 582 | drivers/scsi/ultrastor.c | config.port_address = addr; |
addr | 583 | drivers/scsi/ultrastor.c | config.doorbell_address = addr + 12; |
addr | 584 | drivers/scsi/ultrastor.c | config.ogm_address = addr + 0x17; |
addr | 585 | drivers/scsi/ultrastor.c | config.icm_address = addr + 0x1C; |
addr | 586 | drivers/scsi/ultrastor.c | config_2 = inb(addr + 7); |
addr | 612 | drivers/scsi/ultrastor.c | outb(0, addr + 0x16); |
addr | 613 | drivers/scsi/ultrastor.c | outb(0, addr + 0x1B); |
addr | 617 | drivers/scsi/ultrastor.c | outb(ultrastor_bus_reset ? 0xc2 : 0x82, LCL_DOORBELL_MASK(addr+12)); |
addr | 618 | drivers/scsi/ultrastor.c | outb(0x02, SYS_DOORBELL_MASK(addr+12)); |
addr | 173 | drivers/sound/dev_table.h | int (*load_patch) (int dev, int format, snd_rw_buf *addr, |
addr | 168 | drivers/sound/gus_wave.c | static void gus_poke (long addr, unsigned char data); |
addr | 211 | drivers/sound/gus_wave.c | gus_poke (long addr, unsigned char data) |
addr | 217 | drivers/sound/gus_wave.c | OUTB (addr & 0xff, u_DataLo); |
addr | 218 | drivers/sound/gus_wave.c | OUTB ((addr >> 8) & 0xff, u_DataHi); |
addr | 221 | drivers/sound/gus_wave.c | OUTB ((addr >> 16) & 0xff, u_DataHi); |
addr | 227 | drivers/sound/gus_wave.c | gus_peek (long addr) |
addr | 234 | drivers/sound/gus_wave.c | OUTB (addr & 0xff, u_DataLo); |
addr | 235 | drivers/sound/gus_wave.c | OUTB ((addr >> 8) & 0xff, u_DataHi); |
addr | 238 | drivers/sound/gus_wave.c | OUTB ((addr >> 16) & 0xff, u_DataHi); |
addr | 1507 | drivers/sound/gus_wave.c | guswave_load_patch (int dev, int format, snd_rw_buf * addr, |
addr | 1543 | drivers/sound/gus_wave.c | COPY_FROM_USER (&((char *) &patch)[offs], addr, offs, sizeof_patch - offs); |
addr | 1666 | drivers/sound/gus_wave.c | GET_BYTE_FROM_USER (data, addr, sizeof_patch + i); |
addr | 1685 | drivers/sound/gus_wave.c | addr, sizeof_patch + src_offs, |
addr | 43 | drivers/sound/hex2hex.h | int addr; |
addr | 50 | drivers/sound/hex2hex.h | if (fscanf(inf, "%04x", &addr) != 1) |
addr | 52 | drivers/sound/hex2hex.h | sum += addr/256; |
addr | 53 | drivers/sound/hex2hex.h | sum += addr%256; |
addr | 66 | drivers/sound/hex2hex.h | if (addr >= MAX_SIZE) |
addr | 68 | drivers/sound/hex2hex.h | buf[addr++] = c; |
addr | 69 | drivers/sound/hex2hex.h | if (addr > l) |
addr | 70 | drivers/sound/hex2hex.h | l = addr; |
addr | 460 | drivers/sound/midi_synth.c | midi_synth_load_patch (int dev, int format, snd_rw_buf * addr, |
addr | 493 | drivers/sound/midi_synth.c | COPY_FROM_USER (&((char *) &sysex)[offs], addr, offs, hdr_size - offs); |
addr | 511 | drivers/sound/midi_synth.c | GET_BYTE_FROM_USER (data, addr, hdr_size + i); |
addr | 10 | drivers/sound/midi_synth.h | int midi_synth_load_patch (int dev, int format, snd_rw_buf * addr, |
addr | 89 | drivers/sound/opl3.c | static void opl3_command (int io_addr, unsigned int addr, unsigned int val); |
addr | 795 | drivers/sound/opl3.c | opl3_command (int io_addr, unsigned int addr, unsigned int val) |
addr | 804 | drivers/sound/opl3.c | OUTB ((unsigned char) (addr & 0xff), io_addr); /* |
addr | 916 | drivers/sound/opl3.c | opl3_load_patch (int dev, int format, snd_rw_buf * addr, |
addr | 927 | drivers/sound/opl3.c | COPY_FROM_USER (&((char *) &ins)[offs], (char *) addr, offs, sizeof (ins) - offs); |
addr | 67 | drivers/sound/os.h | #define GET_BYTE_FROM_USER(target, addr, offs) target = get_fs_byte(&((addr)[offs])) |
addr | 68 | drivers/sound/os.h | #define GET_SHORT_FROM_USER(target, addr, offs) target = get_fs_word(&((addr)[offs])) |
addr | 69 | drivers/sound/os.h | #define GET_WORD_FROM_USER(target, addr, offs) target = get_fs_long((long*)&((addr)[offs])) |
addr | 70 | drivers/sound/os.h | #define PUT_WORD_TO_USER(addr, offs, data) put_fs_long(data, (long*)&((addr)[offs])) |
addr | 128 | drivers/sound/os.h | #define KERNEL_FREE(addr) kfree(addr) |
addr | 889 | drivers/sound/sb_dsp.c | smw_putmem (int base, int addr, unsigned char val) |
addr | 895 | drivers/sound/sb_dsp.c | OUTB (addr & 0xff, base + 1); /* Low address bits */ |
addr | 896 | drivers/sound/sb_dsp.c | OUTB (addr >> 8, base + 2); /* High address bits */ |
addr | 903 | drivers/sound/sb_dsp.c | smw_getmem (int base, int addr) |
addr | 910 | drivers/sound/sb_dsp.c | OUTB (addr & 0xff, base + 1); /* Low address bits */ |
addr | 911 | drivers/sound/sb_dsp.c | OUTB (addr >> 8, base + 2); /* High address bits */ |
addr | 101 | drivers/sound/sound_calls.h | int snd_ioctl_return(int *addr, int value); |
addr | 51 | drivers/sound/sound_timer.c | timer_command (unsigned int addr, unsigned int val) |
addr | 55 | drivers/sound/sound_timer.c | OUTB ((unsigned char) (addr & 0xff), select_addr); |
addr | 47 | drivers/sound/soundcard.c | snd_ioctl_return (int *addr, int value) |
addr | 52 | drivers/sound/soundcard.c | PUT_WORD_TO_USER (addr, 0, value); |
addr | 412 | drivers/sound/soundcard.c | valid_dma_page (unsigned long addr, unsigned long dev_buffsize, unsigned long dma_pagesize) |
addr | 414 | drivers/sound/soundcard.c | if (((addr & (dma_pagesize - 1)) + dev_buffsize) <= dma_pagesize) |
addr | 44 | drivers/sound/trix.c | trix_read (int addr) |
addr | 46 | drivers/sound/trix.c | OUTB ((unsigned char) addr, 0x390); /* MT-0002-PC ASIC address */ |
addr | 51 | drivers/sound/trix.c | trix_write (int addr, int data) |
addr | 53 | drivers/sound/trix.c | OUTB ((unsigned char) addr, 0x390); /* MT-0002-PC ASIC address */ |
addr | 783 | fs/binfmt_elf.c | static int dump_write(struct file *file, void *addr, int nr) |
addr | 785 | fs/binfmt_elf.c | return file->f_op->write(file->f_inode, file, addr, nr) == nr; |
addr | 858 | fs/binfmt_elf.c | #define DUMP_WRITE(addr, nr) \ |
addr | 859 | fs/binfmt_elf.c | do { if (!dump_write(file, (addr), (nr))) return 0; } while(0) |
addr | 883 | fs/binfmt_elf.c | #define DUMP_WRITE(addr, nr) \ |
addr | 884 | fs/binfmt_elf.c | if (!dump_write(&file, (addr), (nr))) \ |
addr | 1147 | fs/binfmt_elf.c | unsigned long addr = vma->vm_start; |
addr | 1154 | fs/binfmt_elf.c | printk("elf_core_dump: writing %08lx %lx\n", addr, len); |
addr | 1156 | fs/binfmt_elf.c | DUMP_WRITE((void *)addr, len); |
addr | 147 | fs/exec.c | #define DUMP_WRITE(addr,nr) \ |
addr | 148 | fs/exec.c | while (file.f_op->write(inode,&file,(char *)(addr),(nr)) != (nr)) goto close_coredump |
addr | 463 | fs/exec.c | char * addr, unsigned long count, int to_kmem) |
addr | 490 | fs/exec.c | result = file.f_op->read(inode, &file, addr, count); |
addr | 493 | fs/exec.c | result = verify_area(VERIFY_WRITE, addr, count); |
addr | 496 | fs/exec.c | result = file.f_op->read(inode, &file, addr, count); |
addr | 236 | fs/hpfs/hpfs_fs.c | static int zerop(void *addr, unsigned len); |
addr | 528 | fs/hpfs/hpfs_fs.c | static int zerop(void *addr, unsigned len) |
addr | 530 | fs/hpfs/hpfs_fs.c | unsigned char *p = addr; |
addr | 184 | fs/isofs/inode.c | printk("isofs.inode: vol_desc_start = %d\n", ms_info.addr.lba); |
addr | 187 | fs/isofs/inode.c | if ((i==0)&&(ms_info.xa_flag)) vol_desc_start=ms_info.addr.lba; |
addr | 143 | fs/nfs/inode.c | if (data->addr.sin_addr.s_addr == INADDR_ANY) { /* No address passed */ |
addr | 161 | fs/nfs/inode.c | memcpy((char *)&(server->toaddr),(char *)(&data->addr),sizeof(server->toaddr)); |
addr | 319 | fs/proc/array.c | unsigned long addr; |
addr | 326 | fs/proc/array.c | addr = get_phys_addr(*p, start); |
addr | 327 | fs/proc/array.c | if (!addr) |
addr | 330 | fs/proc/array.c | c = *(char *) addr; |
addr | 337 | fs/proc/array.c | addr++; |
addr | 341 | fs/proc/array.c | } while (addr & ~PAGE_MASK); |
addr | 33 | fs/proc/mem.c | unsigned long addr, pid; |
addr | 49 | fs/proc/mem.c | addr = file->f_pos; |
addr | 54 | fs/proc/mem.c | page_dir = pgd_offset(tsk,addr); |
addr | 62 | fs/proc/mem.c | page_middle = pmd_offset(page_dir,addr); |
addr | 70 | fs/proc/mem.c | pte = *pte_offset(page_middle,addr); |
addr | 73 | fs/proc/mem.c | page = (char *) pte_page(pte) + (addr & ~PAGE_MASK); |
addr | 74 | fs/proc/mem.c | i = PAGE_SIZE-(addr & ~PAGE_MASK); |
addr | 78 | fs/proc/mem.c | addr += i; |
addr | 82 | fs/proc/mem.c | file->f_pos = addr; |
addr | 95 | fs/proc/mem.c | unsigned long addr, pid; |
addr | 101 | fs/proc/mem.c | addr = file->f_pos; |
addr | 116 | fs/proc/mem.c | page_dir = pgd_offset(tsk,addr); |
addr | 124 | fs/proc/mem.c | page_middle = pmd_offset(page_dir,addr); |
addr | 132 | fs/proc/mem.c | pte = *pte_offset(page_middle,addr); |
addr | 137 | fs/proc/mem.c | page = (char *) pte_page(pte) + (addr & ~PAGE_MASK); |
addr | 138 | fs/proc/mem.c | i = PAGE_SIZE-(addr & ~PAGE_MASK); |
addr | 142 | fs/proc/mem.c | addr += i; |
addr | 146 | fs/proc/mem.c | file->f_pos = addr; |
addr | 421 | fs/smbfs/sock.c | return sock->ops->connect(sock, (struct sockaddr *)&(server->m.addr), |
addr | 16 | include/asm-alpha/bitops.h | extern __inline__ unsigned long set_bit(unsigned long nr, void * addr) |
addr | 31 | include/asm-alpha/bitops.h | "=m" (((unsigned long *) addr)[nr >> 6]), |
addr | 34 | include/asm-alpha/bitops.h | "m" (((unsigned long *) addr)[nr >> 6])); |
addr | 38 | include/asm-alpha/bitops.h | extern __inline__ unsigned long clear_bit(unsigned long nr, void * addr) |
addr | 53 | include/asm-alpha/bitops.h | "=m" (((unsigned long *) addr)[nr >> 6]), |
addr | 56 | include/asm-alpha/bitops.h | "m" (((unsigned long *) addr)[nr >> 6])); |
addr | 60 | include/asm-alpha/bitops.h | extern __inline__ unsigned long change_bit(unsigned long nr, void * addr) |
addr | 73 | include/asm-alpha/bitops.h | "=m" (((unsigned long *) addr)[nr >> 6]), |
addr | 76 | include/asm-alpha/bitops.h | "m" (((unsigned long *) addr)[nr >> 6])); |
addr | 80 | include/asm-alpha/bitops.h | extern __inline__ unsigned long test_bit(int nr, void * addr) |
addr | 82 | include/asm-alpha/bitops.h | return 1UL & (((unsigned long *) addr)[nr >> 6] >> (nr & 63)); |
addr | 117 | include/asm-alpha/bitops.h | extern inline unsigned long find_next_zero_bit(void * addr, unsigned long size, unsigned long offset) |
addr | 119 | include/asm-alpha/bitops.h | unsigned long * p = ((unsigned long *) addr) + (offset >> 6); |
addr | 155 | include/asm-alpha/bitops.h | #define find_first_zero_bit(addr, size) \ |
addr | 156 | include/asm-alpha/bitops.h | find_next_zero_bit((addr), (size), 0) |
addr | 116 | include/asm-alpha/io.h | #define readb(addr) ((unsigned char) (readb)((unsigned long)(addr))) |
addr | 117 | include/asm-alpha/io.h | #define readw(addr) ((unsigned short) (readw)((unsigned long)(addr))) |
addr | 118 | include/asm-alpha/io.h | #define readl(addr) ((unsigned int) (readl)((unsigned long)(addr))) |
addr | 120 | include/asm-alpha/io.h | #define writeb(b,addr) (writeb)((b),(unsigned long)(addr)) |
addr | 121 | include/asm-alpha/io.h | #define writew(w,addr) (writew)((w),(unsigned long)(addr)) |
addr | 122 | include/asm-alpha/io.h | #define writel(l,addr) (writel)((l),(unsigned long)(addr)) |
addr | 124 | 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 | 122 | include/asm-alpha/jensen.h | extern inline unsigned int ___bus_inb(unsigned long addr) |
addr | 127 | include/asm-alpha/jensen.h | result = *(volatile int *) ((addr << 7) + EISA_IO + 0x00); |
addr | 128 | include/asm-alpha/jensen.h | result >>= (addr & 3) * 8; |
addr | 132 | include/asm-alpha/jensen.h | extern void __bus_outb(unsigned char b, unsigned long addr); |
addr | 133 | include/asm-alpha/jensen.h | extern inline void ___bus_outb(unsigned char b, unsigned long addr) |
addr | 136 | include/asm-alpha/jensen.h | *(volatile unsigned int *) ((addr << 7) + EISA_IO + 0x00) = b * 0x01010101; |
addr | 145 | include/asm-alpha/jensen.h | #define __is_local(addr) ( \ |
addr | 146 | include/asm-alpha/jensen.h | /* keyboard */ (addr == 0x60 || addr == 0x64) || \ |
addr | 147 | include/asm-alpha/jensen.h | /* RTC */ (addr == 0x170 || addr == 0x171) || \ |
addr | 148 | include/asm-alpha/jensen.h | /* mb COM2 */ (addr >= 0x2f8 && addr <= 0x2ff) || \ |
addr | 149 | include/asm-alpha/jensen.h | /* mb LPT1 */ (addr >= 0x3bc && addr <= 0x3be) || \ |
addr | 150 | include/asm-alpha/jensen.h | /* mb COM2 */ (addr >= 0x3f8 && addr <= 0x3ff)) |
addr | 152 | include/asm-alpha/jensen.h | extern inline unsigned int __inb(unsigned long addr) |
addr | 154 | include/asm-alpha/jensen.h | if (__is_local(addr)) |
addr | 155 | include/asm-alpha/jensen.h | return __local_inb(addr); |
addr | 156 | include/asm-alpha/jensen.h | return __bus_inb(addr); |
addr | 159 | include/asm-alpha/jensen.h | extern inline void __outb(unsigned char b, unsigned long addr) |
addr | 161 | include/asm-alpha/jensen.h | if (__is_local(addr)) |
addr | 162 | include/asm-alpha/jensen.h | __local_outb(b, addr); |
addr | 164 | include/asm-alpha/jensen.h | __bus_outb(b, addr); |
addr | 167 | include/asm-alpha/jensen.h | extern inline unsigned int __inw(unsigned long addr) |
addr | 172 | include/asm-alpha/jensen.h | result = *(volatile int *) ((addr << 7) + EISA_IO + 0x20); |
addr | 173 | include/asm-alpha/jensen.h | result >>= (addr & 3) * 8; |
addr | 177 | include/asm-alpha/jensen.h | extern inline unsigned int __inl(unsigned long addr) |
addr | 180 | include/asm-alpha/jensen.h | return *(volatile unsigned int *) ((addr << 7) + EISA_IO + 0x60); |
addr | 183 | include/asm-alpha/jensen.h | extern inline void __outw(unsigned short b, unsigned long addr) |
addr | 186 | include/asm-alpha/jensen.h | *(volatile unsigned int *) ((addr << 7) + EISA_IO + 0x20) = b * 0x00010001; |
addr | 190 | include/asm-alpha/jensen.h | extern inline void __outl(unsigned int b, unsigned long addr) |
addr | 193 | include/asm-alpha/jensen.h | *(volatile unsigned int *) ((addr << 7) + EISA_IO + 0x60) = b; |
addr | 200 | include/asm-alpha/jensen.h | extern inline unsigned long __readb(unsigned long addr) |
addr | 204 | include/asm-alpha/jensen.h | __set_hae(addr); |
addr | 205 | include/asm-alpha/jensen.h | addr &= __HAE_MASK; |
addr | 206 | include/asm-alpha/jensen.h | result = *(volatile int *) ((addr << 7) + EISA_MEM + 0x00); |
addr | 207 | include/asm-alpha/jensen.h | result >>= (addr & 3) * 8; |
addr | 211 | include/asm-alpha/jensen.h | extern inline unsigned long __readw(unsigned long addr) |
addr | 215 | include/asm-alpha/jensen.h | __set_hae(addr); |
addr | 216 | include/asm-alpha/jensen.h | addr &= __HAE_MASK; |
addr | 217 | include/asm-alpha/jensen.h | result = *(volatile int *) ((addr << 7) + EISA_MEM + 0x20); |
addr | 218 | include/asm-alpha/jensen.h | result >>= (addr & 3) * 8; |
addr | 222 | include/asm-alpha/jensen.h | extern inline unsigned long __readl(unsigned long addr) |
addr | 224 | include/asm-alpha/jensen.h | __set_hae(addr); |
addr | 225 | include/asm-alpha/jensen.h | addr &= __HAE_MASK; |
addr | 226 | include/asm-alpha/jensen.h | return *(volatile unsigned int *) ((addr << 7) + EISA_MEM + 0x60); |
addr | 229 | include/asm-alpha/jensen.h | extern inline void __writeb(unsigned short b, unsigned long addr) |
addr | 231 | include/asm-alpha/jensen.h | __set_hae(addr); |
addr | 232 | include/asm-alpha/jensen.h | addr &= __HAE_MASK; |
addr | 233 | include/asm-alpha/jensen.h | *(volatile unsigned int *) ((addr << 7) + EISA_MEM + 0x00) = b * 0x01010101; |
addr | 236 | include/asm-alpha/jensen.h | extern inline void __writew(unsigned short b, unsigned long addr) |
addr | 238 | include/asm-alpha/jensen.h | __set_hae(addr); |
addr | 239 | include/asm-alpha/jensen.h | addr &= __HAE_MASK; |
addr | 240 | include/asm-alpha/jensen.h | *(volatile unsigned int *) ((addr << 7) + EISA_MEM + 0x20) = b * 0x00010001; |
addr | 243 | include/asm-alpha/jensen.h | extern inline void __writel(unsigned int b, unsigned long addr) |
addr | 245 | include/asm-alpha/jensen.h | __set_hae(addr); |
addr | 246 | include/asm-alpha/jensen.h | addr &= __HAE_MASK; |
addr | 247 | include/asm-alpha/jensen.h | *(volatile unsigned int *) ((addr << 7) + EISA_MEM + 0x60) = b; |
addr | 254 | include/asm-alpha/jensen.h | extern unsigned int inb(unsigned long addr); |
addr | 255 | include/asm-alpha/jensen.h | extern unsigned int inw(unsigned long addr); |
addr | 256 | include/asm-alpha/jensen.h | extern unsigned int inl(unsigned long addr); |
addr | 258 | include/asm-alpha/jensen.h | extern void outb(unsigned char b, unsigned long addr); |
addr | 259 | include/asm-alpha/jensen.h | extern void outw(unsigned short b, unsigned long addr); |
addr | 260 | include/asm-alpha/jensen.h | extern void outl(unsigned int b, unsigned long addr); |
addr | 262 | include/asm-alpha/jensen.h | extern unsigned long readb(unsigned long addr); |
addr | 263 | include/asm-alpha/jensen.h | extern unsigned long readw(unsigned long addr); |
addr | 264 | include/asm-alpha/jensen.h | extern unsigned long readl(unsigned long addr); |
addr | 266 | include/asm-alpha/jensen.h | extern void writeb(unsigned char b, unsigned long addr); |
addr | 267 | include/asm-alpha/jensen.h | extern void writew(unsigned short b, unsigned long addr); |
addr | 268 | include/asm-alpha/jensen.h | extern void writel(unsigned int b, unsigned long addr); |
addr | 160 | include/asm-alpha/lca.h | extern inline unsigned int __inb(unsigned long addr) |
addr | 162 | include/asm-alpha/lca.h | long result = *(vuip) ((addr << 5) + LCA_IO + 0x00); |
addr | 163 | include/asm-alpha/lca.h | result >>= (addr & 3) * 8; |
addr | 167 | include/asm-alpha/lca.h | extern inline void __outb(unsigned char b, unsigned long addr) |
addr | 171 | include/asm-alpha/lca.h | asm ("insbl %2,%1,%0" : "r="(w) : "ri"(addr & 0x3), "r"(b)); |
addr | 172 | include/asm-alpha/lca.h | *(vuip) ((addr << 5) + LCA_IO + 0x00) = w; |
addr | 176 | include/asm-alpha/lca.h | extern inline unsigned int __inw(unsigned long addr) |
addr | 178 | include/asm-alpha/lca.h | long result = *(vuip) ((addr << 5) + LCA_IO + 0x08); |
addr | 179 | include/asm-alpha/lca.h | result >>= (addr & 3) * 8; |
addr | 183 | include/asm-alpha/lca.h | extern inline void __outw(unsigned short b, unsigned long addr) |
addr | 187 | include/asm-alpha/lca.h | asm ("inswl %2,%1,%0" : "r="(w) : "ri"(addr & 0x3), "r"(b)); |
addr | 188 | include/asm-alpha/lca.h | *(vuip) ((addr << 5) + LCA_IO + 0x08) = w; |
addr | 192 | include/asm-alpha/lca.h | extern inline unsigned int __inl(unsigned long addr) |
addr | 194 | include/asm-alpha/lca.h | return *(vuip) ((addr << 5) + LCA_IO + 0x18); |
addr | 197 | include/asm-alpha/lca.h | extern inline void __outl(unsigned int b, unsigned long addr) |
addr | 199 | include/asm-alpha/lca.h | *(vuip) ((addr << 5) + LCA_IO + 0x18) = b; |
addr | 208 | include/asm-alpha/lca.h | extern inline unsigned long __readb(unsigned long addr) |
addr | 212 | include/asm-alpha/lca.h | shift = (addr & 0x3) * 8; |
addr | 213 | include/asm-alpha/lca.h | if (addr >= (1UL << 24)) { |
addr | 214 | include/asm-alpha/lca.h | msb = addr & 0xf8000000; |
addr | 215 | include/asm-alpha/lca.h | addr -= msb; |
addr | 220 | include/asm-alpha/lca.h | result = *(vuip) ((addr << 5) + LCA_SPARSE_MEM + 0x00); |
addr | 225 | include/asm-alpha/lca.h | extern inline unsigned long __readw(unsigned long addr) |
addr | 229 | include/asm-alpha/lca.h | shift = (addr & 0x3) * 8; |
addr | 230 | include/asm-alpha/lca.h | if (addr >= (1UL << 24)) { |
addr | 231 | include/asm-alpha/lca.h | msb = addr & 0xf8000000; |
addr | 232 | include/asm-alpha/lca.h | addr -= msb; |
addr | 237 | include/asm-alpha/lca.h | result = *(vuip) ((addr << 5) + LCA_SPARSE_MEM + 0x08); |
addr | 242 | include/asm-alpha/lca.h | extern inline unsigned long __readl(unsigned long addr) |
addr | 244 | include/asm-alpha/lca.h | return *(vuip) (addr + LCA_DENSE_MEM); |
addr | 247 | include/asm-alpha/lca.h | extern inline void __writeb(unsigned char b, unsigned long addr) |
addr | 251 | include/asm-alpha/lca.h | if (addr >= (1UL << 24)) { |
addr | 252 | include/asm-alpha/lca.h | msb = addr & 0xf8000000; |
addr | 253 | include/asm-alpha/lca.h | addr -= msb; |
addr | 258 | include/asm-alpha/lca.h | *(vuip) ((addr << 5) + LCA_SPARSE_MEM + 0x00) = b * 0x01010101; |
addr | 261 | include/asm-alpha/lca.h | extern inline void __writew(unsigned short b, unsigned long addr) |
addr | 265 | include/asm-alpha/lca.h | if (addr >= (1UL << 24)) { |
addr | 266 | include/asm-alpha/lca.h | msb = addr & 0xf8000000; |
addr | 267 | include/asm-alpha/lca.h | addr -= msb; |
addr | 272 | include/asm-alpha/lca.h | *(vuip) ((addr << 5) + LCA_SPARSE_MEM + 0x08) = b * 0x00010001; |
addr | 275 | include/asm-alpha/lca.h | extern inline void __writel(unsigned int b, unsigned long addr) |
addr | 277 | include/asm-alpha/lca.h | *(vuip) (addr + LCA_DENSE_MEM) = b; |
addr | 284 | include/asm-alpha/lca.h | extern unsigned int inb(unsigned long addr); |
addr | 285 | include/asm-alpha/lca.h | extern unsigned int inw(unsigned long addr); |
addr | 286 | include/asm-alpha/lca.h | extern unsigned int inl(unsigned long addr); |
addr | 288 | include/asm-alpha/lca.h | extern void outb(unsigned char b, unsigned long addr); |
addr | 289 | include/asm-alpha/lca.h | extern void outw(unsigned short b, unsigned long addr); |
addr | 290 | include/asm-alpha/lca.h | extern void outl(unsigned int b, unsigned long addr); |
addr | 292 | include/asm-alpha/lca.h | extern unsigned long readb(unsigned long addr); |
addr | 293 | include/asm-alpha/lca.h | extern unsigned long readw(unsigned long addr); |
addr | 295 | include/asm-alpha/lca.h | extern void writeb(unsigned char b, unsigned long addr); |
addr | 296 | include/asm-alpha/lca.h | extern void writew(unsigned short b, unsigned long addr); |
addr | 307 | include/asm-alpha/lca.h | extern inline unsigned long readl(unsigned long addr) |
addr | 309 | include/asm-alpha/lca.h | return __readl(addr); |
addr | 312 | include/asm-alpha/lca.h | extern inline void writel(unsigned int b, unsigned long addr) |
addr | 314 | include/asm-alpha/lca.h | __writel(b, addr); |
addr | 64 | include/asm-alpha/page.h | #define PAGE_ALIGN(addr) (((addr)+PAGE_SIZE-1)&PAGE_MASK) |
addr | 67 | include/asm-alpha/page.h | #define MAP_NR(addr) ((((unsigned long) (addr)) - PAGE_OFFSET) >> PAGE_SHIFT) |
addr | 59 | include/asm-alpha/segment.h | static inline unsigned char get_user_byte(const char * addr) |
addr | 61 | include/asm-alpha/segment.h | return *addr; |
addr | 64 | include/asm-alpha/segment.h | #define get_fs_byte(addr) get_user_byte((char *)(addr)) |
addr | 66 | include/asm-alpha/segment.h | static inline unsigned short get_user_word(const short *addr) |
addr | 68 | include/asm-alpha/segment.h | return *addr; |
addr | 71 | include/asm-alpha/segment.h | #define get_fs_word(addr) get_user_word((short *)(addr)) |
addr | 73 | include/asm-alpha/segment.h | static inline unsigned long get_user_long(const int *addr) |
addr | 75 | include/asm-alpha/segment.h | return *addr; |
addr | 78 | include/asm-alpha/segment.h | #define get_fs_long(addr) get_user_long((int *)(addr)) |
addr | 80 | include/asm-alpha/segment.h | static inline unsigned long get_user_quad(const long *addr) |
addr | 82 | include/asm-alpha/segment.h | return *addr; |
addr | 85 | include/asm-alpha/segment.h | #define get_fs_quad(addr) get_user_quad((long *)(addr)) |
addr | 87 | include/asm-alpha/segment.h | static inline void put_user_byte(char val,char *addr) |
addr | 89 | include/asm-alpha/segment.h | *addr = val; |
addr | 92 | include/asm-alpha/segment.h | #define put_fs_byte(x,addr) put_user_byte((x),(char *)(addr)) |
addr | 94 | include/asm-alpha/segment.h | static inline void put_user_word(short val,short * addr) |
addr | 96 | include/asm-alpha/segment.h | *addr = val; |
addr | 99 | include/asm-alpha/segment.h | #define put_fs_word(x,addr) put_user_word((x),(short *)(addr)) |
addr | 101 | include/asm-alpha/segment.h | static inline void put_user_long(unsigned long val,int * addr) |
addr | 103 | include/asm-alpha/segment.h | *addr = val; |
addr | 106 | include/asm-alpha/segment.h | #define put_fs_long(x,addr) put_user_long((x),(int *)(addr)) |
addr | 108 | include/asm-alpha/segment.h | static inline void put_user_quad(unsigned long val,long * addr) |
addr | 110 | include/asm-alpha/segment.h | *addr = val; |
addr | 113 | include/asm-alpha/segment.h | #define put_fs_quad(x,addr) put_user_quad((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 | 20 | include/asm-i386/bitops.h | #define ADDR (*(struct __dummy *) addr) |
addr | 22 | include/asm-i386/bitops.h | extern __inline__ int set_bit(int nr, void * addr) |
addr | 32 | include/asm-i386/bitops.h | extern __inline__ int clear_bit(int nr, void * addr) |
addr | 42 | include/asm-i386/bitops.h | extern __inline__ int change_bit(int nr, void * addr) |
addr | 56 | include/asm-i386/bitops.h | extern __inline__ int test_bit(int nr, void * addr) |
addr | 69 | include/asm-i386/bitops.h | extern inline int find_first_zero_bit(void * addr, unsigned size) |
addr | 88 | include/asm-i386/bitops.h | :"c" ((size + 31) >> 5), "D" (addr), "b" (addr) |
addr | 93 | include/asm-i386/bitops.h | extern inline int find_next_zero_bit (void * addr, int size, int offset) |
addr | 95 | include/asm-i386/bitops.h | unsigned long * p = ((unsigned long *) addr) + (offset >> 5); |
addr | 117 | include/asm-i386/bitops.h | res = find_first_zero_bit (p, size - 32 * (p - (unsigned long *) addr)); |
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 | 109 | include/asm-i386/io.h | extern inline void ins##s(unsigned short port, void * addr, unsigned long count) \ |
addr | 111 | include/asm-i386/io.h | : "=D" (addr), "=c" (count) : "d" (port),"0" (addr),"1" (count)); } |
addr | 114 | include/asm-i386/io.h | extern inline void outs##s(unsigned short port, const void * addr, unsigned long count) \ |
addr | 116 | include/asm-i386/io.h | : "=S" (addr), "=c" (count) : "d" (port),"0" (addr),"1" (count)); } |
addr | 57 | include/asm-i386/page.h | #define PAGE_ALIGN(addr) (((addr)+PAGE_SIZE-1)&PAGE_MASK) |
addr | 61 | include/asm-i386/page.h | #define MAP_NR(addr) (((unsigned long)(addr)) >> PAGE_SHIFT) |
addr | 87 | include/asm-i386/segment.h | static inline unsigned char get_user_byte(const char * addr) |
addr | 89 | include/asm-i386/segment.h | return __get_user(addr,1); |
addr | 92 | include/asm-i386/segment.h | #define get_fs_byte(addr) get_user_byte((char *)(addr)) |
addr | 94 | include/asm-i386/segment.h | static inline unsigned short get_user_word(const short *addr) |
addr | 96 | include/asm-i386/segment.h | return __get_user(addr, 2); |
addr | 99 | include/asm-i386/segment.h | #define get_fs_word(addr) get_user_word((short *)(addr)) |
addr | 101 | include/asm-i386/segment.h | static inline unsigned long get_user_long(const int *addr) |
addr | 103 | include/asm-i386/segment.h | return __get_user(addr, 4); |
addr | 106 | include/asm-i386/segment.h | #define get_fs_long(addr) get_user_long((int *)(addr)) |
addr | 108 | include/asm-i386/segment.h | static inline void put_user_byte(char val,char *addr) |
addr | 110 | include/asm-i386/segment.h | __put_user(val, addr, 1); |
addr | 113 | include/asm-i386/segment.h | #define put_fs_byte(x,addr) put_user_byte((x),(char *)(addr)) |
addr | 115 | include/asm-i386/segment.h | static inline void put_user_word(short val,short * addr) |
addr | 117 | include/asm-i386/segment.h | __put_user(val, addr, 2); |
addr | 120 | include/asm-i386/segment.h | #define put_fs_word(x,addr) put_user_word((x),(short *)(addr)) |
addr | 122 | include/asm-i386/segment.h | static inline void put_user_long(unsigned long val,int * addr) |
addr | 124 | include/asm-i386/segment.h | __put_user(val, addr, 4); |
addr | 127 | include/asm-i386/segment.h | #define put_fs_long(x,addr) put_user_long((x),(int *)(addr)) |
addr | 562 | include/asm-i386/string.h | extern inline void * memscan(void * addr, int c, size_t size) |
addr | 565 | include/asm-i386/string.h | return addr; |
addr | 571 | include/asm-i386/string.h | : "=D" (addr), "=c" (size) |
addr | 572 | include/asm-i386/string.h | : "0" (addr), "1" (size), "a" (c)); |
addr | 573 | include/asm-i386/string.h | return addr; |
addr | 73 | include/asm-i386/system.h | #define _set_base(addr,base) \ |
addr | 79 | include/asm-i386/system.h | :"m" (*((addr)+2)), \ |
addr | 80 | include/asm-i386/system.h | "m" (*((addr)+4)), \ |
addr | 81 | include/asm-i386/system.h | "m" (*((addr)+7)), \ |
addr | 85 | include/asm-i386/system.h | #define _set_limit(addr,limit) \ |
addr | 93 | include/asm-i386/system.h | :"m" (*(addr)), \ |
addr | 94 | include/asm-i386/system.h | "m" (*((addr)+6)), \ |
addr | 101 | include/asm-i386/system.h | static inline unsigned long _get_base(char * addr) |
addr | 109 | include/asm-i386/system.h | :"m" (*((addr)+2)), |
addr | 110 | include/asm-i386/system.h | "m" (*((addr)+4)), |
addr | 111 | include/asm-i386/system.h | "m" (*((addr)+7))); |
addr | 181 | include/asm-i386/system.h | #define _set_gate(gate_addr,type,dpl,addr) \ |
addr | 189 | include/asm-i386/system.h | "d" ((char *) (addr)),"a" (KERNEL_CS << 16) \ |
addr | 192 | include/asm-i386/system.h | #define set_intr_gate(n,addr) \ |
addr | 193 | include/asm-i386/system.h | _set_gate(&idt[n],14,0,addr) |
addr | 195 | include/asm-i386/system.h | #define set_trap_gate(n,addr) \ |
addr | 196 | include/asm-i386/system.h | _set_gate(&idt[n],15,0,addr) |
addr | 198 | include/asm-i386/system.h | #define set_system_gate(n,addr) \ |
addr | 199 | include/asm-i386/system.h | _set_gate(&idt[n],15,3,addr) |
addr | 201 | include/asm-i386/system.h | #define set_call_gate(a,addr) \ |
addr | 202 | include/asm-i386/system.h | _set_gate(a,12,3,addr) |
addr | 214 | include/asm-i386/system.h | #define _set_tssldt_desc(n,addr,limit,type) \ |
addr | 224 | include/asm-i386/system.h | :"a" (addr+0xc0000000), "m" (*(n)), "m" (*(n+2)), "m" (*(n+4)), \ |
addr | 228 | include/asm-i386/system.h | #define set_tss_desc(n,addr) _set_tssldt_desc(((char *) (n)),((int)(addr)),235,"0x89") |
addr | 229 | include/asm-i386/system.h | #define set_ldt_desc(n,addr,size) \ |
addr | 230 | 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 | 20 | include/asm-mips/bitops.h | extern __inline__ int set_bit(int nr, void *addr) |
addr | 24 | include/asm-mips/bitops.h | addr += ((nr >> 3) & ~3); |
addr | 27 | include/asm-mips/bitops.h | mw = load_linked(addr); |
addr | 30 | include/asm-mips/bitops.h | while (!store_conditional(addr, mw|mask)); |
addr | 35 | include/asm-mips/bitops.h | extern __inline__ int clear_bit(int nr, void *addr) |
addr | 39 | include/asm-mips/bitops.h | addr += ((nr >> 3) & ~3); |
addr | 42 | include/asm-mips/bitops.h | mw = load_linked(addr); |
addr | 45 | include/asm-mips/bitops.h | while (!store_conditional(addr, mw & ~mask)); |
addr | 50 | include/asm-mips/bitops.h | extern __inline__ int change_bit(int nr, void *addr) |
addr | 54 | include/asm-mips/bitops.h | addr += ((nr >> 3) & ~3); |
addr | 57 | include/asm-mips/bitops.h | mw = load_linked(addr); |
addr | 60 | include/asm-mips/bitops.h | while (!store_conditional(addr, mw ^ mask)); |
addr | 80 | include/asm-mips/bitops.h | extern __inline__ int set_bit(int nr, void * addr) |
addr | 83 | include/asm-mips/bitops.h | int *a = addr; |
addr | 97 | include/asm-mips/bitops.h | extern __inline__ int clear_bit(int nr, void * addr) |
addr | 100 | include/asm-mips/bitops.h | int *a = addr; |
addr | 114 | include/asm-mips/bitops.h | extern __inline__ int change_bit(int nr, void * addr) |
addr | 117 | include/asm-mips/bitops.h | int *a = addr; |
addr | 138 | include/asm-mips/bitops.h | extern __inline__ int test_bit(int nr, void *addr) |
addr | 143 | include/asm-mips/bitops.h | a = addr; |
addr | 144 | include/asm-mips/bitops.h | addr += nr >> 5; |
addr | 149 | include/asm-mips/bitops.h | extern __inline__ int find_first_zero_bit (void *addr, unsigned size) |
addr | 177 | include/asm-mips/bitops.h | "r" (addr) |
addr | 183 | include/asm-mips/bitops.h | extern __inline__ int find_next_zero_bit (void * addr, int size, int offset) |
addr | 185 | include/asm-mips/bitops.h | unsigned long * p = ((unsigned long *) addr) + (offset >> 5); |
addr | 214 | include/asm-mips/bitops.h | res = find_first_zero_bit (p, size - 32 * (p - (unsigned long *) addr)); |
addr | 28 | include/asm-mips/cachectl.h | extern int sys_cacheflush(void *addr, int nbytes, int cache); |
addr | 80 | include/asm-mips/io.h | extern inline void __ins##s(unsigned int port, void * addr, unsigned long count) { |
addr | 96 | include/asm-mips/io.h | : "=r" (addr), "=r" (count) \ |
addr | 97 | include/asm-mips/io.h | : "0" (addr), "1" (count), "i" (0), "r" (PORT_BASE+port), "I" (i) \ |
addr | 100 | include/asm-mips/io.h | : "=r" (addr), "=r" (count) \ |
addr | 101 | include/asm-mips/io.h | : "0" (addr), "1" (count), "i" (port), "r" (PORT_BASE), "I" (i) \ |
addr | 105 | include/asm-mips/io.h | extern inline void __outs##s(unsigned int port, const void * addr, unsigned long count) { |
addr | 121 | include/asm-mips/io.h | : "=r" (addr), "=r" (count) \ |
addr | 122 | include/asm-mips/io.h | : "0" (addr), "1" (count), "i" (0), "r" (PORT_BASE+port), "I" (i) \ |
addr | 125 | include/asm-mips/io.h | : "=r" (addr), "=r" (count) \ |
addr | 126 | include/asm-mips/io.h | : "0" (addr), "1" (count), "i" (port), "r" (PORT_BASE), "I" (i) \ |
addr | 211 | include/asm-mips/io.h | #define outsb(port,addr,count) \ |
addr | 213 | include/asm-mips/io.h | __outsbc((port),(addr),(count)) : \ |
addr | 214 | include/asm-mips/io.h | __outsb ((port),(addr),(count))) |
addr | 216 | include/asm-mips/io.h | #define insb(port,addr,count) \ |
addr | 218 | include/asm-mips/io.h | __insbc((port),(addr),(count)) : \ |
addr | 219 | include/asm-mips/io.h | __insb((port),(addr),(count))) |
addr | 221 | include/asm-mips/io.h | #define outsw(port,addr,count) \ |
addr | 223 | include/asm-mips/io.h | __outswc((port),(addr),(count)) : \ |
addr | 224 | include/asm-mips/io.h | __outsw ((port),(addr),(count))) |
addr | 226 | include/asm-mips/io.h | #define insw(port,addr,count) \ |
addr | 228 | include/asm-mips/io.h | __inswc((port),(addr),(count)) : \ |
addr | 229 | include/asm-mips/io.h | __insw((port),(addr),(count))) |
addr | 231 | include/asm-mips/io.h | #define outsl(port,addr,count) \ |
addr | 233 | include/asm-mips/io.h | __outslc((port),(addr),(count)) : \ |
addr | 234 | include/asm-mips/io.h | __outsl ((port),(addr),(count))) |
addr | 236 | include/asm-mips/io.h | #define insl(port,addr,count) \ |
addr | 238 | include/asm-mips/io.h | __inslc((port),(addr),(count)) : \ |
addr | 239 | include/asm-mips/io.h | __insl((port),(addr),(count))) |
addr | 93 | include/asm-mips/mipsregs.h | #define VPN(addr,pagesizeshift) ((addr) & ~((1 << (pagesizeshift))-1)) |
addr | 94 | include/asm-mips/mipsregs.h | #define PFN(addr,pagesizeshift) (((addr) & ((1 << (pagesizeshift))-1)) << 6) |
addr | 125 | include/asm-mips/mipsregs.h | #define load_linked(addr) \ |
addr | 132 | include/asm-mips/mipsregs.h | : "r" ((unsigned int) (addr))); \ |
addr | 137 | include/asm-mips/mipsregs.h | #define store_conditional(addr,value) \ |
addr | 144 | include/asm-mips/mipsregs.h | : "0" (value), "r" (addr)); \ |
addr | 118 | include/asm-mips/page.h | #define MAP_NR(addr) (((addr) - PAGE_OFFSET) >> PAGE_SHIFT) |
addr | 152 | include/asm-mips/page.h | #define PAGE_ALIGN(addr) (((addr)+PAGE_SIZE-1)&PAGE_MASK) |
addr | 33 | include/asm-mips/segment.h | #define get_fs_byte(addr) get_user_byte((char *)(addr)) |
addr | 34 | include/asm-mips/segment.h | static inline unsigned char get_user_byte(const char *addr) |
addr | 36 | include/asm-mips/segment.h | return *addr; |
addr | 39 | include/asm-mips/segment.h | #define get_fs_word(addr) get_user_word((short *)(addr)) |
addr | 40 | include/asm-mips/segment.h | static inline unsigned short get_user_word(const short *addr) |
addr | 42 | include/asm-mips/segment.h | return *addr; |
addr | 45 | include/asm-mips/segment.h | #define get_fs_long(addr) get_user_long((int *)(addr)) |
addr | 46 | include/asm-mips/segment.h | static inline unsigned long get_user_long(const int *addr) |
addr | 48 | include/asm-mips/segment.h | return *addr; |
addr | 51 | include/asm-mips/segment.h | #define get_fs_dlong(addr) get_user_dlong((long long *)(addr)) |
addr | 52 | include/asm-mips/segment.h | static inline unsigned long get_user_dlong(const long long *addr) |
addr | 54 | include/asm-mips/segment.h | return *addr; |
addr | 57 | include/asm-mips/segment.h | #define put_fs_byte(x,addr) put_user_byte((x),(char *)(addr)) |
addr | 58 | include/asm-mips/segment.h | static inline void put_user_byte(char val,char *addr) |
addr | 60 | include/asm-mips/segment.h | *addr = val; |
addr | 63 | include/asm-mips/segment.h | #define put_fs_word(x,addr) put_user_word((x),(short *)(addr)) |
addr | 64 | include/asm-mips/segment.h | static inline void put_user_word(short val,short * addr) |
addr | 66 | include/asm-mips/segment.h | *addr = val; |
addr | 69 | include/asm-mips/segment.h | #define put_fs_long(x,addr) put_user_long((x),(int *)(addr)) |
addr | 70 | include/asm-mips/segment.h | static inline void put_user_long(unsigned long val,int * addr) |
addr | 72 | include/asm-mips/segment.h | *addr = val; |
addr | 75 | include/asm-mips/segment.h | #define put_fs_dlong(x,addr) put_user_dlong((x),(int *)(addr)) |
addr | 76 | include/asm-mips/segment.h | static inline void put_user_dlong(unsigned long val,long long * addr) |
addr | 78 | include/asm-mips/segment.h | *addr = val; |
addr | 199 | include/asm-mips/string.h | extern __inline__ void * memscan(void * addr, int c, size_t size) |
addr | 202 | include/asm-mips/string.h | return addr; |
addr | 213 | include/asm-mips/string.h | : "=r" (addr), "=r" (size) |
addr | 214 | include/asm-mips/string.h | : "0" (addr), "1" (size), "r" (c) |
addr | 217 | include/asm-mips/string.h | return addr; |
addr | 167 | include/asm-mips/system.h | #define set_intr_gate(n,addr) \ |
addr | 168 | include/asm-mips/system.h | IRQ_vectors[n] = (ulong) (addr) |
addr | 170 | include/asm-mips/system.h | #define set_except_vector(n,addr) \ |
addr | 171 | include/asm-mips/system.h | exception_handlers[n] = (ulong) (addr) |
addr | 239 | include/asm-sparc/asi.h | ldb_sun4m_bypass(unsigned int addr) |
addr | 245 | include/asm-sparc/asi.h | "i" (ASI_M_BYPASS), "r" (addr)); |
addr | 251 | include/asm-sparc/asi.h | ldw_sun4m_bypass(unsigned int addr) |
addr | 257 | include/asm-sparc/asi.h | "i" (ASI_M_BYPASS), "r" (addr)); |
addr | 263 | include/asm-sparc/asi.h | stb_sun4m_bypass(unsigned char value, unsigned int addr) |
addr | 266 | include/asm-sparc/asi.h | "r" (value), "i" (ASI_M_BYPASS), "r" (addr) : |
addr | 271 | include/asm-sparc/asi.h | stw_sun4m_bypass(unsigned int value, unsigned int addr) |
addr | 274 | include/asm-sparc/asi.h | "r" (value), "i" (ASI_M_BYPASS), "r" (addr) : |
addr | 48 | include/asm-sparc/bitops.h | unsigned char *addr = (unsigned char *)vaddr; |
addr | 54 | include/asm-sparc/bitops.h | addr += nr >> 3; |
addr | 62 | include/asm-sparc/bitops.h | retval = (mask & *addr) != 0; |
addr | 63 | include/asm-sparc/bitops.h | *addr |= mask; |
addr | 75 | include/asm-sparc/bitops.h | unsigned long *addr = vaddr; |
addr | 81 | include/asm-sparc/bitops.h | addr += nr>>5; |
addr | 89 | include/asm-sparc/bitops.h | retval = (mask & *addr) != 0; |
addr | 90 | include/asm-sparc/bitops.h | *addr |= mask; |
addr | 108 | include/asm-sparc/bitops.h | unsigned char *addr = (unsigned char *)vaddr; |
addr | 114 | include/asm-sparc/bitops.h | addr += nr >> 3; |
addr | 122 | include/asm-sparc/bitops.h | retval = (mask & *addr) != 0; |
addr | 123 | include/asm-sparc/bitops.h | *addr &= ~mask; |
addr | 136 | include/asm-sparc/bitops.h | unsigned long *addr = vaddr; |
addr | 142 | include/asm-sparc/bitops.h | addr += nr>>5; |
addr | 150 | include/asm-sparc/bitops.h | retval = (mask & *addr) != 0; |
addr | 151 | include/asm-sparc/bitops.h | *addr &= ~mask; |
addr | 169 | include/asm-sparc/bitops.h | unsigned char *addr = (unsigned char *)vaddr; |
addr | 175 | include/asm-sparc/bitops.h | addr += nr >> 3; |
addr | 183 | include/asm-sparc/bitops.h | retval = (mask & *addr) != 0; |
addr | 184 | include/asm-sparc/bitops.h | *addr ^= mask; |
addr | 197 | include/asm-sparc/bitops.h | unsigned long *addr = vaddr; |
addr | 203 | include/asm-sparc/bitops.h | addr += nr>>5; |
addr | 211 | include/asm-sparc/bitops.h | retval = (mask & *addr) != 0; |
addr | 212 | include/asm-sparc/bitops.h | *addr ^= mask; |
addr | 231 | include/asm-sparc/bitops.h | unsigned char *addr = (unsigned char *)vaddr; |
addr | 233 | include/asm-sparc/bitops.h | addr += nr >> 3; |
addr | 235 | include/asm-sparc/bitops.h | return ((mask & *addr) != 0); |
addr | 240 | include/asm-sparc/bitops.h | unsigned long *addr = vaddr; |
addr | 242 | include/asm-sparc/bitops.h | addr += (nr>>5); |
addr | 244 | include/asm-sparc/bitops.h | return ((mask & *addr) != 0); |
addr | 284 | include/asm-sparc/bitops.h | find_next_zero_bit(void *addr, unsigned long size, unsigned long offset) |
addr | 291 | include/asm-sparc/bitops.h | unsigned long *p = ((unsigned long *) addr) + (offset >> 6); |
addr | 332 | include/asm-sparc/bitops.h | #define find_first_zero_bit(addr, size) \ |
addr | 333 | include/asm-sparc/bitops.h | find_next_zero_bit((addr), (size), 0) |
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 | 96 | include/asm-sparc/cache.h | extern inline void flush_ei_seg(unsigned int addr) |
addr | 99 | include/asm-sparc/cache.h | "r" (addr), "i" (ASI_M_FLUSH_SEG) : |
addr | 104 | include/asm-sparc/cache.h | extern inline void flush_ei_region(unsigned int addr) |
addr | 107 | include/asm-sparc/cache.h | "r" (addr), "i" (ASI_M_FLUSH_REGION) : |
addr | 112 | include/asm-sparc/cache.h | extern inline void flush_ei_ctx(unsigned int addr) |
addr | 115 | include/asm-sparc/cache.h | "r" (addr), "i" (ASI_M_FLUSH_CTX) : |
addr | 120 | include/asm-sparc/cache.h | extern inline void flush_ei_user(unsigned int addr) |
addr | 123 | include/asm-sparc/cache.h | "r" (addr), "i" (ASI_M_FLUSH_USER) : |
addr | 16 | include/asm-sparc/io.h | extern inline unsigned long inb_local(unsigned long addr) |
addr | 21 | include/asm-sparc/io.h | extern inline void outb_local(unsigned char b, unsigned long addr) |
addr | 26 | include/asm-sparc/io.h | extern inline unsigned long inb(unsigned long addr) |
addr | 31 | include/asm-sparc/io.h | extern inline unsigned long inw(unsigned long addr) |
addr | 36 | include/asm-sparc/io.h | extern inline unsigned long inl(unsigned long addr) |
addr | 41 | include/asm-sparc/io.h | extern inline void outb(unsigned char b, unsigned long addr) |
addr | 46 | include/asm-sparc/io.h | extern inline void outw(unsigned short b, unsigned long addr) |
addr | 51 | include/asm-sparc/io.h | extern inline void outl(unsigned int b, unsigned long addr) |
addr | 59 | include/asm-sparc/io.h | extern inline unsigned long readb(unsigned long addr) |
addr | 64 | include/asm-sparc/io.h | extern inline unsigned long readw(unsigned long addr) |
addr | 69 | include/asm-sparc/io.h | extern inline unsigned long readl(unsigned long addr) |
addr | 74 | include/asm-sparc/io.h | extern inline void writeb(unsigned short b, unsigned long addr) |
addr | 79 | include/asm-sparc/io.h | extern inline void writew(unsigned short b, unsigned long addr) |
addr | 84 | include/asm-sparc/io.h | extern inline void writel(unsigned int b, unsigned long addr) |
addr | 91 | include/asm-sparc/page.h | #define PAGE_ALIGN(addr) (((addr)+PAGE_SIZE-1)&PAGE_MASK) |
addr | 96 | include/asm-sparc/page.h | #define MAP_NR(addr) ((((unsigned long)addr) - PAGE_OFFSET) >> PAGE_SHIFT) |
addr | 247 | include/asm-sparc/page.h | extern __inline__ unsigned long get_segmap(unsigned long addr) |
addr | 253 | include/asm-sparc/page.h | "r" (addr), "i" (ASI_SEGMAP)); |
addr | 258 | include/asm-sparc/page.h | extern __inline__ void put_segmap(unsigned long addr, unsigned long entry) |
addr | 261 | include/asm-sparc/page.h | __asm__ __volatile__("stba %1, [%0] %2" : : "r" (addr), "r" (entry&0xff), |
addr | 267 | include/asm-sparc/page.h | extern __inline__ unsigned long get_pte(unsigned long addr) |
addr | 273 | include/asm-sparc/page.h | "r" (addr), "i" (ASI_PTE)); |
addr | 277 | include/asm-sparc/page.h | extern __inline__ void put_pte(unsigned long addr, unsigned long entry) |
addr | 280 | include/asm-sparc/page.h | "r" (addr), |
addr | 15 | include/asm-sparc/pgtsfmmu.h | #define SFMMU_PMD_ALIGN(addr) (((addr)+SFMMU_PMD_SIZE-1)&SFMMU_PMD_MASK) |
addr | 20 | include/asm-sparc/pgtsfmmu.h | #define SFMMU_PGDIR_ALIGN(addr) (((addr)+SFMMU_PGDIR_SIZE-1)&SFMMU_PGDIR_MASK) |
addr | 25 | include/asm-sparc/pgtsfmmu.h | #define SFMMU_PGDIR_ALIGN(addr) (((addr)+SFMMU_PGDIR_SIZE-1)&SFMMU_PGDIR_MASK) |
addr | 19 | include/asm-sparc/pgtsrmmu.h | #define SRMMU_PMD_ALIGN(addr) (((addr)+SRMMU_PMD_SIZE-1)&SRMMU_PMD_MASK) |
addr | 25 | include/asm-sparc/pgtsrmmu.h | #define SRMMU_PGDIR_ALIGN(addr) (((addr)+SRMMU_PGDIR_SIZE-1)&SRMMU_PGDIR_MASK) |
addr | 20 | include/asm-sparc/pgtsun4c.h | #define SUN4C_PMD_ALIGN(addr) (((addr)+SUN4C_PMD_SIZE-1)&SUN4C_PMD_MASK) |
addr | 26 | include/asm-sparc/pgtsun4c.h | #define SUN4C_PGDIR_ALIGN(addr) (((addr)+SUN4C_PGDIR_SIZE-1)&SUN4C_PGDIR_MASK) |
addr | 32 | include/asm-sparc/pgtsun4c.h | #define SUN4C_REAL_PGDIR_ALIGN(addr) (((addr)+SUN4C_REAL_PGDIR_SIZE-1)&SUN4C_REAL_PGDIR_MASK) |
addr | 53 | include/asm-sparc/ross.h | extern inline void flush_i_page(unsigned int addr) |
addr | 56 | include/asm-sparc/ross.h | "r" (addr), "i" (ASI_M_IFLUSH_PAGE) : |
addr | 61 | include/asm-sparc/ross.h | extern inline void flush_i_seg(unsigned int addr) |
addr | 64 | include/asm-sparc/ross.h | "r" (addr), "i" (ASI_M_IFLUSH_SEG) : |
addr | 69 | include/asm-sparc/ross.h | extern inline void flush_i_region(unsigned int addr) |
addr | 72 | include/asm-sparc/ross.h | "r" (addr), "i" (ASI_M_IFLUSH_REGION) : |
addr | 77 | include/asm-sparc/ross.h | extern inline void flush_i_ctx(unsigned int addr) |
addr | 80 | include/asm-sparc/ross.h | "r" (addr), "i" (ASI_M_IFLUSH_CTX) : |
addr | 85 | include/asm-sparc/ross.h | extern inline void flush_i_user(unsigned int addr) |
addr | 88 | include/asm-sparc/ross.h | "r" (addr), "i" (ASI_M_IFLUSH_USER) : |
addr | 41 | include/asm-sparc/sbus.h | #define STRUCT_ALIGN(addr) ((addr+7)&(~7)) |
addr | 13 | include/asm-sparc/segment.h | static inline unsigned char get_user_byte(const char * addr) |
addr | 15 | include/asm-sparc/segment.h | return *addr; |
addr | 18 | include/asm-sparc/segment.h | #define get_fs_byte(addr) get_user_byte((char *)(addr)) |
addr | 20 | include/asm-sparc/segment.h | static inline unsigned short get_user_word(const short *addr) |
addr | 22 | include/asm-sparc/segment.h | return *addr; |
addr | 25 | include/asm-sparc/segment.h | #define get_fs_word(addr) get_user_word((short *)(addr)) |
addr | 27 | include/asm-sparc/segment.h | static inline unsigned long get_user_long(const int *addr) |
addr | 29 | include/asm-sparc/segment.h | return *addr; |
addr | 32 | include/asm-sparc/segment.h | #define get_fs_long(addr) get_user_long((int *)(addr)) |
addr | 34 | include/asm-sparc/segment.h | static inline unsigned long get_user_quad(const long *addr) |
addr | 36 | include/asm-sparc/segment.h | return *addr; |
addr | 39 | include/asm-sparc/segment.h | #define get_fs_quad(addr) get_user_quad((long *)(addr)) |
addr | 41 | include/asm-sparc/segment.h | static inline void put_user_byte(char val,char *addr) |
addr | 43 | include/asm-sparc/segment.h | *addr = val; |
addr | 46 | include/asm-sparc/segment.h | #define put_fs_byte(x,addr) put_user_byte((x),(char *)(addr)) |
addr | 48 | include/asm-sparc/segment.h | static inline void put_user_word(short val,short * addr) |
addr | 50 | include/asm-sparc/segment.h | *addr = val; |
addr | 53 | include/asm-sparc/segment.h | #define put_fs_word(x,addr) put_user_word((x),(short *)(addr)) |
addr | 55 | include/asm-sparc/segment.h | static inline void put_user_long(unsigned long val,int * addr) |
addr | 57 | include/asm-sparc/segment.h | *addr = val; |
addr | 60 | include/asm-sparc/segment.h | #define put_fs_long(x,addr) put_user_long((x),(int *)(addr)) |
addr | 62 | include/asm-sparc/segment.h | static inline void put_user_quad(unsigned long val,long * addr) |
addr | 64 | include/asm-sparc/segment.h | *addr = val; |
addr | 67 | include/asm-sparc/segment.h | #define put_fs_quad(x,addr) put_user_quad((x),(long *)(addr)) |
addr | 17 | include/asm-sparc/smpprim.h | extern inline volatile char test_and_set(void *addr) |
addr | 22 | include/asm-sparc/smpprim.h | "=r" (addr), "=r" (state) : |
addr | 23 | include/asm-sparc/smpprim.h | "0" (addr), "1" (state) : "memory"); |
addr | 38 | include/asm-sparc/smpprim.h | extern inline volatile smp_lock(void *addr) |
addr | 40 | include/asm-sparc/smpprim.h | while(test_and_set(addr) == 0xff) |
addr | 48 | include/asm-sparc/smpprim.h | extern inline volatile smp_unlock(void *addr) |
addr | 50 | include/asm-sparc/smpprim.h | *((unsigned char *) addr) = 0; |
addr | 59 | include/asm-sparc/vac-ops.h | extern __inline__ void hw_flush_vac_context_entry(char* addr) |
addr | 61 | include/asm-sparc/vac-ops.h | __asm__ __volatile__("sta %%g0, [%0] 0x7" : : "r" (addr)); |
addr | 64 | include/asm-sparc/vac-ops.h | extern __inline__ void sw_flush_vac_context_entry(char* addr) |
addr | 66 | include/asm-sparc/vac-ops.h | __asm__ __volatile__("sta %%g0, [%0] 0xe" : : "r" (addr)); |
addr | 69 | include/asm-sparc/vac-ops.h | extern __inline__ void hw_flush_vac_segment_entry(char* addr) |
addr | 71 | include/asm-sparc/vac-ops.h | __asm__ __volatile__("sta %%g0, [%0] 0x5" : : "r" (addr)); |
addr | 74 | include/asm-sparc/vac-ops.h | extern __inline__ void sw_flush_vac_segment_entry(char* addr) |
addr | 76 | include/asm-sparc/vac-ops.h | __asm__ __volatile__("sta %%g0, [%0] 0xc" : : "r" (addr)); |
addr | 79 | include/asm-sparc/vac-ops.h | extern __inline__ void hw_flush_vac_page_entry(unsigned long* addr) |
addr | 81 | include/asm-sparc/vac-ops.h | __asm__ __volatile__("sta %%g0, [%0] 0x6" : : "r" (addr)); |
addr | 84 | include/asm-sparc/vac-ops.h | extern __inline__ void sw_flush_vac_page_entry(unsigned long* addr) |
addr | 86 | include/asm-sparc/vac-ops.h | __asm__ __volatile__("sta %%g0, [%0] 0xd" : : "r" (addr)); |
addr | 142 | include/linux/atalk.h | extern void aarp_send_probe(struct device *dev, struct at_addr *addr); |
addr | 44 | include/linux/binfmts.h | char * addr, unsigned long count, int to_kmem); |
addr | 331 | include/linux/cdrom.h | } addr; /* frame address */ |
addr | 353 | include/linux/cdrom.h | } addr; /* frame address: start-of-last-session (not the new "frame 16"!)*/ |
addr | 503 | include/linux/fs.h | extern unsigned long bread_page(unsigned long addr,dev_t dev,int b[],int size,int no_share); |
addr | 504 | include/linux/fs.h | extern void bwrite_page(unsigned long addr,dev_t dev,int b[],int size); |
addr | 80 | include/linux/igmp.h | extern int ip_mc_join_group(struct sock *sk, struct device *dev, unsigned long addr); |
addr | 81 | include/linux/igmp.h | extern int ip_mc_leave_group(struct sock *sk, struct device *dev,unsigned long addr); |
addr | 21 | include/linux/mc146818rtc.h | #define CMOS_READ(addr) ({ \ |
addr | 22 | include/linux/mc146818rtc.h | outb_p(RTC_ADDR(addr),RTC_PORT(0)); \ |
addr | 25 | include/linux/mc146818rtc.h | #define CMOS_WRITE(val, addr) ({ \ |
addr | 26 | include/linux/mc146818rtc.h | outb_p(RTC_ADDR(addr),RTC_PORT(0)); \ |
addr | 168 | include/linux/mm.h | #define free_page(addr) free_pages((addr),0) |
addr | 169 | include/linux/mm.h | extern void free_pages(unsigned long addr, unsigned long order); |
addr | 196 | include/linux/mm.h | extern void vfree(void * addr); |
addr | 197 | include/linux/mm.h | extern int vread(char *buf, char *addr, int count); |
addr | 209 | include/linux/mm.h | extern unsigned long do_mmap(struct file * file, unsigned long addr, unsigned long len, |
addr | 266 | include/linux/mm.h | extern inline unsigned long in_swap_cache(unsigned long addr) |
addr | 268 | include/linux/mm.h | return swap_cache[MAP_NR(addr)]; |
addr | 271 | include/linux/mm.h | extern inline long find_in_swap_cache (unsigned long addr) |
addr | 278 | include/linux/mm.h | entry = xchg(swap_cache + MAP_NR(addr), 0); |
addr | 286 | include/linux/mm.h | extern inline int delete_from_swap_cache(unsigned long addr) |
addr | 293 | include/linux/mm.h | entry= xchg(swap_cache + MAP_NR(addr), 0); |
addr | 48 | include/linux/module.h | void *addr; |
addr | 69 | include/linux/module.h | void* addr; /* address of module */ |
addr | 88 | include/linux/module.h | #define GET_USE_COUNT(module) (* (long *) (module)->addr) |
addr | 158 | include/linux/netdevice.h | int (*set_mac_address)(struct device *dev, void *addr); |
addr | 192 | include/linux/netdevice.h | extern int ip_chk_addr(unsigned long addr); |
addr | 195 | include/linux/netdevice.h | extern unsigned long ip_get_mask(unsigned long addr); |
addr | 230 | include/linux/netdevice.h | extern void dev_mc_delete(struct device *dev, void *addr, int alen, int all); |
addr | 231 | include/linux/netdevice.h | extern void dev_mc_add(struct device *dev, void *addr, int alen, int newonly); |
addr | 35 | 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 | 32 | include/net/eth.h | extern void eth_add_arp(unsigned long addr, struct sk_buff *skb, |
addr | 47 | include/net/route.h | extern void ip_rt_add(short flags, unsigned long addr, unsigned long mask, |
addr | 460 | ipc/shm.c | unsigned long addr; |
addr | 473 | ipc/shm.c | if (!(addr = (ulong) shmaddr)) { |
addr | 476 | ipc/shm.c | if (!(addr = get_unmapped_area(0, shp->shm_segsz))) |
addr | 478 | ipc/shm.c | } else if (addr & (SHMLBA-1)) { |
addr | 480 | ipc/shm.c | addr &= ~(SHMLBA-1); /* round down */ |
addr | 488 | ipc/shm.c | if (addr < current->mm->start_stack && |
addr | 489 | ipc/shm.c | addr > current->mm->start_stack - PAGE_SIZE*(shp->shm_npages + 4)) |
addr | 495 | ipc/shm.c | if ((shmd = find_vma_intersection(current, addr, addr + shp->shm_segsz))) { |
addr | 515 | ipc/shm.c | shmd->vm_start = addr; |
addr | 516 | ipc/shm.c | shmd->vm_end = addr + shp->shm_npages * PAGE_SIZE; |
addr | 540 | ipc/shm.c | *raddr = addr; |
addr | 106 | ipc/util.c | asmlinkage int sys_shmat (int shmid, char *shmaddr, int shmflg, ulong *addr) |
addr | 136 | kernel/module.c | void* addr; |
addr | 158 | kernel/module.c | if ((addr = vmalloc(npages * PAGE_SIZE)) == 0) { |
addr | 168 | kernel/module.c | mp->addr = addr; |
addr | 172 | kernel/module.c | * (long *) addr = 0; /* set use count to zero */ |
addr | 176 | kernel/module.c | mp->name, (unsigned long) mp->size, (unsigned long) mp->addr)); |
addr | 177 | kernel/module.c | return (unsigned long) addr; |
addr | 222 | kernel/module.c | memcpy_fromfs((char *)mp->addr + sizeof (long), code, codesize); |
addr | 223 | kernel/module.c | memset((char *)mp->addr + sizeof (long) + codesize, 0, |
addr | 401 | kernel/module.c | isym.value = (unsigned long)from->addr; |
addr | 499 | kernel/module.c | vfree(mp->addr); |
addr | 595 | kernel/module.c | (long)sym->addr, sym->name, mp->name); |
addr | 599 | kernel/module.c | (long)sym->addr, sym->name); |
addr | 268 | lib/string.c | void * memscan(void * addr, int c, size_t size) |
addr | 270 | lib/string.c | unsigned char * p = (unsigned char *) addr; |
addr | 699 | mm/memory.c | int verify_area(int type, const void * addr, unsigned long size) |
addr | 702 | mm/memory.c | unsigned long start = (unsigned long) addr; |
addr | 44 | mm/mmap.c | unsigned long do_mmap(struct file * file, unsigned long addr, unsigned long len, |
addr | 51 | mm/mmap.c | return addr; |
addr | 53 | mm/mmap.c | if (addr > TASK_SIZE || len > TASK_SIZE || addr > TASK_SIZE-len) |
addr | 91 | mm/mmap.c | if (addr & ~PAGE_MASK) |
addr | 93 | mm/mmap.c | if (len > TASK_SIZE || addr > TASK_SIZE - len) |
addr | 96 | mm/mmap.c | addr = get_unmapped_area(addr, len); |
addr | 97 | mm/mmap.c | if (!addr) |
addr | 115 | mm/mmap.c | vma->vm_start = addr; |
addr | 116 | mm/mmap.c | vma->vm_end = addr + len; |
addr | 146 | mm/mmap.c | do_munmap(addr, len); /* Clear old maps */ |
addr | 159 | mm/mmap.c | return addr; |
addr | 167 | mm/mmap.c | unsigned long get_unmapped_area(unsigned long addr, unsigned long len) |
addr | 173 | mm/mmap.c | if (!addr) |
addr | 174 | mm/mmap.c | addr = TASK_SIZE / 3; |
addr | 175 | mm/mmap.c | addr = PAGE_ALIGN(addr); |
addr | 178 | mm/mmap.c | if (TASK_SIZE - len < addr) |
addr | 181 | mm/mmap.c | return addr; |
addr | 182 | mm/mmap.c | if (addr > vmm->vm_end) |
addr | 184 | mm/mmap.c | if (addr + len > vmm->vm_start) { |
addr | 185 | mm/mmap.c | addr = vmm->vm_end; |
addr | 188 | mm/mmap.c | return addr; |
addr | 227 | mm/mmap.c | struct vm_area_struct * find_vma (struct task_struct * task, unsigned long addr) |
addr | 235 | mm/mmap.c | if (vma->vm_end > addr) |
addr | 245 | mm/mmap.c | if (tree->vm_end > addr) { |
addr | 246 | mm/mmap.c | if (tree->vm_start <= addr) |
addr | 636 | mm/mmap.c | unsigned long addr, size_t len) |
addr | 639 | mm/mmap.c | unsigned long end = addr + len; |
addr | 641 | mm/mmap.c | if (addr < area->vm_start || addr >= area->vm_end || |
addr | 643 | mm/mmap.c | end < addr) |
addr | 646 | mm/mmap.c | area->vm_start, area->vm_end, addr, end); |
addr | 651 | mm/mmap.c | if (addr == area->vm_start && end == area->vm_end) { |
addr | 661 | mm/mmap.c | area->vm_end = addr; |
addr | 663 | mm/mmap.c | if (addr == area->vm_start) { |
addr | 681 | mm/mmap.c | area->vm_end = addr; /* Truncate area */ |
addr | 699 | mm/mmap.c | asmlinkage int sys_munmap(unsigned long addr, size_t len) |
addr | 701 | mm/mmap.c | return do_munmap(addr, len); |
addr | 710 | mm/mmap.c | int do_munmap(unsigned long addr, size_t len) |
addr | 714 | mm/mmap.c | if ((addr & ~PAGE_MASK) || addr > TASK_SIZE || len > TASK_SIZE-addr) |
addr | 726 | mm/mmap.c | mpnt = find_vma(current, addr); |
addr | 735 | mm/mmap.c | for ( ; mpnt && mpnt->vm_start < addr+len; mpnt = *npp) { |
addr | 759 | mm/mmap.c | st = addr < mpnt->vm_start ? mpnt->vm_start : addr; |
addr | 760 | mm/mmap.c | end = addr+len; |
addr | 770 | mm/mmap.c | unmap_page_range(addr, len); |
addr | 77 | mm/swap.c | static int add_to_swap_cache(unsigned long addr, unsigned long entry) |
addr | 85 | mm/swap.c | entry = xchg(swap_cache + MAP_NR(addr), entry); |
addr | 673 | mm/swap.c | static inline void free_pages_ok(unsigned long addr, unsigned long order) |
addr | 675 | mm/swap.c | unsigned long index = MAP_NR(addr) >> (1 + order); |
addr | 678 | mm/swap.c | addr &= mask; |
addr | 683 | mm/swap.c | remove_mem_queue(free_area_list+order, (struct mem_list *) (addr ^ (1+~mask))); |
addr | 687 | mm/swap.c | addr &= mask; |
addr | 689 | mm/swap.c | add_mem_queue(free_area_list+order, (struct mem_list *) addr); |
addr | 692 | mm/swap.c | static inline void check_free_buffers(unsigned long addr) |
addr | 696 | mm/swap.c | bh = buffer_pages[MAP_NR(addr)]; |
addr | 707 | mm/swap.c | void free_pages(unsigned long addr, unsigned long order) |
addr | 709 | mm/swap.c | if (addr < high_memory) { |
addr | 711 | mm/swap.c | mem_map_t * map = mem_map + MAP_NR(addr); |
addr | 717 | mm/swap.c | free_pages_ok(addr, order); |
addr | 718 | mm/swap.c | delete_from_swap_cache(addr); |
addr | 722 | mm/swap.c | check_free_buffers(addr); |
addr | 726 | mm/swap.c | printk("Trying to free free memory (%08lx): memory probably corrupted\n",addr); |
addr | 754 | mm/swap.c | static inline int mark_used(unsigned long addr, unsigned long order) |
addr | 756 | mm/swap.c | return change_bit(MAP_NR(addr) >> (1+order), free_area_map[order]); |
addr | 759 | mm/swap.c | #define EXPAND(addr,low,high) \ |
addr | 763 | mm/swap.c | add_mem_queue(free_area_list+high, addr); \ |
addr | 764 | mm/swap.c | mark_used((unsigned long) addr, high); \ |
addr | 766 | mm/swap.c | addr = (struct mem_list *) (size + (unsigned long) addr); \ |
addr | 767 | mm/swap.c | } mem_map[MAP_NR((unsigned long) addr)] = 1; \ |
addr | 23 | mm/vmalloc.c | void * addr; |
addr | 233 | mm/vmalloc.c | void *addr; |
addr | 239 | mm/vmalloc.c | addr = (void *) VMALLOC_START; |
addr | 243 | mm/vmalloc.c | if (size + (unsigned long) addr < (unsigned long) tmp->addr) |
addr | 245 | mm/vmalloc.c | addr = (void *) (tmp->size + (unsigned long) tmp->addr); |
addr | 247 | mm/vmalloc.c | area->addr = addr; |
addr | 253 | mm/vmalloc.c | void vfree(void * addr) |
addr | 257 | mm/vmalloc.c | if (!addr) |
addr | 259 | mm/vmalloc.c | if ((PAGE_SIZE-1) & (unsigned long) addr) { |
addr | 260 | mm/vmalloc.c | printk("Trying to vfree() bad address (%p)\n", addr); |
addr | 264 | mm/vmalloc.c | if (tmp->addr == addr) { |
addr | 266 | mm/vmalloc.c | free_area_pages(VMALLOC_VMADDR(tmp->addr), tmp->size); |
addr | 271 | mm/vmalloc.c | printk("Trying to vfree() nonexistent vm area (%p)\n", addr); |
addr | 276 | mm/vmalloc.c | void * addr; |
addr | 285 | mm/vmalloc.c | addr = area->addr; |
addr | 286 | mm/vmalloc.c | if (alloc_area_pages(VMALLOC_VMADDR(addr), size)) { |
addr | 287 | mm/vmalloc.c | vfree(addr); |
addr | 290 | mm/vmalloc.c | return addr; |
addr | 300 | mm/vmalloc.c | void * addr; |
addr | 313 | mm/vmalloc.c | addr = area->addr; |
addr | 314 | mm/vmalloc.c | if (remap_area_pages(VMALLOC_VMADDR(addr), offset, size)) { |
addr | 315 | mm/vmalloc.c | vfree(addr); |
addr | 318 | mm/vmalloc.c | return addr; |
addr | 321 | mm/vmalloc.c | int vread(char *buf, char *addr, int count) |
addr | 328 | mm/vmalloc.c | vaddr = (char *) tmp->addr; |
addr | 329 | mm/vmalloc.c | while (addr < vaddr) { |
addr | 332 | mm/vmalloc.c | put_user('\0', buf++), addr++, count--; |
addr | 335 | mm/vmalloc.c | if (addr > vaddr) |
addr | 336 | mm/vmalloc.c | n -= addr - vaddr; |
addr | 340 | 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 | 594 | net/appletalk/ddp.c | static int atrtr_delete( struct at_addr *addr ) |
addr | 600 | net/appletalk/ddp.c | if (tmp->target.s_net == addr->s_net && |
addr | 602 | net/appletalk/ddp.c | tmp->target.s_node == addr->s_node )) { |
addr | 1176 | net/appletalk/ddp.c | struct sockaddr_at *addr=(struct sockaddr_at *)uaddr; |
addr | 1186 | net/appletalk/ddp.c | if(addr->sat_family!=AF_APPLETALK) |
addr | 1189 | net/appletalk/ddp.c | if(addr->sat_addr.s_net==htons(ATADDR_ANYNET)) |
addr | 1194 | net/appletalk/ddp.c | sk->at.src_net=addr->sat_addr.s_net=ap->s_net; |
addr | 1195 | net/appletalk/ddp.c | sk->at.src_node=addr->sat_addr.s_node=ap->s_node; |
addr | 1199 | net/appletalk/ddp.c | if ( atalk_find_interface( addr->sat_addr.s_net, |
addr | 1200 | net/appletalk/ddp.c | addr->sat_addr.s_node ) == NULL ) |
addr | 1202 | net/appletalk/ddp.c | sk->at.src_net=addr->sat_addr.s_net; |
addr | 1203 | net/appletalk/ddp.c | sk->at.src_node=addr->sat_addr.s_node; |
addr | 1206 | net/appletalk/ddp.c | if(addr->sat_port == ATADDR_ANYPORT) |
addr | 1208 | net/appletalk/ddp.c | int n = atalk_pick_port(addr); |
addr | 1211 | net/appletalk/ddp.c | sk->at.src_port=addr->sat_port=n; |
addr | 1214 | net/appletalk/ddp.c | sk->at.src_port=addr->sat_port; |
addr | 1216 | net/appletalk/ddp.c | if(atalk_find_socket(addr)!=NULL) |
addr | 1232 | net/appletalk/ddp.c | struct sockaddr_at *addr; |
addr | 1237 | net/appletalk/ddp.c | if(addr_len!=sizeof(*addr)) |
addr | 1239 | net/appletalk/ddp.c | addr=(struct sockaddr_at *)uaddr; |
addr | 1241 | net/appletalk/ddp.c | if(addr->sat_family!=AF_APPLETALK) |
addr | 1244 | net/appletalk/ddp.c | if(addr->sat_addr.s_node==ATADDR_BCAST && !sk->broadcast) |
addr | 1253 | net/appletalk/ddp.c | if(atrtr_get_dev(&addr->sat_addr)==NULL) |
addr | 1256 | net/appletalk/ddp.c | sk->at.dest_port=addr->sat_port; |
addr | 1257 | net/appletalk/ddp.c | sk->at.dest_net=addr->sat_addr.s_net; |
addr | 1258 | net/appletalk/ddp.c | sk->at.dest_node=addr->sat_addr.s_node; |
addr | 247 | net/ax25/af_ax25.c | static struct sock *ax25_find_listener(ax25_address *addr, struct device *dev, int type) |
addr | 256 | 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 | 321 | net/ax25/af_ax25.c | static struct sock *ax25_addr_match(ax25_address *addr) |
addr | 330 | net/ax25/af_ax25.c | if (s->sk != NULL && ax25cmp(&s->source_addr, addr) == 0 && s->sk->type == SOCK_RAW) { |
addr | 594 | net/ax25/af_ax25.c | struct device *ax25rtr_get_dev(ax25_address *addr) |
addr | 603 | net/ax25/af_ax25.c | if (ax25cmp(addr, (ax25_address *)dev->dev_addr) == 0) |
addr | 608 | net/ax25/af_ax25.c | if (ax25cmp(addr, &dev_addr) == 0) |
addr | 1008 | net/ax25/af_ax25.c | struct full_sockaddr_ax25 *addr = (struct full_sockaddr_ax25 *)uaddr; |
addr | 1021 | net/ax25/af_ax25.c | if (ax25_find_socket(&addr->fsa_ax25.sax25_call, sk->type) != NULL) { |
addr | 1033 | net/ax25/af_ax25.c | memcpy(&sk->ax25->source_addr, &addr->fsa_ax25.sax25_call, sizeof(ax25_address)); |
addr | 1037 | net/ax25/af_ax25.c | if (addr_len == sizeof(struct full_sockaddr_ax25) && addr->fsa_ax25.sax25_ndigis == 1) { |
addr | 1040 | net/ax25/af_ax25.c | call = &addr->fsa_digipeater[0]; |
addr | 1042 | net/ax25/af_ax25.c | call = &addr->fsa_ax25.sax25_call; |
addr | 1066 | net/ax25/af_ax25.c | struct sockaddr_ax25 *addr = (struct sockaddr_ax25 *)uaddr; |
addr | 1085 | net/ax25/af_ax25.c | if (addr_len > sizeof(*addr)) { |
addr | 1087 | net/ax25/af_ax25.c | int ndigi = addr_len - sizeof(*addr); |
addr | 1088 | net/ax25/af_ax25.c | ax25_address *ap = (ax25_address *)(((char *)addr) + sizeof(*addr)); |
addr | 1121 | net/ax25/af_ax25.c | if ((err = ax25_rt_autobind(sk->ax25, &addr->sax25_call)) < 0) |
addr | 1126 | 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 | 1129 | net/ax25/af_ax25.c | memcpy(&sk->ax25->dest_addr, &addr->sax25_call, sizeof(ax25_address)); |
addr | 1230 | net/ax25/af_ax25.c | ax25_address *addr; |
addr | 1240 | net/ax25/af_ax25.c | addr = &sk->ax25->dest_addr; |
addr | 1242 | net/ax25/af_ax25.c | addr = &sk->ax25->source_addr; |
addr | 1246 | net/ax25/af_ax25.c | memcpy(&sax->fsa_ax25.sax25_call, addr, sizeof(ax25_address)); |
addr | 1730 | net/ax25/af_ax25.c | struct sockaddr_ax25 addr; |
addr | 1737 | net/ax25/af_ax25.c | addr.sax25_family = AF_AX25; |
addr | 1738 | net/ax25/af_ax25.c | memcpy(&addr.sax25_call, &dest, sizeof(ax25_address)); |
addr | 1739 | net/ax25/af_ax25.c | memcpy(sax,&addr, sizeof(*sax)); |
addr | 230 | net/ax25/ax25_route.c | int ax25_rt_autobind(ax25_cb *ax25, ax25_address *addr) |
addr | 236 | net/ax25/ax25_route.c | if (ax25cmp(&ax25_rt->callsign, addr) == 0) { |
addr | 948 | net/core/dev.c | static inline int bad_mask(unsigned long mask, unsigned long addr) |
addr | 950 | net/core/dev.c | if (addr & (mask = ~mask)) |
addr | 108 | net/core/dev_mcast.c | void dev_mc_delete(struct device *dev, void *addr, int alen, int all) |
addr | 113 | net/core/dev_mcast.c | if(memcmp((*dmi)->dmi_addr,addr,(*dmi)->dmi_addrlen)==0 && alen==(*dmi)->dmi_addrlen) |
addr | 131 | net/core/dev_mcast.c | void dev_mc_add(struct device *dev, void *addr, int alen, int newonly) |
addr | 136 | net/core/dev_mcast.c | if(memcmp(dmi->dmi_addr,addr,dmi->dmi_addrlen)==0 && dmi->dmi_addrlen==alen) |
addr | 146 | net/core/dev_mcast.c | memcpy(dmi->dmi_addr, addr, alen); |
addr | 853 | net/ipv4/af_inet.c | struct sockaddr_in *addr=(struct sockaddr_in *)uaddr; |
addr | 869 | net/ipv4/af_inet.c | snum = ntohs(addr->sin_port); |
addr | 885 | net/ipv4/af_inet.c | chk_addr_ret = ip_chk_addr(addr->sin_addr.s_addr); |
addr | 886 | net/ipv4/af_inet.c | if (addr->sin_addr.s_addr != 0 && chk_addr_ret != IS_MYADDR && chk_addr_ret != IS_MULTICAST) |
addr | 889 | net/ipv4/af_inet.c | if (chk_addr_ret || addr->sin_addr.s_addr == 0) |
addr | 890 | net/ipv4/af_inet.c | sk->saddr = addr->sin_addr.s_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 | 144 | net/ipv4/igmp.c | extern __inline__ void ip_mc_map(unsigned long addr, char *buf) |
addr | 146 | net/ipv4/igmp.c | addr=ntohl(addr); |
addr | 150 | net/ipv4/igmp.c | buf[5]=addr&0xFF; |
addr | 151 | net/ipv4/igmp.c | addr>>=8; |
addr | 152 | net/ipv4/igmp.c | buf[4]=addr&0xFF; |
addr | 153 | net/ipv4/igmp.c | addr>>=8; |
addr | 154 | net/ipv4/igmp.c | buf[3]=addr&0x7F; |
addr | 161 | net/ipv4/igmp.c | void ip_mc_filter_add(struct device *dev, unsigned long addr) |
addr | 166 | net/ipv4/igmp.c | ip_mc_map(addr,buf); |
addr | 174 | net/ipv4/igmp.c | void ip_mc_filter_del(struct device *dev, unsigned long addr) |
addr | 179 | net/ipv4/igmp.c | ip_mc_map(addr,buf); |
addr | 231 | net/ipv4/igmp.c | static void ip_mc_inc_group(struct device *dev, unsigned long addr) |
addr | 236 | net/ipv4/igmp.c | if(i->multiaddr==addr) |
addr | 247 | net/ipv4/igmp.c | i->multiaddr=addr; |
addr | 257 | net/ipv4/igmp.c | static void ip_mc_dec_group(struct device *dev, unsigned long addr) |
addr | 262 | net/ipv4/igmp.c | if((*i)->multiaddr==addr) |
addr | 319 | net/ipv4/igmp.c | int ip_mc_join_group(struct sock *sk , struct device *dev, unsigned long addr) |
addr | 323 | net/ipv4/igmp.c | if(!MULTICAST(addr)) |
addr | 335 | net/ipv4/igmp.c | if(sk->ip_mc_list->multiaddr[i]==addr && sk->ip_mc_list->multidev[i]==dev) |
addr | 343 | net/ipv4/igmp.c | sk->ip_mc_list->multiaddr[unused]=addr; |
addr | 345 | net/ipv4/igmp.c | ip_mc_inc_group(dev,addr); |
addr | 353 | net/ipv4/igmp.c | int ip_mc_leave_group(struct sock *sk, struct device *dev, unsigned long addr) |
addr | 356 | net/ipv4/igmp.c | if(!MULTICAST(addr)) |
addr | 365 | net/ipv4/igmp.c | if(sk->ip_mc_list->multiaddr[i]==addr && sk->ip_mc_list->multidev[i]==dev) |
addr | 368 | net/ipv4/igmp.c | ip_mc_dec_group(dev,addr); |
addr | 2007 | net/ipv4/ip.c | static struct device *ip_mc_find_devfor(unsigned long addr) |
addr | 2013 | net/ipv4/ip.c | (dev->pa_addr==addr)) |
addr | 2073 | net/ipv4/ip.c | struct in_addr addr; |
addr | 2080 | net/ipv4/ip.c | err=verify_area(VERIFY_READ, optval, sizeof(addr)); |
addr | 2084 | net/ipv4/ip.c | memcpy_fromfs(&addr,optval,sizeof(addr)); |
addr | 2091 | net/ipv4/ip.c | if(addr.s_addr==INADDR_ANY) /* Default */ |
addr | 2101 | net/ipv4/ip.c | dev=ip_mc_find_devfor(addr.s_addr); |
addr | 364 | net/ipv4/route.c | static inline int bad_mask(unsigned long mask, unsigned long addr) |
addr | 366 | net/ipv4/route.c | if (addr & (mask = ~mask)) |
addr | 1782 | net/ipv4/tcp.c | struct sockaddr_in *addr, int addr_len) |
addr | 1788 | net/ipv4/tcp.c | if (addr_len < sizeof(*addr)) |
addr | 1790 | net/ipv4/tcp.c | if (addr->sin_family && addr->sin_family != AF_INET) |
addr | 1792 | net/ipv4/tcp.c | if (addr->sin_port != sk->dummy_th.dest) |
addr | 1794 | net/ipv4/tcp.c | if (addr->sin_addr.s_addr != sk->daddr) |
addr | 2476 | net/ipv4/tcp.c | struct sockaddr_in *addr, int *addr_len) |
addr | 2487 | net/ipv4/tcp.c | *addr_len = sizeof(*addr); |
addr | 2493 | net/ipv4/tcp.c | if(addr) |
addr | 2495 | net/ipv4/tcp.c | addr->sin_family = AF_INET; |
addr | 2496 | net/ipv4/tcp.c | addr->sin_port = sk->dummy_th.dest; |
addr | 2497 | net/ipv4/tcp.c | addr->sin_addr.s_addr = sk->daddr; |
addr | 1462 | net/ipx/af_ipx.c | struct sockaddr_ipx *addr=(struct sockaddr_ipx *)uaddr; |
addr | 1472 | net/ipx/af_ipx.c | intrfc = ipxitf_find_using_net(addr->sipx_network); |
addr | 1476 | net/ipx/af_ipx.c | if (addr->sipx_port == 0) { |
addr | 1477 | net/ipx/af_ipx.c | addr->sipx_port = ipx_first_free_socketnum(intrfc); |
addr | 1478 | net/ipx/af_ipx.c | if (addr->sipx_port == 0) |
addr | 1482 | net/ipx/af_ipx.c | if(ntohs(addr->sipx_port)<IPX_MIN_EPHEMERAL_SOCKET && !suser()) |
addr | 1488 | net/ipx/af_ipx.c | if(ipxitf_find_socket(intrfc, addr->sipx_port)!=NULL) { |
addr | 1491 | net/ipx/af_ipx.c | (int)addr->sipx_port); |
addr | 1495 | net/ipx/af_ipx.c | sk->ipx_port=addr->sipx_port; |
addr | 1507 | net/ipx/af_ipx.c | struct sockaddr_ipx *addr; |
addr | 1512 | net/ipx/af_ipx.c | if(addr_len!=sizeof(*addr)) |
addr | 1514 | net/ipx/af_ipx.c | addr=(struct sockaddr_ipx *)uaddr; |
addr | 1528 | net/ipx/af_ipx.c | if(ipxrtr_lookup(addr->sipx_network)==NULL) |
addr | 1530 | net/ipx/af_ipx.c | sk->ipx_dest_addr.net=addr->sipx_network; |
addr | 1531 | net/ipx/af_ipx.c | sk->ipx_dest_addr.sock=addr->sipx_port; |
addr | 1532 | net/ipx/af_ipx.c | memcpy(sk->ipx_dest_addr.node,addr->sipx_node,IPX_NODE_LEN); |
addr | 1533 | net/ipx/af_ipx.c | sk->ipx_type=addr->sipx_type; |
addr | 1554 | net/ipx/af_ipx.c | ipx_address *addr; |
addr | 1565 | net/ipx/af_ipx.c | addr=&sk->ipx_dest_addr; |
addr | 1566 | net/ipx/af_ipx.c | sipx.sipx_network = addr->net; |
addr | 1567 | net/ipx/af_ipx.c | memcpy(sipx.sipx_node,addr->node,IPX_NODE_LEN); |
addr | 1568 | net/ipx/af_ipx.c | sipx.sipx_port = addr->sock; |
addr | 131 | net/netrom/af_netrom.c | static struct sock *nr_find_listener(ax25_address *addr, int type) |
addr | 140 | net/netrom/af_netrom.c | if (ax25cmp(&s->nr->source_addr, addr) == 0 && s->type == type && s->state == TCP_LISTEN) { |
addr | 637 | net/netrom/af_netrom.c | struct full_sockaddr_ax25 *addr = (struct full_sockaddr_ax25 *)uaddr; |
addr | 649 | net/netrom/af_netrom.c | if (nr_find_listener(&addr->fsa_ax25.sax25_call, sk->type) != NULL) { |
addr | 656 | net/netrom/af_netrom.c | if (nr_dev_get(&addr->fsa_ax25.sax25_call) == NULL) { |
addr | 665 | net/netrom/af_netrom.c | if (addr->fsa_ax25.sax25_ndigis == 1) { |
addr | 668 | net/netrom/af_netrom.c | memcpy(&sk->nr->user_addr, &addr->fsa_digipeater[0], sizeof(ax25_address)); |
addr | 669 | net/netrom/af_netrom.c | memcpy(&sk->nr->source_addr, &addr->fsa_ax25.sax25_call, sizeof(ax25_address)); |
addr | 671 | net/netrom/af_netrom.c | source = &addr->fsa_ax25.sax25_call; |
addr | 697 | net/netrom/af_netrom.c | struct sockaddr_ax25 *addr = (struct sockaddr_ax25 *)uaddr; |
addr | 740 | net/netrom/af_netrom.c | memcpy(&sk->nr->dest_addr, &addr->sax25_call, sizeof(ax25_address)); |
addr | 1124 | net/netrom/af_netrom.c | struct sockaddr_ax25 addr; |
addr | 1126 | net/netrom/af_netrom.c | addr.sax25_family = AF_NETROM; |
addr | 1127 | net/netrom/af_netrom.c | memcpy(&addr.sax25_call, skb->data + 7, sizeof(ax25_address)); |
addr | 1129 | net/netrom/af_netrom.c | memcpy(sax, &addr, sizeof(*sax)); |
addr | 140 | net/netrom/nr_dev.c | static int nr_set_mac_address(struct device *dev, void *addr) |
addr | 142 | net/netrom/nr_dev.c | memcpy(dev->dev_addr, addr, dev->addr_len); |
addr | 548 | net/netrom/nr_route.c | struct device *nr_dev_get(ax25_address *addr) |
addr | 553 | net/netrom/nr_route.c | if ((dev->flags & IFF_UP) && dev->type == ARPHRD_NETROM && ax25cmp(addr, (ax25_address *)dev->dev_addr) == 0) |
addr | 941 | net/socket.c | struct sockaddr *addr, int addr_len) |
addr | 959 | net/socket.c | if((err=move_addr_to_kernel(addr,addr_len,address))<0) |
addr | 1005 | net/socket.c | struct sockaddr *addr, int *addr_len) |
addr | 1030 | net/socket.c | if(addr!=NULL && (err=move_addr_to_user(address,alen, addr, addr_len))<0) |
addr | 86 | net/unix/sock.c | struct sockaddr *addr, int addr_len); |
addr | 89 | net/unix/sock.c | struct sockaddr *addr, int *addr_len); |
addr | 164 | net/unix/sock.c | unsigned flags, struct sockaddr *addr, int addr_len) |
addr | 170 | net/unix/sock.c | unsigned flags, struct sockaddr *addr, int *addr_len) |