Lines Matching refs:status

543 	/* This also clears out the lock status block */
790 /* Need to clear out the lock status block for the dlm */
1150 int status;
1154 status = ocfs2_dlm_lock_status(&lockres->l_lksb);
1156 if (status == -EAGAIN) {
1161 if (status) {
1162 mlog(ML_ERROR, "lockres %s: lksb status value of %d!\n",
1163 lockres->l_name, status);
1766 int status, level;
1781 status = ocfs2_cluster_lock(osb, lockres, level, 0, 0);
1782 if (status < 0)
1783 mlog_errno(status);
1785 return status;
1790 int status, level;
1805 status = ocfs2_cluster_lock(osb, lockres, level, DLM_LKF_NOQUEUE, 0);
1806 return status;
1828 int status = 0;
1840 status = ocfs2_cluster_lock(osb, lockres, DLM_LOCK_PR, 0, 0);
1841 if (status < 0)
1842 mlog_errno(status);
1845 return status;
1850 int status = 0, level;
1860 status = -EROFS;
1877 status = ocfs2_cluster_lock(osb, lockres, level, DLM_LKF_NOQUEUE, 0);
1880 return status;
2172 * status.
2267 int status = 0;
2287 status = 1;
2289 mlog(0, "status %d\n", status);
2290 return status;
2293 /* If status is non zero, I'll mark it as not being in refresh
2296 int status)
2302 if (!status)
2313 int status = 0;
2328 status = -ENOENT;
2349 status = ocfs2_read_inode_block(inode, bh);
2350 if (status < 0) {
2351 mlog_errno(status);
2383 status = 0;
2385 ocfs2_complete_lock_res_refresh(lockres, status);
2387 return status;
2394 int status;
2405 status = ocfs2_read_inode_block(inode, ret_bh);
2406 if (status < 0)
2407 mlog_errno(status);
2409 return status;
2422 int status, level, acquired;
2432 status = 0;
2438 status = -EROFS;
2455 status = __ocfs2_cluster_lock(osb, lockres, level, dlm_flags,
2457 if (status < 0) {
2458 if (status != -EAGAIN)
2459 mlog_errno(status);
2481 status = 0;
2492 status = ocfs2_inode_lock_update(inode, &local_bh);
2493 if (status < 0) {
2494 if (status != -ENOENT)
2495 mlog_errno(status);
2500 status = ocfs2_assign_bh(inode, ret_bh, local_bh);
2501 if (status < 0) {
2502 mlog_errno(status);
2508 if (status < 0) {
2518 return status;
2669 int status = 0;
2683 status = ocfs2_inode_lock_full(inode, ret_bh, ex, 0);
2684 if (status < 0) {
2685 if (status != -ENOENT)
2686 mlog_errno(status);
2687 return status;
2710 status = ocfs2_inode_lock_full(inode, ret_bh, ex,
2712 if (status < 0) {
2713 if (status != -ENOENT)
2714 mlog_errno(status);
2715 return status;
2744 int status = 0;
2753 status = ocfs2_cluster_lock(osb, lockres, DLM_LOCK_EX, 0, 0);
2754 if (status < 0)
2755 return status;
2764 return status;
2784 int status = 0;
2794 status = ocfs2_cluster_lock(osb, lockres, level, 0, 0);
2795 if (status < 0) {
2796 mlog_errno(status);
2804 status = ocfs2_should_refresh_lock_res(lockres);
2805 if (status) {
2806 status = ocfs2_refresh_slot_info(osb);
2808 ocfs2_complete_lock_res_refresh(lockres, status);
2810 if (status < 0) {
2812 mlog_errno(status);
2817 return status;
2832 int status;
2841 status = ocfs2_cluster_lock(osb, lockres, DLM_LOCK_EX, 0, 0);
2842 if (status < 0)
2843 mlog_errno(status);
2845 return status;
2858 int status;
2872 status = ocfs2_cluster_lock(osb, lockres, ex ? LKM_EXMODE : LKM_PRMODE,
2874 if (status < 0) {
2875 mlog(ML_ERROR, "lock on nfs sync lock failed %d\n", status);
2883 return status;
2902 int status;
2915 status = ocfs2_cluster_lock(osb, lockres, DLM_LOCK_EX,
2917 if (status < 0) {
2918 if (status != -EAGAIN)
2919 mlog_errno(status);
2920 return status;
2937 return status;
3319 int status = 0;
3333 status = PTR_ERR(osb->dc_task);
3335 mlog_errno(status);
3340 status = ocfs2_cluster_connect(osb->osb_cluster_stack,
3347 if (status) {
3348 mlog_errno(status);
3352 status = ocfs2_cluster_this_node(conn, &osb->node_num);
3353 if (status < 0) {
3354 mlog_errno(status);
3369 if (status < 0) {
3375 return status;
3501 int status;
3549 status = ocfs2_wait_for_mask(&mw);
3550 if (status)
3551 mlog_errno(status);
3579 int status, err;
3589 status = err;
3595 if (err < 0 && !status)
3596 status = err;
3602 if (err < 0 && !status)
3603 status = err;
3605 return status;
4186 int status = 0;
4198 status = ocfs2_read_quota_phys_block(oinfo->dqi_gqinode,
4200 if (status) {
4201 mlog_errno(status);
4218 return status;
4228 int status = 0;
4233 status = -EROFS;
4239 status = ocfs2_cluster_lock(osb, lockres, level, 0, 0);
4240 if (status < 0) {
4241 mlog_errno(status);
4247 status = ocfs2_refresh_qinfo(oinfo);
4248 if (status)
4250 ocfs2_complete_lock_res_refresh(lockres, status);
4252 return status;
4257 int status;
4269 status = ocfs2_cluster_lock(osb, lockres, level, 0, 0);
4270 if (status < 0)
4271 mlog_errno(status);
4273 return status;
4289 int status;
4312 status = ocfs2_unblock_lock(osb, lockres, &ctl);
4313 if (status < 0)
4314 mlog_errno(status);