Lines Matching refs:status
99 int status;
104 status = PTR_ERR(handle);
105 mlog_errno(status);
106 return status;
108 status = ocfs2_journal_access_dq(handle, INODE_CACHE(inode), bh,
110 if (status < 0) {
111 mlog_errno(status);
113 return status;
120 status = ocfs2_commit_trans(OCFS2_SB(sb), handle);
121 if (status < 0) {
122 mlog_errno(status);
123 return status;
172 int status, ret = 0;
175 status = ocfs2_read_quota_block(linode, 0, &bh);
176 if (status) {
177 mlog_errno(status);
207 status = ocfs2_read_quota_block(ginode, 0, &bh);
208 if (status) {
209 mlog_errno(status);
254 int i, status;
265 status = ocfs2_read_quota_block(inode,
268 if (status) {
269 mlog_errno(status);
272 return status;
347 int status = 0;
351 status = ocfs2_read_quota_block(lqinode,
354 if (status) {
355 mlog_errno(status);
360 status = ocfs2_add_recovery_chunk(sb, dchunk, i, head);
362 if (status < 0)
365 if (status < 0)
367 return status;
398 int status = 0;
416 status = -ENOENT;
419 status = ocfs2_inode_lock_full(lqinode, NULL, 1,
421 if (status < 0) {
422 mlog_errno(status);
427 status = ocfs2_read_quota_block(lqinode, 0, &bh);
428 if (status) {
429 mlog_errno(status);
436 status = ocfs2_recovery_load_quota(lqinode, ldinfo, type,
443 if (status < 0)
447 if (status < 0) {
449 rec = ERR_PTR(status);
469 int status = 0;
479 status = ocfs2_read_quota_block(lqinode,
482 if (status) {
483 mlog_errno(status);
489 status = ocfs2_read_quota_block(lqinode,
492 if (status) {
493 mlog_errno(status);
502 status = PTR_ERR(dquot);
510 status = ocfs2_lock_global_qf(oinfo, 1);
511 if (status < 0) {
512 mlog_errno(status);
519 status = PTR_ERR(handle);
520 mlog_errno(status);
536 status = ocfs2_global_release_dquot(dquot);
537 if (status < 0) {
538 mlog_errno(status);
542 status = ocfs2_journal_access_dq(handle,
545 if (status < 0) {
546 mlog_errno(status);
564 if (status < 0)
571 if (status < 0)
574 if (status < 0)
576 if (status)
577 mlog_errno(status);
578 return status;
593 int status = 0;
607 status = -ENOENT;
610 status = ocfs2_inode_lock_full(lqinode, NULL, 1,
614 if (status == -EAGAIN) {
618 status = 0;
620 } else if (status < 0) {
621 mlog_errno(status);
626 status = ocfs2_read_quota_block(lqinode, 0, &bh);
627 if (status) {
628 mlog_errno(status);
638 status = ocfs2_recover_local_quota_file(lqinode,
650 status = PTR_ERR(handle);
651 mlog_errno(status);
654 status = ocfs2_journal_access_dq(handle, INODE_CACHE(lqinode),
657 if (status < 0) {
658 mlog_errno(status);
673 if (status < 0)
679 return status;
689 int status;
709 status = ocfs2_global_read_info(sb, type);
710 if (status < 0)
713 status = ocfs2_inode_lock(lqinode, &oinfo->dqi_lqi_bh, 1);
714 if (status < 0) {
715 mlog_errno(status);
721 status = ocfs2_read_quota_block(lqinode, 0, &bh);
722 if (status) {
723 mlog_errno(status);
741 status = -ENOMEM;
742 mlog_errno(status);
748 status = ocfs2_recovery_load_quota(lqinode, ldinfo, type,
750 if (status < 0) {
751 mlog_errno(status);
756 status = ocfs2_load_local_quota_bitmaps(lqinode,
759 if (status < 0) {
760 mlog_errno(status);
766 status = ocfs2_modify_bh(lqinode, bh, olq_update_info, info);
767 if (status < 0) {
768 mlog_errno(status);
794 int status;
796 status = ocfs2_modify_bh(sb_dqopt(sb)->files[type], bh, olq_update_info,
798 if (status < 0) {
799 mlog_errno(status);
814 int status;
852 status = ocfs2_modify_bh(sb_dqopt(sb)->files[type],
856 if (status < 0) {
857 mlog_errno(status);
899 int status;
901 status = ocfs2_read_quota_phys_block(lqinode, od->dq_local_phys_blk,
903 if (status) {
904 mlog_errno(status);
907 status = ocfs2_modify_bh(lqinode, bh, olq_set_dquot, od);
908 if (status < 0) {
909 mlog_errno(status);
914 return status;
970 int status;
976 status = ocfs2_extend_no_holes(lqinode, NULL,
979 if (status < 0) {
980 mlog_errno(status);
983 status = ocfs2_simple_size_update(lqinode, oinfo->dqi_lqi_bh,
985 if (status < 0) {
986 mlog_errno(status);
992 status = -ENOMEM;
993 mlog_errno(status);
1001 status = PTR_ERR(handle);
1002 mlog_errno(status);
1007 status = ocfs2_extent_map_get_blocks(lqinode, oinfo->dqi_blocks,
1009 if (status < 0) {
1010 mlog_errno(status);
1015 status = -ENOMEM;
1016 mlog_errno(status);
1021 status = ocfs2_journal_access_dq(handle, INODE_CACHE(lqinode), bh,
1023 if (status < 0) {
1024 mlog_errno(status);
1036 status = ocfs2_extent_map_get_blocks(lqinode, oinfo->dqi_blocks + 1,
1038 if (status < 0) {
1039 mlog_errno(status);
1044 status = -ENOMEM;
1045 mlog_errno(status);
1049 status = ocfs2_journal_access_dq(handle, INODE_CACHE(lqinode), dbh,
1051 if (status < 0) {
1052 mlog_errno(status);
1063 status = ocfs2_local_write_info(sb, type);
1064 if (status < 0) {
1065 mlog_errno(status);
1068 status = ocfs2_commit_trans(OCFS2_SB(sb), handle);
1069 if (status < 0) {
1070 mlog_errno(status);
1087 return ERR_PTR(status);
1105 int status;
1119 status = ocfs2_extend_no_holes(lqinode, NULL,
1122 if (status < 0) {
1123 mlog_errno(status);
1126 status = ocfs2_simple_size_update(lqinode, oinfo->dqi_lqi_bh,
1128 if (status < 0) {
1129 mlog_errno(status);
1134 status = ocfs2_extent_map_get_blocks(lqinode, oinfo->dqi_blocks,
1136 if (status < 0) {
1137 mlog_errno(status);
1142 status = -ENOMEM;
1143 mlog_errno(status);
1153 status = PTR_ERR(handle);
1154 mlog_errno(status);
1158 status = ocfs2_journal_access_dq(handle, INODE_CACHE(lqinode), bh,
1160 if (status < 0) {
1161 mlog_errno(status);
1170 status = ocfs2_journal_access_dq(handle, INODE_CACHE(lqinode),
1173 if (status < 0) {
1174 mlog_errno(status);
1186 status = ocfs2_local_write_info(sb, type);
1187 if (status < 0) {
1188 mlog_errno(status);
1192 status = ocfs2_commit_trans(OCFS2_SB(sb), handle);
1193 if (status < 0) {
1194 mlog_errno(status);
1202 return ERR_PTR(status);
1224 int status;
1232 status = PTR_ERR(chunk);
1236 status = PTR_ERR(chunk);
1241 status = ocfs2_extent_map_get_blocks(lqinode,
1248 status = ocfs2_local_write_dquot(dquot);
1249 if (status < 0) {
1250 mlog_errno(status);
1255 status = ocfs2_modify_bh(lqinode, chunk->qc_headerbh, olq_alloc_dquot,
1257 if (status < 0) {
1258 mlog_errno(status);
1263 return status;
1272 int status;
1279 status = ocfs2_journal_access_dq(handle,
1282 if (status < 0) {
1283 mlog_errno(status);
1298 return status;