• 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

104 	int status;
109 status = PTR_ERR(handle);
110 mlog_errno(status);
111 return status;
113 status = ocfs2_journal_access_dq(handle, INODE_CACHE(inode), bh,
115 if (status < 0) {
116 mlog_errno(status);
118 return status;
125 status = ocfs2_commit_trans(OCFS2_SB(sb), handle);
126 if (status < 0) {
127 mlog_errno(status);
128 return status;
179 int status, ret = 0;
182 status = ocfs2_read_quota_block(linode, 0, &bh);
183 if (status) {
184 mlog_errno(status);
214 status = ocfs2_read_quota_block(ginode, 0, &bh);
215 if (status) {
216 mlog_errno(status);
261 int i, status;
272 status = ocfs2_read_quota_block(inode,
275 if (status) {
276 mlog_errno(status);
279 return status;
354 int status = 0;
358 status = ocfs2_read_quota_block(lqinode,
361 if (status) {
362 mlog_errno(status);
367 status = ocfs2_add_recovery_chunk(sb, dchunk, i, head);
369 if (status < 0)
372 if (status < 0)
374 return status;
404 int status = 0;
420 status = -ENOENT;
423 status = ocfs2_inode_lock_full(lqinode, NULL, 1,
425 if (status < 0) {
426 mlog_errno(status);
431 status = ocfs2_read_quota_block(lqinode, 0, &bh);
432 if (status) {
433 mlog_errno(status);
440 status = ocfs2_recovery_load_quota(lqinode, ldinfo, type,
447 if (status < 0)
451 if (status < 0) {
453 rec = ERR_PTR(status);
473 int status = 0;
483 status = ocfs2_read_quota_block(lqinode,
486 if (status) {
487 mlog_errno(status);
493 status = ocfs2_read_quota_block(lqinode,
496 if (status) {
497 mlog_errno(status);
504 status = -EIO;
512 status = ocfs2_lock_global_qf(oinfo, 1);
513 if (status < 0) {
514 mlog_errno(status);
521 status = PTR_ERR(handle);
522 mlog_errno(status);
538 status = ocfs2_global_release_dquot(dquot);
539 if (status < 0) {
540 mlog_errno(status);
544 status = ocfs2_journal_access_dq(handle,
547 if (status < 0) {
548 mlog_errno(status);
566 if (status < 0)
573 if (status < 0)
576 if (status < 0)
578 mlog_exit(status);
579 return status;
594 int status = 0;
606 status = -ENOENT;
609 status = ocfs2_inode_lock_full(lqinode, NULL, 1,
613 if (status == -EAGAIN) {
616 status = 0;
618 } else if (status < 0) {
619 mlog_errno(status);
624 status = ocfs2_read_quota_block(lqinode, 0, &bh);
625 if (status) {
626 mlog_errno(status);
636 status = ocfs2_recover_local_quota_file(lqinode,
648 status = PTR_ERR(handle);
649 mlog_errno(status);
652 status = ocfs2_journal_access_dq(handle, INODE_CACHE(lqinode),
655 if (status < 0) {
656 mlog_errno(status);
671 if (status < 0)
677 return status;
687 int status;
710 status = ocfs2_global_read_info(sb, type);
711 if (status < 0)
714 status = ocfs2_inode_lock(lqinode, &oinfo->dqi_lqi_bh, 1);
715 if (status < 0) {
716 mlog_errno(status);
722 status = ocfs2_read_quota_block(lqinode, 0, &bh);
723 if (status) {
724 mlog_errno(status);
742 status = -ENOMEM;
743 mlog_errno(status);
749 status = ocfs2_recovery_load_quota(lqinode, ldinfo, type,
751 if (status < 0) {
752 mlog_errno(status);
757 status = ocfs2_load_local_quota_bitmaps(lqinode,
760 if (status < 0) {
761 mlog_errno(status);
767 status = ocfs2_modify_bh(lqinode, bh, olq_update_info, info);
768 if (status < 0) {
769 mlog_errno(status);
797 int status;
799 status = ocfs2_modify_bh(sb_dqopt(sb)->files[type], bh, olq_update_info,
801 if (status < 0) {
802 mlog_errno(status);
817 int status;
852 status = ocfs2_modify_bh(sb_dqopt(sb)->files[type],
856 if (status < 0) {
857 mlog_errno(status);
897 int status;
899 status = ocfs2_read_quota_phys_block(lqinode, od->dq_local_phys_blk,
901 if (status) {
902 mlog_errno(status);
905 status = ocfs2_modify_bh(lqinode, bh, olq_set_dquot, od);
906 if (status < 0) {
907 mlog_errno(status);
912 return status;
968 int status;
974 status = ocfs2_extend_no_holes(lqinode, NULL,
977 if (status < 0) {
978 mlog_errno(status);
981 status = ocfs2_simple_size_update(lqinode, oinfo->dqi_lqi_bh,
983 if (status < 0) {
984 mlog_errno(status);
990 status = -ENOMEM;
991 mlog_errno(status);
999 status = PTR_ERR(handle);
1000 mlog_errno(status);
1005 status = ocfs2_extent_map_get_blocks(lqinode, oinfo->dqi_blocks,
1007 if (status < 0) {
1008 mlog_errno(status);
1013 status = -ENOMEM;
1014 mlog_errno(status);
1019 status = ocfs2_journal_access_dq(handle, INODE_CACHE(lqinode), bh,
1021 if (status < 0) {
1022 mlog_errno(status);
1034 status = ocfs2_extent_map_get_blocks(lqinode, oinfo->dqi_blocks + 1,
1036 if (status < 0) {
1037 mlog_errno(status);
1042 status = -ENOMEM;
1043 mlog_errno(status);
1047 status = ocfs2_journal_access_dq(handle, INODE_CACHE(lqinode), dbh,
1049 if (status < 0) {
1050 mlog_errno(status);
1061 status = ocfs2_local_write_info(sb, type);
1062 if (status < 0) {
1063 mlog_errno(status);
1066 status = ocfs2_commit_trans(OCFS2_SB(sb), handle);
1067 if (status < 0) {
1068 mlog_errno(status);
1085 return ERR_PTR(status);
1103 int status;
1117 status = ocfs2_extend_no_holes(lqinode, NULL,
1120 if (status < 0) {
1121 mlog_errno(status);
1124 status = ocfs2_simple_size_update(lqinode, oinfo->dqi_lqi_bh,
1126 if (status < 0) {
1127 mlog_errno(status);
1132 status = ocfs2_extent_map_get_blocks(lqinode, oinfo->dqi_blocks,
1134 if (status < 0) {
1135 mlog_errno(status);
1140 status = -ENOMEM;
1141 mlog_errno(status);
1151 status = PTR_ERR(handle);
1152 mlog_errno(status);
1156 status = ocfs2_journal_access_dq(handle, INODE_CACHE(lqinode), bh,
1158 if (status < 0) {
1159 mlog_errno(status);
1168 status = ocfs2_journal_access_dq(handle, INODE_CACHE(lqinode),
1171 if (status < 0) {
1172 mlog_errno(status);
1184 status = ocfs2_local_write_info(sb, type);
1185 if (status < 0) {
1186 mlog_errno(status);
1190 status = ocfs2_commit_trans(OCFS2_SB(sb), handle);
1191 if (status < 0) {
1192 mlog_errno(status);
1200 return ERR_PTR(status);
1222 int status;
1230 status = PTR_ERR(chunk);
1234 status = PTR_ERR(chunk);
1239 status = ocfs2_extent_map_get_blocks(lqinode,
1246 status = ocfs2_local_write_dquot(dquot);
1247 if (status < 0) {
1248 mlog_errno(status);
1253 status = ocfs2_modify_bh(lqinode, chunk->qc_headerbh, olq_alloc_dquot,
1255 if (status < 0) {
1256 mlog_errno(status);
1261 return status;
1270 int status;
1277 status = ocfs2_journal_access_dq(handle,
1280 if (status < 0) {
1281 mlog_errno(status);
1300 return status;