tag | line | file | source code |
rc | 2110 | drivers/block/ide.c | int hd_status, rc; |
rc | 2143 | drivers/block/ide.c | rc = 0; /* success */ |
rc | 2145 | drivers/block/ide.c | rc = 2; /* drive refused ID */ |
rc | 2153 | drivers/block/ide.c | return rc; |
rc | 2174 | drivers/block/ide.c | int rc; |
rc | 2200 | drivers/block/ide.c | if ((rc = try_to_identify(drive,cmd))) /* send cmd and wait */ |
rc | 2201 | drivers/block/ide.c | rc = try_to_identify(drive,cmd); /* failed: try again */ |
rc | 2202 | drivers/block/ide.c | if (rc == 1) |
rc | 2206 | drivers/block/ide.c | rc = 3; /* not present or maybe ATAPI */ |
rc | 2213 | drivers/block/ide.c | return rc; |
rc | 2789 | drivers/block/ide.c | void ide_pci_access_error (int rc) |
rc | 2791 | drivers/block/ide.c | printk("ide: pcibios access failed - %s\n", pcibios_strerror(rc)); |
rc | 2795 | drivers/block/ide.c | void buggy_interface_fallback (int rc) |
rc | 2797 | drivers/block/ide.c | ide_pci_access_error (rc); |
rc | 2807 | drivers/block/ide.c | int rc; |
rc | 2811 | drivers/block/ide.c | if ((rc = pcibios_read_config_word(bus, fn, 0x40, ®)) |
rc | 2812 | drivers/block/ide.c | || (rc = pcibios_write_config_word(bus, fn, 0x40, reg & 0xdfff))) |
rc | 2813 | drivers/block/ide.c | buggy_interface_fallback (rc); |
rc | 2822 | drivers/block/ide.c | int rc; |
rc | 2827 | drivers/block/ide.c | if ((rc = pcibios_read_config_byte(bus, fn, 0x51, ®)) |
rc | 2828 | drivers/block/ide.c | || (rc = pcibios_write_config_byte(bus, fn, 0x51, reg | 0xc8))) |
rc | 2829 | drivers/block/ide.c | buggy_interface_fallback (rc); |
rc | 2846 | drivers/block/ide.c | int rc; |
rc | 2852 | drivers/block/ide.c | if ((rc = pcibios_read_config_word (bus, fn, PCI_COMMAND, &command))) { |
rc | 2853 | drivers/block/ide.c | ide_pci_access_error (rc); |
rc | 290 | drivers/block/triton.c | int rc = 0, h; |
rc | 299 | drivers/block/triton.c | if ((rc = pcibios_read_config_word(bus, fn, 0x04, &pcicmd))) |
rc | 314 | drivers/block/triton.c | if ((rc = pcibios_read_config_dword(bus, fn, 0x40, &timings))) |
rc | 325 | drivers/block/triton.c | if ((rc = pcibios_read_config_word(bus, fn, 0x20, &bmiba))) |
rc | 361 | drivers/block/triton.c | quit: if (rc) printk("ide: pcibios access failed - %s\n", pcibios_strerror(rc)); |
rc | 187 | drivers/char/lp.c | int rc = total_bytes_written + bytes_written; |
rc | 194 | drivers/char/lp.c | return rc?rc:-ENOSPC; |
rc | 198 | drivers/char/lp.c | return rc?rc:-EIO; |
rc | 202 | drivers/char/lp.c | return rc?rc:-EIO; |
rc | 207 | drivers/net/ac3200.c | int rc; |
rc | 216 | drivers/net/ac3200.c | rc = ei_open(dev); |
rc | 217 | drivers/net/ac3200.c | if (rc != 0) return rc; |
rc | 241 | drivers/net/e2100.c | int rc; |
rc | 257 | drivers/net/e2100.c | rc = ei_open(dev); |
rc | 258 | drivers/net/e2100.c | if (rc != 0) return rc; |
rc | 225 | drivers/net/smc-ultra.c | int rc; |
rc | 233 | drivers/net/smc-ultra.c | rc = ei_open(dev); |
rc | 234 | drivers/net/smc-ultra.c | if (rc != 0) return rc; |
rc | 282 | drivers/net/wd.c | int rc; |
rc | 293 | drivers/net/wd.c | rc = ei_open(dev); |
rc | 294 | drivers/net/wd.c | if (rc != 0) 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 | printk("sr_photocd: ioctl error (NEC): 0x%x\n",rc); |
rc | 401 | drivers/scsi/sr.c | rc = kernel_scsi_ioctl(scsi_CDs[MINOR(inode->i_rdev)].device, |
rc | 403 | drivers/scsi/sr.c | if (rc != 0) { |
rc | 404 | drivers/scsi/sr.c | if (rc == 0x28000002) { |
rc | 416 | drivers/scsi/sr.c | printk("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("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("sr_photocd: ioctl error (TOSHIBA #3): 0x%x\n",rc); |
rc | 483 | drivers/scsi/sr.c | rc = kernel_scsi_ioctl(scsi_CDs[MINOR(inode->i_rdev)].device, |
rc | 486 | drivers/scsi/sr.c | if ((rc != 0) || ((rec[0] << 8) + rec[1] != 0x0a)) { |
rc | 487 | drivers/scsi/sr.c | printk("sr_photocd: ioctl error (SONY): 0x%x\n",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 = sync_block (inode, iblock, wait); |
rc | 71 | fs/minix/fsync.c | if (rc) |
rc | 72 | fs/minix/fsync.c | return rc; |
rc | 88 | fs/minix/fsync.c | int rc, err = 0; |
rc | 91 | fs/minix/fsync.c | rc = sync_block (inode, inode->u.minix_i.i_data + i, wait); |
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 = 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 = 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 = 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 = 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 | 69 | fs/sysv/fsync.c | int rc; |
rc | 78 | fs/sysv/fsync.c | rc = sync_block (inode, iblockp, convert, wait); |
rc | 79 | fs/sysv/fsync.c | if (rc) |
rc | 80 | fs/sysv/fsync.c | return rc; |
rc | 96 | fs/sysv/fsync.c | int rc, err = 0; |
rc | 99 | fs/sysv/fsync.c | rc = sync_block (inode, inode->u.sysv_i.i_data + i, 0, wait); |
rc | 100 | fs/sysv/fsync.c | if (rc > 0) |
rc | 102 | fs/sysv/fsync.c | if (rc) |
rc | 103 | fs/sysv/fsync.c | err = rc; |
rc | 112 | fs/sysv/fsync.c | int rc, err = 0; |
rc | 115 | fs/sysv/fsync.c | rc = sync_iblock (inode, iblockp, convert, &ind_bh, wait); |
rc | 116 | fs/sysv/fsync.c | if (rc || !ind_bh) |
rc | 117 | fs/sysv/fsync.c | return rc; |
rc | 121 | fs/sysv/fsync.c | rc = sync_block (inode, |
rc | 124 | fs/sysv/fsync.c | if (rc > 0) |
rc | 126 | fs/sysv/fsync.c | if (rc) |
rc | 127 | fs/sysv/fsync.c | err = rc; |
rc | 138 | fs/sysv/fsync.c | int rc, err = 0; |
rc | 141 | fs/sysv/fsync.c | rc = sync_iblock (inode, diblockp, convert, &dind_bh, wait); |
rc | 142 | fs/sysv/fsync.c | if (rc || !dind_bh) |
rc | 143 | fs/sysv/fsync.c | return rc; |
rc | 147 | fs/sysv/fsync.c | rc = sync_indirect (inode, |
rc | 150 | fs/sysv/fsync.c | if (rc > 0) |
rc | 152 | fs/sysv/fsync.c | if (rc) |
rc | 153 | fs/sysv/fsync.c | err = rc; |
rc | 164 | fs/sysv/fsync.c | int rc, err = 0; |
rc | 167 | fs/sysv/fsync.c | rc = sync_iblock (inode, tiblockp, convert, &tind_bh, wait); |
rc | 168 | fs/sysv/fsync.c | if (rc || !tind_bh) |
rc | 169 | fs/sysv/fsync.c | return rc; |
rc | 173 | fs/sysv/fsync.c | rc = sync_dindirect (inode, |
rc | 176 | fs/sysv/fsync.c | if (rc > 0) |
rc | 178 | fs/sysv/fsync.c | if (rc) |
rc | 179 | fs/sysv/fsync.c | err = rc; |
rc | 461 | fs/umsdos/inode.c | struct inode *rc = NULL; |
rc | 465 | fs/umsdos/inode.c | || (umsdos_real_lookup (etc,"rc",2,&rc)==0 |
rc | 466 | fs/umsdos/inode.c | && S_ISREG(rc->i_mode))){ |
rc | 470 | fs/umsdos/inode.c | iput (rc); |
rc | 65 | fs/xiafs/fsync.c | int rc, tmp; |
rc | 71 | fs/xiafs/fsync.c | rc = sync_block (inode, iblock, wait); |
rc | 72 | fs/xiafs/fsync.c | if (rc) |
rc | 73 | fs/xiafs/fsync.c | return rc; |
rc | 89 | fs/xiafs/fsync.c | int rc, err = 0; |
rc | 92 | fs/xiafs/fsync.c | rc = sync_block (inode, inode->u.ext_i.i_data + i, wait); |
rc | 93 | fs/xiafs/fsync.c | if (rc > 0) |
rc | 95 | fs/xiafs/fsync.c | if (rc) |
rc | 96 | fs/xiafs/fsync.c | err = rc; |
rc | 105 | fs/xiafs/fsync.c | int rc, err = 0; |
rc | 107 | fs/xiafs/fsync.c | rc = sync_iblock (inode, iblock, &ind_bh, wait); |
rc | 108 | fs/xiafs/fsync.c | if (rc || !ind_bh) |
rc | 109 | fs/xiafs/fsync.c | return rc; |
rc | 112 | fs/xiafs/fsync.c | rc = sync_block (inode, |
rc | 115 | fs/xiafs/fsync.c | if (rc > 0) |
rc | 117 | fs/xiafs/fsync.c | if (rc) |
rc | 118 | fs/xiafs/fsync.c | err = rc; |
rc | 129 | fs/xiafs/fsync.c | int rc, err = 0; |
rc | 131 | fs/xiafs/fsync.c | rc = sync_iblock (inode, diblock, &dind_bh, wait); |
rc | 132 | fs/xiafs/fsync.c | if (rc || !dind_bh) |
rc | 133 | fs/xiafs/fsync.c | return rc; |
rc | 136 | fs/xiafs/fsync.c | rc = sync_indirect (inode, |
rc | 139 | fs/xiafs/fsync.c | if (rc > 0) |
rc | 141 | fs/xiafs/fsync.c | if (rc) |
rc | 142 | fs/xiafs/fsync.c | err = rc; |
rc | 119 | include/linux/cdrom.h | u_char rc : 1; /* read continuous */ |