• 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

287 	int status = 0;
312 status = -EINVAL;
313 mlog_errno(status);
317 status = ocfs2_read_inode_block_full(inode, &alloc_bh,
319 if (status < 0) {
320 mlog_errno(status);
331 status = -EINVAL;
339 status = -EINVAL;
362 if (status < 0)
369 mlog_exit(status);
370 return status;
382 int status;
404 status = -ENOENT;
405 mlog_errno(status);
417 status = -EINVAL;
418 mlog_errno(status);
424 status = ocfs2_inode_lock(main_bm_inode, &main_bm_bh, 1);
425 if (status < 0) {
426 mlog_errno(status);
443 status = -ENOMEM;
448 status = ocfs2_journal_access_di(handle, INODE_CACHE(local_alloc_inode),
450 if (status < 0) {
451 mlog_errno(status);
462 status = ocfs2_sync_local_to_main(osb, handle, alloc_copy,
464 if (status < 0)
465 mlog_errno(status);
500 int status = 0;
513 status = -EINVAL;
514 mlog_errno(status);
520 status = ocfs2_read_inode_block_full(inode, &alloc_bh,
522 if (status < 0) {
523 mlog_errno(status);
529 status = -ENOMEM;
538 status = ocfs2_write_block(osb, alloc_bh, INODE_CACHE(inode));
539 if (status < 0)
540 mlog_errno(status);
543 if ((status < 0) && (*alloc_copy)) {
555 mlog_exit(status);
556 return status;
568 int status;
579 status = -EINVAL;
580 mlog_errno(status);
586 status = ocfs2_inode_lock(main_bm_inode, &main_bm_bh, 1);
587 if (status < 0) {
588 mlog_errno(status);
594 status = PTR_ERR(handle);
596 mlog_errno(status);
603 status = ocfs2_sync_local_to_main(osb, handle, alloc,
605 if (status < 0)
606 mlog_errno(status);
621 if (!status)
623 mlog_exit(status);
624 return status;
638 int status;
652 status = -ENOENT;
653 mlog_errno(status);
667 status = -ENOSPC;
682 status = -EIO;
691 status =
693 if (status < 0) {
694 if (status != -ENOSPC)
695 mlog_errno(status);
705 status = -ENOSPC;
725 status = 0;
727 if (status < 0 && local_alloc_inode) {
733 status);
735 mlog_exit(status);
736 return status;
746 int status, start;
763 status = -ENOSPC;
764 mlog_errno(status);
772 status = ocfs2_journal_access_di(handle,
776 if (status < 0) {
777 mlog_errno(status);
791 mlog_exit(status);
792 return status;
930 int status = 0;
976 status = ocfs2_release_clusters(handle,
980 if (status < 0) {
981 mlog_errno(status);
992 mlog_exit(status);
993 return status;
1080 int status;
1084 status = -ENOMEM;
1085 mlog_errno(status);
1091 status = ocfs2_reserve_cluster_bitmap_bits(osb, *ac);
1092 if (status == -ENOSPC) {
1101 if (status < 0) {
1102 mlog_errno(status);
1110 status = 0;
1112 if ((status < 0) && *ac) {
1117 mlog_exit(status);
1118 return status;
1128 int status = 0;
1153 status = ocfs2_claim_clusters(handle, ac, osb->local_alloc_bits,
1155 if (status == -ENOSPC) {
1167 status = ocfs2_claim_clusters(handle, ac,
1171 if (status == -ENOSPC)
1178 if (status == 0) {
1184 if (status < 0) {
1185 if (status != -ENOSPC)
1186 mlog_errno(status);
1211 mlog_exit(status);
1212 return status;
1220 int status = 0;
1233 status = ocfs2_local_alloc_reserve_for_window(osb,
1237 if (status < 0) {
1238 if (status != -ENOSPC)
1239 mlog_errno(status);
1245 status = PTR_ERR(handle);
1247 mlog_errno(status);
1260 status = -ENOMEM;
1261 mlog_errno(status);
1266 status = ocfs2_journal_access_di(handle,
1270 if (status < 0) {
1271 mlog_errno(status);
1278 status = ocfs2_sync_local_to_main(osb, handle, alloc_copy,
1280 if (status < 0) {
1281 mlog_errno(status);
1285 status = ocfs2_local_alloc_new_window(osb, handle, ac);
1286 if (status < 0) {
1287 if (status != -ENOSPC)
1288 mlog_errno(status);
1309 mlog_exit(status);
1310 return status;