Lines Matching refs:result
159 ssize_t result; in nfs_file_read() local
169 result = nfs_revalidate_mapping(inode, iocb->ki_filp->f_mapping); in nfs_file_read()
170 if (!result) { in nfs_file_read()
171 result = generic_file_read_iter(iocb, to); in nfs_file_read()
172 if (result > 0) in nfs_file_read()
173 nfs_add_stats(inode, NFSIOS_NORMALREADBYTES, result); in nfs_file_read()
176 return result; in nfs_file_read()
608 ssize_t result, written; in nfs_file_write() local
612 result = nfs_key_timeout_notify(file, inode); in nfs_file_write()
613 if (result) in nfs_file_write()
614 return result; in nfs_file_write()
628 result = nfs_revalidate_file_size(inode, file); in nfs_file_write()
629 if (result) in nfs_file_write()
630 return result; in nfs_file_write()
637 result = generic_write_checks(iocb, from); in nfs_file_write()
638 if (result > 0) { in nfs_file_write()
640 result = generic_perform_write(iocb, from); in nfs_file_write()
644 if (result <= 0) in nfs_file_write()
647 written = result; in nfs_file_write()
652 result = filemap_fdatawrite_range(file->f_mapping, in nfs_file_write()
655 if (result < 0) in nfs_file_write()
663 result = generic_write_sync(iocb, written); in nfs_file_write()
664 if (result < 0) in nfs_file_write()
665 return result; in nfs_file_write()
679 result = error; in nfs_file_write()
681 return result; in nfs_file_write()