Lines Matching refs:status
396 int status;
404 status = ocfs2_flush_truncate_log(osb);
405 if (status < 0)
406 mlog_errno(status);
436 int status = 0;
443 status = PTR_ERR(new);
444 mlog_errno(status);
451 status = PTR_ERR(new);
452 mlog_errno(status);
464 status = -EINVAL;
465 mlog_errno(status);
475 mlog_exit(status);
476 return status;
482 int status = 0;
495 status = -EINVAL;
496 mlog(ML_ERROR, "status=%d, sysfile=%d, slot=%d\n",
497 status, i, osb->slot_num);
505 mlog_exit(status);
506 return status;
728 int status, tmpstat;
740 status = -EINVAL;
749 status = ocfs2_get_sector(sb, bh, 0, *sector_size);
750 if (status < 0) {
751 mlog_errno(status);
758 status = -EINVAL;
764 status = -EINVAL;
768 if (status < 0) {
779 status = -EINVAL;
787 status = tmpstat;
788 mlog_errno(status);
800 status = tmpstat;
806 return status;
874 int status = 0;
880 status = dquot_resume(sb, type);
887 status = dquot_suspend(sb, type);
889 if (status < 0)
892 if (status < 0)
894 "remount (error = %d).\n", status);
895 return status;
906 int status;
916 status = -ENOENT;
919 status = dquot_enable(inode[type], type, QFMT_OCFS2,
921 if (status < 0)
932 mlog_errno(status);
933 return status;
996 int status, sector_size;
1007 status = -EINVAL;
1012 status = ocfs2_sb_probe(sb, &bh, §or_size, &stats);
1013 if (status < 0) {
1018 status = ocfs2_initialize_super(sb, bh, sector_size, &stats);
1020 if (status < 0) {
1021 mlog_errno(status);
1028 status = -EINVAL;
1044 status = ocfs2_verify_userspace_stack(osb, &parsed_options);
1045 if (status)
1057 status = -EACCES;
1066 status = -EROFS;
1072 status = ocfs2_check_journals_nolocks(osb);
1073 if (status < 0) {
1074 if (status == -EROFS)
1079 mlog_errno(status);
1095 status = ocfs2_verify_heartbeat(osb);
1096 if (status < 0) {
1097 mlog_errno(status);
1104 status = -EINVAL;
1114 status = -EINVAL;
1115 mlog_errno(status);
1120 status = ocfs2_blockcheck_stats_debugfs_install(
1123 if (status) {
1131 status = ocfs2_mount_volume(sb);
1135 if (status < 0)
1139 status = -EIO;
1140 mlog_errno(status);
1146 status = -ENOMEM;
1147 mlog_errno(status);
1173 status = ocfs2_enable_quotas(osb);
1174 if (status < 0) {
1177 mlog_errno(status);
1180 mlog_exit(status);
1181 return status;
1194 mlog_exit(status);
1195 return status;
1209 mlog_exit(status);
1210 return status;
1291 int status;
1307 status = 1;
1328 status = 0;
1362 status = 0;
1371 status = 0;
1380 status = 0;
1392 status = 0;
1424 status = 0;
1452 status = 0;
1463 status = 0;
1474 status = 0;
1479 status = 1;
1482 mlog_exit(status);
1483 return status;
1562 int status;
1568 status = init_ocfs2_uptodate_cache();
1569 if (status < 0) {
1570 mlog_errno(status);
1574 status = ocfs2_initialize_mem_caches();
1575 if (status < 0) {
1576 mlog_errno(status);
1582 status = -ENOMEM;
1588 status = -EFAULT;
1592 status = ocfs2_quota_setup();
1593 if (status)
1598 status = register_quota_format(&ocfs2_quota_format);
1600 if (status < 0) {
1606 mlog_exit(status);
1608 if (status >= 0) {
1656 int status;
1670 status = -EIO;
1674 status = ocfs2_inode_lock(inode, &bh, 0);
1675 if (status < 0) {
1676 mlog_errno(status);
1703 status = 0;
1708 mlog_exit(status);
1710 return status;
1824 int status = 0;
1833 status = ocfs2_dlm_init(osb);
1834 if (status < 0) {
1835 mlog_errno(status);
1839 status = ocfs2_super_lock(osb, 1);
1840 if (status < 0) {
1841 mlog_errno(status);
1847 status = ocfs2_find_slot(osb);
1848 if (status < 0) {
1849 mlog_errno(status);
1854 status = ocfs2_init_local_system_inodes(osb);
1855 if (status < 0) {
1856 mlog_errno(status);
1860 status = ocfs2_check_volume(osb);
1861 if (status < 0) {
1862 mlog_errno(status);
1866 status = ocfs2_truncate_log_init(osb);
1867 if (status < 0)
1868 mlog_errno(status);
1874 mlog_exit(status);
1875 return status;
1997 int status;
2009 status = -ENOMEM;
2010 mlog_errno(status);
2064 status = ocfs2_recovery_init(osb);
2065 if (status) {
2067 mlog_errno(status);
2087 status = ocfs2_resmap_init(osb, &osb->osb_la_resmap);
2088 if (status) {
2089 mlog_errno(status);
2096 status = -ENOMEM;
2104 status = -EINVAL;
2113 status = -ENOMEM;
2114 mlog_errno(status);
2123 status = -ENOMEM;
2124 mlog_errno(status);
2140 status = -EINVAL;
2147 status = -EINVAL;
2161 status = -EINVAL;
2177 status = -ENOMEM;
2205 status = -EINVAL;
2213 status = -EINVAL;
2220 status = -ENOMEM;
2242 status = -ENOMEM;
2243 mlog_errno(status);
2250 status = ocfs2_init_global_system_inodes(osb);
2251 if (status < 0) {
2252 mlog_errno(status);
2262 status = -EINVAL;
2263 mlog_errno(status);
2274 status = ocfs2_init_slot_info(osb);
2275 if (status < 0) {
2276 mlog_errno(status);
2281 mlog_exit(status);
2282 return status;
2295 int status = -EAGAIN;
2304 status = ocfs2_block_check_validate(bh->b_data,
2308 if (status)
2311 status = -EINVAL;
2348 status = 0;
2353 mlog_exit(status);
2354 return status;
2359 int status;
2369 status = ocfs2_journal_init(osb->journal, &dirty);
2370 if (status < 0) {
2379 status = ocfs2_journal_wipe(osb->journal, 0);
2380 if (status < 0) {
2381 mlog_errno(status);
2392 status = ocfs2_journal_load(osb->journal, local, dirty);
2393 if (status < 0) {
2394 mlog(ML_ERROR, "ocfs2 journal load failed! %d\n", status);
2400 status = ocfs2_begin_local_alloc_recovery(osb,
2403 if (status < 0) {
2404 mlog_errno(status);
2413 status = ocfs2_load_local_alloc(osb);
2414 if (status < 0) {
2415 mlog_errno(status);
2430 status = ocfs2_mark_dead_nodes(osb);
2431 if (status < 0) {
2432 mlog_errno(status);
2436 status = ocfs2_compute_replay_slots(osb);
2437 if (status < 0)
2438 mlog_errno(status);
2444 mlog_exit(status);
2445 return status;