tag | line | file | source code |
rc | 328 | arch/alpha/math-emu/fp-emul.c | unsigned long insn, opcode, rc; |
rc | 343 | arch/alpha/math-emu/fp-emul.c | rc = insn & 0x1f; |
rc | 366 | arch/alpha/math-emu/fp-emul.c | write_mask &= ~(1UL << rc); |
rc | 372 | arch/alpha/math-emu/fp-emul.c | write_mask &= ~(1UL << (rc + 32)); |
rc | 81 | arch/i386/math-emu/reg_constant.c | static void fld1(int rc) |
rc | 86 | arch/i386/math-emu/reg_constant.c | static void fldl2t(int rc) |
rc | 88 | arch/i386/math-emu/reg_constant.c | fld_const(&CONST_L2T, (rc == RC_UP) ? 1 : 0); |
rc | 91 | arch/i386/math-emu/reg_constant.c | static void fldl2e(int rc) |
rc | 93 | arch/i386/math-emu/reg_constant.c | fld_const(&CONST_L2E, DOWN_OR_CHOP(rc) ? -1 : 0); |
rc | 96 | arch/i386/math-emu/reg_constant.c | static void fldpi(int rc) |
rc | 98 | arch/i386/math-emu/reg_constant.c | fld_const(&CONST_PI, DOWN_OR_CHOP(rc) ? -1 : 0); |
rc | 101 | arch/i386/math-emu/reg_constant.c | static void fldlg2(int rc) |
rc | 103 | arch/i386/math-emu/reg_constant.c | fld_const(&CONST_LG2, DOWN_OR_CHOP(rc) ? -1 : 0); |
rc | 106 | arch/i386/math-emu/reg_constant.c | static void fldln2(int rc) |
rc | 108 | arch/i386/math-emu/reg_constant.c | fld_const(&CONST_LN2, DOWN_OR_CHOP(rc) ? -1 : 0); |
rc | 111 | arch/i386/math-emu/reg_constant.c | static void fldz(int rc) |
rc | 577 | drivers/block/cmd640.c | int ac, rc, at; |
rc | 590 | drivers/block/cmd640.c | rc = r_count[dr_num]; |
rc | 595 | drivers/block/cmd640.c | rc = max(r_count[2], r_count[3]); |
rc | 599 | drivers/block/cmd640.c | put_cmd640_reg(b_reg + 1, pack_counts(ac, rc)); |
rc | 606 | drivers/block/cmd640.c | rc = max4(a_count); |
rc | 607 | drivers/block/cmd640.c | put_cmd640_reg(CMDTIM, pack_counts(ac, rc)); |
rc | 2360 | drivers/block/ide.c | int hd_status, rc; |
rc | 2406 | drivers/block/ide.c | rc = 0; /* drive responded with ID */ |
rc | 2410 | drivers/block/ide.c | rc = 2; /* drive refused ID */ |
rc | 2427 | drivers/block/ide.c | return rc; |
rc | 2448 | drivers/block/ide.c | int rc; |
rc | 2473 | drivers/block/ide.c | if ((rc = try_to_identify(drive,cmd))) /* send cmd and wait */ |
rc | 2474 | drivers/block/ide.c | rc = try_to_identify(drive,cmd); /* failed: try again */ |
rc | 2475 | drivers/block/ide.c | if (rc == 1) |
rc | 2479 | drivers/block/ide.c | rc = 3; /* not present or maybe ATAPI */ |
rc | 2486 | drivers/block/ide.c | return rc; |
rc | 3257 | drivers/block/ide.c | int index, i, rc = -1; |
rc | 3278 | drivers/block/ide.c | rc = index; |
rc | 3283 | drivers/block/ide.c | return rc; |
rc | 29 | drivers/block/rz1000.c | static void ide_pci_access_error (int rc) |
rc | 31 | drivers/block/rz1000.c | printk("ide: pcibios access failed - %s\n", pcibios_strerror(rc)); |
rc | 36 | drivers/block/rz1000.c | int rc; |
rc | 40 | drivers/block/rz1000.c | if ((rc = pcibios_read_config_word (bus, fn, PCI_COMMAND, ®))) { |
rc | 41 | drivers/block/rz1000.c | ide_pci_access_error (rc); |
rc | 45 | drivers/block/rz1000.c | if ((rc = pcibios_read_config_word(bus, fn, 0x40, ®)) |
rc | 46 | drivers/block/rz1000.c | || (rc = pcibios_write_config_word(bus, fn, 0x40, reg & 0xdfff))) |
rc | 52 | drivers/block/rz1000.c | ide_pci_access_error (rc); |
rc | 380 | drivers/block/triton.c | int rc = 0, h; |
rc | 389 | drivers/block/triton.c | if ((rc = pcibios_read_config_word(bus, fn, 0x04, &pcicmd))) |
rc | 403 | drivers/block/triton.c | if ((rc = pcibios_read_config_dword(bus, fn, 0x20, &bmiba))) |
rc | 414 | drivers/block/triton.c | if ((rc = pcibios_write_config_word(bus, fn, 0x04, pcicmd&~1))) |
rc | 416 | drivers/block/triton.c | rc = pcibios_write_config_dword(bus, fn, 0x20, DEFAULT_BMIBA|1); |
rc | 417 | drivers/block/triton.c | if (pcibios_write_config_word(bus, fn, 0x04, pcicmd|5) || rc) |
rc | 426 | drivers/block/triton.c | if ((rc = pcibios_read_config_dword(bus, fn, 0x40, &timings))) |
rc | 464 | drivers/block/triton.c | quit: if (rc) printk("ide: pcibios access failed - %s\n", pcibios_strerror(rc)); |
rc | 756 | drivers/char/istallion.c | int brdnr, portnr, rc; |
rc | 812 | drivers/char/istallion.c | if ((rc = stli_initopen(brdp, portp)) >= 0) { |
rc | 818 | drivers/char/istallion.c | if (rc < 0) |
rc | 819 | drivers/char/istallion.c | return(rc); |
rc | 857 | drivers/char/istallion.c | if ((rc = stli_waitcarrier(brdp, portp, filp)) != 0) |
rc | 858 | drivers/char/istallion.c | return(rc); |
rc | 972 | drivers/char/istallion.c | int rc; |
rc | 978 | drivers/char/istallion.c | if ((rc = stli_rawopen(brdp, portp, 0, 1)) < 0) |
rc | 979 | drivers/char/istallion.c | return(rc); |
rc | 984 | drivers/char/istallion.c | if ((rc = stli_cmdwait(brdp, portp, A_SETNOTIFY, &nt, sizeof(asynotify_t), 0)) < 0) |
rc | 985 | drivers/char/istallion.c | return(rc); |
rc | 991 | drivers/char/istallion.c | if ((rc = stli_cmdwait(brdp, portp, A_SETPORT, &aport, sizeof(asyport_t), 0)) < 0) |
rc | 992 | drivers/char/istallion.c | return(rc); |
rc | 995 | drivers/char/istallion.c | if ((rc = stli_cmdwait(brdp, portp, A_GETSIGNALS, &portp->asig, sizeof(asysigs_t), 1)) < 0) |
rc | 996 | drivers/char/istallion.c | return(rc); |
rc | 1000 | drivers/char/istallion.c | if ((rc = stli_cmdwait(brdp, portp, A_SETSIGNALS, &portp->asig, sizeof(asysigs_t), 0)) < 0) |
rc | 1001 | drivers/char/istallion.c | return(rc); |
rc | 1021 | drivers/char/istallion.c | int rc; |
rc | 1071 | drivers/char/istallion.c | rc = 0; |
rc | 1075 | drivers/char/istallion.c | rc = -ERESTARTSYS; |
rc | 1082 | drivers/char/istallion.c | if ((rc == 0) && (portp->rc != 0)) |
rc | 1083 | drivers/char/istallion.c | rc = -EIO; |
rc | 1084 | drivers/char/istallion.c | return(rc); |
rc | 1101 | drivers/char/istallion.c | int rc; |
rc | 1147 | drivers/char/istallion.c | rc = 0; |
rc | 1150 | drivers/char/istallion.c | rc = -ERESTARTSYS; |
rc | 1157 | drivers/char/istallion.c | if ((rc == 0) && (portp->rc != 0)) |
rc | 1158 | drivers/char/istallion.c | rc = -EIO; |
rc | 1159 | drivers/char/istallion.c | return(rc); |
rc | 1200 | drivers/char/istallion.c | if (portp->rc != 0) |
rc | 1265 | drivers/char/istallion.c | int rc, doclocal; |
rc | 1271 | drivers/char/istallion.c | rc = 0; |
rc | 1291 | drivers/char/istallion.c | if ((rc = stli_cmdwait(brdp, portp, A_SETSIGNALS, &portp->asig, sizeof(asysigs_t), 0)) < 0) |
rc | 1296 | drivers/char/istallion.c | rc = -EBUSY; |
rc | 1298 | drivers/char/istallion.c | rc = -ERESTARTSYS; |
rc | 1307 | drivers/char/istallion.c | rc = -ERESTARTSYS; |
rc | 1318 | drivers/char/istallion.c | return(rc); |
rc | 1723 | drivers/char/istallion.c | int rc; |
rc | 1743 | drivers/char/istallion.c | if ((rc = stli_setport(portp)) < 0) |
rc | 1744 | drivers/char/istallion.c | return(rc); |
rc | 1755 | drivers/char/istallion.c | int rc; |
rc | 1772 | drivers/char/istallion.c | rc = 0; |
rc | 1776 | drivers/char/istallion.c | if ((rc = tty_check_change(tty)) == 0) { |
rc | 1780 | drivers/char/istallion.c | rc = stli_cmdwait(brdp, portp, A_BREAK, &val, sizeof(unsigned long), 0); |
rc | 1785 | drivers/char/istallion.c | if ((rc = tty_check_change(tty)) == 0) { |
rc | 1788 | drivers/char/istallion.c | rc = stli_cmdwait(brdp, portp, A_BREAK, &val, sizeof(unsigned long), 0); |
rc | 1792 | drivers/char/istallion.c | if ((rc = verify_area(VERIFY_WRITE, (void *) arg, sizeof(long))) == 0) |
rc | 1796 | drivers/char/istallion.c | if ((rc = verify_area(VERIFY_READ, (void *) arg, sizeof(long))) == 0) { |
rc | 1802 | drivers/char/istallion.c | if ((rc = verify_area(VERIFY_WRITE, (void *) arg, sizeof(unsigned int))) == 0) { |
rc | 1803 | drivers/char/istallion.c | if ((rc = stli_cmdwait(brdp, portp, A_GETSIGNALS, &portp->asig, sizeof(asysigs_t), 1)) < 0) |
rc | 1804 | drivers/char/istallion.c | return(rc); |
rc | 1810 | drivers/char/istallion.c | if ((rc = verify_area(VERIFY_READ, (void *) arg, sizeof(long))) == 0) { |
rc | 1813 | drivers/char/istallion.c | rc = stli_cmdwait(brdp, portp, A_SETSIGNALS, &portp->asig, sizeof(asysigs_t), 0); |
rc | 1817 | drivers/char/istallion.c | if ((rc = verify_area(VERIFY_READ, (void *) arg, sizeof(long))) == 0) { |
rc | 1820 | drivers/char/istallion.c | rc = stli_cmdwait(brdp, portp, A_SETSIGNALS, &portp->asig, sizeof(asysigs_t), 0); |
rc | 1824 | drivers/char/istallion.c | if ((rc = verify_area(VERIFY_READ, (void *) arg, sizeof(long))) == 0) { |
rc | 1827 | drivers/char/istallion.c | rc = stli_cmdwait(brdp, portp, A_SETSIGNALS, &portp->asig, sizeof(asysigs_t), 0); |
rc | 1831 | drivers/char/istallion.c | if ((rc = verify_area(VERIFY_WRITE, (void *) arg, sizeof(struct serial_struct))) == 0) |
rc | 1835 | drivers/char/istallion.c | if ((rc = verify_area(VERIFY_READ, (void *) arg, sizeof(struct serial_struct))) == 0) |
rc | 1836 | drivers/char/istallion.c | rc = stli_setserial(portp, (struct serial_struct *) arg); |
rc | 1839 | drivers/char/istallion.c | if ((rc = verify_area(VERIFY_WRITE, (void *) arg, sizeof(unsigned long))) == 0) |
rc | 1843 | drivers/char/istallion.c | if ((rc = verify_area(VERIFY_READ, (void *) arg, sizeof(unsigned long))) == 0) { |
rc | 1849 | drivers/char/istallion.c | if ((rc = verify_area(VERIFY_WRITE, (void *) arg, sizeof(comstats_t))) == 0) |
rc | 1850 | drivers/char/istallion.c | rc = stli_getportstats(portp, (comstats_t *) arg); |
rc | 1853 | drivers/char/istallion.c | if ((rc = verify_area(VERIFY_WRITE, (void *) arg, sizeof(comstats_t))) == 0) |
rc | 1854 | drivers/char/istallion.c | rc = stli_clrportstats(portp, (comstats_t *) arg); |
rc | 1864 | drivers/char/istallion.c | rc = -ENOIOCTLCMD; |
rc | 1868 | drivers/char/istallion.c | return(rc); |
rc | 2355 | drivers/char/istallion.c | int rc, donerx; |
rc | 2369 | drivers/char/istallion.c | rc = (int) cp->openarg; |
rc | 2370 | drivers/char/istallion.c | if ((cp->open == 0) && (rc != 0)) { |
rc | 2371 | drivers/char/istallion.c | if (rc > 0) |
rc | 2372 | drivers/char/istallion.c | rc--; |
rc | 2374 | drivers/char/istallion.c | portp->rc = rc; |
rc | 2384 | drivers/char/istallion.c | rc = (int) cp->closearg; |
rc | 2385 | drivers/char/istallion.c | if ((cp->close == 0) && (rc != 0)) { |
rc | 2386 | drivers/char/istallion.c | if (rc > 0) |
rc | 2387 | drivers/char/istallion.c | rc--; |
rc | 2389 | drivers/char/istallion.c | portp->rc = rc; |
rc | 2400 | drivers/char/istallion.c | rc = cp->status; |
rc | 2401 | drivers/char/istallion.c | if ((cp->cmd == 0) && (rc != 0)) { |
rc | 2402 | drivers/char/istallion.c | if (rc > 0) |
rc | 2403 | drivers/char/istallion.c | rc--; |
rc | 2409 | drivers/char/istallion.c | portp->rc = rc; |
rc | 3614 | drivers/char/istallion.c | int portnr, nrdevs, i, rc; |
rc | 3620 | drivers/char/istallion.c | rc = 0; |
rc | 3646 | drivers/char/istallion.c | rc = -EIO; |
rc | 3698 | drivers/char/istallion.c | if (rc == 0) |
rc | 3707 | drivers/char/istallion.c | return(rc); |
rc | 4212 | drivers/char/istallion.c | int rc; |
rc | 4226 | drivers/char/istallion.c | if ((rc = stli_cmdwait(brdp, portp, A_GETSTATS, &stli_cdkstats, sizeof(asystats_t), 1)) < 0) |
rc | 4227 | drivers/char/istallion.c | return(rc); |
rc | 4288 | drivers/char/istallion.c | int rc; |
rc | 4302 | drivers/char/istallion.c | if ((rc = stli_cmdwait(brdp, portp, A_CLEARSTATS, 0, 0, 0)) < 0) |
rc | 4303 | drivers/char/istallion.c | return(rc); |
rc | 4365 | drivers/char/istallion.c | int brdnr, rc, done; |
rc | 4375 | drivers/char/istallion.c | rc = 0; |
rc | 4379 | drivers/char/istallion.c | if ((rc = verify_area(VERIFY_WRITE, (void *) arg, sizeof(comstats_t))) == 0) |
rc | 4380 | drivers/char/istallion.c | rc = stli_getportstats((stliport_t *) NULL, (comstats_t *) arg); |
rc | 4384 | drivers/char/istallion.c | if ((rc = verify_area(VERIFY_WRITE, (void *) arg, sizeof(comstats_t))) == 0) |
rc | 4385 | drivers/char/istallion.c | rc = stli_clrportstats((stliport_t *) NULL, (comstats_t *) arg); |
rc | 4389 | drivers/char/istallion.c | if ((rc = verify_area(VERIFY_WRITE, (void *) arg, sizeof(combrd_t))) == 0) |
rc | 4390 | drivers/char/istallion.c | rc = stli_getbrdstats((combrd_t *) arg); |
rc | 4394 | drivers/char/istallion.c | if ((rc = verify_area(VERIFY_WRITE, (void *) arg, sizeof(stliport_t))) == 0) |
rc | 4395 | drivers/char/istallion.c | rc = stli_getportstruct(arg); |
rc | 4399 | drivers/char/istallion.c | if ((rc = verify_area(VERIFY_WRITE, (void *) arg, sizeof(stlibrd_t))) == 0) |
rc | 4400 | drivers/char/istallion.c | rc = stli_getbrdstruct(arg); |
rc | 4408 | drivers/char/istallion.c | return(rc); |
rc | 4428 | drivers/char/istallion.c | rc = stli_startbrd(brdp); |
rc | 4442 | drivers/char/istallion.c | rc = -ENOIOCTLCMD; |
rc | 4446 | drivers/char/istallion.c | return(rc); |
rc | 182 | drivers/char/lp.c | int rc = total_bytes_written + bytes_written; |
rc | 189 | drivers/char/lp.c | return rc?rc:-EIO; |
rc | 193 | drivers/char/lp.c | return rc?rc:-ENOSPC; |
rc | 197 | drivers/char/lp.c | return rc?rc:-EIO; |
rc | 186 | drivers/char/lp_m68k.c | int rc; |
rc | 224 | drivers/char/lp_m68k.c | rc = total_bytes_written + lp_table[dev].bytes_written; |
rc | 227 | drivers/char/lp_m68k.c | if (rc) |
rc | 228 | drivers/char/lp_m68k.c | return rc; |
rc | 240 | drivers/char/lp_m68k.c | if (!rc) rc = -ENOSPC; |
rc | 243 | drivers/char/lp_m68k.c | if (!rc) rc = -EIO; |
rc | 246 | drivers/char/lp_m68k.c | if (!rc) rc = -EIO; |
rc | 249 | drivers/char/lp_m68k.c | return rc; |
rc | 1739 | drivers/char/pcxx.c | int rc; |
rc | 1789 | drivers/char/pcxx.c | rc = tty->flip.count; |
rc | 1798 | drivers/char/pcxx.c | if ((rc + piece) > TTY_FLIPBUF_SIZE) |
rc | 1799 | drivers/char/pcxx.c | piece = TTY_FLIPBUF_SIZE - rc; |
rc | 1806 | drivers/char/pcxx.c | rc += piece; |
rc | 1810 | drivers/char/pcxx.c | tty->flip.count = rc; |
rc | 576 | drivers/char/stallion.c | int brdnr, panelnr, portnr, rc; |
rc | 666 | drivers/char/stallion.c | if ((rc = stl_waitcarrier(portp, filp)) != 0) |
rc | 667 | drivers/char/stallion.c | return(rc); |
rc | 695 | drivers/char/stallion.c | int rc, doclocal; |
rc | 701 | drivers/char/stallion.c | rc = 0; |
rc | 723 | drivers/char/stallion.c | rc = -EBUSY; |
rc | 725 | drivers/char/stallion.c | rc = -ERESTARTSYS; |
rc | 734 | drivers/char/stallion.c | rc = -ERESTARTSYS; |
rc | 745 | drivers/char/stallion.c | return(rc); |
rc | 1126 | drivers/char/stallion.c | int rc; |
rc | 1138 | drivers/char/stallion.c | rc = 0; |
rc | 1142 | drivers/char/stallion.c | if ((rc = tty_check_change(tty)) == 0) { |
rc | 1149 | drivers/char/stallion.c | if ((rc = tty_check_change(tty)) == 0) { |
rc | 1155 | drivers/char/stallion.c | if ((rc = verify_area(VERIFY_WRITE, (void *) arg, sizeof(long))) == 0) |
rc | 1159 | drivers/char/stallion.c | if ((rc = verify_area(VERIFY_READ, (void *) arg, sizeof(long))) == 0) { |
rc | 1165 | drivers/char/stallion.c | if ((rc = verify_area(VERIFY_WRITE, (void *) arg, sizeof(unsigned int))) == 0) { |
rc | 1171 | drivers/char/stallion.c | if ((rc = verify_area(VERIFY_READ, (void *) arg, sizeof(long))) == 0) { |
rc | 1177 | drivers/char/stallion.c | if ((rc = verify_area(VERIFY_READ, (void *) arg, sizeof(long))) == 0) { |
rc | 1183 | drivers/char/stallion.c | if ((rc = verify_area(VERIFY_READ, (void *) arg, sizeof(long))) == 0) { |
rc | 1189 | drivers/char/stallion.c | if ((rc = verify_area(VERIFY_WRITE, (void *) arg, sizeof(struct serial_struct))) == 0) |
rc | 1193 | drivers/char/stallion.c | if ((rc = verify_area(VERIFY_READ, (void *) arg, sizeof(struct serial_struct))) == 0) |
rc | 1194 | drivers/char/stallion.c | rc = stl_setserial(portp, (struct serial_struct *) arg); |
rc | 1197 | drivers/char/stallion.c | if ((rc = verify_area(VERIFY_WRITE, (void *) arg, sizeof(comstats_t))) == 0) |
rc | 1198 | drivers/char/stallion.c | rc = stl_getportstats(portp, (comstats_t *) arg); |
rc | 1201 | drivers/char/stallion.c | if ((rc = verify_area(VERIFY_WRITE, (void *) arg, sizeof(comstats_t))) == 0) |
rc | 1202 | drivers/char/stallion.c | rc = stl_clrportstats(portp, (comstats_t *) arg); |
rc | 1212 | drivers/char/stallion.c | rc = -ENOIOCTLCMD; |
rc | 1216 | drivers/char/stallion.c | return(rc); |
rc | 2361 | drivers/char/stallion.c | int rc, i; |
rc | 2367 | drivers/char/stallion.c | rc = 0; |
rc | 2375 | drivers/char/stallion.c | rc = -ENODEV; |
rc | 2380 | drivers/char/stallion.c | return(rc); |
rc | 2496 | drivers/char/stallion.c | int rc; |
rc | 2553 | drivers/char/stallion.c | rc = stl_mapirq(brdp->irq); |
rc | 2554 | drivers/char/stallion.c | return(rc); |
rc | 2744 | drivers/char/stallion.c | int i, rc; |
rc | 2759 | drivers/char/stallion.c | if ((rc = pcibios_read_config_word(busnr, devnr, PCI_CLASS_DEVICE, &class))) { |
rc | 2760 | drivers/char/stallion.c | printk("STALLION: failed to read class type from PCI board, errno=%x\n", rc); |
rc | 2786 | drivers/char/stallion.c | if ((rc = pcibios_read_config_dword(busnr, devnr, PCI_BASE_ADDRESS_0, &ioaddr))) { |
rc | 2787 | drivers/char/stallion.c | printk("STALLION: failed to read BAR register from PCI board, errno=%x\n", rc); |
rc | 2792 | drivers/char/stallion.c | if ((rc = pcibios_read_config_dword(busnr, devnr, PCI_BASE_ADDRESS_1, &ioaddr))) { |
rc | 2793 | drivers/char/stallion.c | printk("STALLION: failed to read BAR register from PCI board, errno=%x\n", rc); |
rc | 2801 | drivers/char/stallion.c | if ((rc = pcibios_read_config_byte(busnr, devnr, PCI_INTERRUPT_LINE, &irq))) { |
rc | 2802 | drivers/char/stallion.c | printk("STALLION: failed to read BAR register from PCI board, errno=%x\n", rc); |
rc | 3068 | drivers/char/stallion.c | int brdnr, rc; |
rc | 3077 | drivers/char/stallion.c | rc = 0; |
rc | 3081 | drivers/char/stallion.c | if ((rc = verify_area(VERIFY_WRITE, (void *) arg, sizeof(comstats_t))) == 0) |
rc | 3082 | drivers/char/stallion.c | rc = stl_getportstats((stlport_t *) NULL, (comstats_t *) arg); |
rc | 3085 | drivers/char/stallion.c | if ((rc = verify_area(VERIFY_WRITE, (void *) arg, sizeof(comstats_t))) == 0) |
rc | 3086 | drivers/char/stallion.c | rc = stl_clrportstats((stlport_t *) NULL, (comstats_t *) arg); |
rc | 3089 | drivers/char/stallion.c | if ((rc = verify_area(VERIFY_WRITE, (void *) arg, sizeof(combrd_t))) == 0) |
rc | 3090 | drivers/char/stallion.c | rc = stl_getbrdstats((combrd_t *) arg); |
rc | 3093 | drivers/char/stallion.c | if ((rc = verify_area(VERIFY_WRITE, (void *) arg, sizeof(stlport_t))) == 0) |
rc | 3094 | drivers/char/stallion.c | rc = stl_getportstruct(arg); |
rc | 3097 | drivers/char/stallion.c | if ((rc = verify_area(VERIFY_WRITE, (void *) arg, sizeof(stlbrd_t))) == 0) |
rc | 3098 | drivers/char/stallion.c | rc = stl_getbrdstruct(arg); |
rc | 3101 | drivers/char/stallion.c | rc = -ENOIOCTLCMD; |
rc | 3105 | drivers/char/stallion.c | return(rc); |
rc | 350 | drivers/isdn/teles/isdnl2.c | st->l2.rc = 0; |
rc | 393 | drivers/isdn/teles/isdnl2.c | st->l2.rc = 0; |
rc | 873 | drivers/isdn/teles/isdnl2.c | if (st->l2.rc == st->l2.n200) { |
rc | 877 | drivers/isdn/teles/isdnl2.c | st->l2.rc++; |
rc | 907 | drivers/isdn/teles/isdnl2.c | if (st->l2.rc == st->l2.n200) { |
rc | 911 | drivers/isdn/teles/isdnl2.c | st->l2.rc++; |
rc | 1017 | drivers/isdn/teles/isdnl2.c | st->l2.rc = 1; |
rc | 1084 | drivers/isdn/teles/isdnl2.c | st->l2.rc = 0; |
rc | 1094 | drivers/isdn/teles/isdnl2.c | if (st->l2.rc == st->l2.n200) { |
rc | 1097 | drivers/isdn/teles/isdnl2.c | st->l2.rc++; |
rc | 255 | drivers/isdn/teles/teles.h | int rc, t200_running; |
rc | 440 | drivers/net/dgrs.c | int rc; |
rc | 442 | drivers/net/dgrs.c | rc = do_plx_dma(dev, |
rc | 444 | drivers/net/dgrs.c | if (rc) |
rc | 471 | drivers/net/dgrs.c | int rc; |
rc | 483 | drivers/net/dgrs.c | rc = do_plx_dma(dev, (ulong) phys_p, |
rc | 485 | drivers/net/dgrs.c | if (rc) |
rc | 690 | drivers/net/dgrs.c | int i, rc; |
rc | 692 | drivers/net/dgrs.c | rc = verify_area(VERIFY_WRITE, ifr->ifr_data, sizeof(DGRS_IOCTL)); |
rc | 693 | drivers/net/dgrs.c | if (rc) return (rc); |
rc | 703 | drivers/net/dgrs.c | rc = verify_area(VERIFY_WRITE, (void *) ioc.data, ioc.len); |
rc | 704 | drivers/net/dgrs.c | if (rc) return (rc); |
rc | 708 | drivers/net/dgrs.c | rc = verify_area(VERIFY_READ, (void *) ioc.data, ioc.len); |
rc | 709 | drivers/net/dgrs.c | if (rc) return (rc); |
rc | 985 | drivers/net/dgrs.c | int rc; |
rc | 994 | drivers/net/dgrs.c | rc = dgrs_download(dev); |
rc | 995 | drivers/net/dgrs.c | if (rc) |
rc | 998 | drivers/net/dgrs.c | return rc; |
rc | 1021 | drivers/net/dgrs.c | rc = request_irq(dev->irq, &dgrs_intr, 0, "RightSwitch", dev); |
rc | 1022 | drivers/net/dgrs.c | if (rc) |
rc | 1023 | drivers/net/dgrs.c | return (rc); |
rc | 440 | drivers/net/dgrs_driver.c | int rc; |
rc | 442 | drivers/net/dgrs_driver.c | rc = do_plx_dma(dev, |
rc | 444 | drivers/net/dgrs_driver.c | if (rc) |
rc | 471 | drivers/net/dgrs_driver.c | int rc; |
rc | 483 | drivers/net/dgrs_driver.c | rc = do_plx_dma(dev, (ulong) phys_p, |
rc | 485 | drivers/net/dgrs_driver.c | if (rc) |
rc | 690 | drivers/net/dgrs_driver.c | int i, rc; |
rc | 692 | drivers/net/dgrs_driver.c | rc = verify_area(VERIFY_WRITE, ifr->ifr_data, sizeof(DGRS_IOCTL)); |
rc | 693 | drivers/net/dgrs_driver.c | if (rc) return (rc); |
rc | 703 | drivers/net/dgrs_driver.c | rc = verify_area(VERIFY_WRITE, (void *) ioc.data, ioc.len); |
rc | 704 | drivers/net/dgrs_driver.c | if (rc) return (rc); |
rc | 708 | drivers/net/dgrs_driver.c | rc = verify_area(VERIFY_READ, (void *) ioc.data, ioc.len); |
rc | 709 | drivers/net/dgrs_driver.c | if (rc) return (rc); |
rc | 985 | drivers/net/dgrs_driver.c | int rc; |
rc | 994 | drivers/net/dgrs_driver.c | rc = dgrs_download(dev); |
rc | 995 | drivers/net/dgrs_driver.c | if (rc) |
rc | 998 | drivers/net/dgrs_driver.c | return rc; |
rc | 1021 | drivers/net/dgrs_driver.c | rc = request_irq(dev->irq, &dgrs_intr, 0, "RightSwitch", dev); |
rc | 1022 | drivers/net/dgrs_driver.c | if (rc) |
rc | 1023 | drivers/net/dgrs_driver.c | return (rc); |
rc | 326 | drivers/scsi/sr.c | int rc,is_xa,no_multi; |
rc | 366 | drivers/scsi/sr.c | rc = kernel_scsi_ioctl(scsi_CDs[MINOR(inode->i_rdev)].device, |
rc | 368 | drivers/scsi/sr.c | if (rc != 0) { |
rc | 369 | drivers/scsi/sr.c | if (rc != 0x28000002) /* drop "not ready" */ |
rc | 370 | drivers/scsi/sr.c | printk(KERN_WARNING"sr_photocd: ioctl error (NEC): 0x%x\n",rc); |
rc | 402 | drivers/scsi/sr.c | rc = kernel_scsi_ioctl(scsi_CDs[MINOR(inode->i_rdev)].device, |
rc | 404 | drivers/scsi/sr.c | if (rc != 0) { |
rc | 405 | drivers/scsi/sr.c | if (rc == 0x28000002) { |
rc | 416 | drivers/scsi/sr.c | printk(KERN_WARNING"sr_photocd: ioctl error (TOSHIBA #1): 0x%x\n",rc); |
rc | 438 | drivers/scsi/sr.c | rc = kernel_scsi_ioctl(scsi_CDs[MINOR(inode->i_rdev)].device, |
rc | 440 | drivers/scsi/sr.c | if (rc != 0) { |
rc | 441 | drivers/scsi/sr.c | printk(KERN_WARNING "sr_photocd: ioctl error (TOSHIBA #2): 0x%x\n",rc); |
rc | 463 | drivers/scsi/sr.c | rc = kernel_scsi_ioctl(scsi_CDs[MINOR(inode->i_rdev)].device, |
rc | 465 | drivers/scsi/sr.c | if (rc != 0) { |
rc | 466 | drivers/scsi/sr.c | printk(KERN_WARNING "sr_photocd: ioctl error (TOSHIBA #3): 0x%x\n",rc); |
rc | 485 | drivers/scsi/sr.c | rc = kernel_scsi_ioctl(scsi_CDs[MINOR(inode->i_rdev)].device, |
rc | 488 | drivers/scsi/sr.c | if (rc != 0) { |
rc | 489 | drivers/scsi/sr.c | if (rc != 0x28000002) /* drop "not ready" */ |
rc | 490 | drivers/scsi/sr.c | printk(KERN_WARNING "sr_photocd: ioctl error (SONY): 0x%x\n",rc); |
rc | 2750 | drivers/sound/dmasound.c | int rc = 0; |
rc | 2761 | drivers/sound/dmasound.c | rc = -EINTR; |
rc | 2767 | drivers/sound/dmasound.c | return(rc); |
rc | 2773 | drivers/sound/dmasound.c | int rc = 0; |
rc | 2775 | drivers/sound/dmasound.c | rc = sq_sync(); |
rc | 2782 | drivers/sound/dmasound.c | return(rc); |
rc | 2933 | drivers/sound/dmasound.c | int rc = sq_open(file->f_flags); |
rc | 2934 | drivers/sound/dmasound.c | if (rc == 0) { |
rc | 2944 | drivers/sound/dmasound.c | return(rc); |
rc | 62 | fs/ext/fsync.c | int rc, tmp; |
rc | 68 | fs/ext/fsync.c | rc = sync_block (inode, iblock, wait); |
rc | 69 | fs/ext/fsync.c | if (rc) |
rc | 70 | fs/ext/fsync.c | return rc; |
rc | 86 | fs/ext/fsync.c | int rc, err = 0; |
rc | 89 | fs/ext/fsync.c | rc = sync_block (inode, inode->u.ext_i.i_data + i, wait); |
rc | 90 | fs/ext/fsync.c | if (rc > 0) |
rc | 92 | fs/ext/fsync.c | if (rc) |
rc | 93 | fs/ext/fsync.c | err = rc; |
rc | 102 | fs/ext/fsync.c | int rc, err = 0; |
rc | 104 | fs/ext/fsync.c | rc = sync_iblock (inode, iblock, &ind_bh, wait); |
rc | 105 | fs/ext/fsync.c | if (rc || !ind_bh) |
rc | 106 | fs/ext/fsync.c | return rc; |
rc | 109 | fs/ext/fsync.c | rc = sync_block (inode, |
rc | 112 | fs/ext/fsync.c | if (rc > 0) |
rc | 114 | fs/ext/fsync.c | if (rc) |
rc | 115 | fs/ext/fsync.c | err = rc; |
rc | 126 | fs/ext/fsync.c | int rc, err = 0; |
rc | 128 | fs/ext/fsync.c | rc = sync_iblock (inode, diblock, &dind_bh, wait); |
rc | 129 | fs/ext/fsync.c | if (rc || !dind_bh) |
rc | 130 | fs/ext/fsync.c | return rc; |
rc | 133 | fs/ext/fsync.c | rc = sync_indirect (inode, |
rc | 136 | fs/ext/fsync.c | if (rc > 0) |
rc | 138 | fs/ext/fsync.c | if (rc) |
rc | 139 | fs/ext/fsync.c | err = rc; |
rc | 150 | fs/ext/fsync.c | int rc, err = 0; |
rc | 152 | fs/ext/fsync.c | rc = sync_iblock (inode, tiblock, &tind_bh, wait); |
rc | 153 | fs/ext/fsync.c | if (rc || !tind_bh) |
rc | 154 | fs/ext/fsync.c | return rc; |
rc | 157 | fs/ext/fsync.c | rc = sync_dindirect (inode, |
rc | 160 | fs/ext/fsync.c | if (rc > 0) |
rc | 162 | fs/ext/fsync.c | if (rc) |
rc | 163 | fs/ext/fsync.c | err = rc; |
rc | 61 | fs/ext2/fsync.c | int rc, tmp; |
rc | 67 | fs/ext2/fsync.c | rc = sync_block (inode, iblock, wait); |
rc | 68 | fs/ext2/fsync.c | if (rc) |
rc | 69 | fs/ext2/fsync.c | return rc; |
rc | 85 | fs/ext2/fsync.c | int rc, err = 0; |
rc | 88 | fs/ext2/fsync.c | rc = sync_block (inode, inode->u.ext2_i.i_data + i, wait); |
rc | 89 | fs/ext2/fsync.c | if (rc > 0) |
rc | 91 | fs/ext2/fsync.c | if (rc) |
rc | 92 | fs/ext2/fsync.c | err = rc; |
rc | 101 | fs/ext2/fsync.c | int rc, err = 0; |
rc | 103 | fs/ext2/fsync.c | rc = sync_iblock (inode, iblock, &ind_bh, wait); |
rc | 104 | fs/ext2/fsync.c | if (rc || !ind_bh) |
rc | 105 | fs/ext2/fsync.c | return rc; |
rc | 108 | fs/ext2/fsync.c | rc = sync_block (inode, |
rc | 111 | fs/ext2/fsync.c | if (rc > 0) |
rc | 113 | fs/ext2/fsync.c | if (rc) |
rc | 114 | fs/ext2/fsync.c | err = rc; |
rc | 124 | fs/ext2/fsync.c | int rc, err = 0; |
rc | 126 | fs/ext2/fsync.c | rc = sync_iblock (inode, diblock, &dind_bh, wait); |
rc | 127 | fs/ext2/fsync.c | if (rc || !dind_bh) |
rc | 128 | fs/ext2/fsync.c | return rc; |
rc | 131 | fs/ext2/fsync.c | rc = sync_indirect (inode, |
rc | 134 | fs/ext2/fsync.c | if (rc > 0) |
rc | 136 | fs/ext2/fsync.c | if (rc) |
rc | 137 | fs/ext2/fsync.c | err = rc; |
rc | 147 | fs/ext2/fsync.c | int rc, err = 0; |
rc | 149 | fs/ext2/fsync.c | rc = sync_iblock (inode, tiblock, &tind_bh, wait); |
rc | 150 | fs/ext2/fsync.c | if (rc || !tind_bh) |
rc | 151 | fs/ext2/fsync.c | return rc; |
rc | 154 | fs/ext2/fsync.c | rc = sync_dindirect (inode, |
rc | 157 | fs/ext2/fsync.c | if (rc > 0) |
rc | 159 | fs/ext2/fsync.c | if (rc) |
rc | 160 | fs/ext2/fsync.c | err = rc; |
rc | 63 | fs/minix/fsync.c | int rc; |
rc | 70 | fs/minix/fsync.c | rc = V1_sync_block (inode, iblock, wait); |
rc | 71 | fs/minix/fsync.c | if (rc) |
rc | 72 | fs/minix/fsync.c | return rc; |
rc | 87 | fs/minix/fsync.c | int rc, err = 0; |
rc | 90 | fs/minix/fsync.c | rc = V1_sync_block (inode, |
rc | 92 | fs/minix/fsync.c | if (rc > 0) |
rc | 94 | fs/minix/fsync.c | if (rc) |
rc | 95 | fs/minix/fsync.c | err = rc; |
rc | 104 | fs/minix/fsync.c | int rc, err = 0; |
rc | 106 | fs/minix/fsync.c | rc = V1_sync_iblock (inode, iblock, &ind_bh, wait); |
rc | 107 | fs/minix/fsync.c | if (rc || !ind_bh) |
rc | 108 | fs/minix/fsync.c | return rc; |
rc | 111 | fs/minix/fsync.c | rc = V1_sync_block (inode, |
rc | 114 | fs/minix/fsync.c | if (rc > 0) |
rc | 116 | fs/minix/fsync.c | if (rc) |
rc | 117 | fs/minix/fsync.c | err = rc; |
rc | 128 | fs/minix/fsync.c | int rc, err = 0; |
rc | 130 | fs/minix/fsync.c | rc = V1_sync_iblock (inode, diblock, &dind_bh, wait); |
rc | 131 | fs/minix/fsync.c | if (rc || !dind_bh) |
rc | 132 | fs/minix/fsync.c | return rc; |
rc | 135 | fs/minix/fsync.c | rc = V1_sync_indirect (inode, |
rc | 138 | fs/minix/fsync.c | if (rc > 0) |
rc | 140 | fs/minix/fsync.c | if (rc) |
rc | 141 | fs/minix/fsync.c | err = rc; |
rc | 200 | fs/minix/fsync.c | int rc; |
rc | 207 | fs/minix/fsync.c | rc = V2_sync_block (inode, iblock, wait); |
rc | 208 | fs/minix/fsync.c | if (rc) |
rc | 209 | fs/minix/fsync.c | return rc; |
rc | 224 | fs/minix/fsync.c | int rc, err = 0; |
rc | 227 | fs/minix/fsync.c | rc = V2_sync_block (inode, |
rc | 229 | fs/minix/fsync.c | if (rc > 0) |
rc | 231 | fs/minix/fsync.c | if (rc) |
rc | 232 | fs/minix/fsync.c | err = rc; |
rc | 241 | fs/minix/fsync.c | int rc, err = 0; |
rc | 243 | fs/minix/fsync.c | rc = V2_sync_iblock (inode, iblock, &ind_bh, wait); |
rc | 244 | fs/minix/fsync.c | if (rc || !ind_bh) |
rc | 245 | fs/minix/fsync.c | return rc; |
rc | 248 | fs/minix/fsync.c | rc = V2_sync_block (inode, |
rc | 251 | fs/minix/fsync.c | if (rc > 0) |
rc | 253 | fs/minix/fsync.c | if (rc) |
rc | 254 | fs/minix/fsync.c | err = rc; |
rc | 265 | fs/minix/fsync.c | int rc, err = 0; |
rc | 267 | fs/minix/fsync.c | rc = V2_sync_iblock (inode, diblock, &dind_bh, wait); |
rc | 268 | fs/minix/fsync.c | if (rc || !dind_bh) |
rc | 269 | fs/minix/fsync.c | return rc; |
rc | 272 | fs/minix/fsync.c | rc = V2_sync_indirect (inode, |
rc | 275 | fs/minix/fsync.c | if (rc > 0) |
rc | 277 | fs/minix/fsync.c | if (rc) |
rc | 278 | fs/minix/fsync.c | err = rc; |
rc | 289 | fs/minix/fsync.c | int rc, err = 0; |
rc | 291 | fs/minix/fsync.c | rc = V2_sync_iblock (inode, tiblock, &tind_bh, wait); |
rc | 292 | fs/minix/fsync.c | if (rc || !tind_bh) |
rc | 293 | fs/minix/fsync.c | return rc; |
rc | 296 | fs/minix/fsync.c | rc = V2_sync_dindirect (inode, |
rc | 299 | fs/minix/fsync.c | if (rc > 0) |
rc | 301 | fs/minix/fsync.c | if (rc) |
rc | 302 | fs/minix/fsync.c | err = rc; |
rc | 65 | fs/sysv/fsync.c | int rc; |
rc | 74 | fs/sysv/fsync.c | rc = sync_block (inode, iblockp, convert, wait); |
rc | 75 | fs/sysv/fsync.c | if (rc) |
rc | 76 | fs/sysv/fsync.c | return rc; |
rc | 92 | fs/sysv/fsync.c | int rc, err = 0; |
rc | 95 | fs/sysv/fsync.c | rc = sync_block (inode, inode->u.sysv_i.i_data + i, 0, wait); |
rc | 96 | fs/sysv/fsync.c | if (rc > 0) |
rc | 98 | fs/sysv/fsync.c | if (rc) |
rc | 99 | fs/sysv/fsync.c | err = rc; |
rc | 108 | fs/sysv/fsync.c | int rc, err = 0; |
rc | 111 | fs/sysv/fsync.c | rc = sync_iblock (inode, iblockp, convert, &ind_bh, wait); |
rc | 112 | fs/sysv/fsync.c | if (rc || !ind_bh) |
rc | 113 | fs/sysv/fsync.c | return rc; |
rc | 117 | fs/sysv/fsync.c | rc = sync_block (inode, |
rc | 120 | fs/sysv/fsync.c | if (rc > 0) |
rc | 122 | fs/sysv/fsync.c | if (rc) |
rc | 123 | fs/sysv/fsync.c | err = rc; |
rc | 134 | fs/sysv/fsync.c | int rc, err = 0; |
rc | 137 | fs/sysv/fsync.c | rc = sync_iblock (inode, diblockp, convert, &dind_bh, wait); |
rc | 138 | fs/sysv/fsync.c | if (rc || !dind_bh) |
rc | 139 | fs/sysv/fsync.c | return rc; |
rc | 143 | fs/sysv/fsync.c | rc = sync_indirect (inode, |
rc | 146 | fs/sysv/fsync.c | if (rc > 0) |
rc | 148 | fs/sysv/fsync.c | if (rc) |
rc | 149 | fs/sysv/fsync.c | err = rc; |
rc | 160 | fs/sysv/fsync.c | int rc, err = 0; |
rc | 163 | fs/sysv/fsync.c | rc = sync_iblock (inode, tiblockp, convert, &tind_bh, wait); |
rc | 164 | fs/sysv/fsync.c | if (rc || !tind_bh) |
rc | 165 | fs/sysv/fsync.c | return rc; |
rc | 169 | fs/sysv/fsync.c | rc = sync_dindirect (inode, |
rc | 172 | fs/sysv/fsync.c | if (rc > 0) |
rc | 174 | fs/sysv/fsync.c | if (rc) |
rc | 175 | fs/sysv/fsync.c | err = rc; |
rc | 456 | fs/umsdos/inode.c | struct inode *rc = NULL; |
rc | 460 | fs/umsdos/inode.c | || (umsdos_real_lookup (etc,"rc",2,&rc)==0 |
rc | 461 | fs/umsdos/inode.c | && S_ISREG(rc->i_mode))){ |
rc | 465 | fs/umsdos/inode.c | iput (rc); |
rc | 61 | fs/xiafs/fsync.c | int rc, tmp; |
rc | 67 | fs/xiafs/fsync.c | rc = sync_block (inode, iblock, wait); |
rc | 68 | fs/xiafs/fsync.c | if (rc) |
rc | 69 | fs/xiafs/fsync.c | return rc; |
rc | 85 | fs/xiafs/fsync.c | int rc, err = 0; |
rc | 88 | fs/xiafs/fsync.c | rc = sync_block (inode, inode->u.ext_i.i_data + i, wait); |
rc | 89 | fs/xiafs/fsync.c | if (rc > 0) |
rc | 91 | fs/xiafs/fsync.c | if (rc) |
rc | 92 | fs/xiafs/fsync.c | err = rc; |
rc | 101 | fs/xiafs/fsync.c | int rc, err = 0; |
rc | 103 | fs/xiafs/fsync.c | rc = sync_iblock (inode, iblock, &ind_bh, wait); |
rc | 104 | fs/xiafs/fsync.c | if (rc || !ind_bh) |
rc | 105 | fs/xiafs/fsync.c | return rc; |
rc | 108 | fs/xiafs/fsync.c | rc = sync_block (inode, |
rc | 111 | fs/xiafs/fsync.c | if (rc > 0) |
rc | 113 | fs/xiafs/fsync.c | if (rc) |
rc | 114 | fs/xiafs/fsync.c | err = rc; |
rc | 125 | fs/xiafs/fsync.c | int rc, err = 0; |
rc | 127 | fs/xiafs/fsync.c | rc = sync_iblock (inode, diblock, &dind_bh, wait); |
rc | 128 | fs/xiafs/fsync.c | if (rc || !dind_bh) |
rc | 129 | fs/xiafs/fsync.c | return rc; |
rc | 132 | fs/xiafs/fsync.c | rc = sync_indirect (inode, |
rc | 135 | fs/xiafs/fsync.c | if (rc > 0) |
rc | 137 | fs/xiafs/fsync.c | if (rc) |
rc | 138 | fs/xiafs/fsync.c | err = rc; |
rc | 356 | include/linux/cdrom.h | u_char rc : 1; /* read continuous */ |
rc | 65 | include/linux/istallion.h | int rc; |
rc | 840 | init/main.c | static int do_rc(void * rc) |
rc | 843 | init/main.c | if (open(rc,O_RDONLY,0)) |
rc | 294 | kernel/sysctl.c | int op = 0, rc, len; |
rc | 304 | kernel/sysctl.c | rc = table->strategy(table, name, nlen, oldval, oldlenp, |
rc | 306 | kernel/sysctl.c | if (rc < 0) |
rc | 307 | kernel/sysctl.c | return rc; |
rc | 308 | kernel/sysctl.c | if (rc > 0) |
rc | 108 | net/core/firewall.c | int rc=fw->fw_forward(fw,pf,dev,phdr); |
rc | 109 | net/core/firewall.c | if(rc!=FW_SKIP) |
rc | 110 | net/core/firewall.c | return rc; |
rc | 126 | net/core/firewall.c | int rc=fw->fw_input(fw,pf,dev,phdr); |
rc | 127 | net/core/firewall.c | if(rc!=FW_SKIP) |
rc | 128 | net/core/firewall.c | return rc; |
rc | 140 | net/core/firewall.c | int rc=fw->fw_output(fw,pf,dev,phdr); |
rc | 141 | net/core/firewall.c | if(rc!=FW_SKIP) |
rc | 142 | net/core/firewall.c | return rc; |