• Home
  • Raw
  • Download

Lines Matching refs:ex

1696 				 int ex,  in ocfs2_create_new_lock()  argument
1699 int level = ex ? DLM_LOCK_EX : DLM_LOCK_PR; in ocfs2_create_new_lock()
1968 int ocfs2_file_lock(struct file *file, int ex, int trylock) in ocfs2_file_lock() argument
1970 int ret, level = ex ? DLM_LOCK_EX : DLM_LOCK_PR; in ocfs2_file_lock()
2060 lockres->l_name, ex, trylock, ret); in ocfs2_file_lock()
2412 int ex, in ocfs2_inode_lock_full_nested() argument
2424 ex ? "EXMODE" : "PRMODE"); in ocfs2_inode_lock_full_nested()
2431 if (ex) in ocfs2_inode_lock_full_nested()
2444 level = ex ? DLM_LOCK_EX : DLM_LOCK_PR; in ocfs2_inode_lock_full_nested()
2508 ocfs2_inode_unlock(inode, ex); in ocfs2_inode_lock_full_nested()
2533 int ex, in ocfs2_inode_lock_with_page() argument
2538 ret = ocfs2_inode_lock_full(inode, ret_bh, ex, OCFS2_LOCK_NONBLOCK); in ocfs2_inode_lock_with_page()
2548 if (ocfs2_inode_lock(inode, ret_bh, ex) == 0) in ocfs2_inode_lock_with_page()
2549 ocfs2_inode_unlock(inode, ex); in ocfs2_inode_lock_with_page()
2602 int ex) in ocfs2_inode_unlock() argument
2604 int level = ex ? DLM_LOCK_EX : DLM_LOCK_PR; in ocfs2_inode_unlock()
2610 ex ? "EXMODE" : "PRMODE"); in ocfs2_inode_unlock()
2660 int ex, in ocfs2_inode_lock_tracker() argument
2677 status = ocfs2_inode_lock_full(inode, ret_bh, ex, 0); in ocfs2_inode_lock_tracker()
2684 oh->oh_ex = ex; in ocfs2_inode_lock_tracker()
2689 if (unlikely(ex && !tmp_oh->oh_ex)) { in ocfs2_inode_lock_tracker()
2704 status = ocfs2_inode_lock_full(inode, ret_bh, ex, in ocfs2_inode_lock_tracker()
2716 int ex, in ocfs2_inode_unlock_tracker() argument
2776 int ex) in ocfs2_super_lock() argument
2779 int level = ex ? DLM_LOCK_EX : DLM_LOCK_PR; in ocfs2_super_lock()
2815 int ex) in ocfs2_super_unlock() argument
2817 int level = ex ? DLM_LOCK_EX : DLM_LOCK_PR; in ocfs2_super_unlock()
2850 int ocfs2_nfs_sync_lock(struct ocfs2_super *osb, int ex) in ocfs2_nfs_sync_lock() argument
2861 status = ocfs2_cluster_lock(osb, lockres, ex ? LKM_EXMODE : LKM_PRMODE, in ocfs2_nfs_sync_lock()
2869 void ocfs2_nfs_sync_unlock(struct ocfs2_super *osb, int ex) in ocfs2_nfs_sync_unlock() argument
2875 ex ? LKM_EXMODE : LKM_PRMODE); in ocfs2_nfs_sync_unlock()
2942 int ocfs2_dentry_lock(struct dentry *dentry, int ex) in ocfs2_dentry_lock() argument
2945 int level = ex ? DLM_LOCK_EX : DLM_LOCK_PR; in ocfs2_dentry_lock()
2952 if (ex) in ocfs2_dentry_lock()
2967 void ocfs2_dentry_unlock(struct dentry *dentry, int ex) in ocfs2_dentry_unlock() argument
2969 int level = ex ? DLM_LOCK_EX : DLM_LOCK_PR; in ocfs2_dentry_unlock()
4144 void ocfs2_qinfo_unlock(struct ocfs2_mem_dqinfo *oinfo, int ex) in ocfs2_qinfo_unlock() argument
4148 int level = ex ? DLM_LOCK_EX : DLM_LOCK_PR; in ocfs2_qinfo_unlock()
4199 int ocfs2_qinfo_lock(struct ocfs2_mem_dqinfo *oinfo, int ex) in ocfs2_qinfo_lock() argument
4203 int level = ex ? DLM_LOCK_EX : DLM_LOCK_PR; in ocfs2_qinfo_lock()
4208 if (ex) in ocfs2_qinfo_lock()
4225 ocfs2_qinfo_unlock(oinfo, ex); in ocfs2_qinfo_lock()
4231 int ocfs2_refcount_lock(struct ocfs2_refcount_tree *ref_tree, int ex) in ocfs2_refcount_lock() argument
4234 int level = ex ? DLM_LOCK_EX : DLM_LOCK_PR; in ocfs2_refcount_lock()
4252 void ocfs2_refcount_unlock(struct ocfs2_refcount_tree *ref_tree, int ex) in ocfs2_refcount_unlock() argument
4254 int level = ex ? DLM_LOCK_EX : DLM_LOCK_PR; in ocfs2_refcount_unlock()