tag | line | file | source code |
r | 124 | arch/i386/boot/compressed/inflate.c | struct huft r; /* table entry for structure assignment */ |
r | 252 | arch/i386/boot/compressed/inflate.c | r.b = (uch)l; /* bits to dump before this table */ |
r | 253 | arch/i386/boot/compressed/inflate.c | r.e = (uch)(16 + j); /* bits in this table */ |
r | 254 | arch/i386/boot/compressed/inflate.c | r.v.t = q; /* pointer to this table */ |
r | 256 | arch/i386/boot/compressed/inflate.c | u[h-1][j] = r; /* connect to last table */ |
r | 263 | arch/i386/boot/compressed/inflate.c | r.b = (uch)(k - w); |
r | 265 | arch/i386/boot/compressed/inflate.c | r.e = 99; /* out of values--invalid code */ |
r | 268 | arch/i386/boot/compressed/inflate.c | r.e = (uch)(*p < 256 ? 16 : 15); /* 256 is end-of-block code */ |
r | 269 | arch/i386/boot/compressed/inflate.c | r.v.n = *p++; /* simple code is just the value */ |
r | 273 | arch/i386/boot/compressed/inflate.c | r.e = (uch)e[*p - s]; /* non-simple--look up in lists */ |
r | 274 | arch/i386/boot/compressed/inflate.c | r.v.n = d[*p++ - s]; |
r | 281 | arch/i386/boot/compressed/inflate.c | q[j] = r; |
r | 773 | arch/i386/boot/compressed/inflate.c | int r; /* result code */ |
r | 787 | arch/i386/boot/compressed/inflate.c | if ((r = inflate_block(&e)) != 0) |
r | 788 | arch/i386/boot/compressed/inflate.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 | 1349 | drivers/block/floppy.c | int i,ready_date,r, flags,dflags; |
r | 1380 | drivers/block/floppy.c | r=0; |
r | 1382 | drivers/block/floppy.c | r|=output_byte( raw_cmd.cmd[i] ); |
r | 1387 | drivers/block/floppy.c | if ( r ){ |
r | 3409 | drivers/block/floppy.c | int r; |
r | 3414 | drivers/block/floppy.c | if ( (r = result()) <= 0x00) |
r | 3416 | drivers/block/floppy.c | if ((r==1) && (reply_buffer[0] == 0x80)){ |
r | 3420 | drivers/block/floppy.c | if (r != 10) { |
r | 3421 | drivers/block/floppy.c | printk("FDC init: DUMPREGS: unexpected return of %d bytes.\n", r); |
r | 3425 | drivers/block/floppy.c | r = result(); |
r | 3426 | drivers/block/floppy.c | if ((r == 1) && (reply_buffer[0] == 0x80)){ |
r | 3430 | drivers/block/floppy.c | if ((r != 1) || (reply_buffer[0] != 0x90)) { |
r | 3431 | drivers/block/floppy.c | printk("FDC init: VERSION: unexpected return of %d bytes.\n", r); |
r | 3435 | drivers/block/floppy.c | r = result(); |
r | 3436 | drivers/block/floppy.c | if ((r == 1) && (reply_buffer[0] == 0x80)){ |
r | 3440 | drivers/block/floppy.c | if ((r != 1) || (reply_buffer[0] != 0x00)) { |
r | 3441 | drivers/block/floppy.c | printk("FDC init: UNLOCK: unexpected return of %d bytes.\n", r); |
r | 166 | drivers/char/busmouse.c | int r; |
r | 173 | drivers/char/busmouse.c | if ((r = verify_area(VERIFY_WRITE, buffer, count))) |
r | 174 | drivers/char/busmouse.c | return r; |
r | 205 | drivers/char/busmouse.c | for (r = 3; r < count; r++) |
r | 206 | drivers/char/busmouse.c | put_user(0x00, buffer + r); |
r | 207 | drivers/char/busmouse.c | return r; |
r | 219 | drivers/char/busmouse.c | int r = 0; |
r | 224 | drivers/char/busmouse.c | r = 1; |
r | 230 | drivers/char/busmouse.c | return(r); |
r | 116 | drivers/char/pty.c | int c=0, n, r; |
r | 129 | drivers/char/pty.c | r = to->ldisc.receive_room(to); |
r | 130 | drivers/char/pty.c | if (r <= 0) |
r | 132 | drivers/char/pty.c | n = MIN(n, r); |
r | 224 | drivers/char/scc.c | register unsigned char r; |
r | 227 | drivers/char/scc.c | r=Inb(port); |
r | 229 | drivers/char/scc.c | return r; |
r | 1833 | drivers/char/scc.c | unsigned long flags, r; |
r | 1847 | drivers/char/scc.c | r = NO_SUCH_PARAM; |
r | 2025 | drivers/char/scc.c | case PARAM_TXDELAY: r = CAST(scc->kiss.txdelay*TICKS); break; |
r | 2026 | drivers/char/scc.c | case PARAM_PERSIST: r = CAST(scc->kiss.persist); break; |
r | 2027 | drivers/char/scc.c | case PARAM_SLOTTIME: r = CAST(scc->kiss.slottime*TICKS); break; |
r | 2028 | drivers/char/scc.c | case PARAM_TXTAIL: r = CAST(scc->kiss.tailtime*TICKS); break; |
r | 2029 | drivers/char/scc.c | case PARAM_FULLDUP: r = CAST(scc->kiss.fulldup); break; |
r | 2030 | drivers/char/scc.c | case PARAM_SOFTDCD: r = CAST(scc->kiss.softdcd); break; |
r | 2031 | drivers/char/scc.c | case PARAM_DTR: r = CAST((scc->wreg[R5] & DTR)? 1:0); break; |
r | 2032 | drivers/char/scc.c | case PARAM_RTS: r = CAST((scc->wreg[R5] & RTS)? 1:0); break; |
r | 2033 | drivers/char/scc.c | case PARAM_SPEED: r = CAST(scc->modem.speed); break; |
r | 2034 | drivers/char/scc.c | case PARAM_GROUP: r = CAST(scc->kiss.group); break; |
r | 2035 | drivers/char/scc.c | case PARAM_IDLE: r = CAST(scc->kiss.idletime); break; |
r | 2036 | drivers/char/scc.c | case PARAM_MIN: r = CAST(scc->kiss.mintime); break; |
r | 2037 | drivers/char/scc.c | case PARAM_MAXKEY: r = CAST(scc->kiss.maxkeyup); break; |
r | 2038 | drivers/char/scc.c | case PARAM_WAIT: r = CAST(scc->kiss.waittime); break; |
r | 2039 | drivers/char/scc.c | case PARAM_MAXDEFER: r = CAST(scc->kiss.maxdefer); break; |
r | 2040 | drivers/char/scc.c | case PARAM_TX: r = CAST(scc->kiss.tx_inhibit); break; |
r | 2041 | drivers/char/scc.c | case PARAM_SLIP: r = CAST(!scc->kiss.not_slip); break; |
r | 2042 | drivers/char/scc.c | default: r = NO_SUCH_PARAM; |
r | 2045 | drivers/char/scc.c | kiss_cmd.param = r; |
r | 1801 | drivers/char/tpqic02.c | int stat, r, i; |
r | 1840 | drivers/char/tpqic02.c | r = 0; |
r | 1847 | drivers/char/tpqic02.c | r = 1; |
r | 1852 | drivers/char/tpqic02.c | r = 1; /* big trouble, but can't do much about it... */ |
r | 1855 | drivers/char/tpqic02.c | if (r) |
r | 232 | drivers/char/tty_io.c | int r = tty->ldisc.open(tty); |
r | 234 | drivers/char/tty_io.c | if (r < 0) |
r | 237 | drivers/char/tty_io.c | tty_name(tty), r); |
r | 343 | drivers/net/plip.c | int r; |
r | 347 | drivers/net/plip.c | if ((r = (*f)(dev, nl, snd, rcv)) != OK |
r | 348 | drivers/net/plip.c | && (r = plip_bh_timeout_error(dev, nl, snd, rcv, r)) != OK) { |
r | 996 | drivers/net/plip.c | struct enet_statistics *r = &nl->enet_stats; |
r | 998 | drivers/net/plip.c | return r; |
r | 781 | drivers/net/wavelan.c | int r; |
r | 827 | drivers/net/wavelan.c | r = wavelan_probe1(dev, base_addr); |
r | 829 | drivers/net/wavelan.c | printk("%s: <-wavelan_probe(): %d\n", dev->name, r); |
r | 830 | drivers/net/wavelan.c | return r; |
r | 1224 | drivers/net/wavelan.c | int r; |
r | 1256 | drivers/net/wavelan.c | if ((r = wavelan_hardware_reset(dev)) != -1) |
r | 1263 | drivers/net/wavelan.c | if (r == -1) |
r | 466 | drivers/scsi/sg.c | int r = 0; |
r | 472 | drivers/scsi/sg.c | r = 1; |
r | 479 | drivers/scsi/sg.c | r = 1; |
r | 487 | drivers/scsi/sg.c | return(r); |
r | 869 | fs/binfmt_elf.c | static void dump_regs(const char *str, elf_greg_t *r) |
r | 880 | fs/binfmt_elf.c | unsigned long val = r[i]; |
r | 258 | fs/ext2/balloc.c | char * p, * r; |
r | 336 | fs/ext2/balloc.c | r = memscan(p, 0, (EXT2_BLOCKS_PER_GROUP(sb) - j + 7) >> 3); |
r | 337 | fs/ext2/balloc.c | k = (r - ((char *) bh->b_data)) << 3; |
r | 371 | fs/ext2/balloc.c | r = memscan(bh->b_data, 0, EXT2_BLOCKS_PER_GROUP(sb) >> 3); |
r | 372 | fs/ext2/balloc.c | j = (r - bh->b_data) << 3; |
r | 881 | fs/hpfs/hpfs_fs.c | unsigned q, r, n, n0; |
r | 902 | fs/hpfs/hpfs_fs.c | r = filp->f_pos & 511; |
r | 903 | fs/hpfs/hpfs_fs.c | n = 512 - r; |
r | 923 | fs/hpfs/hpfs_fs.c | inode->i_hpfs_conv = choose_conv(block + r, n); |
r | 930 | fs/hpfs/hpfs_fs.c | memcpy_tofs(buf, block + r, n); |
r | 937 | fs/hpfs/hpfs_fs.c | n0 = convcpy_tofs(buf, block + r, n); |
r | 1433 | fs/hpfs/hpfs_fs.c | unsigned pos, q, r; |
r | 1443 | fs/hpfs/hpfs_fs.c | r = pos & 077; |
r | 1458 | fs/hpfs/hpfs_fs.c | de = map_nth_dirent(inode->i_dev, dno, r, qbh); |
r | 1521 | fs/hpfs/hpfs_fs.c | unsigned r = pos & 077; |
r | 1534 | fs/hpfs/hpfs_fs.c | de = map_nth_dirent(inode->i_dev, dno, r, &qbh); |
r | 177 | include/asm-mips/system.h | #define atomic_exchange(m,r) \ |
r | 186 | include/asm-mips/system.h | : "=r" (r) \ |
r | 187 | include/asm-mips/system.h | : "r" (r), "r" (&(m)) \ |
r | 190 | include/asm-mips/system.h | #define atomic_exchange(m,r) \ |
r | 197 | include/asm-mips/system.h | (m) = (r); \ |
r | 198 | include/asm-mips/system.h | (r) = tmp; \ |
r | 755 | kernel/sys.c | struct rusage r; |
r | 760 | kernel/sys.c | memset((char *) &r, 0, sizeof(r)); |
r | 763 | kernel/sys.c | r.ru_utime.tv_sec = CT_TO_SECS(p->utime); |
r | 764 | kernel/sys.c | r.ru_utime.tv_usec = CT_TO_USECS(p->utime); |
r | 765 | kernel/sys.c | r.ru_stime.tv_sec = CT_TO_SECS(p->stime); |
r | 766 | kernel/sys.c | r.ru_stime.tv_usec = CT_TO_USECS(p->stime); |
r | 767 | kernel/sys.c | r.ru_minflt = p->min_flt; |
r | 768 | kernel/sys.c | r.ru_majflt = p->maj_flt; |
r | 771 | kernel/sys.c | r.ru_utime.tv_sec = CT_TO_SECS(p->cutime); |
r | 772 | kernel/sys.c | r.ru_utime.tv_usec = CT_TO_USECS(p->cutime); |
r | 773 | kernel/sys.c | r.ru_stime.tv_sec = CT_TO_SECS(p->cstime); |
r | 774 | kernel/sys.c | r.ru_stime.tv_usec = CT_TO_USECS(p->cstime); |
r | 775 | kernel/sys.c | r.ru_minflt = p->cmin_flt; |
r | 776 | kernel/sys.c | r.ru_majflt = p->cmaj_flt; |
r | 779 | kernel/sys.c | r.ru_utime.tv_sec = CT_TO_SECS(p->utime + p->cutime); |
r | 780 | kernel/sys.c | r.ru_utime.tv_usec = CT_TO_USECS(p->utime + p->cutime); |
r | 781 | kernel/sys.c | r.ru_stime.tv_sec = CT_TO_SECS(p->stime + p->cstime); |
r | 782 | kernel/sys.c | r.ru_stime.tv_usec = CT_TO_USECS(p->stime + p->cstime); |
r | 783 | kernel/sys.c | r.ru_minflt = p->min_flt + p->cmin_flt; |
r | 784 | kernel/sys.c | r.ru_majflt = p->maj_flt + p->cmaj_flt; |
r | 787 | kernel/sys.c | memcpy_tofs(ru, &r, sizeof(r)); |
r | 471 | net/appletalk/ddp.c | struct atalk_route *r; |
r | 472 | net/appletalk/ddp.c | for(r=atalk_router_list;r!=NULL;r=r->next) |
r | 474 | net/appletalk/ddp.c | if(!(r->flags&RTF_UP)) |
r | 476 | net/appletalk/ddp.c | if(r->target.s_net==target->s_net) |
r | 478 | net/appletalk/ddp.c | if(!(r->flags&RTF_HOST) || r->target.s_node==target->s_node) |
r | 479 | net/appletalk/ddp.c | return r; |
r | 520 | net/appletalk/ddp.c | static int atrtr_create(struct rtentry *r, struct device *devhint) |
r | 522 | net/appletalk/ddp.c | struct sockaddr_at *ta=(struct sockaddr_at *)&r->rt_dst; |
r | 523 | net/appletalk/ddp.c | struct sockaddr_at *ga=(struct sockaddr_at *)&r->rt_gateway; |
r | 549 | net/appletalk/ddp.c | if(r->rt_flags != rt->flags) |
r | 592 | net/appletalk/ddp.c | rt->flags=r->rt_flags; |
r | 606 | net/appletalk/ddp.c | struct atalk_route **r = &atalk_router_list; |
r | 609 | net/appletalk/ddp.c | while ((tmp = *r) != NULL) { |
r | 613 | net/appletalk/ddp.c | *r = tmp->next; |
r | 617 | net/appletalk/ddp.c | r = &tmp->next; |
r | 629 | net/appletalk/ddp.c | struct atalk_route **r = &atalk_router_list; |
r | 632 | net/appletalk/ddp.c | while ((tmp = *r) != NULL) { |
r | 634 | net/appletalk/ddp.c | *r = tmp->next; |
r | 638 | net/appletalk/ddp.c | r = &tmp->next; |
r | 1218 | net/ipv4/arp.c | struct arpreq r; |
r | 1225 | net/ipv4/arp.c | memcpy_fromfs(&r, req, sizeof(r)); |
r | 1228 | net/ipv4/arp.c | if (r.arp_pa.sa_family != AF_INET) |
r | 1237 | net/ipv4/arp.c | switch (r.arp_ha.sa_family) { |
r | 1268 | net/ipv4/arp.c | si = (struct sockaddr_in *) &r.arp_pa; |
r | 1294 | net/ipv4/arp.c | if (entry && (entry->flags & ATF_PUBL) != (r.arp_flags & ATF_PUBL)) |
r | 1309 | net/ipv4/arp.c | if (r.arp_flags & ATF_PUBL) |
r | 1331 | net/ipv4/arp.c | memcpy(&entry->ha, &r.arp_ha.sa_data, hlen); |
r | 1333 | net/ipv4/arp.c | entry->flags = r.arp_flags | ATF_COM; |
r | 1336 | net/ipv4/arp.c | si = (struct sockaddr_in *) &r.arp_netmask; |
r | 1355 | net/ipv4/arp.c | struct arpreq r; |
r | 1363 | net/ipv4/arp.c | memcpy_fromfs(&r, req, sizeof(r)); |
r | 1365 | net/ipv4/arp.c | if (r.arp_pa.sa_family != AF_INET) |
r | 1372 | net/ipv4/arp.c | si = (struct sockaddr_in *) &r.arp_pa; |
r | 1374 | net/ipv4/arp.c | entry = arp_lookup(si->sin_addr.s_addr, PROXY_ANY, r.arp_ha.sa_family); |
r | 1386 | net/ipv4/arp.c | memcpy(r.arp_ha.sa_data, &entry->ha, entry->hlen); |
r | 1387 | net/ipv4/arp.c | r.arp_ha.sa_family = entry->htype; |
r | 1388 | net/ipv4/arp.c | r.arp_flags = entry->flags; |
r | 1395 | net/ipv4/arp.c | memcpy_tofs(req, &r, sizeof(r)); |
r | 1406 | net/ipv4/arp.c | struct arpreq r; |
r | 1418 | net/ipv4/arp.c | memcpy_fromfs(&r, arg, sizeof(r)); |
r | 1419 | net/ipv4/arp.c | if (r.arp_pa.sa_family != AF_INET) |
r | 1421 | net/ipv4/arp.c | si = (struct sockaddr_in *) &r.arp_pa; |
r | 290 | net/ipv4/rarp.c | struct arpreq r; |
r | 297 | net/ipv4/rarp.c | memcpy_fromfs(&r, req, sizeof(r)); |
r | 303 | net/ipv4/rarp.c | if (r.arp_pa.sa_family != AF_INET) |
r | 306 | net/ipv4/rarp.c | switch (r.arp_ha.sa_family) |
r | 322 | net/ipv4/rarp.c | si = (struct sockaddr_in *) &r.arp_pa; |
r | 373 | net/ipv4/rarp.c | memcpy(&entry->ha, &r.arp_ha.sa_data, hlen); |
r | 388 | net/ipv4/rarp.c | struct arpreq r; |
r | 397 | net/ipv4/rarp.c | memcpy_fromfs(&r, req, sizeof(r)); |
r | 399 | net/ipv4/rarp.c | if (r.arp_pa.sa_family != AF_INET) |
r | 406 | net/ipv4/rarp.c | si = (struct sockaddr_in *) &r.arp_pa; |
r | 424 | net/ipv4/rarp.c | memcpy(r.arp_ha.sa_data, &entry->ha, entry->hlen); |
r | 425 | net/ipv4/rarp.c | r.arp_ha.sa_family = entry->htype; |
r | 432 | net/ipv4/rarp.c | memcpy_tofs(req, &r, sizeof(r)); |
r | 443 | net/ipv4/rarp.c | struct arpreq r; |
r | 455 | net/ipv4/rarp.c | memcpy_fromfs(&r, arg, sizeof(r)); |
r | 456 | net/ipv4/rarp.c | if (r.arp_pa.sa_family != AF_INET) |
r | 458 | net/ipv4/rarp.c | si = (struct sockaddr_in *) &r.arp_pa; |
r | 84 | net/ipv4/route.c | struct rtable *r, **rp; |
r | 96 | net/ipv4/route.c | while((r = *rp) != NULL) |
r | 103 | net/ipv4/route.c | if (r->rt_dst != dst || |
r | 104 | net/ipv4/route.c | (mask && r->rt_mask != mask) || |
r | 105 | net/ipv4/route.c | (gtw && r->rt_gateway != gtw) || |
r | 106 | net/ipv4/route.c | (metric >= 0 && r->rt_metric != metric) || |
r | 107 | net/ipv4/route.c | (devname && strcmp((r->rt_dev)->name,devname) != 0) ) |
r | 109 | net/ipv4/route.c | rp = &r->rt_next; |
r | 112 | net/ipv4/route.c | *rp = r->rt_next; |
r | 118 | net/ipv4/route.c | if (rt_loopback == r) |
r | 120 | net/ipv4/route.c | kfree_s(r, sizeof(struct rtable)); |
r | 135 | net/ipv4/route.c | struct rtable *r; |
r | 142 | net/ipv4/route.c | while ((r = *rp) != NULL) { |
r | 143 | net/ipv4/route.c | if (r->rt_dev != dev) { |
r | 144 | net/ipv4/route.c | rp = &r->rt_next; |
r | 147 | net/ipv4/route.c | *rp = r->rt_next; |
r | 148 | net/ipv4/route.c | if (rt_loopback == r) |
r | 150 | net/ipv4/route.c | kfree_s(r, sizeof(struct rtable)); |
r | 228 | net/ipv4/route.c | struct rtable *r, *rt; |
r | 328 | net/ipv4/route.c | while ((r = *rp) != NULL) |
r | 330 | net/ipv4/route.c | if (r->rt_dst != dst || |
r | 331 | net/ipv4/route.c | r->rt_mask != mask) |
r | 333 | net/ipv4/route.c | rp = &r->rt_next; |
r | 336 | net/ipv4/route.c | if (r->rt_metric != metric && r->rt_gateway != gw) |
r | 339 | net/ipv4/route.c | rp = &r->rt_next; |
r | 342 | net/ipv4/route.c | *rp = r->rt_next; |
r | 343 | net/ipv4/route.c | if (rt_loopback == r) |
r | 345 | net/ipv4/route.c | kfree_s(r, sizeof(struct rtable)); |
r | 353 | net/ipv4/route.c | while ((r = *rp) != NULL) { |
r | 359 | net/ipv4/route.c | r->rt_dst == dst && |
r | 360 | net/ipv4/route.c | r->rt_mask == mask && |
r | 361 | net/ipv4/route.c | r->rt_metric > metric) |
r | 368 | net/ipv4/route.c | if ((r->rt_mask & mask) != mask) |
r | 370 | net/ipv4/route.c | rp = &r->rt_next; |
r | 372 | net/ipv4/route.c | rt->rt_next = r; |
r | 411 | net/ipv4/route.c | static int rt_new(struct rtentry *r) |
r | 424 | net/ipv4/route.c | if ((devname = r->rt_dev) != NULL) |
r | 439 | net/ipv4/route.c | if (r->rt_dst.sa_family != AF_INET) |
r | 447 | net/ipv4/route.c | flags = r->rt_flags; |
r | 448 | net/ipv4/route.c | daddr = (__u32) ((struct sockaddr_in *) &r->rt_dst)->sin_addr.s_addr; |
r | 449 | net/ipv4/route.c | mask = (__u32) ((struct sockaddr_in *) &r->rt_genmask)->sin_addr.s_addr; |
r | 450 | net/ipv4/route.c | gw = (__u32) ((struct sockaddr_in *) &r->rt_gateway)->sin_addr.s_addr; |
r | 451 | net/ipv4/route.c | metric = r->rt_metric > 0 ? r->rt_metric - 1 : 0; |
r | 486 | net/ipv4/route.c | else if (mask && r->rt_genmask.sa_family != AF_INET) |
r | 495 | net/ipv4/route.c | if (r->rt_gateway.sa_family != AF_INET) |
r | 514 | net/ipv4/route.c | ip_rt_add(flags, daddr, mask, gw, dev, r->rt_mss, r->rt_window, r->rt_irtt, metric); |
r | 523 | net/ipv4/route.c | static int rt_kill(struct rtentry *r) |
r | 531 | net/ipv4/route.c | trg = (struct sockaddr_in *) &r->rt_dst; |
r | 532 | net/ipv4/route.c | msk = (struct sockaddr_in *) &r->rt_genmask; |
r | 533 | net/ipv4/route.c | gtw = (struct sockaddr_in *) &r->rt_gateway; |
r | 534 | net/ipv4/route.c | if ((devname = r->rt_dev) != NULL) |
r | 545 | net/ipv4/route.c | (__u32)gtw->sin_addr.s_addr, r->rt_flags, r->rt_metric - 1); |
r | 558 | net/ipv4/route.c | struct rtable *r; |
r | 572 | net/ipv4/route.c | for (r = rt_base; r != NULL; r = r->rt_next) |
r | 575 | net/ipv4/route.c | r->rt_dev->name, (unsigned long)r->rt_dst, (unsigned long)r->rt_gateway, |
r | 576 | net/ipv4/route.c | r->rt_flags, r->rt_refcnt, r->rt_use, r->rt_metric, |
r | 577 | net/ipv4/route.c | (unsigned long)r->rt_mask, (int)r->rt_mss, r->rt_window, (int)r->rt_irtt); |
r | 905 | net/ipx/af_ipx.c | ipx_route *r; |
r | 907 | net/ipx/af_ipx.c | for (r=ipx_routes; (r!=NULL) && (r->ir_net!=net); r=r->ir_next) |
r | 910 | net/ipx/af_ipx.c | return r; |
r | 943 | net/ipx/af_ipx.c | ipx_route **r, *tmp; |
r | 945 | net/ipx/af_ipx.c | for (r = &ipx_routes; (tmp = *r) != NULL; ) { |
r | 947 | net/ipx/af_ipx.c | *r = tmp->ir_next; |
r | 950 | net/ipx/af_ipx.c | r = &(tmp->ir_next); |
r | 972 | net/ipx/af_ipx.c | ipx_route **r; |
r | 975 | net/ipx/af_ipx.c | for (r = &ipx_routes; (tmp = *r) != NULL; ) { |
r | 981 | net/ipx/af_ipx.c | *r = tmp->ir_next; |
r | 985 | net/ipx/af_ipx.c | r = &(tmp->ir_next); |
r | 1051 | net/ipx/af_ipx.c | ipx_route *r; |
r | 1054 | net/ipx/af_ipx.c | r = ipxrtr_lookup(ipx->ipx_dest.net); |
r | 1055 | net/ipx/af_ipx.c | if (r == NULL) { |
r | 1060 | net/ipx/af_ipx.c | i = r->ir_intrfc; |
r | 1061 | net/ipx/af_ipx.c | (void)ipxitf_send(i, skb, (r->ir_routed) ? |
r | 1062 | net/ipx/af_ipx.c | r->ir_router_node : ipx->ipx_dest.node); |