Lines Matching refs:rc
22 int rc = 0; in jfs_fsync() local
24 rc = file_write_and_wait_range(file, start, end); in jfs_fsync()
25 if (rc) in jfs_fsync()
26 return rc; in jfs_fsync()
34 return rc; in jfs_fsync()
37 rc |= jfs_commit_inode(inode, 1); in jfs_fsync()
40 return rc ? -EIO : 0; in jfs_fsync()
45 int rc; in jfs_open() local
47 if ((rc = dquot_file_open(inode, file))) in jfs_open()
48 return rc; in jfs_open()
91 int rc; in jfs_setattr() local
93 rc = setattr_prepare(dentry, iattr); in jfs_setattr()
94 if (rc) in jfs_setattr()
95 return rc; in jfs_setattr()
98 rc = dquot_initialize(inode); in jfs_setattr()
99 if (rc) in jfs_setattr()
100 return rc; in jfs_setattr()
104 rc = dquot_transfer(inode, iattr); in jfs_setattr()
105 if (rc) in jfs_setattr()
106 return rc; in jfs_setattr()
113 rc = inode_newsize_ok(inode, iattr->ia_size); in jfs_setattr()
114 if (rc) in jfs_setattr()
115 return rc; in jfs_setattr()
125 rc = posix_acl_chmod(inode, inode->i_mode); in jfs_setattr()
126 return rc; in jfs_setattr()