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 = 0;
852 status = ocfs2_modify_bh(sb_dqopt(sb)->files[type],
856 if (status < 0)
857 mlog_errno(status);
863 return status;
896 int status;
898 status = ocfs2_read_quota_phys_block(lqinode, od->dq_local_phys_blk,
900 if (status) {
901 mlog_errno(status);
904 status = ocfs2_modify_bh(lqinode, bh, olq_set_dquot, od);
905 if (status < 0) {
906 mlog_errno(status);
911 return status;
967 int status;
973 status = ocfs2_extend_no_holes(lqinode, NULL,
976 if (status < 0) {
977 mlog_errno(status);
980 status = ocfs2_simple_size_update(lqinode, oinfo->dqi_lqi_bh,
982 if (status < 0) {
983 mlog_errno(status);
989 status = -ENOMEM;
990 mlog_errno(status);
998 status = PTR_ERR(handle);
999 mlog_errno(status);
1004 status = ocfs2_extent_map_get_blocks(lqinode, oinfo->dqi_blocks,
1006 if (status < 0) {
1007 mlog_errno(status);
1012 status = -ENOMEM;
1013 mlog_errno(status);
1018 status = ocfs2_journal_access_dq(handle, INODE_CACHE(lqinode), bh,
1020 if (status < 0) {
1021 mlog_errno(status);
1033 status = ocfs2_extent_map_get_blocks(lqinode, oinfo->dqi_blocks + 1,
1035 if (status < 0) {
1036 mlog_errno(status);
1041 status = -ENOMEM;
1042 mlog_errno(status);
1046 status = ocfs2_journal_access_dq(handle, INODE_CACHE(lqinode), dbh,
1048 if (status < 0) {
1049 mlog_errno(status);
1060 status = ocfs2_local_write_info(sb, type);
1061 if (status < 0) {
1062 mlog_errno(status);
1065 status = ocfs2_commit_trans(OCFS2_SB(sb), handle);
1066 if (status < 0) {
1067 mlog_errno(status);
1084 return ERR_PTR(status);
1102 int status;
1116 status = ocfs2_extend_no_holes(lqinode, NULL,
1119 if (status < 0) {
1120 mlog_errno(status);
1123 status = ocfs2_simple_size_update(lqinode, oinfo->dqi_lqi_bh,
1125 if (status < 0) {
1126 mlog_errno(status);
1131 status = ocfs2_extent_map_get_blocks(lqinode, oinfo->dqi_blocks,
1133 if (status < 0) {
1134 mlog_errno(status);
1139 status = -ENOMEM;
1140 mlog_errno(status);
1150 status = PTR_ERR(handle);
1151 mlog_errno(status);
1155 status = ocfs2_journal_access_dq(handle, INODE_CACHE(lqinode), bh,
1157 if (status < 0) {
1158 mlog_errno(status);
1167 status = ocfs2_journal_access_dq(handle, INODE_CACHE(lqinode),
1170 if (status < 0) {
1171 mlog_errno(status);
1183 status = ocfs2_local_write_info(sb, type);
1184 if (status < 0) {
1185 mlog_errno(status);
1189 status = ocfs2_commit_trans(OCFS2_SB(sb), handle);
1190 if (status < 0) {
1191 mlog_errno(status);
1199 return ERR_PTR(status);
1221 int status;
1229 status = PTR_ERR(chunk);
1233 status = PTR_ERR(chunk);
1238 status = ocfs2_extent_map_get_blocks(lqinode,
1245 status = ocfs2_local_write_dquot(dquot);
1246 if (status < 0) {
1247 mlog_errno(status);
1252 status = ocfs2_modify_bh(lqinode, chunk->qc_headerbh, olq_alloc_dquot,
1254 if (status < 0) {
1255 mlog_errno(status);
1260 return status;
1269 int status;
1276 status = ocfs2_journal_access_dq(handle,
1279 if (status < 0) {
1280 mlog_errno(status);
1295 return status;