tag | line | file | source code |
rc | 1726 | drivers/block/ide.c | int hd_status, rc; |
rc | 1762 | drivers/block/ide.c | rc = 0; /* success */ |
rc | 1764 | drivers/block/ide.c | rc = 2; /* drive refused ID */ |
rc | 1775 | drivers/block/ide.c | return rc; |
rc | 1797 | drivers/block/ide.c | int rc; |
rc | 1820 | drivers/block/ide.c | if ((rc = try_to_identify(dev, cmd))) /* send cmd and wait */ |
rc | 1821 | drivers/block/ide.c | rc = try_to_identify(dev, cmd); /* failed: try again */ |
rc | 1822 | drivers/block/ide.c | if (rc == 1) |
rc | 1829 | drivers/block/ide.c | rc = 3; /* not present or maybe ATAPI */ |
rc | 1838 | drivers/block/ide.c | return rc; |
rc | 2080 | drivers/block/ide.c | static byte rc = 0; |
rc | 2087 | drivers/block/ide.c | if (HWIF != 0 && !rc) { /* IRQ already allocated? */ |
rc | 2096 | drivers/block/ide.c | if ((rc = request_irq(ide_irq[HWIF],handler,SA_INTERRUPT,ide_name[HWIF]))) |
rc | 2104 | drivers/block/ide.c | return rc; |
rc | 188 | drivers/char/lp.c | int rc = total_bytes_written + bytes_written; |
rc | 193 | drivers/char/lp.c | return rc?rc:-ENOSPC; |
rc | 197 | drivers/char/lp.c | return rc?rc:-EIO; |
rc | 201 | drivers/char/lp.c | return rc?rc:-EIO; |
rc | 308 | drivers/scsi/sr.c | int rc,is_xa,no_multi; |
rc | 348 | drivers/scsi/sr.c | rc = kernel_scsi_ioctl(scsi_CDs[MINOR(inode->i_rdev)].device, |
rc | 350 | drivers/scsi/sr.c | if (rc != 0) { |
rc | 351 | drivers/scsi/sr.c | printk("sr_photocd: ioctl error (NEC): 0x%x\n",rc); |
rc | 383 | drivers/scsi/sr.c | rc = kernel_scsi_ioctl(scsi_CDs[MINOR(inode->i_rdev)].device, |
rc | 385 | drivers/scsi/sr.c | if (rc != 0) { |
rc | 386 | drivers/scsi/sr.c | if (rc == 0x28000002) { |
rc | 398 | drivers/scsi/sr.c | printk("sr_photocd: ioctl error (TOSHIBA #1): 0x%x\n",rc); |
rc | 420 | drivers/scsi/sr.c | rc = kernel_scsi_ioctl(scsi_CDs[MINOR(inode->i_rdev)].device, |
rc | 422 | drivers/scsi/sr.c | if (rc != 0) { |
rc | 423 | drivers/scsi/sr.c | printk("sr_photocd: ioctl error (TOSHIBA #2): 0x%x\n",rc); |
rc | 445 | drivers/scsi/sr.c | rc = kernel_scsi_ioctl(scsi_CDs[MINOR(inode->i_rdev)].device, |
rc | 447 | drivers/scsi/sr.c | if (rc != 0) { |
rc | 448 | drivers/scsi/sr.c | printk("sr_photocd: ioctl error (TOSHIBA #3): 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 | 455 | fs/umsdos/inode.c | struct inode *rc = NULL; |
rc | 463 | fs/umsdos/inode.c | || (umsdos_real_lookup (etc,"rc",2,&rc)==0 |
rc | 464 | fs/umsdos/inode.c | && S_ISREG(rc->i_mode))){ |
rc | 472 | 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 */ |