Lines Matching refs:user_lock_res
46 static inline struct user_lock_res *user_lksb_to_lock_res(struct ocfs2_dlm_lksb *lksb) in user_lksb_to_lock_res()
48 return container_of(lksb, struct user_lock_res, l_lksb); in user_lksb_to_lock_res()
51 static inline int user_check_wait_flag(struct user_lock_res *lockres, in user_check_wait_flag()
63 static inline void user_wait_on_busy_lock(struct user_lock_res *lockres) in user_wait_on_busy_lock()
70 static inline void user_wait_on_blocked_lock(struct user_lock_res *lockres) in user_wait_on_blocked_lock()
79 cluster_connection_from_user_lockres(struct user_lock_res *lockres) in cluster_connection_from_user_lockres()
90 user_dlm_inode_from_user_lockres(struct user_lock_res *lockres) in user_dlm_inode_from_user_lockres()
100 static inline void user_recover_from_dlm_error(struct user_lock_res *lockres) in user_recover_from_dlm_error()
129 struct user_lock_res *lockres = user_lksb_to_lock_res(lksb); in user_ast()
169 static inline void user_dlm_grab_inode_ref(struct user_lock_res *lockres) in user_dlm_grab_inode_ref()
179 static void __user_dlm_queue_lockres(struct user_lock_res *lockres) in __user_dlm_queue_lockres()
191 static void __user_dlm_cond_queue_lockres(struct user_lock_res *lockres) in __user_dlm_cond_queue_lockres()
217 struct user_lock_res *lockres = user_lksb_to_lock_res(lksb); in user_bast()
235 struct user_lock_res *lockres = user_lksb_to_lock_res(lksb); in user_unlock_ast()
292 static inline void user_dlm_drop_inode_ref(struct user_lock_res *lockres) in user_dlm_drop_inode_ref()
302 struct user_lock_res *lockres = in user_dlm_unblock_lock()
303 container_of(work, struct user_lock_res, l_work); in user_dlm_unblock_lock()
399 static inline void user_dlm_inc_holders(struct user_lock_res *lockres, in user_dlm_inc_holders()
418 user_may_continue_on_blocked_lock(struct user_lock_res *lockres, in user_may_continue_on_blocked_lock()
426 int user_dlm_cluster_lock(struct user_lock_res *lockres, in user_dlm_cluster_lock()
518 static inline void user_dlm_dec_holders(struct user_lock_res *lockres, in user_dlm_dec_holders()
535 void user_dlm_cluster_unlock(struct user_lock_res *lockres, in user_dlm_cluster_unlock()
555 struct user_lock_res *lockres = &DLMFS_I(inode)->ip_lockres; in user_dlm_write_lvb()
573 struct user_lock_res *lockres = &DLMFS_I(inode)->ip_lockres; in user_dlm_read_lvb()
592 void user_dlm_lock_res_init(struct user_lock_res *lockres, in user_dlm_lock_res_init()
612 int user_dlm_destroy_lock(struct user_lock_res *lockres) in user_dlm_destroy_lock()