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 | 50 | arch/alpha/kernel/lca.c | unsigned long addr; |
addr | 63 | arch/alpha/kernel/lca.c | addr = (1 << (11 + device)) | (func << 8) | where; |
addr | 67 | arch/alpha/kernel/lca.c | addr = (bus << 16) | (device_fn << 8) | where; |
addr | 69 | arch/alpha/kernel/lca.c | *pci_addr = addr; |
addr | 76 | arch/alpha/kernel/lca.c | conf_read(unsigned long addr) |
addr | 90 | arch/alpha/kernel/lca.c | value = *((volatile unsigned int*)addr); |
addr | 115 | arch/alpha/kernel/lca.c | conf_write(unsigned long addr, unsigned int value) |
addr | 182 | arch/alpha/kernel/lca.c | unsigned long addr = LCA_CONF; |
addr | 191 | arch/alpha/kernel/lca.c | addr |= (pci_addr << 5) + 0x00; |
addr | 193 | arch/alpha/kernel/lca.c | *value = conf_read(addr) >> ((where & 3) * 8); |
addr | 203 | arch/alpha/kernel/lca.c | unsigned long addr = LCA_CONF; |
addr | 216 | arch/alpha/kernel/lca.c | addr |= (pci_addr << 5) + 0x08; |
addr | 218 | arch/alpha/kernel/lca.c | *value = conf_read(addr) >> ((where & 3) * 8); |
addr | 227 | arch/alpha/kernel/lca.c | unsigned long addr = LCA_CONF; |
addr | 240 | arch/alpha/kernel/lca.c | addr |= (pci_addr << 5) + 0x18; |
addr | 242 | arch/alpha/kernel/lca.c | *value = conf_read(addr); |
addr | 81 | arch/i386/ibcs/binfmt_coff.c | int clear_memory (unsigned long addr, unsigned long size) |
addr | 85 | arch/i386/ibcs/binfmt_coff.c | size = (PAGE_SIZE - (addr & ~PAGE_MASK)) & ~PAGE_MASK; |
addr | 95 | arch/i386/ibcs/binfmt_coff.c | (void *) addr, size); |
addr | 102 | arch/i386/ibcs/binfmt_coff.c | put_fs_byte (0, addr++); |
addr | 87 | arch/i386/kernel/ptrace.c | static unsigned long get_long(struct vm_area_struct * vma, unsigned long addr) |
addr | 95 | arch/i386/kernel/ptrace.c | pgdir = pgd_offset(vma->vm_task, addr); |
addr | 97 | arch/i386/kernel/ptrace.c | do_no_page(vma, addr, 0); |
addr | 105 | arch/i386/kernel/ptrace.c | pgmiddle = pmd_offset(pgdir, addr); |
addr | 107 | arch/i386/kernel/ptrace.c | do_no_page(vma, addr, 0); |
addr | 115 | arch/i386/kernel/ptrace.c | pgtable = pte_offset(pgmiddle, addr); |
addr | 117 | arch/i386/kernel/ptrace.c | do_no_page(vma, addr, 0); |
addr | 124 | arch/i386/kernel/ptrace.c | page += addr & ~PAGE_MASK; |
addr | 137 | arch/i386/kernel/ptrace.c | static void put_long(struct vm_area_struct * vma, unsigned long addr, |
addr | 146 | arch/i386/kernel/ptrace.c | pgdir = pgd_offset(vma->vm_task, addr); |
addr | 148 | arch/i386/kernel/ptrace.c | do_no_page(vma, addr, 1); |
addr | 156 | arch/i386/kernel/ptrace.c | pgmiddle = pmd_offset(pgdir, addr); |
addr | 158 | arch/i386/kernel/ptrace.c | do_no_page(vma, addr, 1); |
addr | 166 | arch/i386/kernel/ptrace.c | pgtable = pte_offset(pgmiddle, addr); |
addr | 168 | arch/i386/kernel/ptrace.c | do_no_page(vma, addr, 1); |
addr | 173 | arch/i386/kernel/ptrace.c | do_wp_page(vma, addr, 1); |
addr | 178 | arch/i386/kernel/ptrace.c | page += addr & ~PAGE_MASK; |
addr | 187 | arch/i386/kernel/ptrace.c | static struct vm_area_struct * find_extend_vma(struct task_struct * tsk, unsigned long addr) |
addr | 191 | arch/i386/kernel/ptrace.c | addr &= PAGE_MASK; |
addr | 192 | arch/i386/kernel/ptrace.c | vma = find_vma(tsk,addr); |
addr | 195 | arch/i386/kernel/ptrace.c | if (vma->vm_start <= addr) |
addr | 199 | arch/i386/kernel/ptrace.c | if (vma->vm_end - addr > tsk->rlim[RLIMIT_STACK].rlim_cur) |
addr | 201 | arch/i386/kernel/ptrace.c | vma->vm_offset -= vma->vm_start - addr; |
addr | 202 | arch/i386/kernel/ptrace.c | vma->vm_start = addr; |
addr | 210 | arch/i386/kernel/ptrace.c | static int read_long(struct task_struct * tsk, unsigned long addr, |
addr | 213 | arch/i386/kernel/ptrace.c | struct vm_area_struct * vma = find_extend_vma(tsk, addr); |
addr | 217 | arch/i386/kernel/ptrace.c | if ((addr & ~PAGE_MASK) > PAGE_SIZE-sizeof(long)) { |
addr | 221 | arch/i386/kernel/ptrace.c | if (addr + sizeof(long) >= vma->vm_end) { |
addr | 226 | arch/i386/kernel/ptrace.c | low = get_long(vma, addr & ~(sizeof(long)-1)); |
addr | 227 | arch/i386/kernel/ptrace.c | high = get_long(vma_high, (addr+sizeof(long)) & ~(sizeof(long)-1)); |
addr | 228 | arch/i386/kernel/ptrace.c | switch (addr & (sizeof(long)-1)) { |
addr | 244 | arch/i386/kernel/ptrace.c | *result = get_long(vma, addr); |
addr | 252 | arch/i386/kernel/ptrace.c | static int write_long(struct task_struct * tsk, unsigned long addr, |
addr | 255 | arch/i386/kernel/ptrace.c | struct vm_area_struct * vma = find_extend_vma(tsk, addr); |
addr | 259 | arch/i386/kernel/ptrace.c | if ((addr & ~PAGE_MASK) > PAGE_SIZE-sizeof(long)) { |
addr | 263 | arch/i386/kernel/ptrace.c | if (addr + sizeof(long) >= vma->vm_end) { |
addr | 268 | arch/i386/kernel/ptrace.c | low = get_long(vma, addr & ~(sizeof(long)-1)); |
addr | 269 | arch/i386/kernel/ptrace.c | high = get_long(vma_high, (addr+sizeof(long)) & ~(sizeof(long)-1)); |
addr | 270 | arch/i386/kernel/ptrace.c | switch (addr & (sizeof(long)-1)) { |
addr | 293 | arch/i386/kernel/ptrace.c | put_long(vma, addr & ~(sizeof(long)-1),low); |
addr | 294 | arch/i386/kernel/ptrace.c | put_long(vma_high, (addr+sizeof(long)) & ~(sizeof(long)-1),high); |
addr | 296 | arch/i386/kernel/ptrace.c | put_long(vma, addr, data); |
addr | 300 | arch/i386/kernel/ptrace.c | asmlinkage int sys_ptrace(long request, long pid, long addr, long data) |
addr | 357 | arch/i386/kernel/ptrace.c | res = read_long(child, addr, &tmp); |
addr | 371 | arch/i386/kernel/ptrace.c | if ((addr & 3) || addr < 0 || |
addr | 372 | arch/i386/kernel/ptrace.c | addr > sizeof(struct user) - 3) |
addr | 379 | arch/i386/kernel/ptrace.c | if(addr < 17*sizeof(long)) { |
addr | 380 | arch/i386/kernel/ptrace.c | addr = addr >> 2; /* temporary hack. */ |
addr | 382 | arch/i386/kernel/ptrace.c | tmp = get_stack_long(child, sizeof(long)*addr - MAGICNUMBER); |
addr | 383 | arch/i386/kernel/ptrace.c | if (addr == DS || addr == ES || |
addr | 384 | arch/i386/kernel/ptrace.c | addr == FS || addr == GS || |
addr | 385 | arch/i386/kernel/ptrace.c | addr == CS || addr == SS) |
addr | 388 | arch/i386/kernel/ptrace.c | if(addr >= (long) &dummy->u_debugreg[0] && |
addr | 389 | arch/i386/kernel/ptrace.c | addr <= (long) &dummy->u_debugreg[7]){ |
addr | 390 | arch/i386/kernel/ptrace.c | addr -= (long) &dummy->u_debugreg[0]; |
addr | 391 | arch/i386/kernel/ptrace.c | addr = addr >> 2; |
addr | 392 | arch/i386/kernel/ptrace.c | tmp = child->debugreg[addr]; |
addr | 401 | arch/i386/kernel/ptrace.c | return write_long(child,addr,data); |
addr | 404 | arch/i386/kernel/ptrace.c | if ((addr & 3) || addr < 0 || |
addr | 405 | arch/i386/kernel/ptrace.c | addr > sizeof(struct user) - 3) |
addr | 408 | arch/i386/kernel/ptrace.c | addr = addr >> 2; /* temporary hack. */ |
addr | 410 | arch/i386/kernel/ptrace.c | if (addr == ORIG_EAX) |
addr | 412 | arch/i386/kernel/ptrace.c | if (addr == DS || addr == ES || |
addr | 413 | arch/i386/kernel/ptrace.c | addr == FS || addr == GS || |
addr | 414 | arch/i386/kernel/ptrace.c | addr == CS || addr == SS) { |
addr | 419 | arch/i386/kernel/ptrace.c | if (addr == EFL) { /* flags. */ |
addr | 425 | arch/i386/kernel/ptrace.c | if(addr < 17){ |
addr | 426 | arch/i386/kernel/ptrace.c | if (put_stack_long(child, sizeof(long)*addr-MAGICNUMBER, data)) |
addr | 436 | arch/i386/kernel/ptrace.c | addr = addr << 2; /* Convert back again */ |
addr | 437 | arch/i386/kernel/ptrace.c | if(addr >= (long) &dummy->u_debugreg[0] && |
addr | 438 | arch/i386/kernel/ptrace.c | addr <= (long) &dummy->u_debugreg[7]){ |
addr | 440 | arch/i386/kernel/ptrace.c | if(addr == (long) &dummy->u_debugreg[4]) return -EIO; |
addr | 441 | arch/i386/kernel/ptrace.c | if(addr == (long) &dummy->u_debugreg[5]) return -EIO; |
addr | 442 | arch/i386/kernel/ptrace.c | if(addr < (long) &dummy->u_debugreg[4] && |
addr | 445 | arch/i386/kernel/ptrace.c | if(addr == (long) &dummy->u_debugreg[7]) { |
addr | 452 | arch/i386/kernel/ptrace.c | addr -= (long) &dummy->u_debugreg; |
addr | 453 | arch/i386/kernel/ptrace.c | addr = addr >> 2; |
addr | 454 | 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 | 284 | arch/sparc/mm/init.c | unsigned long tmp, limit, tmp2, addr; |
addr | 317 | arch/sparc/mm/init.c | for (addr = 0; addr < high_memory; addr += PAGE_SIZE) { |
addr | 318 | arch/sparc/mm/init.c | if(mem_map[MAP_NR(addr)]) { |
addr | 319 | arch/sparc/mm/init.c | if (addr < (unsigned long) &etext) |
addr | 321 | arch/sparc/mm/init.c | else if(addr < start_mem) |
addr | 327 | arch/sparc/mm/init.c | mem_map[MAP_NR(addr)] = 1; |
addr | 328 | arch/sparc/mm/init.c | free_page(addr); |
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 | 2037 | drivers/block/cdu31a.c | if (start_request(ra->addr.lba, ra->nframes, 1)) |
addr | 2053 | drivers/block/cdu31a.c | ra->addr.lba + cframe); |
addr | 2076 | drivers/block/cdu31a.c | if (start_request(ra->addr.lba + cframe, ra->nframes - cframe, 1)) |
addr | 2091 | drivers/block/cdu31a.c | ra->addr.lba + cframe); |
addr | 2096 | drivers/block/cdu31a.c | ra->addr.lba + cframe, |
addr | 2112 | drivers/block/cdu31a.c | ra->addr.lba + cframe, |
addr | 2490 | drivers/block/cdu31a.c | if ( (ra.addr.lba >= sony_toc->lead_out_start_lba) |
addr | 2491 | drivers/block/cdu31a.c | || (ra.addr.lba + ra.nframes >= sony_toc->lead_out_start_lba)) |
addr | 2498 | drivers/block/cdu31a.c | if ( (ra.addr.msf.minute >= 75) |
addr | 2499 | drivers/block/cdu31a.c | || (ra.addr.msf.second >= 60) |
addr | 2500 | drivers/block/cdu31a.c | || (ra.addr.msf.frame >= 75)) |
addr | 2505 | drivers/block/cdu31a.c | ra.addr.lba = ( (ra.addr.msf.minute * 4500) |
addr | 2506 | drivers/block/cdu31a.c | + (ra.addr.msf.second * 75) |
addr | 2507 | drivers/block/cdu31a.c | + ra.addr.msf.frame); |
addr | 2508 | drivers/block/cdu31a.c | if ( (ra.addr.lba >= sony_toc->lead_out_start_lba) |
addr | 2509 | drivers/block/cdu31a.c | || (ra.addr.lba + ra.nframes >= sony_toc->lead_out_start_lba)) |
addr | 2517 | drivers/block/cdu31a.c | ra.addr.lba -= LOG_START_OFFSET; |
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 | 3375 | drivers/block/sbpcd.c | block=msf2lba(&read_audio.addr.msf.minute); |
addr | 3377 | drivers/block/sbpcd.c | block=read_audio.addr.lba; |
addr | 3557 | drivers/block/sbpcd.c | lba2msf(DriveStruct[d].lba_multi,&ms_info.addr.msf.minute); |
addr | 3559 | drivers/block/sbpcd.c | ms_info.addr.lba=DriveStruct[d].lba_multi; |
addr | 3567 | drivers/block/sbpcd.c | ms_info.xa_flag, ms_info.addr.lba)); |
addr | 4175 | drivers/block/sbpcd.c | int addr[2]={1, CDROM_PORT}; |
addr | 4208 | drivers/block/sbpcd.c | addr[1]=sbpcd_probe[port_index]; |
addr | 4209 | drivers/block/sbpcd.c | if (addr[1]==0) break; |
addr | 4210 | drivers/block/sbpcd.c | if (check_region(addr[1],4)) |
addr | 4212 | drivers/block/sbpcd.c | DPRINTF((DBG_INI,"SBPCD: check_region: %03X is not free.\n",addr[1])); |
addr | 4218 | drivers/block/sbpcd.c | sbpcd_setup(type, addr); |
addr | 295 | drivers/char/console.c | unsigned short * addr = (unsigned short *) s; |
addr | 300 | 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_writew(unsigned short val, unsigned short * 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 | writew(val, (unsigned long) addr); |
addr | 47 | drivers/char/selection.h | static inline unsigned short scr_readw(unsigned short * 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 readw((unsigned long) addr); |
addr | 56 | drivers/char/selection.h | static inline void scr_writew(unsigned short val, unsigned short * addr) |
addr | 58 | drivers/char/selection.h | *addr = val; |
addr | 61 | drivers/char/selection.h | static inline unsigned short scr_readw(unsigned short * addr) |
addr | 63 | 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 | 1373 | drivers/net/3c505.c | static int elp_sense(int addr) |
addr | 1376 | drivers/net/3c505.c | byte orig_HCR=INB(addr+PORT_CONTROL), |
addr | 1377 | drivers/net/3c505.c | orig_HSR=INB(addr+PORT_STATUS); |
addr | 1387 | drivers/net/3c505.c | if ((INB(addr+PORT_STATUS) & ASF_PCB_MASK) != ASF_PCB_END) |
addr | 1392 | drivers/net/3c505.c | OUTB(orig_HCR & ~CONTROL_DIR,addr+PORT_CONTROL); |
addr | 1396 | drivers/net/3c505.c | if (INB(addr+PORT_STATUS) & STATUS_DIR) { |
addr | 1397 | drivers/net/3c505.c | OUTB(orig_HCR,addr+PORT_CONTROL); |
addr | 1402 | drivers/net/3c505.c | OUTB(orig_HCR | CONTROL_DIR,addr+PORT_CONTROL); |
addr | 1406 | drivers/net/3c505.c | if (!(INB(addr+PORT_STATUS) & STATUS_DIR)) { |
addr | 1407 | drivers/net/3c505.c | OUTB(orig_HCR,addr+PORT_CONTROL); |
addr | 1422 | drivers/net/3c505.c | int idx=0, addr; |
addr | 1426 | drivers/net/3c505.c | if ( (addr=dev->base_addr) ) { /* dev->base_addr == 0 ==> plain autodetect */ |
addr | 1428 | drivers/net/3c505.c | printk(search_msg, dev->name, addr); |
addr | 1429 | drivers/net/3c505.c | if (elp_sense(addr) == 0) |
addr | 1433 | drivers/net/3c505.c | return addr; |
addr | 1436 | drivers/net/3c505.c | } else while ( (addr=addr_list[idx++]) ) { |
addr | 1438 | drivers/net/3c505.c | printk(search_msg, dev->name, addr); |
addr | 1439 | drivers/net/3c505.c | if (elp_sense(addr) == 0) { |
addr | 1442 | drivers/net/3c505.c | return 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 | 349 | drivers/net/arcnet.c | static int arcnet_memprobe(struct device *dev,u_char *addr); |
addr | 431 | drivers/net/arcnet.c | unsigned long *addr, addrs[] = {0xD0000,0xE0000,0xA0000,0xB0000, |
addr | 501 | drivers/net/arcnet.c | for (addr = &addrs[0]; *addr; addr++) { |
addr | 502 | drivers/net/arcnet.c | status=arcnet_memprobe(dev,(u_char *)(*addr)); |
addr | 757 | drivers/net/arcnet.c | int arcnet_memprobe(struct device *dev,u_char *addr) |
addr | 760 | drivers/net/arcnet.c | printk("arcnet: probing memory at %lXh\n",(u_long)addr); |
addr | 766 | drivers/net/arcnet.c | if (addr[0]!=TESTvalue) |
addr | 770 | drivers/net/arcnet.c | (unsigned long)addr,addr[0],TESTvalue); |
addr | 775 | drivers/net/arcnet.c | addr[0]=0x42; |
addr | 776 | drivers/net/arcnet.c | if (addr[0]!=0x42) |
addr | 780 | drivers/net/arcnet.c | (unsigned long)addr,addr[0]); |
addr | 784 | drivers/net/arcnet.c | if (addr[0]!=TESTvalue) |
addr | 788 | drivers/net/arcnet.c | (unsigned long)addr,addr[0],TESTvalue); |
addr | 794 | drivers/net/arcnet.c | dev->mem_start=(unsigned long)addr; |
addr | 1799 | drivers/net/de4x5.c | unsigned char addr[(HASH_TABLE_LEN * ETH_ALEN)]; |
addr | 1807 | drivers/net/de4x5.c | tmp.addr[i] = dev->dev_addr[i]; |
addr | 1810 | drivers/net/de4x5.c | memcpy_tofs(ioc->data, tmp.addr, ioc->len); |
addr | 1819 | drivers/net/de4x5.c | memcpy_fromfs(tmp.addr,ioc->data,ETH_ALEN); |
addr | 1821 | drivers/net/de4x5.c | dev->dev_addr[i] = tmp.addr[i]; |
addr | 1880 | drivers/net/de4x5.c | memcpy_fromfs(tmp.addr, ioc->data, ETH_ALEN * ioc->len); |
addr | 1882 | drivers/net/de4x5.c | set_multicast_list(dev, ioc->len, tmp.addr); |
addr | 1925 | drivers/net/de4x5.c | tmp.addr[0] = inl(DE4X5_OMR); |
addr | 1926 | drivers/net/de4x5.c | memcpy_tofs(ioc->data, tmp.addr, 1); |
addr | 1931 | drivers/net/de4x5.c | memcpy_fromfs(tmp.addr, ioc->data, 1); |
addr | 1932 | drivers/net/de4x5.c | outl(tmp.addr[0], DE4X5_OMR); |
addr | 1947 | drivers/net/de4x5.c | memcpy_tofs(ioc->data, tmp.addr, 32); |
addr | 1955 | drivers/net/de4x5.c | tmp.addr[j++] = dev->irq; |
addr | 1957 | drivers/net/de4x5.c | tmp.addr[j++] = dev->dev_addr[i]; |
addr | 1959 | drivers/net/de4x5.c | tmp.addr[j++] = lp->rxRingSize; |
addr | 2005 | drivers/net/de4x5.c | tmp.addr[j++] = lp->txRingSize; |
addr | 2006 | drivers/net/de4x5.c | tmp.addr[j++] = dev->tbusy; |
addr | 2009 | 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 | 1616 | drivers/net/ewrk3.c | unsigned char addr[HASH_TABLE_LEN * ETH_ALEN]; |
addr | 1623 | drivers/net/ewrk3.c | tmp.addr[i] = dev->dev_addr[i]; |
addr | 1626 | drivers/net/ewrk3.c | memcpy_tofs(ioc->data, tmp.addr, ioc->len); |
addr | 1635 | drivers/net/ewrk3.c | memcpy_fromfs(tmp.addr,ioc->data,ETH_ALEN); |
addr | 1637 | drivers/net/ewrk3.c | dev->dev_addr[i] = tmp.addr[i]; |
addr | 1638 | drivers/net/ewrk3.c | outb(tmp.addr[i], EWRK3_PAR0 + i); |
addr | 1679 | drivers/net/ewrk3.c | tmp.addr[i] = inb(EWRK3_DATA); |
addr | 1683 | drivers/net/ewrk3.c | memcpy(tmp.addr, (char *)(lp->shmem_base + PAGE0_HTE), (HASH_TABLE_LEN >> 3)); |
addr | 1686 | drivers/net/ewrk3.c | memcpy_tofs(ioc->data, tmp.addr, ioc->len); |
addr | 1693 | drivers/net/ewrk3.c | memcpy_fromfs(tmp.addr, ioc->data, ETH_ALEN * ioc->len); |
addr | 1695 | drivers/net/ewrk3.c | set_multicast_list(dev, ioc->len, tmp.addr); |
addr | 1738 | drivers/net/ewrk3.c | tmp.addr[0] = inb(EWRK3_CSR); |
addr | 1739 | drivers/net/ewrk3.c | memcpy_tofs(ioc->data, tmp.addr, 1); |
addr | 1744 | drivers/net/ewrk3.c | memcpy_fromfs(tmp.addr, ioc->data, 1); |
addr | 1745 | drivers/net/ewrk3.c | outb(tmp.addr[0], EWRK3_CSR); |
addr | 1757 | drivers/net/ewrk3.c | tmp.addr[i++] = inb(EWRK3_CMR); /* Config/Management Reg. */ |
addr | 1759 | drivers/net/ewrk3.c | tmp.addr[i++] = inb(EWRK3_PAR0 + j); |
addr | 1762 | drivers/net/ewrk3.c | memcpy_tofs(ioc->data, tmp.addr, ioc->len); |
addr | 1770 | drivers/net/ewrk3.c | memcpy_fromfs(tmp.addr, ioc->data, EEPROM_MAX); |
addr | 1780 | drivers/net/ewrk3.c | tmp.addr[0] = inb(EWRK3_CMR); |
addr | 1781 | 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 | 353 | drivers/net/ne.c | int addr, tries = 20; |
addr | 359 | drivers/net/ne.c | addr = (high << 8) + low; |
addr | 366 | drivers/net/ne.c | dev->name, ring_offset + xfer_count, addr); |
addr | 431 | drivers/net/ne.c | int addr, tries = 20; |
addr | 437 | drivers/net/ne.c | addr = (high << 8) + low; |
addr | 438 | drivers/net/ne.c | if ((start_page << 8) + count == addr) |
addr | 444 | drivers/net/ne.c | dev->name, (start_page << 8) + count, addr); |
addr | 125 | drivers/net/ppp.c | static void ppp_add_arp(unsigned long addr, struct sk_buff *skb, |
addr | 1844 | drivers/net/ppp.c | ppp_add_arp(unsigned long addr, struct sk_buff *skb, struct device *dev) |
addr | 935 | drivers/net/slip.c | sl_set_mac_address(struct device *dev, void *addr) |
addr | 939 | drivers/net/slip.c | err = verify_area(VERIFY_READ, addr, 7); |
addr | 944 | drivers/net/slip.c | memcpy_fromfs(dev->dev_addr, addr, 7); /* addr is an AX.25 shifted ASCII mac address */ |
addr | 950 | drivers/net/slip.c | sl_set_dev_mac_address(struct device *dev, void *addr) |
addr | 952 | drivers/net/slip.c | memcpy(dev->dev_addr, addr, 7); |
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 | 717 | drivers/net/tulip.c | set_mac_address(struct device *dev, void *addr) |
addr | 724 | drivers/net/tulip.c | printk(" %2.2x", dev->dev_addr[i] = ((unsigned char *)addr)[i]); |
addr | 1502 | drivers/net/wavelan.c | unsigned char addr[WAVELAN_ADDR_SIZE]; |
addr | 1509 | drivers/net/wavelan.c | obram_read(ioaddr, rbd.rbd_bufl + sizeof(addr), &addr[0], sizeof(addr)); |
addr | 1516 | drivers/net/wavelan.c | addrcmp(&addr[0], toweraddr) != 0 |
addr | 1521 | drivers/net/wavelan.c | printk("%s%02x", (i == 0) ? "" : ":", addr[i]); |
addr | 1529 | drivers/net/wavelan.c | unsigned char addr[WAVELAN_ADDR_SIZE]; |
addr | 1546 | drivers/net/wavelan.c | obram_read(ioaddr, rbd.rbd_bufl, &addr[0], sizeof(addr)); |
addr | 1549 | drivers/net/wavelan.c | printk("%s%02x", (i == 0) ? "" : ":", addr[i]); |
addr | 1552 | drivers/net/wavelan.c | obram_read(ioaddr, rbd.rbd_bufl + sizeof(addr), &addr[0], sizeof(addr)); |
addr | 1555 | drivers/net/wavelan.c | printk("%s%02x", (i == 0) ? "" : ":", addr[i]); |
addr | 1558 | 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 | 684 | drivers/net/znet.c | unsigned addr = inb(dma_port); |
addr | 685 | drivers/net/znet.c | addr |= inb(dma_port) << 8; |
addr | 686 | drivers/net/znet.c | printk("Addr: %04x cnt:%3x...", addr<<1, get_dma_residue(zn.tx_dma)); |
addr | 2022 | drivers/scsi/53c7,8xx.c | memcpy ((void *) bp->addr, (void *) bp->old, sizeof(bp->old)); |
addr | 2054 | drivers/scsi/53c7,8xx.c | bp->addr, bp->old[0], bp->old[1]); |
addr | 2058 | drivers/scsi/53c7,8xx.c | sprintf(buf + len, "%08x\n", * (long *) bp->addr); |
addr | 1063 | drivers/scsi/aha274x.c | void *addr; |
addr | 1102 | drivers/scsi/aha274x.c | addr = cmd->cmnd; |
addr | 1104 | drivers/scsi/aha274x.c | memcpy(scb->SCSI_cmd_pointer, &addr, sizeof(scb->SCSI_cmd_pointer)); |
addr | 247 | drivers/scsi/aic7770.c | unsigned int addr; /* NA or pos_from_0 */ |
addr | 460 | drivers/scsi/aic7770.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 | 327 | drivers/scsi/eata.c | static inline unchar do_dma (ushort iobase, unsigned int addr, unchar cmd) { |
addr | 331 | drivers/scsi/eata.c | if (addr) { |
addr | 332 | drivers/scsi/eata.c | outb((char) addr, iobase + REG_LOW); |
addr | 333 | drivers/scsi/eata.c | outb((char) (addr >> 8), iobase + REG_LM); |
addr | 334 | drivers/scsi/eata.c | outb((char) (addr >> 16), iobase + REG_MID); |
addr | 335 | drivers/scsi/eata.c | outb((char) (addr >> 24), iobase + REG_MSB); |
addr | 276 | drivers/scsi/eata_dma.c | inline uint eata_send_command(ulong addr, uint base, unchar command) |
addr | 284 | drivers/scsi/eata_dma.c | outb(addr & 0x000000ff, base + HA_WDMAADDR); |
addr | 285 | drivers/scsi/eata_dma.c | outb((addr & 0x0000ff00) >> 8, base + HA_WDMAADDR + 1); |
addr | 286 | drivers/scsi/eata_dma.c | outb((addr & 0x00ff0000) >> 16, base + HA_WDMAADDR + 2); |
addr | 287 | drivers/scsi/eata_dma.c | outb((addr & 0xff000000) >> 24, base + HA_WDMAADDR + 3); |
addr | 404 | drivers/scsi/sr_ioctl.c | ms_info.addr.msf.minute = lba / (CD_SECS*CD_FRAMES); |
addr | 406 | drivers/scsi/sr_ioctl.c | ms_info.addr.msf.second = lba / CD_FRAMES; |
addr | 407 | drivers/scsi/sr_ioctl.c | ms_info.addr.msf.frame = lba % CD_FRAMES; |
addr | 409 | drivers/scsi/sr_ioctl.c | ms_info.addr.lba=scsi_CDs[target].mpcd_sector; |
addr | 531 | drivers/scsi/ultrastor.c | unsigned short addr = (i << 12) | ULTRASTOR_24F_PORT; |
addr | 533 | drivers/scsi/ultrastor.c | if (inb(addr) != US24F_PRODUCT_ID_0 && |
addr | 534 | drivers/scsi/ultrastor.c | inb(addr+1) != US24F_PRODUCT_ID_1 && |
addr | 535 | drivers/scsi/ultrastor.c | inb(addr+2) != US24F_PRODUCT_ID_2) |
addr | 538 | drivers/scsi/ultrastor.c | config.revision = inb(addr+3); |
addr | 540 | drivers/scsi/ultrastor.c | if (! (inb(addr+4) & 1)) |
addr | 550 | drivers/scsi/ultrastor.c | config_1 = inb(addr + 5); |
addr | 578 | drivers/scsi/ultrastor.c | config.port_address = addr; |
addr | 579 | drivers/scsi/ultrastor.c | config.doorbell_address = addr + 12; |
addr | 580 | drivers/scsi/ultrastor.c | config.ogm_address = addr + 0x17; |
addr | 581 | drivers/scsi/ultrastor.c | config.icm_address = addr + 0x1C; |
addr | 582 | drivers/scsi/ultrastor.c | config_2 = inb(addr + 7); |
addr | 608 | drivers/scsi/ultrastor.c | outb(0, addr + 0x16); |
addr | 609 | drivers/scsi/ultrastor.c | outb(0, addr + 0x1B); |
addr | 613 | drivers/scsi/ultrastor.c | outb(ultrastor_bus_reset ? 0xc2 : 0x82, LCL_DOORBELL_MASK(addr+12)); |
addr | 614 | drivers/scsi/ultrastor.c | outb(0x02, SYS_DOORBELL_MASK(addr+12)); |
addr | 156 | drivers/sound/dev_table.h | int (*load_patch) (int dev, int format, snd_rw_buf *addr, |
addr | 164 | drivers/sound/gus_wave.c | static void gus_poke (long addr, unsigned char data); |
addr | 207 | drivers/sound/gus_wave.c | gus_poke (long addr, unsigned char data) |
addr | 213 | drivers/sound/gus_wave.c | OUTB (addr & 0xff, u_DataLo); |
addr | 214 | drivers/sound/gus_wave.c | OUTB ((addr >> 8) & 0xff, u_DataHi); |
addr | 217 | drivers/sound/gus_wave.c | OUTB ((addr >> 16) & 0xff, u_DataHi); |
addr | 223 | drivers/sound/gus_wave.c | gus_peek (long addr) |
addr | 230 | drivers/sound/gus_wave.c | OUTB (addr & 0xff, u_DataLo); |
addr | 231 | drivers/sound/gus_wave.c | OUTB ((addr >> 8) & 0xff, u_DataHi); |
addr | 234 | drivers/sound/gus_wave.c | OUTB ((addr >> 16) & 0xff, u_DataHi); |
addr | 1472 | drivers/sound/gus_wave.c | guswave_load_patch (int dev, int format, snd_rw_buf * addr, |
addr | 1508 | drivers/sound/gus_wave.c | COPY_FROM_USER (&((char *) &patch)[offs], addr, offs, sizeof_patch - offs); |
addr | 1631 | drivers/sound/gus_wave.c | GET_BYTE_FROM_USER (data, addr, sizeof_patch + i); |
addr | 1650 | drivers/sound/gus_wave.c | addr, sizeof_patch + src_offs, |
addr | 297 | drivers/sound/midi_synth.c | midi_synth_load_patch (int dev, int format, snd_rw_buf * addr, |
addr | 329 | drivers/sound/midi_synth.c | COPY_FROM_USER (&((char *) &sysex)[offs], addr, offs, sizeof (struct sysex_info) - offs); |
addr | 347 | drivers/sound/midi_synth.c | GET_BYTE_FROM_USER (data, addr, sizeof (struct sysex_info) + i); |
addr | 10 | drivers/sound/midi_synth.h | int midi_synth_load_patch (int dev, int format, snd_rw_buf * addr, |
addr | 88 | drivers/sound/opl3.c | static void opl3_command (int io_addr, unsigned int addr, unsigned int val); |
addr | 783 | drivers/sound/opl3.c | opl3_command (int io_addr, unsigned int addr, unsigned int val) |
addr | 792 | drivers/sound/opl3.c | OUTB ((unsigned char) (addr & 0xff), io_addr); /* |
addr | 892 | drivers/sound/opl3.c | opl3_load_patch (int dev, int format, snd_rw_buf * addr, |
addr | 903 | drivers/sound/opl3.c | COPY_FROM_USER (&((char *) &ins)[offs], (char *) addr, offs, sizeof (ins) - offs); |
addr | 60 | drivers/sound/os.h | #define GET_BYTE_FROM_USER(target, addr, offs) target = get_fs_byte(&((addr)[offs])) |
addr | 61 | drivers/sound/os.h | #define GET_SHORT_FROM_USER(target, addr, offs) target = get_fs_word(&((addr)[offs])) |
addr | 62 | drivers/sound/os.h | #define GET_WORD_FROM_USER(target, addr, offs) target = get_fs_long((long*)&((addr)[offs])) |
addr | 63 | drivers/sound/os.h | #define PUT_WORD_TO_USER(addr, offs, data) put_fs_long(data, (long*)&((addr)[offs])) |
addr | 121 | drivers/sound/os.h | #define KERNEL_FREE(addr) kfree(addr) |
addr | 149 | drivers/sound/pss.c | pss_setaddr (int addr, int configAddr) |
addr | 155 | drivers/sound/pss.c | val |= (addr << 4); |
addr | 102 | 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 | 45 | drivers/sound/soundcard.c | snd_ioctl_return (int *addr, int value) |
addr | 52 | drivers/sound/soundcard.c | error = verify_area(VERIFY_WRITE, addr, sizeof(int)); |
addr | 56 | drivers/sound/soundcard.c | PUT_WORD_TO_USER (addr, 0, value); |
addr | 281 | drivers/sound/soundcard.c | valid_dma_page (unsigned long addr, unsigned long dev_buffsize, unsigned long dma_pagesize) |
addr | 283 | drivers/sound/soundcard.c | if (((addr & (dma_pagesize - 1)) + dev_buffsize) <= dma_pagesize) |
addr | 149 | fs/exec.c | #define DUMP_WRITE(addr,nr) \ |
addr | 150 | 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) |
addr | 488 | fs/exec.c | result = verify_area(VERIFY_WRITE, addr, count); |
addr | 492 | fs/exec.c | result = file.f_op->read(inode, &file, addr, count); |
addr | 239 | fs/hpfs/hpfs_fs.c | static int zerop(void *addr, unsigned len); |
addr | 533 | fs/hpfs/hpfs_fs.c | static int zerop(void *addr, unsigned len) |
addr | 535 | fs/hpfs/hpfs_fs.c | unsigned char *p = addr; |
addr | 183 | fs/isofs/inode.c | printk("isofs.inode: vol_desc_start = %d\n", ms_info.addr.lba); |
addr | 186 | fs/isofs/inode.c | if ((i==0)&&(ms_info.xa_flag)) vol_desc_start=ms_info.addr.lba; |
addr | 371 | fs/proc/array.c | unsigned long addr; |
addr | 378 | fs/proc/array.c | addr = get_phys_addr(*p, start); |
addr | 379 | fs/proc/array.c | if (!addr) |
addr | 382 | fs/proc/array.c | c = *(char *) addr; |
addr | 389 | fs/proc/array.c | addr++; |
addr | 393 | fs/proc/array.c | } while (addr & ~PAGE_MASK); |
addr | 34 | fs/proc/mem.c | unsigned long addr, pid; |
addr | 50 | fs/proc/mem.c | addr = file->f_pos; |
addr | 55 | fs/proc/mem.c | page_dir = pgd_offset(tsk,addr); |
addr | 63 | fs/proc/mem.c | page_middle = pmd_offset(page_dir,addr); |
addr | 71 | fs/proc/mem.c | pte = *pte_offset(page_middle,addr); |
addr | 74 | fs/proc/mem.c | page = (char *) pte_page(pte) + (addr & ~PAGE_MASK); |
addr | 75 | fs/proc/mem.c | i = PAGE_SIZE-(addr & ~PAGE_MASK); |
addr | 79 | fs/proc/mem.c | addr += i; |
addr | 83 | fs/proc/mem.c | file->f_pos = addr; |
addr | 96 | fs/proc/mem.c | unsigned long addr, pid; |
addr | 102 | fs/proc/mem.c | addr = file->f_pos; |
addr | 117 | fs/proc/mem.c | page_dir = pgd_offset(tsk,addr); |
addr | 125 | fs/proc/mem.c | page_middle = pmd_offset(page_dir,addr); |
addr | 133 | fs/proc/mem.c | pte = *pte_offset(page_middle,addr); |
addr | 138 | fs/proc/mem.c | page = (char *) pte_page(pte) + (addr & ~PAGE_MASK); |
addr | 139 | fs/proc/mem.c | i = PAGE_SIZE-(addr & ~PAGE_MASK); |
addr | 143 | fs/proc/mem.c | addr += i; |
addr | 147 | fs/proc/mem.c | file->f_pos = 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 | 93 | include/asm-alpha/jensen.h | extern inline unsigned int __local_inb(unsigned long addr) |
addr | 95 | include/asm-alpha/jensen.h | long result = *(volatile int *) ((addr << 9) + EISA_VL82C106); |
addr | 99 | include/asm-alpha/jensen.h | extern inline void __local_outb(unsigned char b, unsigned long addr) |
addr | 101 | include/asm-alpha/jensen.h | *(volatile unsigned int *) ((addr << 9) + EISA_VL82C106) = b; |
addr | 105 | include/asm-alpha/jensen.h | extern inline unsigned int __inb(unsigned long addr) |
addr | 107 | include/asm-alpha/jensen.h | long result = *(volatile int *) ((addr << 7) + EISA_IO + 0x00); |
addr | 108 | include/asm-alpha/jensen.h | result >>= (addr & 3) * 8; |
addr | 112 | include/asm-alpha/jensen.h | extern inline void __outb(unsigned char b, unsigned long addr) |
addr | 114 | include/asm-alpha/jensen.h | *(volatile unsigned int *) ((addr << 7) + EISA_IO + 0x00) = b * 0x01010101; |
addr | 124 | include/asm-alpha/jensen.h | extern inline int __is_local(unsigned long addr) |
addr | 127 | include/asm-alpha/jensen.h | if (addr == 0x60 || addr == 0x64) |
addr | 131 | include/asm-alpha/jensen.h | if (addr == 0x170 || addr == 0x171) |
addr | 135 | include/asm-alpha/jensen.h | if (addr >= 0x2f8 && addr <= 0x2ff) |
addr | 139 | include/asm-alpha/jensen.h | if (addr >= 0x3bc && addr <= 0x3be) |
addr | 143 | include/asm-alpha/jensen.h | if (addr >= 0x3f8 && addr <= 0x3ff) |
addr | 149 | include/asm-alpha/jensen.h | extern inline unsigned int inb(unsigned long addr) |
addr | 151 | include/asm-alpha/jensen.h | if (__is_local(addr)) |
addr | 152 | include/asm-alpha/jensen.h | return __local_inb(addr); |
addr | 153 | include/asm-alpha/jensen.h | return __inb(addr); |
addr | 156 | include/asm-alpha/jensen.h | extern inline void outb(unsigned char b, unsigned long addr) |
addr | 158 | include/asm-alpha/jensen.h | if (__is_local(addr)) |
addr | 159 | include/asm-alpha/jensen.h | __local_outb(b, addr); |
addr | 161 | include/asm-alpha/jensen.h | __outb(b, addr); |
addr | 164 | include/asm-alpha/jensen.h | extern inline unsigned int inw(unsigned long addr) |
addr | 166 | include/asm-alpha/jensen.h | long result = *(volatile int *) ((addr << 7) + EISA_IO + 0x20); |
addr | 167 | include/asm-alpha/jensen.h | result >>= (addr & 3) * 8; |
addr | 171 | include/asm-alpha/jensen.h | extern inline unsigned int inl(unsigned long addr) |
addr | 173 | include/asm-alpha/jensen.h | return *(volatile unsigned int *) ((addr << 7) + EISA_IO + 0x60); |
addr | 176 | include/asm-alpha/jensen.h | extern inline void outw(unsigned short b, unsigned long addr) |
addr | 178 | include/asm-alpha/jensen.h | *(volatile unsigned int *) ((addr << 7) + EISA_IO + 0x20) = b * 0x00010001; |
addr | 182 | include/asm-alpha/jensen.h | extern inline void outl(unsigned int b, unsigned long addr) |
addr | 184 | include/asm-alpha/jensen.h | *(volatile unsigned int *) ((addr << 7) + EISA_IO + 0x60) = b; |
addr | 191 | include/asm-alpha/jensen.h | extern inline unsigned long readb(unsigned long addr) |
addr | 193 | include/asm-alpha/jensen.h | long result = *(volatile int *) ((addr << 7) + EISA_MEM + 0x00); |
addr | 194 | include/asm-alpha/jensen.h | result >>= (addr & 3) * 8; |
addr | 198 | include/asm-alpha/jensen.h | extern inline unsigned long readw(unsigned long addr) |
addr | 200 | include/asm-alpha/jensen.h | long result = *(volatile int *) ((addr << 7) + EISA_MEM + 0x20); |
addr | 201 | include/asm-alpha/jensen.h | result >>= (addr & 3) * 8; |
addr | 205 | include/asm-alpha/jensen.h | extern inline unsigned long readl(unsigned long addr) |
addr | 207 | include/asm-alpha/jensen.h | return *(volatile unsigned int *) ((addr << 7) + EISA_MEM + 0x60); |
addr | 210 | include/asm-alpha/jensen.h | extern inline void writeb(unsigned short b, unsigned long addr) |
addr | 212 | include/asm-alpha/jensen.h | *(volatile unsigned int *) ((addr << 7) + EISA_MEM + 0x00) = b * 0x01010101; |
addr | 215 | include/asm-alpha/jensen.h | extern inline void writew(unsigned short b, unsigned long addr) |
addr | 217 | include/asm-alpha/jensen.h | *(volatile unsigned int *) ((addr << 7) + EISA_MEM + 0x20) = b * 0x00010001; |
addr | 220 | include/asm-alpha/jensen.h | extern inline void writel(unsigned int b, unsigned long addr) |
addr | 222 | include/asm-alpha/jensen.h | *(volatile unsigned int *) ((addr << 7) + EISA_MEM + 0x60) = b; |
addr | 112 | include/asm-alpha/lca.h | inb(unsigned long addr) |
addr | 114 | include/asm-alpha/lca.h | long result = *(volatile int *) ((addr << 5) + LCA_IO + 0x00); |
addr | 115 | include/asm-alpha/lca.h | result >>= (addr & 3) * 8; |
addr | 120 | include/asm-alpha/lca.h | inw(unsigned long addr) |
addr | 122 | include/asm-alpha/lca.h | long result = *(volatile int *) ((addr << 5) + LCA_IO + 0x08); |
addr | 123 | include/asm-alpha/lca.h | result >>= (addr & 3) * 8; |
addr | 128 | include/asm-alpha/lca.h | inl(unsigned long addr) |
addr | 130 | include/asm-alpha/lca.h | return *(volatile unsigned int *) ((addr << 5) + LCA_IO + 0x18); |
addr | 134 | include/asm-alpha/lca.h | outb(unsigned char b, unsigned long addr) |
addr | 136 | include/asm-alpha/lca.h | *(volatile unsigned int *) ((addr << 5) + LCA_IO + 0x00) = b * 0x01010101; |
addr | 141 | include/asm-alpha/lca.h | outw(unsigned char b, unsigned long addr) |
addr | 143 | include/asm-alpha/lca.h | *(volatile unsigned int *) ((addr << 5) + LCA_IO + 0x08) = b * 0x00010001; |
addr | 148 | include/asm-alpha/lca.h | outl(unsigned char b, unsigned long addr) |
addr | 150 | include/asm-alpha/lca.h | *(volatile unsigned int *) ((addr << 5) + LCA_IO + 0x18) = b; |
addr | 161 | include/asm-alpha/lca.h | readb(unsigned long addr) |
addr | 163 | include/asm-alpha/lca.h | long result = *(volatile int *) ((addr << 5) + LCA_SPARSE_MEM + 0x00); |
addr | 164 | include/asm-alpha/lca.h | result >>= (addr & 3) * 8; |
addr | 169 | include/asm-alpha/lca.h | readw(unsigned long addr) |
addr | 171 | include/asm-alpha/lca.h | long result = *(volatile int *) ((addr << 5) + LCA_SPARSE_MEM + 0x08); |
addr | 172 | include/asm-alpha/lca.h | result >>= (addr & 3) * 8; |
addr | 177 | include/asm-alpha/lca.h | readl(unsigned long addr) |
addr | 179 | include/asm-alpha/lca.h | return *(volatile int *) (addr + LCA_DENSE_MEM); |
addr | 183 | include/asm-alpha/lca.h | writeb(unsigned short b, unsigned long addr) |
addr | 185 | include/asm-alpha/lca.h | *(volatile unsigned int *) ((addr << 5) + LCA_SPARSE_MEM + 0x00) = |
addr | 190 | include/asm-alpha/lca.h | writew(unsigned short b, unsigned long addr) |
addr | 192 | include/asm-alpha/lca.h | *(volatile unsigned int *) ((addr << 5) + LCA_SPARSE_MEM + 0x08) = |
addr | 197 | include/asm-alpha/lca.h | writel(unsigned short b, unsigned long addr) |
addr | 199 | include/asm-alpha/lca.h | *(volatile unsigned int *) (addr + LCA_DENSE_MEM) = b; |
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 | 6 | include/asm-alpha/segment.h | static inline unsigned char get_user_byte(const char * addr) |
addr | 8 | include/asm-alpha/segment.h | return *addr; |
addr | 11 | include/asm-alpha/segment.h | #define get_fs_byte(addr) get_user_byte((char *)(addr)) |
addr | 13 | include/asm-alpha/segment.h | static inline unsigned short get_user_word(const short *addr) |
addr | 15 | include/asm-alpha/segment.h | return *addr; |
addr | 18 | include/asm-alpha/segment.h | #define get_fs_word(addr) get_user_word((short *)(addr)) |
addr | 20 | include/asm-alpha/segment.h | static inline unsigned long get_user_long(const int *addr) |
addr | 22 | include/asm-alpha/segment.h | return *addr; |
addr | 25 | include/asm-alpha/segment.h | #define get_fs_long(addr) get_user_long((int *)(addr)) |
addr | 27 | include/asm-alpha/segment.h | static inline unsigned long get_user_quad(const long *addr) |
addr | 29 | include/asm-alpha/segment.h | return *addr; |
addr | 32 | include/asm-alpha/segment.h | #define get_fs_quad(addr) get_user_quad((long *)(addr)) |
addr | 34 | include/asm-alpha/segment.h | static inline void put_user_byte(char val,char *addr) |
addr | 36 | include/asm-alpha/segment.h | *addr = val; |
addr | 39 | include/asm-alpha/segment.h | #define put_fs_byte(x,addr) put_user_byte((x),(char *)(addr)) |
addr | 41 | include/asm-alpha/segment.h | static inline void put_user_word(short val,short * addr) |
addr | 43 | include/asm-alpha/segment.h | *addr = val; |
addr | 46 | include/asm-alpha/segment.h | #define put_fs_word(x,addr) put_user_word((x),(short *)(addr)) |
addr | 48 | include/asm-alpha/segment.h | static inline void put_user_long(unsigned long val,int * addr) |
addr | 50 | include/asm-alpha/segment.h | *addr = val; |
addr | 53 | include/asm-alpha/segment.h | #define put_fs_long(x,addr) put_user_long((x),(int *)(addr)) |
addr | 55 | include/asm-alpha/segment.h | static inline void put_user_quad(unsigned long val,long * addr) |
addr | 57 | include/asm-alpha/segment.h | *addr = val; |
addr | 60 | 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 | 90 | include/asm-i386/bitops.h | :"c" ((size + 31) >> 5), "D" (addr), "b" (addr) |
addr | 95 | include/asm-i386/bitops.h | extern inline int find_next_zero_bit (void * addr, int size, int offset) |
addr | 97 | include/asm-i386/bitops.h | unsigned long * p = ((unsigned long *) addr) + (offset >> 5); |
addr | 119 | include/asm-i386/bitops.h | res = find_first_zero_bit (p, size - 32 * (p - (unsigned long *) addr)); |
addr | 69 | include/asm-i386/io.h | extern inline void ins##s(unsigned short port, void * addr, unsigned long count) \ |
addr | 71 | include/asm-i386/io.h | : "=D" (addr), "=c" (count) : "d" (port),"0" (addr),"1" (count)); } |
addr | 74 | include/asm-i386/io.h | extern inline void outs##s(unsigned short port, const void * addr, unsigned long count) \ |
addr | 76 | 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 | 12 | include/asm-i386/segment.h | static inline unsigned char get_user_byte(const char * addr) |
addr | 16 | include/asm-i386/segment.h | __asm__ ("movb %%fs:%1,%0":"=q" (_v):"m" (*addr)); |
addr | 20 | include/asm-i386/segment.h | #define get_fs_byte(addr) get_user_byte((char *)(addr)) |
addr | 22 | include/asm-i386/segment.h | static inline unsigned short get_user_word(const short *addr) |
addr | 26 | include/asm-i386/segment.h | __asm__ ("movw %%fs:%1,%0":"=r" (_v):"m" (*addr)); |
addr | 30 | include/asm-i386/segment.h | #define get_fs_word(addr) get_user_word((short *)(addr)) |
addr | 32 | include/asm-i386/segment.h | static inline unsigned long get_user_long(const int *addr) |
addr | 36 | include/asm-i386/segment.h | __asm__ ("movl %%fs:%1,%0":"=r" (_v):"m" (*addr)); \ |
addr | 40 | include/asm-i386/segment.h | #define get_fs_long(addr) get_user_long((int *)(addr)) |
addr | 42 | include/asm-i386/segment.h | static inline void put_user_byte(char val,char *addr) |
addr | 44 | include/asm-i386/segment.h | __asm__ ("movb %0,%%fs:%1": /* no outputs */ :"iq" (val),"m" (*addr)); |
addr | 47 | include/asm-i386/segment.h | #define put_fs_byte(x,addr) put_user_byte((x),(char *)(addr)) |
addr | 49 | include/asm-i386/segment.h | static inline void put_user_word(short val,short * addr) |
addr | 51 | include/asm-i386/segment.h | __asm__ ("movw %0,%%fs:%1": /* no outputs */ :"ir" (val),"m" (*addr)); |
addr | 54 | include/asm-i386/segment.h | #define put_fs_word(x,addr) put_user_word((x),(short *)(addr)) |
addr | 56 | include/asm-i386/segment.h | static inline void put_user_long(unsigned long val,int * addr) |
addr | 58 | include/asm-i386/segment.h | __asm__ ("movl %0,%%fs:%1": /* no outputs */ :"ir" (val),"m" (*addr)); |
addr | 61 | include/asm-i386/segment.h | #define put_fs_long(x,addr) put_user_long((x),(int *)(addr)) |
addr | 536 | include/asm-i386/string.h | extern inline void * memscan(void * addr, int c, size_t size) |
addr | 539 | include/asm-i386/string.h | return addr; |
addr | 545 | include/asm-i386/string.h | : "=D" (addr), "=c" (size) |
addr | 546 | include/asm-i386/string.h | : "0" (addr), "1" (size), "a" (c)); |
addr | 547 | 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 | 180 | include/asm-i386/system.h | #define _set_gate(gate_addr,type,dpl,addr) \ |
addr | 188 | include/asm-i386/system.h | "d" ((char *) (addr)),"a" (KERNEL_CS << 16) \ |
addr | 191 | include/asm-i386/system.h | #define set_intr_gate(n,addr) \ |
addr | 192 | include/asm-i386/system.h | _set_gate(&idt[n],14,0,addr) |
addr | 194 | include/asm-i386/system.h | #define set_trap_gate(n,addr) \ |
addr | 195 | include/asm-i386/system.h | _set_gate(&idt[n],15,0,addr) |
addr | 197 | include/asm-i386/system.h | #define set_system_gate(n,addr) \ |
addr | 198 | include/asm-i386/system.h | _set_gate(&idt[n],15,3,addr) |
addr | 200 | include/asm-i386/system.h | #define set_call_gate(a,addr) \ |
addr | 201 | include/asm-i386/system.h | _set_gate(a,12,3,addr) |
addr | 213 | include/asm-i386/system.h | #define _set_tssldt_desc(n,addr,limit,type) \ |
addr | 223 | include/asm-i386/system.h | :"a" (addr+0xc0000000), "m" (*(n)), "m" (*(n+2)), "m" (*(n+4)), \ |
addr | 227 | include/asm-i386/system.h | #define set_tss_desc(n,addr) _set_tssldt_desc(((char *) (n)),((int)(addr)),235,"0x89") |
addr | 228 | include/asm-i386/system.h | #define set_ldt_desc(n,addr,size) \ |
addr | 229 | 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 | 20 | include/asm-sparc/bitops.h | extern __inline__ unsigned int set_bit(unsigned int nr, void *addr) |
addr | 34 | include/asm-sparc/bitops.h | "r" (addr), "r" (tmp=0), "r" (mask=0), |
addr | 41 | include/asm-sparc/bitops.h | extern __inline__ unsigned int clear_bit(unsigned int nr, void *addr) |
addr | 55 | include/asm-sparc/bitops.h | "r" (addr), "r" (tmp=0), "r" (mask=0), |
addr | 62 | include/asm-sparc/bitops.h | extern __inline__ unsigned int change_bit(unsigned int nr, void *addr) |
addr | 76 | include/asm-sparc/bitops.h | "r" (addr), "r" (tmp=0), "r" (mask=0), |
addr | 85 | include/asm-sparc/bitops.h | extern __inline__ unsigned int test_bit(int nr, void *addr) |
addr | 94 | include/asm-sparc/bitops.h | "r" (addr), "r" (tmp=0), |
addr | 126 | include/asm-sparc/bitops.h | extern __inline__ unsigned long find_next_zero_bit(void *addr, unsigned long size, unsigned long offset) |
addr | 128 | include/asm-sparc/bitops.h | unsigned long *p = ((unsigned long *) addr) + (offset >> 6); |
addr | 168 | include/asm-sparc/bitops.h | #define find_first_zero_bit(addr, size) \ |
addr | 169 | include/asm-sparc/bitops.h | find_next_zero_bit((addr), (size), 0) |
addr | 13 | include/asm-sparc/io.h | extern inline unsigned long inb_local(unsigned long addr) |
addr | 18 | include/asm-sparc/io.h | extern inline void outb_local(unsigned char b, unsigned long addr) |
addr | 23 | include/asm-sparc/io.h | extern inline unsigned long inb(unsigned long addr) |
addr | 28 | include/asm-sparc/io.h | extern inline unsigned long inw(unsigned long addr) |
addr | 33 | include/asm-sparc/io.h | extern inline unsigned long inl(unsigned long addr) |
addr | 38 | include/asm-sparc/io.h | extern inline void outb(unsigned char b, unsigned long addr) |
addr | 43 | include/asm-sparc/io.h | extern inline void outw(unsigned short b, unsigned long addr) |
addr | 48 | include/asm-sparc/io.h | extern inline void outl(unsigned int b, unsigned long addr) |
addr | 56 | include/asm-sparc/io.h | extern inline unsigned long readb(unsigned long addr) |
addr | 61 | include/asm-sparc/io.h | extern inline unsigned long readw(unsigned long addr) |
addr | 66 | include/asm-sparc/io.h | extern inline unsigned long readl(unsigned long addr) |
addr | 71 | include/asm-sparc/io.h | extern inline void writeb(unsigned short b, unsigned long addr) |
addr | 76 | include/asm-sparc/io.h | extern inline void writew(unsigned short b, unsigned long addr) |
addr | 81 | include/asm-sparc/io.h | extern inline void writel(unsigned int b, unsigned long addr) |
addr | 85 | include/asm-sparc/page.h | #define PAGE_ALIGN(addr) (((addr)+PAGE_SIZE-1)&PAGE_MASK) |
addr | 88 | include/asm-sparc/page.h | #define MAP_NR(addr) (((unsigned long)(addr)) >> PAGE_SHIFT) |
addr | 117 | include/asm-sparc/page.h | extern __inline__ unsigned long get_segmap(unsigned long addr) |
addr | 123 | include/asm-sparc/page.h | "r" (addr)); |
addr | 128 | include/asm-sparc/page.h | extern __inline__ void put_segmap(unsigned long addr, unsigned long entry) |
addr | 131 | include/asm-sparc/page.h | __asm__ __volatile__("stba %1, [%0] 0x3" : : "r" (addr), "r" (entry&0x7f)); |
addr | 136 | include/asm-sparc/page.h | extern __inline__ unsigned long get_pte(unsigned long addr) |
addr | 142 | include/asm-sparc/page.h | "r" (addr)); |
addr | 146 | include/asm-sparc/page.h | extern __inline__ void put_pte(unsigned long addr, unsigned long entry) |
addr | 149 | include/asm-sparc/page.h | "r" (addr), |
addr | 19 | include/asm-sparc/pgtable.h | #define PGDIR_ALIGN(addr) (((addr)+PGDIR_SIZE-1)&PGDIR_MASK) |
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 | 76 | include/asm-sparc/system.h | #define _set_gate(gate_addr,type,dpl,addr) \ |
addr | 79 | include/asm-sparc/system.h | #define set_intr_gate(n,addr) \ |
addr | 80 | include/asm-sparc/system.h | _set_gate(&idt[n],14,0,addr) |
addr | 82 | include/asm-sparc/system.h | #define set_trap_gate(n,addr) \ |
addr | 83 | include/asm-sparc/system.h | _set_gate(&idt[n],15,0,addr) |
addr | 85 | include/asm-sparc/system.h | #define set_system_gate(n,addr) \ |
addr | 86 | include/asm-sparc/system.h | _set_gate(&idt[n],15,3,addr) |
addr | 88 | include/asm-sparc/system.h | #define set_call_gate(a,addr) \ |
addr | 89 | include/asm-sparc/system.h | _set_gate(a,12,3,addr) |
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 | 43 | include/linux/binfmts.h | char * addr, unsigned long count); |
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 | 493 | include/linux/fs.h | extern unsigned long bread_page(unsigned long addr,dev_t dev,int b[],int size,int no_share); |
addr | 63 | include/linux/igmp.h | extern int ip_mc_join_group(struct sock *sk, struct device *dev, unsigned long addr); |
addr | 64 | 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 | 167 | include/linux/mm.h | #define free_page(addr) free_pages((addr),0) |
addr | 168 | include/linux/mm.h | extern void free_pages(unsigned long addr, unsigned long order); |
addr | 195 | include/linux/mm.h | extern void vfree(void * addr); |
addr | 196 | include/linux/mm.h | extern int vread(char *buf, char *addr, int count); |
addr | 208 | include/linux/mm.h | extern unsigned long do_mmap(struct file * file, unsigned long addr, unsigned long len, |
addr | 261 | include/linux/mm.h | extern inline unsigned long in_swap_cache(unsigned long addr) |
addr | 263 | include/linux/mm.h | return swap_cache[MAP_NR(addr)]; |
addr | 266 | include/linux/mm.h | extern inline long find_in_swap_cache (unsigned long addr) |
addr | 273 | include/linux/mm.h | entry = (unsigned long) xchg_ptr(swap_cache + MAP_NR(addr), NULL); |
addr | 281 | include/linux/mm.h | extern inline int delete_from_swap_cache(unsigned long addr) |
addr | 288 | include/linux/mm.h | entry= (unsigned long) xchg_ptr(swap_cache + MAP_NR(addr), NULL); |
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) (* (int *) (module)->addr) |
addr | 157 | include/linux/netdevice.h | int (*set_mac_address)(struct device *dev, void *addr); |
addr | 191 | include/linux/netdevice.h | extern int ip_chk_addr(unsigned long addr); |
addr | 194 | include/linux/netdevice.h | extern unsigned long ip_get_mask(unsigned long addr); |
addr | 228 | include/linux/netdevice.h | extern void dev_mc_delete(struct device *dev, void *addr, int alen, int all); |
addr | 229 | 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 | 458 | ipc/shm.c | unsigned long addr; |
addr | 471 | ipc/shm.c | if (!(addr = (ulong) shmaddr)) { |
addr | 474 | ipc/shm.c | if (!(addr = get_unmapped_area(shp->shm_segsz))) |
addr | 476 | ipc/shm.c | } else if (addr & (SHMLBA-1)) { |
addr | 478 | ipc/shm.c | addr &= ~(SHMLBA-1); /* round down */ |
addr | 482 | ipc/shm.c | if ((addr > current->mm->start_stack - 16384 - PAGE_SIZE*shp->shm_npages)) { |
addr | 487 | ipc/shm.c | if ((shmd = find_vma_intersection(current, addr, addr + shp->shm_segsz))) { |
addr | 507 | ipc/shm.c | shmd->vm_start = addr; |
addr | 508 | ipc/shm.c | shmd->vm_end = addr + shp->shm_npages * PAGE_SIZE; |
addr | 532 | ipc/shm.c | *raddr = addr; |
addr | 32 | ipc/util.c | extern 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 * 4096)) == 0) { |
addr | 168 | kernel/module.c | mp->addr = addr; |
addr | 172 | kernel/module.c | * (int *) 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 | 219 | kernel/module.c | memcpy_fromfs((char *)mp->addr + sizeof (int), code, codesize); |
addr | 220 | kernel/module.c | memset((char *)mp->addr + sizeof (int) + codesize, 0, |
addr | 398 | kernel/module.c | isym.value = (unsigned long)from->addr; |
addr | 496 | kernel/module.c | vfree(mp->addr); |
addr | 592 | kernel/module.c | (long)sym->addr, sym->name, mp->name); |
addr | 596 | kernel/module.c | (long)sym->addr, sym->name); |
addr | 232 | lib/string.c | void * memscan(void * addr, unsigned char c, size_t size) |
addr | 234 | lib/string.c | unsigned char * p = (unsigned char *) addr; |
addr | 704 | mm/memory.c | int verify_area(int type, const void * addr, unsigned long size) |
addr | 707 | 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(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 | 242 | mm/mmap.c | struct vm_area_struct * find_vma (struct task_struct * task, unsigned long addr) |
addr | 250 | mm/mmap.c | if (vma->vm_end > addr) |
addr | 260 | mm/mmap.c | if (tree->vm_end > addr) { |
addr | 261 | mm/mmap.c | if (tree->vm_start <= addr) |
addr | 651 | mm/mmap.c | unsigned long addr, size_t len) |
addr | 654 | mm/mmap.c | unsigned long end = addr + len; |
addr | 656 | mm/mmap.c | if (addr < area->vm_start || addr >= area->vm_end || |
addr | 658 | mm/mmap.c | end < addr) |
addr | 661 | mm/mmap.c | area->vm_start, area->vm_end, addr, end); |
addr | 666 | mm/mmap.c | if (addr == area->vm_start && end == area->vm_end) { |
addr | 676 | mm/mmap.c | area->vm_end = addr; |
addr | 678 | mm/mmap.c | if (addr == area->vm_start) { |
addr | 696 | mm/mmap.c | area->vm_end = addr; /* Truncate area */ |
addr | 714 | mm/mmap.c | asmlinkage int sys_munmap(unsigned long addr, size_t len) |
addr | 716 | mm/mmap.c | return do_munmap(addr, len); |
addr | 725 | mm/mmap.c | int do_munmap(unsigned long addr, size_t len) |
addr | 729 | mm/mmap.c | if ((addr & ~PAGE_MASK) || addr > TASK_SIZE || len > TASK_SIZE-addr) |
addr | 741 | mm/mmap.c | mpnt = find_vma(current, addr); |
addr | 750 | mm/mmap.c | for ( ; mpnt && mpnt->vm_start < addr+len; mpnt = *npp) { |
addr | 774 | mm/mmap.c | st = addr < mpnt->vm_start ? mpnt->vm_start : addr; |
addr | 775 | mm/mmap.c | end = addr+len; |
addr | 785 | mm/mmap.c | unmap_page_range(addr, len); |
addr | 75 | mm/swap.c | static int add_to_swap_cache(unsigned long addr, unsigned long entry) |
addr | 83 | mm/swap.c | entry = (unsigned long) xchg_ptr(swap_cache + MAP_NR(addr), (void *) entry); |
addr | 645 | mm/swap.c | static inline void free_pages_ok(unsigned long addr, unsigned long order) |
addr | 647 | mm/swap.c | unsigned long index = MAP_NR(addr) >> (1 + order); |
addr | 650 | mm/swap.c | addr &= mask; |
addr | 655 | mm/swap.c | remove_mem_queue(free_area_list+order, (struct mem_list *) (addr ^ (1+~mask))); |
addr | 659 | mm/swap.c | addr &= mask; |
addr | 661 | mm/swap.c | add_mem_queue(free_area_list+order, (struct mem_list *) addr); |
addr | 664 | mm/swap.c | static inline void check_free_buffers(unsigned long addr) |
addr | 668 | mm/swap.c | bh = buffer_pages[MAP_NR(addr)]; |
addr | 679 | mm/swap.c | void free_pages(unsigned long addr, unsigned long order) |
addr | 681 | mm/swap.c | if (addr < high_memory) { |
addr | 683 | mm/swap.c | mem_map_t * map = mem_map + MAP_NR(addr); |
addr | 689 | mm/swap.c | free_pages_ok(addr, order); |
addr | 690 | mm/swap.c | delete_from_swap_cache(addr); |
addr | 694 | mm/swap.c | check_free_buffers(addr); |
addr | 698 | mm/swap.c | printk("Trying to free free memory (%08lx): memory probably corrupted\n",addr); |
addr | 722 | mm/swap.c | static inline int mark_used(unsigned long addr, unsigned long order) |
addr | 724 | mm/swap.c | return change_bit(MAP_NR(addr) >> (1+order), free_area_map[order]); |
addr | 727 | mm/swap.c | #define EXPAND(addr,low,high) \ |
addr | 731 | mm/swap.c | add_mem_queue(free_area_list+high, addr); \ |
addr | 732 | mm/swap.c | mark_used((unsigned long) addr, high); \ |
addr | 734 | mm/swap.c | addr = (struct mem_list *) (size + (unsigned long) addr); \ |
addr | 735 | mm/swap.c | } mem_map[MAP_NR((unsigned long) addr)] = 1; \ |
addr | 24 | mm/vmalloc.c | void * addr; |
addr | 171 | mm/vmalloc.c | void vfree(void * addr) |
addr | 175 | mm/vmalloc.c | if (!addr) |
addr | 177 | mm/vmalloc.c | if ((PAGE_SIZE-1) & (unsigned long) addr) { |
addr | 178 | mm/vmalloc.c | printk("Trying to vfree() bad address (%p)\n", addr); |
addr | 182 | mm/vmalloc.c | if (tmp->addr == addr) { |
addr | 184 | mm/vmalloc.c | free_area_pages(VMALLOC_VMADDR(tmp->addr), tmp->size); |
addr | 189 | mm/vmalloc.c | printk("Trying to vfree() nonexistent vm area (%p)\n", addr); |
addr | 194 | mm/vmalloc.c | void * addr; |
addr | 203 | mm/vmalloc.c | addr = (void *) VMALLOC_START; |
addr | 207 | mm/vmalloc.c | if (size + (unsigned long) addr < (unsigned long) tmp->addr) |
addr | 209 | mm/vmalloc.c | addr = (void *) (tmp->size + (unsigned long) tmp->addr); |
addr | 211 | mm/vmalloc.c | area->addr = addr; |
addr | 214 | mm/vmalloc.c | if (alloc_area_pages(VMALLOC_VMADDR(addr), size)) { |
addr | 215 | mm/vmalloc.c | vfree(addr); |
addr | 218 | mm/vmalloc.c | return addr; |
addr | 221 | mm/vmalloc.c | int vread(char *buf, char *addr, int count) |
addr | 228 | mm/vmalloc.c | vaddr = (char *) tmp->addr; |
addr | 229 | mm/vmalloc.c | while (addr < vaddr) { |
addr | 232 | mm/vmalloc.c | put_fs_byte('\0', buf++), addr++, count--; |
addr | 235 | mm/vmalloc.c | if (addr > vaddr) |
addr | 236 | mm/vmalloc.c | n -= addr - vaddr; |
addr | 240 | mm/vmalloc.c | put_fs_byte(*addr++, buf++), count--; |
addr | 832 | net/inet/af_inet.c | struct sockaddr_in *addr=(struct sockaddr_in *)uaddr; |
addr | 848 | net/inet/af_inet.c | snum = ntohs(addr->sin_port); |
addr | 863 | net/inet/af_inet.c | chk_addr_ret = ip_chk_addr(addr->sin_addr.s_addr); |
addr | 864 | net/inet/af_inet.c | if (addr->sin_addr.s_addr != 0 && chk_addr_ret != IS_MYADDR && chk_addr_ret != IS_MULTICAST) |
addr | 867 | net/inet/af_inet.c | if (chk_addr_ret || addr->sin_addr.s_addr == 0) |
addr | 868 | net/inet/af_inet.c | sk->saddr = addr->sin_addr.s_addr; |
addr | 969 | net/inet/dev.c | static inline int bad_mask(unsigned long mask, unsigned long addr) |
addr | 971 | net/inet/dev.c | if (addr & (mask = ~mask)) |
addr | 108 | net/inet/dev_mcast.c | void dev_mc_delete(struct device *dev, void *addr, int alen, int all) |
addr | 113 | net/inet/dev_mcast.c | if(memcmp((*dmi)->dmi_addr,addr,(*dmi)->dmi_addrlen)==0 && alen==(*dmi)->dmi_addrlen) |
addr | 131 | net/inet/dev_mcast.c | void dev_mc_add(struct device *dev, void *addr, int alen, int newonly) |
addr | 136 | net/inet/dev_mcast.c | if(memcmp(dmi->dmi_addr,addr,dmi->dmi_addrlen)==0 && dmi->dmi_addrlen==alen) |
addr | 146 | net/inet/dev_mcast.c | memcpy(dmi->dmi_addr, addr, alen); |
addr | 47 | net/inet/devinet.c | unsigned long ip_get_mask(unsigned long addr) |
addr | 51 | net/inet/devinet.c | if (addr == 0L) |
addr | 54 | net/inet/devinet.c | dst = ntohl(addr); |
addr | 76 | net/inet/devinet.c | int ip_chk_addr(unsigned long addr) |
addr | 89 | net/inet/devinet.c | if (addr == INADDR_ANY || addr == INADDR_BROADCAST || |
addr | 90 | net/inet/devinet.c | addr == htonl(0x7FFFFFFFL)) |
addr | 93 | net/inet/devinet.c | mask = ip_get_mask(addr); |
addr | 99 | net/inet/devinet.c | if ((addr & mask) == htonl(0x7F000000L)) |
addr | 121 | net/inet/devinet.c | if (addr == dev->pa_addr) |
addr | 127 | net/inet/devinet.c | if ((dev->flags & IFF_BROADCAST) && addr == dev->pa_brdaddr) |
addr | 133 | net/inet/devinet.c | if (((addr ^ dev->pa_addr) & dev->pa_mask) == 0) |
addr | 135 | net/inet/devinet.c | if ((addr & ~dev->pa_mask) == 0) |
addr | 137 | net/inet/devinet.c | if ((addr & ~dev->pa_mask) == ~dev->pa_mask) |
addr | 145 | net/inet/devinet.c | if (((addr ^ dev->pa_addr) & mask) == 0) |
addr | 147 | net/inet/devinet.c | if ((addr & ~mask) == 0) |
addr | 149 | net/inet/devinet.c | if ((addr & ~mask) == ~mask) |
addr | 153 | net/inet/devinet.c | if(IN_MULTICAST(ntohl(addr))) |
addr | 188 | net/inet/devinet.c | struct device * ip_dev_check(unsigned long addr) |
addr | 198 | net/inet/devinet.c | if (addr != dev->pa_dstaddr) |
addr | 208 | net/inet/devinet.c | if (dev->pa_mask & (addr ^ dev->pa_addr)) |
addr | 31 | net/inet/eth.h | extern void eth_add_arp(unsigned long addr, struct sk_buff *skb, |
addr | 138 | net/inet/igmp.c | static void ip_mc_map(unsigned long addr, char *buf) |
addr | 140 | net/inet/igmp.c | addr=ntohl(addr); |
addr | 144 | net/inet/igmp.c | buf[5]=addr&0xFF; |
addr | 145 | net/inet/igmp.c | addr>>=8; |
addr | 146 | net/inet/igmp.c | buf[4]=addr&0xFF; |
addr | 147 | net/inet/igmp.c | addr>>=8; |
addr | 148 | net/inet/igmp.c | buf[3]=addr&0x7F; |
addr | 155 | net/inet/igmp.c | void ip_mc_filter_add(struct device *dev, unsigned long addr) |
addr | 160 | net/inet/igmp.c | ip_mc_map(addr,buf); |
addr | 168 | net/inet/igmp.c | void ip_mc_filter_del(struct device *dev, unsigned long addr) |
addr | 173 | net/inet/igmp.c | ip_mc_map(addr,buf); |
addr | 223 | net/inet/igmp.c | static void ip_mc_inc_group(struct device *dev, unsigned long addr) |
addr | 228 | net/inet/igmp.c | if(i->multiaddr==addr) |
addr | 239 | net/inet/igmp.c | i->multiaddr=addr; |
addr | 249 | net/inet/igmp.c | static void ip_mc_dec_group(struct device *dev, unsigned long addr) |
addr | 254 | net/inet/igmp.c | if((*i)->multiaddr==addr) |
addr | 311 | net/inet/igmp.c | int ip_mc_join_group(struct sock *sk , struct device *dev, unsigned long addr) |
addr | 315 | net/inet/igmp.c | if(!MULTICAST(addr)) |
addr | 327 | net/inet/igmp.c | if(sk->ip_mc_list->multiaddr[i]==addr && sk->ip_mc_list->multidev[i]==dev) |
addr | 335 | net/inet/igmp.c | sk->ip_mc_list->multiaddr[unused]=addr; |
addr | 337 | net/inet/igmp.c | ip_mc_inc_group(dev,addr); |
addr | 345 | net/inet/igmp.c | int ip_mc_leave_group(struct sock *sk, struct device *dev, unsigned long addr) |
addr | 348 | net/inet/igmp.c | if(!MULTICAST(addr)) |
addr | 357 | net/inet/igmp.c | if(sk->ip_mc_list->multiaddr[i]==addr && sk->ip_mc_list->multidev[i]==dev) |
addr | 360 | net/inet/igmp.c | ip_mc_dec_group(dev,addr); |
addr | 2111 | net/inet/ip.c | struct in_addr addr; |
addr | 2118 | net/inet/ip.c | err=verify_area(VERIFY_READ, optval, sizeof(addr)); |
addr | 2122 | net/inet/ip.c | memcpy_fromfs(&addr,optval,sizeof(addr)); |
addr | 2124 | net/inet/ip.c | printk("MC bind %s\n", in_ntoa(addr.s_addr)); |
addr | 2130 | net/inet/ip.c | if(addr.s_addr==INADDR_ANY) /* Default */ |
addr | 2143 | net/inet/ip.c | (dev->pa_addr==addr.s_addr)) |
addr | 1458 | net/inet/ipx.c | struct sockaddr_ipx *addr=(struct sockaddr_ipx *)uaddr; |
addr | 1468 | net/inet/ipx.c | intrfc = ipxitf_find_using_net(addr->sipx_network); |
addr | 1472 | net/inet/ipx.c | if (addr->sipx_port == 0) { |
addr | 1473 | net/inet/ipx.c | addr->sipx_port = ipx_first_free_socketnum(intrfc); |
addr | 1474 | net/inet/ipx.c | if (addr->sipx_port == 0) |
addr | 1478 | net/inet/ipx.c | if(ntohs(addr->sipx_port)<IPX_MIN_EPHEMERAL_SOCKET && !suser()) |
addr | 1484 | net/inet/ipx.c | if(ipxitf_find_socket(intrfc, addr->sipx_port)!=NULL) { |
addr | 1487 | net/inet/ipx.c | (int)addr->sipx_port); |
addr | 1491 | net/inet/ipx.c | sk->ipx_port=addr->sipx_port; |
addr | 1503 | net/inet/ipx.c | struct sockaddr_ipx *addr; |
addr | 1508 | net/inet/ipx.c | if(addr_len!=sizeof(*addr)) |
addr | 1510 | net/inet/ipx.c | addr=(struct sockaddr_ipx *)uaddr; |
addr | 1524 | net/inet/ipx.c | if(ipxrtr_lookup(addr->sipx_network)==NULL) |
addr | 1526 | net/inet/ipx.c | sk->ipx_dest_addr.net=addr->sipx_network; |
addr | 1527 | net/inet/ipx.c | sk->ipx_dest_addr.sock=addr->sipx_port; |
addr | 1528 | net/inet/ipx.c | memcpy(sk->ipx_dest_addr.node,addr->sipx_node,IPX_NODE_LEN); |
addr | 1529 | net/inet/ipx.c | sk->ipx_type=addr->sipx_type; |
addr | 1550 | net/inet/ipx.c | ipx_address *addr; |
addr | 1561 | net/inet/ipx.c | addr=&sk->ipx_dest_addr; |
addr | 1562 | net/inet/ipx.c | sipx.sipx_network = addr->net; |
addr | 1563 | net/inet/ipx.c | memcpy(sipx.sipx_node,addr->node,IPX_NODE_LEN); |
addr | 1564 | net/inet/ipx.c | sipx.sipx_port = addr->sock; |
addr | 349 | net/inet/route.c | static inline int bad_mask(unsigned long mask, unsigned long addr) |
addr | 351 | net/inet/route.c | if (addr & (mask = ~mask)) |
addr | 46 | net/inet/route.h | extern void ip_rt_add(short flags, unsigned long addr, unsigned long mask, |
addr | 1770 | net/inet/tcp.c | struct sockaddr_in *addr, int addr_len) |
addr | 1776 | net/inet/tcp.c | if (addr_len < sizeof(*addr)) |
addr | 1778 | net/inet/tcp.c | if (addr->sin_family && addr->sin_family != AF_INET) |
addr | 1780 | net/inet/tcp.c | if (addr->sin_port != sk->dummy_th.dest) |
addr | 1782 | net/inet/tcp.c | if (addr->sin_addr.s_addr != sk->daddr) |
addr | 2462 | net/inet/tcp.c | struct sockaddr_in *addr, int *addr_len) |
addr | 2473 | net/inet/tcp.c | *addr_len = sizeof(*addr); |
addr | 2479 | net/inet/tcp.c | if(addr) |
addr | 2481 | net/inet/tcp.c | addr->sin_family = AF_INET; |
addr | 2482 | net/inet/tcp.c | addr->sin_port = sk->dummy_th.dest; |
addr | 2483 | net/inet/tcp.c | addr->sin_addr.s_addr = sk->daddr; |
addr | 977 | net/socket.c | struct sockaddr *addr, int addr_len) |
addr | 995 | net/socket.c | if((err=move_addr_to_kernel(addr,addr_len,address))<0) |
addr | 1041 | net/socket.c | struct sockaddr *addr, int *addr_len) |
addr | 1066 | 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) |