Lines Matching refs:new_level
89 int new_level);
104 int new_level);
374 int new_level);
377 int new_level,
879 int new_level = DLM_LOCK_EX; in ocfs2_highest_compat_lock_level() local
882 new_level = DLM_LOCK_NL; in ocfs2_highest_compat_lock_level()
884 new_level = DLM_LOCK_PR; in ocfs2_highest_compat_lock_level()
885 return new_level; in ocfs2_highest_compat_lock_level()
3615 int new_level) in ocfs2_prepare_downconvert() argument
3621 if (lockres->l_level <= new_level) { in ocfs2_prepare_downconvert()
3625 new_level, list_empty(&lockres->l_blocked_list), in ocfs2_prepare_downconvert()
3635 lockres->l_name, lockres->l_level, new_level, lockres->l_blocking); in ocfs2_prepare_downconvert()
3638 lockres->l_requested = new_level; in ocfs2_prepare_downconvert()
3645 int new_level, in ocfs2_downconvert_lock() argument
3653 lockres->l_level, new_level); in ocfs2_downconvert_lock()
3669 new_level, in ocfs2_downconvert_lock()
3739 int new_level; in ocfs2_unblock_lock() local
3855 new_level = ocfs2_highest_compat_lock_level(lockres->l_blocking); in ocfs2_unblock_lock()
3858 && !lockres->l_ops->check_downconvert(lockres, new_level)) { in ocfs2_unblock_lock()
3913 gen = ocfs2_prepare_downconvert(lockres, new_level); in ocfs2_unblock_lock()
3915 ret = ocfs2_downconvert_lock(osb, lockres, new_level, set_lvb, in ocfs2_unblock_lock()
3995 int new_level) in ocfs2_ci_checkpointed() argument
3999 BUG_ON(new_level != DLM_LOCK_NL && new_level != DLM_LOCK_PR); in ocfs2_ci_checkpointed()
4010 int new_level) in ocfs2_check_meta_downconvert() argument
4014 return ocfs2_ci_checkpointed(INODE_CACHE(inode), lockres, new_level); in ocfs2_check_meta_downconvert()
4149 int new_level) in ocfs2_check_refcount_downconvert() argument
4154 return ocfs2_ci_checkpointed(&tree->rf_ci, lockres, new_level); in ocfs2_check_refcount_downconvert()