tag | line | file | source code |
r | 63 | arch/alpha/math-emu/fp-emul.c | unsigned long r; |
r | 66 | arch/alpha/math-emu/fp-emul.c | case 0: asm ("stt $f0,%0" : "m="(r)); break; |
r | 67 | arch/alpha/math-emu/fp-emul.c | case 1: asm ("stt $f1,%0" : "m="(r)); break; |
r | 68 | arch/alpha/math-emu/fp-emul.c | case 2: asm ("stt $f2,%0" : "m="(r)); break; |
r | 69 | arch/alpha/math-emu/fp-emul.c | case 3: asm ("stt $f3,%0" : "m="(r)); break; |
r | 70 | arch/alpha/math-emu/fp-emul.c | case 4: asm ("stt $f4,%0" : "m="(r)); break; |
r | 71 | arch/alpha/math-emu/fp-emul.c | case 5: asm ("stt $f5,%0" : "m="(r)); break; |
r | 72 | arch/alpha/math-emu/fp-emul.c | case 6: asm ("stt $f6,%0" : "m="(r)); break; |
r | 73 | arch/alpha/math-emu/fp-emul.c | case 7: asm ("stt $f7,%0" : "m="(r)); break; |
r | 74 | arch/alpha/math-emu/fp-emul.c | case 8: asm ("stt $f8,%0" : "m="(r)); break; |
r | 75 | arch/alpha/math-emu/fp-emul.c | case 9: asm ("stt $f9,%0" : "m="(r)); break; |
r | 76 | arch/alpha/math-emu/fp-emul.c | case 10: asm ("stt $f10,%0" : "m="(r)); break; |
r | 77 | arch/alpha/math-emu/fp-emul.c | case 11: asm ("stt $f11,%0" : "m="(r)); break; |
r | 78 | arch/alpha/math-emu/fp-emul.c | case 12: asm ("stt $f12,%0" : "m="(r)); break; |
r | 79 | arch/alpha/math-emu/fp-emul.c | case 13: asm ("stt $f13,%0" : "m="(r)); break; |
r | 80 | arch/alpha/math-emu/fp-emul.c | case 14: asm ("stt $f14,%0" : "m="(r)); break; |
r | 81 | arch/alpha/math-emu/fp-emul.c | case 15: asm ("stt $f15,%0" : "m="(r)); break; |
r | 82 | arch/alpha/math-emu/fp-emul.c | case 16: asm ("stt $f16,%0" : "m="(r)); break; |
r | 83 | arch/alpha/math-emu/fp-emul.c | case 17: asm ("stt $f17,%0" : "m="(r)); break; |
r | 84 | arch/alpha/math-emu/fp-emul.c | case 18: asm ("stt $f18,%0" : "m="(r)); break; |
r | 85 | arch/alpha/math-emu/fp-emul.c | case 19: asm ("stt $f19,%0" : "m="(r)); break; |
r | 86 | arch/alpha/math-emu/fp-emul.c | case 20: asm ("stt $f20,%0" : "m="(r)); break; |
r | 87 | arch/alpha/math-emu/fp-emul.c | case 21: asm ("stt $f21,%0" : "m="(r)); break; |
r | 88 | arch/alpha/math-emu/fp-emul.c | case 22: asm ("stt $f22,%0" : "m="(r)); break; |
r | 89 | arch/alpha/math-emu/fp-emul.c | case 23: asm ("stt $f23,%0" : "m="(r)); break; |
r | 90 | arch/alpha/math-emu/fp-emul.c | case 24: asm ("stt $f24,%0" : "m="(r)); break; |
r | 91 | arch/alpha/math-emu/fp-emul.c | case 25: asm ("stt $f25,%0" : "m="(r)); break; |
r | 92 | arch/alpha/math-emu/fp-emul.c | case 26: asm ("stt $f26,%0" : "m="(r)); break; |
r | 93 | arch/alpha/math-emu/fp-emul.c | case 27: asm ("stt $f27,%0" : "m="(r)); break; |
r | 94 | arch/alpha/math-emu/fp-emul.c | case 28: asm ("stt $f28,%0" : "m="(r)); break; |
r | 95 | arch/alpha/math-emu/fp-emul.c | case 29: asm ("stt $f29,%0" : "m="(r)); break; |
r | 96 | arch/alpha/math-emu/fp-emul.c | case 30: asm ("stt $f30,%0" : "m="(r)); break; |
r | 97 | arch/alpha/math-emu/fp-emul.c | case 31: asm ("stt $f31,%0" : "m="(r)); break; |
r | 101 | arch/alpha/math-emu/fp-emul.c | return r; |
r | 168 | arch/i386/math-emu/errors.c | FPU_REG *r = &st(i); |
r | 169 | arch/i386/math-emu/errors.c | switch (r->tag) |
r | 177 | arch/i386/math-emu/errors.c | i, r->sign ? '-' : '+'); |
r | 185 | arch/i386/math-emu/errors.c | r->sign ? '-' : '+', |
r | 186 | arch/i386/math-emu/errors.c | (long)(r->sigh >> 16), |
r | 187 | arch/i386/math-emu/errors.c | (long)(r->sigh & 0xFFFF), |
r | 188 | arch/i386/math-emu/errors.c | (long)(r->sigl >> 16), |
r | 189 | arch/i386/math-emu/errors.c | (long)(r->sigl & 0xFFFF), |
r | 190 | arch/i386/math-emu/errors.c | r->exp - EXP_BIAS + 1); |
r | 196 | arch/i386/math-emu/errors.c | printk("%s\n", tag_desc[(int) (unsigned) r->tag]); |
r | 35 | arch/i386/math-emu/fpu_aux.c | int r; |
r | 39 | arch/i386/math-emu/fpu_aux.c | for (r = 0; r < 8; r++) |
r | 41 | arch/i386/math-emu/fpu_aux.c | regs[r].tag = TW_Empty; |
r | 297 | arch/i386/math-emu/fpu_entry.c | int r; |
r | 298 | arch/i386/math-emu/fpu_entry.c | for (r = 0; r < 8; r++) |
r | 300 | arch/i386/math-emu/fpu_entry.c | regs[r].tag = TW_Empty; |
r | 128 | arch/i386/math-emu/fpu_proto.h | extern int round_to_int(FPU_REG *r); |
r | 1089 | arch/i386/math-emu/reg_ld_str.c | int round_to_int(FPU_REG *r) |
r | 1094 | arch/i386/math-emu/reg_ld_str.c | if (r->tag == TW_Zero) |
r | 1097 | arch/i386/math-emu/reg_ld_str.c | significand(r) = 0; |
r | 1101 | arch/i386/math-emu/reg_ld_str.c | if (r->exp > EXP_BIAS + 63) |
r | 1103 | arch/i386/math-emu/reg_ld_str.c | r->sigl = r->sigh = ~0; /* The largest representable number */ |
r | 1107 | arch/i386/math-emu/reg_ld_str.c | eax = shrxs(&r->sigl, EXP_BIAS + 63 - r->exp); |
r | 1108 | arch/i386/math-emu/reg_ld_str.c | very_big = !(~(r->sigh) | ~(r->sigl)); /* test for 0xfff...fff */ |
r | 1116 | arch/i386/math-emu/reg_ld_str.c | || (half_or_more && (r->sigl & 1)) ) /* odd -> even */ |
r | 1119 | arch/i386/math-emu/reg_ld_str.c | significand(r) ++; |
r | 1124 | arch/i386/math-emu/reg_ld_str.c | if (frac_part && r->sign) |
r | 1127 | arch/i386/math-emu/reg_ld_str.c | significand(r) ++; |
r | 1132 | arch/i386/math-emu/reg_ld_str.c | if (frac_part && !r->sign) |
r | 1135 | arch/i386/math-emu/reg_ld_str.c | significand(r) ++; |
r | 18 | arch/ppc/kernel/mmu.h | unsigned long r:1; /* Referenced */ |
r | 107 | arch/ppc/kernel/mmu.h | unsigned long r:1; /* Page has been referenced */ |
r | 623 | arch/ppc/mm/init.c | printk(" V: %d, VSID: %05x, H: %d, RPN: %04x, R: %d, C: %d, PP: %x\n", _pte->v, _pte->vsid, _pte->h, _pte->rpn, _pte->r, _pte->c, _pte->pp); |
r | 629 | arch/ppc/mm/init.c | printk(" V: %d, VSID: %05x, H: %d, RPN: %04x, R: %d, C: %d, PP: %x\n", _pte->v, _pte->vsid, _pte->h, _pte->rpn, _pte->r, _pte->c, _pte->pp); |
r | 664 | arch/ppc/mm/init.c | slot->r = 0; |
r | 707 | arch/ppc/mm/init.c | if (slot->r) flags |= _PAGE_ACCESSED; |
r | 18 | arch/ppc/mm/mmu.h | unsigned long r:1; /* Referenced */ |
r | 107 | arch/ppc/mm/mmu.h | unsigned long r:1; /* Page has been referenced */ |
r | 1329 | drivers/block/floppy.c | int i,ready_date,r, flags,dflags; |
r | 1360 | drivers/block/floppy.c | r=0; |
r | 1362 | drivers/block/floppy.c | r|=output_byte(raw_cmd->cmd[i]); |
r | 1367 | drivers/block/floppy.c | if (r){ |
r | 3624 | drivers/block/floppy.c | int r; |
r | 3629 | drivers/block/floppy.c | if ((r = result()) <= 0x00) |
r | 3631 | drivers/block/floppy.c | if ((r==1) && (reply_buffer[0] == 0x80)){ |
r | 3635 | drivers/block/floppy.c | if (r != 10) { |
r | 3637 | drivers/block/floppy.c | fdc, r); |
r | 3641 | drivers/block/floppy.c | r = result(); |
r | 3642 | drivers/block/floppy.c | if ((r == 1) && (reply_buffer[0] == 0x80)){ |
r | 3646 | drivers/block/floppy.c | if ((r != 1) || (reply_buffer[0] != 0x90)) { |
r | 3648 | drivers/block/floppy.c | fdc, r); |
r | 3652 | drivers/block/floppy.c | r = result(); |
r | 3653 | drivers/block/floppy.c | if ((r == 1) && (reply_buffer[0] == 0x80)){ |
r | 3657 | drivers/block/floppy.c | if ((r != 1) || (reply_buffer[0] != 0x00)) { |
r | 3659 | drivers/block/floppy.c | fdc, r); |
r | 3663 | drivers/block/floppy.c | r = result(); |
r | 3664 | drivers/block/floppy.c | if (r != 1) { |
r | 3666 | drivers/block/floppy.c | fdc, r); |
r | 3676 | drivers/block/floppy.c | r = result(); |
r | 3677 | drivers/block/floppy.c | if (r != 17) { |
r | 3678 | drivers/block/floppy.c | printk("FDC %d init: SAVE: unexpected return of %d bytes.\n",fdc,r); |
r | 170 | drivers/char/busmouse.c | int r; |
r | 177 | drivers/char/busmouse.c | if ((r = verify_area(VERIFY_WRITE, buffer, count))) |
r | 178 | drivers/char/busmouse.c | return r; |
r | 209 | drivers/char/busmouse.c | for (r = 3; r < count; r++) |
r | 210 | drivers/char/busmouse.c | put_user(0x00, buffer + r); |
r | 211 | drivers/char/busmouse.c | return r; |
r | 118 | drivers/char/pty.c | int c=0, n, r; |
r | 131 | drivers/char/pty.c | r = to->ldisc.receive_room(to); |
r | 132 | drivers/char/pty.c | if (r <= 0) |
r | 134 | drivers/char/pty.c | n = MIN(n, r); |
r | 311 | drivers/char/random.c | static inline void add_entropy_word(struct random_bucket *r, |
r | 317 | drivers/char/random.c | w = (input << r->input_rotate) | (input >> (32 - r->input_rotate)); |
r | 318 | drivers/char/random.c | i = r->add_ptr = (r->add_ptr - 1) & (POOLWORDS-1); |
r | 320 | drivers/char/random.c | r->input_rotate = (r->input_rotate + 7) & 31; |
r | 327 | drivers/char/random.c | r->input_rotate = (r->input_rotate + 14) & 31; |
r | 330 | drivers/char/random.c | w ^= r->pool[(i+TAP1)&(POOLWORDS-1)]; |
r | 331 | drivers/char/random.c | w ^= r->pool[(i+TAP2)&(POOLWORDS-1)]; |
r | 332 | drivers/char/random.c | w ^= r->pool[(i+TAP3)&(POOLWORDS-1)]; |
r | 333 | drivers/char/random.c | w ^= r->pool[(i+TAP4)&(POOLWORDS-1)]; |
r | 334 | drivers/char/random.c | w ^= r->pool[(i+TAP5)&(POOLWORDS-1)]; |
r | 335 | drivers/char/random.c | w ^= r->pool[i]; |
r | 337 | drivers/char/random.c | r->pool[i] = (w << 1) | (w >> 31); |
r | 353 | drivers/char/random.c | static void add_timer_randomness(struct random_bucket *r, |
r | 380 | drivers/char/random.c | r->entropy_count += 2; |
r | 389 | drivers/char/random.c | add_entropy_word(r, (__u32) num); |
r | 390 | drivers/char/random.c | add_entropy_word(r, time); |
r | 410 | drivers/char/random.c | r->entropy_count += nbits; |
r | 413 | drivers/char/random.c | if (r->entropy_count > POOLBITS) |
r | 414 | drivers/char/random.c | r->entropy_count = POOLBITS; |
r | 578 | drivers/char/random.c | static inline int extract_entropy(struct random_bucket *r, char * buf, |
r | 584 | drivers/char/random.c | add_timer_randomness(r, &extract_timer_state, nbytes); |
r | 587 | drivers/char/random.c | if (r->entropy_count > POOLBITS) |
r | 588 | drivers/char/random.c | r->entropy_count = POOLBITS; |
r | 594 | drivers/char/random.c | if (r->entropy_count / 8 >= nbytes) |
r | 595 | drivers/char/random.c | r->entropy_count -= nbytes*8; |
r | 597 | drivers/char/random.c | r->entropy_count = 0; |
r | 606 | drivers/char/random.c | MD5Transform(tmp, r->pool+i); |
r | 608 | drivers/char/random.c | add_entropy_word(r, tmp[0]); |
r | 609 | drivers/char/random.c | add_entropy_word(r, tmp[1]); |
r | 610 | drivers/char/random.c | add_entropy_word(r, tmp[2]); |
r | 611 | drivers/char/random.c | add_entropy_word(r, tmp[3]); |
r | 617 | drivers/char/random.c | MD5Transform(tmp, r->pool); |
r | 282 | drivers/char/scc.c | register unsigned char r; |
r | 285 | drivers/char/scc.c | r=Inb(port); |
r | 287 | drivers/char/scc.c | return r; |
r | 2095 | drivers/char/scc.c | unsigned long flags, r; |
r | 2111 | drivers/char/scc.c | r = NO_SUCH_PARAM; |
r | 2393 | drivers/char/scc.c | case PARAM_TXDELAY: r = CAST(scc->kiss.txdelay*TICKS); break; |
r | 2394 | drivers/char/scc.c | case PARAM_PERSIST: r = CAST(scc->kiss.persist); break; |
r | 2395 | drivers/char/scc.c | case PARAM_SLOTTIME: r = CAST(scc->kiss.slottime*TICKS); break; |
r | 2396 | drivers/char/scc.c | case PARAM_TXTAIL: r = CAST(scc->kiss.tailtime*TICKS); break; |
r | 2397 | drivers/char/scc.c | case PARAM_FULLDUP: r = CAST(scc->kiss.fulldup); break; |
r | 2398 | drivers/char/scc.c | case PARAM_SOFTDCD: r = CAST(scc->kiss.softdcd); break; |
r | 2399 | drivers/char/scc.c | case PARAM_DTR: r = CAST((scc->wreg[R5] & DTR)? 1:0); break; |
r | 2400 | drivers/char/scc.c | case PARAM_RTS: r = CAST((scc->wreg[R5] & RTS)? 1:0); break; |
r | 2401 | drivers/char/scc.c | case PARAM_SPEED: r = CAST(scc->modem.speed); break; |
r | 2402 | drivers/char/scc.c | case PARAM_GROUP: r = CAST(scc->kiss.group); break; |
r | 2403 | drivers/char/scc.c | case PARAM_IDLE: r = CAST(scc->kiss.idletime); break; |
r | 2404 | drivers/char/scc.c | case PARAM_MIN: r = CAST(scc->kiss.mintime); break; |
r | 2405 | drivers/char/scc.c | case PARAM_MAXKEY: r = CAST(scc->kiss.maxkeyup); break; |
r | 2406 | drivers/char/scc.c | case PARAM_WAIT: r = CAST(scc->kiss.waittime); break; |
r | 2407 | drivers/char/scc.c | case PARAM_MAXDEFER: r = CAST(scc->kiss.maxdefer); break; |
r | 2408 | drivers/char/scc.c | case PARAM_TX: r = CAST(scc->kiss.tx_inhibit); break; |
r | 2409 | drivers/char/scc.c | case PARAM_SLIP: r = CAST(!scc->kiss.not_slip); break; |
r | 2410 | drivers/char/scc.c | default: r = NO_SUCH_PARAM; |
r | 2413 | drivers/char/scc.c | kiss_cmd.param = r; |
r | 178 | drivers/char/tga.c | #define TGA_WRITE_REG(v,r) \ |
r | 179 | drivers/char/tga.c | { writel((v), tga_regs_base+(r)); mb(); } |
r | 181 | drivers/char/tga.c | #define TGA_READ_REG(r) readl(tga_regs_base+(r)) |
r | 183 | drivers/char/tga.c | #define BT485_WRITE(v,r) \ |
r | 184 | drivers/char/tga.c | TGA_WRITE_REG((r),TGA_RAMDAC_SETUP_REG); \ |
r | 185 | drivers/char/tga.c | TGA_WRITE_REG(((v)&0xff)|((r)<<8),TGA_RAMDAC_REG); |
r | 1802 | drivers/char/tpqic02.c | int stat, r, i; |
r | 1841 | drivers/char/tpqic02.c | r = 0; |
r | 1848 | drivers/char/tpqic02.c | r = 1; |
r | 1853 | drivers/char/tpqic02.c | r = 1; /* big trouble, but can't do much about it... */ |
r | 1856 | drivers/char/tpqic02.c | if (r) |
r | 253 | drivers/char/tty_io.c | int r = tty->ldisc.open(tty); |
r | 255 | drivers/char/tty_io.c | if (r < 0) |
r | 258 | drivers/char/tty_io.c | tty_name(tty), r); |
r | 360 | drivers/net/plip.c | int r; |
r | 364 | drivers/net/plip.c | if ((r = (*f)(dev, nl, snd, rcv)) != OK |
r | 365 | drivers/net/plip.c | && (r = plip_bh_timeout_error(dev, nl, snd, rcv, r)) != OK) { |
r | 1015 | drivers/net/plip.c | struct enet_statistics *r = &nl->enet_stats; |
r | 1017 | drivers/net/plip.c | return r; |
r | 776 | drivers/net/wavelan.c | int r; |
r | 822 | drivers/net/wavelan.c | r = wavelan_probe1(dev, base_addr); |
r | 824 | drivers/net/wavelan.c | printk("%s: <-wavelan_probe(): %d\n", dev->name, r); |
r | 825 | drivers/net/wavelan.c | return r; |
r | 1221 | drivers/net/wavelan.c | int r; |
r | 1253 | drivers/net/wavelan.c | if ((r = wavelan_hardware_reset(dev)) != -1) |
r | 1260 | drivers/net/wavelan.c | if (r == -1) |
r | 462 | drivers/scsi/sg.c | int r = 0; |
r | 468 | drivers/scsi/sg.c | r = 1; |
r | 475 | drivers/scsi/sg.c | r = 1; |
r | 483 | drivers/scsi/sg.c | return(r); |
r | 887 | fs/binfmt_elf.c | static void dump_regs(const char *str, elf_greg_t *r) |
r | 898 | fs/binfmt_elf.c | unsigned long val = r[i]; |
r | 261 | fs/ext2/balloc.c | char * p, * r; |
r | 342 | fs/ext2/balloc.c | r = memscan(p, 0, (EXT2_BLOCKS_PER_GROUP(sb) - j + 7) >> 3); |
r | 343 | fs/ext2/balloc.c | k = (r - ((char *) bh->b_data)) << 3; |
r | 377 | fs/ext2/balloc.c | r = memscan(bh->b_data, 0, EXT2_BLOCKS_PER_GROUP(sb) >> 3); |
r | 378 | fs/ext2/balloc.c | j = (r - bh->b_data) << 3; |
r | 884 | fs/hpfs/hpfs_fs.c | unsigned q, r, n, n0; |
r | 905 | fs/hpfs/hpfs_fs.c | r = filp->f_pos & 511; |
r | 906 | fs/hpfs/hpfs_fs.c | n = 512 - r; |
r | 926 | fs/hpfs/hpfs_fs.c | inode->i_hpfs_conv = choose_conv(block + r, n); |
r | 933 | fs/hpfs/hpfs_fs.c | memcpy_tofs(buf, block + r, n); |
r | 940 | fs/hpfs/hpfs_fs.c | n0 = convcpy_tofs(buf, block + r, n); |
r | 1436 | fs/hpfs/hpfs_fs.c | unsigned pos, q, r; |
r | 1446 | fs/hpfs/hpfs_fs.c | r = pos & 077; |
r | 1461 | fs/hpfs/hpfs_fs.c | de = map_nth_dirent(inode->i_dev, dno, r, qbh); |
r | 1524 | fs/hpfs/hpfs_fs.c | unsigned r = pos & 077; |
r | 1537 | fs/hpfs/hpfs_fs.c | de = map_nth_dirent(inode->i_dev, dno, r, &qbh); |
r | 18 | include/asm-ppc/mmu.h | unsigned long r:1; /* Referenced */ |
r | 790 | kernel/sys.c | struct rusage r; |
r | 795 | kernel/sys.c | memset((char *) &r, 0, sizeof(r)); |
r | 798 | kernel/sys.c | r.ru_utime.tv_sec = CT_TO_SECS(p->utime); |
r | 799 | kernel/sys.c | r.ru_utime.tv_usec = CT_TO_USECS(p->utime); |
r | 800 | kernel/sys.c | r.ru_stime.tv_sec = CT_TO_SECS(p->stime); |
r | 801 | kernel/sys.c | r.ru_stime.tv_usec = CT_TO_USECS(p->stime); |
r | 802 | kernel/sys.c | r.ru_minflt = p->min_flt; |
r | 803 | kernel/sys.c | r.ru_majflt = p->maj_flt; |
r | 804 | kernel/sys.c | r.ru_nswap = p->nswap; |
r | 807 | kernel/sys.c | r.ru_utime.tv_sec = CT_TO_SECS(p->cutime); |
r | 808 | kernel/sys.c | r.ru_utime.tv_usec = CT_TO_USECS(p->cutime); |
r | 809 | kernel/sys.c | r.ru_stime.tv_sec = CT_TO_SECS(p->cstime); |
r | 810 | kernel/sys.c | r.ru_stime.tv_usec = CT_TO_USECS(p->cstime); |
r | 811 | kernel/sys.c | r.ru_minflt = p->cmin_flt; |
r | 812 | kernel/sys.c | r.ru_majflt = p->cmaj_flt; |
r | 813 | kernel/sys.c | r.ru_nswap = p->cnswap; |
r | 816 | kernel/sys.c | r.ru_utime.tv_sec = CT_TO_SECS(p->utime + p->cutime); |
r | 817 | kernel/sys.c | r.ru_utime.tv_usec = CT_TO_USECS(p->utime + p->cutime); |
r | 818 | kernel/sys.c | r.ru_stime.tv_sec = CT_TO_SECS(p->stime + p->cstime); |
r | 819 | kernel/sys.c | r.ru_stime.tv_usec = CT_TO_USECS(p->stime + p->cstime); |
r | 820 | kernel/sys.c | r.ru_minflt = p->min_flt + p->cmin_flt; |
r | 821 | kernel/sys.c | r.ru_majflt = p->maj_flt + p->cmaj_flt; |
r | 822 | kernel/sys.c | r.ru_nswap = p->nswap + p->cnswap; |
r | 825 | kernel/sys.c | memcpy_tofs(ru, &r, sizeof(r)); |
r | 293 | lib/inflate.c | struct huft r; /* table entry for structure assignment */ |
r | 430 | lib/inflate.c | r.b = (uch)l; /* bits to dump before this table */ |
r | 431 | lib/inflate.c | r.e = (uch)(16 + j); /* bits in this table */ |
r | 432 | lib/inflate.c | r.v.t = q; /* pointer to this table */ |
r | 434 | lib/inflate.c | u[h-1][j] = r; /* connect to last table */ |
r | 441 | lib/inflate.c | r.b = (uch)(k - w); |
r | 443 | lib/inflate.c | r.e = 99; /* out of values--invalid code */ |
r | 446 | lib/inflate.c | r.e = (uch)(*p < 256 ? 16 : 15); /* 256 is end-of-block code */ |
r | 447 | lib/inflate.c | r.v.n = (ush)(*p); /* simple code is just the value */ |
r | 452 | lib/inflate.c | r.e = (uch)e[*p - s]; /* non-simple--look up in lists */ |
r | 453 | lib/inflate.c | r.v.n = d[*p++ - s]; |
r | 460 | lib/inflate.c | q[j] = r; |
r | 955 | lib/inflate.c | int r; /* result code */ |
r | 970 | lib/inflate.c | if ((r = inflate_block(&e)) != 0) { |
r | 972 | lib/inflate.c | return r; |
r | 483 | net/appletalk/ddp.c | struct atalk_route *r; |
r | 484 | net/appletalk/ddp.c | for(r=atalk_router_list;r!=NULL;r=r->next) |
r | 486 | net/appletalk/ddp.c | if(!(r->flags&RTF_UP)) |
r | 488 | net/appletalk/ddp.c | if(r->target.s_net==target->s_net) |
r | 490 | net/appletalk/ddp.c | if(!(r->flags&RTF_HOST) || r->target.s_node==target->s_node) |
r | 491 | net/appletalk/ddp.c | return r; |
r | 532 | net/appletalk/ddp.c | static int atrtr_create(struct rtentry *r, struct device *devhint) |
r | 534 | net/appletalk/ddp.c | struct sockaddr_at *ta=(struct sockaddr_at *)&r->rt_dst; |
r | 535 | net/appletalk/ddp.c | struct sockaddr_at *ga=(struct sockaddr_at *)&r->rt_gateway; |
r | 561 | net/appletalk/ddp.c | if(r->rt_flags != rt->flags) |
r | 605 | net/appletalk/ddp.c | rt->flags=r->rt_flags; |
r | 619 | net/appletalk/ddp.c | struct atalk_route **r = &atalk_router_list; |
r | 622 | net/appletalk/ddp.c | while ((tmp = *r) != NULL) |
r | 628 | net/appletalk/ddp.c | *r = tmp->next; |
r | 632 | net/appletalk/ddp.c | r = &tmp->next; |
r | 644 | net/appletalk/ddp.c | struct atalk_route **r = &atalk_router_list; |
r | 647 | net/appletalk/ddp.c | while ((tmp = *r) != NULL) |
r | 651 | net/appletalk/ddp.c | *r = tmp->next; |
r | 655 | net/appletalk/ddp.c | r = &tmp->next; |
r | 1653 | net/ipv4/arp.c | static int arp_req_set(struct arpreq *r, struct device * dev) |
r | 1666 | net/ipv4/arp.c | si = (struct sockaddr_in *) &r->arp_pa; |
r | 1686 | net/ipv4/arp.c | if (((r->arp_flags & ATF_PUBL) && dev == dev1) || |
r | 1687 | net/ipv4/arp.c | (!(r->arp_flags & ATF_PUBL) && dev != dev1)) |
r | 1704 | net/ipv4/arp.c | entry = arp_lookup(ip, r->arp_flags & ~ATF_NETMASK, dev); |
r | 1731 | net/ipv4/arp.c | if (r->arp_flags & ATF_PUBL) |
r | 1751 | net/ipv4/arp.c | ha = r->arp_ha.sa_data; |
r | 1752 | net/ipv4/arp.c | if ((r->arp_flags & ATF_COM) && empty(ha, dev->addr_len)) |
r | 1756 | net/ipv4/arp.c | entry->flags = r->arp_flags | ATF_COM; |
r | 1759 | net/ipv4/arp.c | si = (struct sockaddr_in *) &r->arp_netmask; |
r | 1776 | net/ipv4/arp.c | static int arp_req_get(struct arpreq *r, struct device *dev) |
r | 1781 | net/ipv4/arp.c | si = (struct sockaddr_in *) &r->arp_pa; |
r | 1789 | net/ipv4/arp.c | entry = arp_lookup(si->sin_addr.s_addr, r->arp_flags|ATF_NETMASK, dev); |
r | 1801 | net/ipv4/arp.c | memcpy(r->arp_ha.sa_data, &entry->ha, entry->dev->addr_len); |
r | 1802 | net/ipv4/arp.c | r->arp_ha.sa_family = entry->dev->type; |
r | 1803 | net/ipv4/arp.c | r->arp_flags = entry->flags; |
r | 1804 | net/ipv4/arp.c | strncpy(r->arp_dev, entry->dev->name, 16); |
r | 1809 | net/ipv4/arp.c | static int arp_req_delete(struct arpreq *r, struct device * dev) |
r | 1814 | net/ipv4/arp.c | si = (struct sockaddr_in *) &r->arp_pa; |
r | 1821 | net/ipv4/arp.c | if (!(r->arp_flags & ATF_PUBL)) |
r | 1857 | net/ipv4/arp.c | struct arpreq r; |
r | 1871 | net/ipv4/arp.c | memcpy_fromfs(&r, arg, sizeof(struct arpreq)); |
r | 1881 | net/ipv4/arp.c | memcpy_fromfs(&r, arg, sizeof(struct arpreq_old)); |
r | 1882 | net/ipv4/arp.c | memset(&r.arp_dev, 0, sizeof(r.arp_dev)); |
r | 1888 | net/ipv4/arp.c | if (r.arp_pa.sa_family != AF_INET) |
r | 1890 | net/ipv4/arp.c | if (((struct sockaddr_in *)&r.arp_pa)->sin_addr.s_addr == 0) |
r | 1893 | net/ipv4/arp.c | if (r.arp_dev[0]) |
r | 1895 | net/ipv4/arp.c | if ((dev = dev_get(r.arp_dev)) == NULL) |
r | 1898 | net/ipv4/arp.c | if (!r.arp_ha.sa_family) |
r | 1899 | net/ipv4/arp.c | r.arp_ha.sa_family = dev->type; |
r | 1900 | net/ipv4/arp.c | else if (r.arp_ha.sa_family != dev->type) |
r | 1905 | net/ipv4/arp.c | if ((r.arp_flags & ATF_PUBL) && |
r | 1907 | net/ipv4/arp.c | if ((dev = dev_getbytype(r.arp_ha.sa_family)) == NULL) |
r | 1915 | net/ipv4/arp.c | return arp_req_delete(&r, dev); |
r | 1917 | net/ipv4/arp.c | return arp_req_set(&r, dev); |
r | 1922 | net/ipv4/arp.c | r.arp_flags &= ~ATF_PUBL; |
r | 1923 | net/ipv4/arp.c | err = arp_req_delete(&r, dev); |
r | 1924 | net/ipv4/arp.c | r.arp_flags |= ATF_PUBL; |
r | 1926 | net/ipv4/arp.c | arp_req_delete(&r, dev); |
r | 1928 | net/ipv4/arp.c | err = arp_req_delete(&r, dev); |
r | 1931 | net/ipv4/arp.c | err = arp_req_set(&r, dev); |
r | 1937 | net/ipv4/arp.c | if (r.arp_flags & ATF_PUBL) |
r | 1939 | net/ipv4/arp.c | r.arp_flags &= ~ATF_PUBL; |
r | 1940 | net/ipv4/arp.c | arp_req_delete(&r, dev); |
r | 1947 | net/ipv4/arp.c | err = arp_req_get(&r, dev); |
r | 1949 | net/ipv4/arp.c | memcpy_tofs(arg, &r, sizeof(r)); |
r | 1955 | net/ipv4/arp.c | r.arp_flags &= ~ATF_PUBL; |
r | 1956 | net/ipv4/arp.c | err = arp_req_get(&r, dev); |
r | 1959 | net/ipv4/arp.c | r.arp_flags |= ATF_PUBL; |
r | 1960 | net/ipv4/arp.c | err = arp_req_get(&r, dev); |
r | 1963 | net/ipv4/arp.c | memcpy_tofs(arg, &r, sizeof(struct arpreq_old)); |
r | 251 | net/ipv4/igmp.c | struct ip_router_info *r; |
r | 253 | net/ipv4/igmp.c | r=igmp_get_mrouter_info(im->interface); |
r | 254 | net/ipv4/igmp.c | if(r==NULL) |
r | 256 | net/ipv4/igmp.c | if(r->type==IGMP_NEW_ROUTER) |
r | 395 | net/ipv4/igmp.c | struct ip_router_info *r; |
r | 398 | net/ipv4/igmp.c | r=igmp_get_mrouter_info(im->interface); |
r | 399 | net/ipv4/igmp.c | if(r==NULL) |
r | 401 | net/ipv4/igmp.c | if(r->type==IGMP_NEW_ROUTER) |
r | 285 | net/ipv4/rarp.c | struct arpreq r; |
r | 293 | net/ipv4/rarp.c | memcpy_fromfs(&r, req, sizeof(r)); |
r | 299 | net/ipv4/rarp.c | if (r.arp_pa.sa_family != AF_INET) |
r | 302 | net/ipv4/rarp.c | switch (r.arp_ha.sa_family) |
r | 318 | net/ipv4/rarp.c | si = (struct sockaddr_in *) &r.arp_pa; |
r | 371 | net/ipv4/rarp.c | memcpy(&entry->ha, &r.arp_ha.sa_data, hlen); |
r | 386 | net/ipv4/rarp.c | struct arpreq r; |
r | 395 | net/ipv4/rarp.c | memcpy_fromfs(&r, req, sizeof(r)); |
r | 397 | net/ipv4/rarp.c | if (r.arp_pa.sa_family != AF_INET) |
r | 404 | net/ipv4/rarp.c | si = (struct sockaddr_in *) &r.arp_pa; |
r | 422 | net/ipv4/rarp.c | memcpy(r.arp_ha.sa_data, &entry->ha, entry->hlen); |
r | 423 | net/ipv4/rarp.c | r.arp_ha.sa_family = entry->htype; |
r | 430 | net/ipv4/rarp.c | memcpy_tofs(req, &r, sizeof(r)); |
r | 441 | net/ipv4/rarp.c | struct arpreq r; |
r | 453 | net/ipv4/rarp.c | memcpy_fromfs(&r, arg, sizeof(r)); |
r | 454 | net/ipv4/rarp.c | if (r.arp_pa.sa_family != AF_INET) |
r | 456 | net/ipv4/rarp.c | si = (struct sockaddr_in *) &r.arp_pa; |
r | 896 | net/ipv4/route.c | struct rtable *r; |
r | 914 | net/ipv4/route.c | for (r = ip_rt_hash_table[i]; r; r = r->rt_next) |
r | 928 | net/ipv4/route.c | r->rt_dev->name, (unsigned long)r->rt_dst, (unsigned long)r->rt_gateway, |
r | 929 | net/ipv4/route.c | r->rt_flags, r->rt_refcnt, r->rt_use, 0, |
r | 930 | net/ipv4/route.c | (unsigned long)r->rt_src, (int)r->rt_mtu, r->rt_window, (int)r->rt_irtt, r->rt_hh ? r->rt_hh->hh_refcnt : -1, r->rt_hh ? r->rt_hh->hh_uptodate : 0); |
r | 1620 | net/ipv4/route.c | int ip_rt_new(struct rtentry *r) |
r | 1633 | net/ipv4/route.c | if ((devname = r->rt_dev) != NULL) |
r | 1648 | net/ipv4/route.c | if (r->rt_dst.sa_family != AF_INET) |
r | 1656 | net/ipv4/route.c | flags = r->rt_flags; |
r | 1657 | net/ipv4/route.c | daddr = (__u32) ((struct sockaddr_in *) &r->rt_dst)->sin_addr.s_addr; |
r | 1658 | net/ipv4/route.c | mask = (__u32) ((struct sockaddr_in *) &r->rt_genmask)->sin_addr.s_addr; |
r | 1659 | net/ipv4/route.c | gw = (__u32) ((struct sockaddr_in *) &r->rt_gateway)->sin_addr.s_addr; |
r | 1660 | net/ipv4/route.c | metric = r->rt_metric > 0 ? r->rt_metric - 1 : 0; |
r | 1695 | net/ipv4/route.c | else if (mask && r->rt_genmask.sa_family != AF_INET) |
r | 1704 | net/ipv4/route.c | if (r->rt_gateway.sa_family != AF_INET) |
r | 1723 | net/ipv4/route.c | rt_add(flags, daddr, mask, gw, dev, r->rt_mss, r->rt_window, r->rt_irtt, metric); |
r | 1732 | net/ipv4/route.c | static int rt_kill(struct rtentry *r) |
r | 1741 | net/ipv4/route.c | trg = (struct sockaddr_in *) &r->rt_dst; |
r | 1742 | net/ipv4/route.c | msk = (struct sockaddr_in *) &r->rt_genmask; |
r | 1743 | net/ipv4/route.c | gtw = (struct sockaddr_in *) &r->rt_gateway; |
r | 1744 | net/ipv4/route.c | if ((devname = r->rt_dev) != NULL) |
r | 1759 | net/ipv4/route.c | (__u32)gtw->sin_addr.s_addr, r->rt_flags, r->rt_metric - 1); |
r | 976 | net/ipx/af_ipx.c | ipx_route *r; |
r | 978 | net/ipx/af_ipx.c | for (r=ipx_routes; (r!=NULL) && (r->ir_net!=net); r=r->ir_next) |
r | 981 | net/ipx/af_ipx.c | return r; |
r | 1014 | net/ipx/af_ipx.c | ipx_route **r, *tmp; |
r | 1016 | net/ipx/af_ipx.c | for (r = &ipx_routes; (tmp = *r) != NULL; ) { |
r | 1018 | net/ipx/af_ipx.c | *r = tmp->ir_next; |
r | 1021 | net/ipx/af_ipx.c | r = &(tmp->ir_next); |
r | 1043 | net/ipx/af_ipx.c | ipx_route **r; |
r | 1046 | net/ipx/af_ipx.c | for (r = &ipx_routes; (tmp = *r) != NULL; ) { |
r | 1052 | net/ipx/af_ipx.c | *r = tmp->ir_next; |
r | 1056 | net/ipx/af_ipx.c | r = &(tmp->ir_next); |
r | 1137 | net/ipx/af_ipx.c | ipx_route *r; |
r | 1140 | net/ipx/af_ipx.c | r = ipxrtr_lookup(ipx->ipx_dest.net); |
r | 1141 | net/ipx/af_ipx.c | if (r == NULL) { |
r | 1146 | net/ipx/af_ipx.c | i = r->ir_intrfc; |
r | 1147 | net/ipx/af_ipx.c | (void)ipxitf_send(i, skb, (r->ir_routed) ? |
r | 1148 | net/ipx/af_ipx.c | r->ir_router_node : ipx->ipx_dest.node); |