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()
2457 level = ex ? DLM_LOCK_EX : DLM_LOCK_PR; in ocfs2_inode_lock_full_nested()
2617 int level = ex ? DLM_LOCK_EX : DLM_LOCK_PR; in ocfs2_inode_unlock()
2760 status = ocfs2_cluster_lock(osb, lockres, DLM_LOCK_EX, 0, 0); in ocfs2_orphan_scan_lock()
2784 ocfs2_cluster_unlock(osb, lockres, DLM_LOCK_EX); in ocfs2_orphan_scan_unlock()
2792 int level = ex ? DLM_LOCK_EX : DLM_LOCK_PR; in ocfs2_super_lock()
2830 int level = ex ? DLM_LOCK_EX : DLM_LOCK_PR; in ocfs2_super_unlock()
2848 status = ocfs2_cluster_lock(osb, lockres, DLM_LOCK_EX, 0, 0); in ocfs2_rename_lock()
2860 ocfs2_cluster_unlock(osb, lockres, DLM_LOCK_EX); in ocfs2_rename_unlock()
2922 status = ocfs2_cluster_lock(osb, lockres, DLM_LOCK_EX, in ocfs2_trim_fs_lock()
2967 ocfs2_cluster_unlock(osb, lockres, DLM_LOCK_EX); in ocfs2_trim_fs_unlock()
2973 int level = ex ? DLM_LOCK_EX : DLM_LOCK_PR; in ocfs2_dentry_lock()
2997 int level = ex ? DLM_LOCK_EX : DLM_LOCK_PR; in ocfs2_dentry_unlock()
3450 lockres->l_level == DLM_LOCK_EX && in ocfs2_drop_lock()
3826 if ((lockres->l_blocking == DLM_LOCK_EX) in ocfs2_unblock_lock()
3899 if (lockres->l_level == DLM_LOCK_EX) in ocfs2_unblock_lock()
3974 if (blocking == DLM_LOCK_EX) { in ocfs2_data_convert_worker()
3999 BUG_ON(lockres->l_level != DLM_LOCK_EX && !checkpointed); in ocfs2_ci_checkpointed()
4188 int level = ex ? DLM_LOCK_EX : DLM_LOCK_PR; in ocfs2_qinfo_unlock()
4243 int level = ex ? DLM_LOCK_EX : DLM_LOCK_PR; in ocfs2_qinfo_lock()
4274 int level = ex ? DLM_LOCK_EX : DLM_LOCK_PR; in ocfs2_refcount_lock()
4294 int level = ex ? DLM_LOCK_EX : DLM_LOCK_PR; in ocfs2_refcount_unlock()