Lines Matching refs:DLM_LOCK_EX
844 case DLM_LOCK_EX: in ocfs2_inc_holders()
861 case DLM_LOCK_EX: in ocfs2_dec_holders()
879 int new_level = DLM_LOCK_EX; in ocfs2_highest_compat_lock_level()
881 if (level == DLM_LOCK_EX) in ocfs2_highest_compat_lock_level()
1704 int level = ex ? DLM_LOCK_EX : DLM_LOCK_PR; in ocfs2_create_new_lock()
1778 level = write ? DLM_LOCK_EX : DLM_LOCK_PR; in ocfs2_rw_lock()
1802 level = write ? DLM_LOCK_EX : DLM_LOCK_PR; in ocfs2_try_rw_lock()
1810 int level = write ? DLM_LOCK_EX : DLM_LOCK_PR; in ocfs2_rw_unlock()
1868 level = write ? DLM_LOCK_EX : DLM_LOCK_PR; in ocfs2_try_open_lock()
1899 ocfs2_cluster_unlock(osb, lockres, DLM_LOCK_EX); in ocfs2_open_unlock()
1975 int ret, level = ex ? DLM_LOCK_EX : DLM_LOCK_PR; in ocfs2_file_lock()
2096 lockres->l_blocking = DLM_LOCK_EX; in ocfs2_file_unlock()
2123 case DLM_LOCK_EX: in ocfs2_downconvert_on_unlock()
2460 level = ex ? DLM_LOCK_EX : DLM_LOCK_PR; in ocfs2_inode_lock_full_nested()
2620 int level = ex ? DLM_LOCK_EX : DLM_LOCK_PR; in ocfs2_inode_unlock()
2763 status = ocfs2_cluster_lock(osb, lockres, DLM_LOCK_EX, 0, 0); in ocfs2_orphan_scan_lock()
2787 ocfs2_cluster_unlock(osb, lockres, DLM_LOCK_EX); in ocfs2_orphan_scan_unlock()
2795 int level = ex ? DLM_LOCK_EX : DLM_LOCK_PR; in ocfs2_super_lock()
2833 int level = ex ? DLM_LOCK_EX : DLM_LOCK_PR; in ocfs2_super_unlock()
2851 status = ocfs2_cluster_lock(osb, lockres, DLM_LOCK_EX, 0, 0); in ocfs2_rename_lock()
2863 ocfs2_cluster_unlock(osb, lockres, DLM_LOCK_EX); in ocfs2_rename_unlock()
2925 status = ocfs2_cluster_lock(osb, lockres, DLM_LOCK_EX, in ocfs2_trim_fs_lock()
2970 ocfs2_cluster_unlock(osb, lockres, DLM_LOCK_EX); in ocfs2_trim_fs_unlock()
2976 int level = ex ? DLM_LOCK_EX : DLM_LOCK_PR; in ocfs2_dentry_lock()
3000 int level = ex ? DLM_LOCK_EX : DLM_LOCK_PR; in ocfs2_dentry_unlock()
3455 lockres->l_level == DLM_LOCK_EX && in ocfs2_drop_lock()
3831 if ((lockres->l_blocking == DLM_LOCK_EX) in ocfs2_unblock_lock()
3904 if (lockres->l_level == DLM_LOCK_EX) in ocfs2_unblock_lock()
3979 if (blocking == DLM_LOCK_EX) { in ocfs2_data_convert_worker()
4004 BUG_ON(lockres->l_level != DLM_LOCK_EX && !checkpointed); in ocfs2_ci_checkpointed()
4193 int level = ex ? DLM_LOCK_EX : DLM_LOCK_PR; in ocfs2_qinfo_unlock()
4248 int level = ex ? DLM_LOCK_EX : DLM_LOCK_PR; in ocfs2_qinfo_lock()
4279 int level = ex ? DLM_LOCK_EX : DLM_LOCK_PR; in ocfs2_refcount_lock()
4299 int level = ex ? DLM_LOCK_EX : DLM_LOCK_PR; in ocfs2_refcount_unlock()