• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/fs/ocfs2/

Lines Matching refs:status

297 	int status;
300 status = ocfs2_inode_lock(oinfo->dqi_gqinode, &bh, ex);
301 if (status < 0)
302 return status;
344 int status;
354 status = -EINVAL;
365 status = ocfs2_lock_global_qf(oinfo, 0);
366 if (status < 0) {
367 mlog_errno(status);
371 status = ocfs2_extent_map_get_blocks(gqinode, 0, &oinfo->dqi_giblk,
373 if (status < 0)
376 status = ocfs2_qinfo_lock(oinfo, 0);
377 if (status < 0)
379 status = sb->s_op->quota_read(sb, type, (char *)&dinfo,
384 if (status != sizeof(struct ocfs2_global_disk_dqinfo)) {
386 status);
387 if (status >= 0)
388 status = -EIO;
389 mlog_errno(status);
407 mlog_exit(status);
408 return status;
411 mlog_errno(status);
597 int status = 0;
603 status = ocfs2_lock_global_qf(oinfo, 1);
604 if (status < 0)
609 status = PTR_ERR(handle);
610 mlog_errno(status);
614 status = ocfs2_sync_dquot(dquot);
615 if (status < 0)
616 mlog_errno(status);
618 status = ocfs2_local_write_dquot(dquot);
619 if (status < 0)
620 mlog_errno(status);
626 mlog_exit(status);
627 return status;
650 int status = 0;
656 status = PTR_ERR(handle);
657 mlog_errno(status);
661 status = ocfs2_local_write_dquot(dquot);
665 mlog_exit(status);
666 return status;
689 int status = 0;
697 status = ocfs2_lock_global_qf(oinfo, 1);
698 if (status < 0)
703 status = PTR_ERR(handle);
704 mlog_errno(status);
708 status = ocfs2_global_release_dquot(dquot);
709 if (status < 0) {
710 mlog_errno(status);
713 status = ocfs2_local_release_dquot(handle, dquot);
718 if (status < 0)
719 mlog_errno(status);
727 mlog_exit(status);
728 return status;
738 int status = 0, err;
754 status = ocfs2_lock_global_qf(info, 1);
755 if (status < 0)
758 status = ocfs2_qinfo_lock(info, 0);
759 if (status < 0)
761 status = qtree_read_dquot(&info->dqi_gi, dquot);
763 if (status < 0)
778 status = ocfs2_extend_no_holes(gqinode, NULL,
781 if (status < 0)
788 status = PTR_ERR(handle);
791 status = ocfs2_qinfo_lock(info, ex);
792 if (status < 0)
794 status = qtree_write_dquot(&info->dqi_gi, dquot);
797 if (!status)
798 status = err;
805 if (status < 0)
808 status = ocfs2_create_local_dquot(dquot);
809 if (status < 0)
814 mlog_exit(status);
815 return status;
827 int status;
845 status = ocfs2_write_dquot(dquot);
848 status = ocfs2_lock_global_qf(oinfo, 1);
849 if (status < 0)
853 status = PTR_ERR(handle);
854 mlog_errno(status);
858 status = ocfs2_sync_dquot(dquot);
859 if (status < 0) {
860 mlog_errno(status);
864 status = ocfs2_local_write_dquot(dquot);
871 mlog_exit(status);
872 return status;
879 int status = 0;
884 status = ocfs2_lock_global_qf(oinfo, 1);
885 if (status < 0)
889 status = PTR_ERR(handle);
890 mlog_errno(status);
893 status = dquot_commit_info(sb, type);
898 mlog_exit(status);
899 return status;