Lines Matching defs:lockres
125 struct ocfs2_lock_res *lockres) in ocfs2_dump_meta_lvb_info()
293 static inline int ocfs2_is_inode_lock(struct ocfs2_lock_res *lockres) in ocfs2_is_inode_lock()
305 static inline struct inode *ocfs2_lock_res_inode(struct ocfs2_lock_res *lockres) in ocfs2_lock_res_inode()
312 static inline struct ocfs2_dentry_lock *ocfs2_lock_res_dl(struct ocfs2_lock_res *lockres) in ocfs2_lock_res_dl()
319 static inline struct ocfs2_mem_dqinfo *ocfs2_lock_res_qinfo(struct ocfs2_lock_res *lockres) in ocfs2_lock_res_qinfo()
332 static inline struct ocfs2_super *ocfs2_get_lockres_osb(struct ocfs2_lock_res *lockres) in ocfs2_get_lockres_osb()
350 struct ocfs2_lock_res *lockres, in ocfs2_cluster_unlock()
471 static inline void ocfs2_track_lock_refresh(struct ocfs2_lock_res *lockres) in ocfs2_track_lock_refresh()
488 static inline void ocfs2_track_lock_refresh(struct ocfs2_lock_res *lockres) in ocfs2_track_lock_refresh()
564 static struct ocfs2_super *ocfs2_get_inode_osb(struct ocfs2_lock_res *lockres) in ocfs2_get_inode_osb()
571 static struct ocfs2_super *ocfs2_get_qinfo_osb(struct ocfs2_lock_res *lockres) in ocfs2_get_qinfo_osb()
578 static struct ocfs2_super *ocfs2_get_file_osb(struct ocfs2_lock_res *lockres) in ocfs2_get_file_osb()
585 static __u64 ocfs2_get_dentry_lock_ino(struct ocfs2_lock_res *lockres) in ocfs2_get_dentry_lock_ino()
595 static struct ocfs2_super *ocfs2_get_dentry_osb(struct ocfs2_lock_res *lockres) in ocfs2_get_dentry_osb()
608 struct ocfs2_lock_res *lockres = &dl->dl_lockres; in ocfs2_dentry_lock_res_init() local
685 void ocfs2_file_lock_res_init(struct ocfs2_lock_res *lockres, in ocfs2_file_lock_res_init()
700 void ocfs2_qinfo_lock_res_init(struct ocfs2_lock_res *lockres, in ocfs2_qinfo_lock_res_init()
711 void ocfs2_refcount_lock_res_init(struct ocfs2_lock_res *lockres, in ocfs2_refcount_lock_res_init()
751 static inline void ocfs2_inc_holders(struct ocfs2_lock_res *lockres, in ocfs2_inc_holders()
768 static inline void ocfs2_dec_holders(struct ocfs2_lock_res *lockres, in ocfs2_dec_holders()
801 static void lockres_set_flags(struct ocfs2_lock_res *lockres, in lockres_set_flags()
819 static void lockres_or_flags(struct ocfs2_lock_res *lockres, unsigned long or) in lockres_or_flags()
823 static void lockres_clear_flags(struct ocfs2_lock_res *lockres, in lockres_clear_flags()
829 static inline void ocfs2_generic_handle_downconvert_action(struct ocfs2_lock_res *lockres) in ocfs2_generic_handle_downconvert_action()
845 static inline void ocfs2_generic_handle_convert_action(struct ocfs2_lock_res *lockres) in ocfs2_generic_handle_convert_action()
870 static inline void ocfs2_generic_handle_attach_action(struct ocfs2_lock_res *lockres) in ocfs2_generic_handle_attach_action()
885 static int ocfs2_generic_handle_bast(struct ocfs2_lock_res *lockres, in ocfs2_generic_handle_bast()
973 static void __lockres_clear_pending(struct ocfs2_lock_res *lockres, in __lockres_clear_pending()
999 static void lockres_clear_pending(struct ocfs2_lock_res *lockres, in lockres_clear_pending()
1010 static unsigned int lockres_set_pending(struct ocfs2_lock_res *lockres) in lockres_set_pending()
1022 struct ocfs2_lock_res *lockres = ocfs2_lksb_to_lock_res(lksb); in ocfs2_blocking_ast() local
1053 struct ocfs2_lock_res *lockres = ocfs2_lksb_to_lock_res(lksb); in ocfs2_locking_ast() local
1119 struct ocfs2_lock_res *lockres = ocfs2_lksb_to_lock_res(lksb); in ocfs2_unlock_ast() local
1194 static inline void ocfs2_recover_from_dlm_error(struct ocfs2_lock_res *lockres, in ocfs2_recover_from_dlm_error()
1216 struct ocfs2_lock_res *lockres, in ocfs2_lock_create()
1258 static inline int ocfs2_check_wait_flag(struct ocfs2_lock_res *lockres, in ocfs2_check_wait_flag()
1271 static inline void ocfs2_wait_on_busy_lock(struct ocfs2_lock_res *lockres) in ocfs2_wait_on_busy_lock()
1278 static inline void ocfs2_wait_on_refreshing_lock(struct ocfs2_lock_res *lockres) in ocfs2_wait_on_refreshing_lock()
1288 static inline int ocfs2_may_continue_on_blocked_lock(struct ocfs2_lock_res *lockres, in ocfs2_may_continue_on_blocked_lock()
1311 static void lockres_add_mask_waiter(struct ocfs2_lock_res *lockres, in lockres_add_mask_waiter()
1327 static int lockres_remove_mask_waiter(struct ocfs2_lock_res *lockres, in lockres_remove_mask_waiter()
1348 struct ocfs2_lock_res *lockres) in ocfs2_wait_for_mask_interruptible()
1363 struct ocfs2_lock_res *lockres, in __ocfs2_cluster_lock()
1546 struct ocfs2_lock_res *lockres, in ocfs2_cluster_lock()
1557 struct ocfs2_lock_res *lockres, in __ocfs2_cluster_unlock()
1574 struct ocfs2_lock_res *lockres, in ocfs2_create_new_lock()
1643 struct ocfs2_lock_res *lockres; in ocfs2_rw_lock() local
1670 struct ocfs2_lock_res *lockres = &OCFS2_I(inode)->ip_rw_lockres; in ocfs2_rw_unlock() local
1687 struct ocfs2_lock_res *lockres; in ocfs2_open_lock() local
1712 struct ocfs2_lock_res *lockres; in ocfs2_try_open_lock() local
1752 struct ocfs2_lock_res *lockres = &OCFS2_I(inode)->ip_open_lockres; in ocfs2_open_unlock() local
1772 static int ocfs2_flock_handle_signal(struct ocfs2_lock_res *lockres, in ocfs2_flock_handle_signal()
1846 struct ocfs2_lock_res *lockres = &fp->fp_flock; in ocfs2_file_lock() local
1942 struct ocfs2_lock_res *lockres = &fp->fp_flock; in ocfs2_file_unlock() local
1981 struct ocfs2_lock_res *lockres) in ocfs2_downconvert_on_unlock()
2030 struct ocfs2_lock_res *lockres = &oi->ip_inode_lockres; in __ocfs2_stuff_meta_lvb() local
2076 struct ocfs2_lock_res *lockres = &oi->ip_inode_lockres; in ocfs2_refresh_inode_from_lvb() local
2112 struct ocfs2_lock_res *lockres) in ocfs2_meta_lvb_is_trustable()
2130 static int ocfs2_should_refresh_lock_res(struct ocfs2_lock_res *lockres) in ocfs2_should_refresh_lock_res()
2161 static inline void ocfs2_complete_lock_res_refresh(struct ocfs2_lock_res *lockres, in ocfs2_complete_lock_res_refresh()
2181 struct ocfs2_lock_res *lockres = &oi->ip_inode_lockres; in ocfs2_inode_lock_update() local
2290 struct ocfs2_lock_res *lockres = NULL; in ocfs2_inode_lock_full_nested() local
2470 struct ocfs2_lock_res *lockres = &OCFS2_I(inode)->ip_inode_lockres; in ocfs2_inode_unlock() local
2484 struct ocfs2_lock_res *lockres; in ocfs2_orphan_scan_lock() local
2511 struct ocfs2_lock_res *lockres; in ocfs2_orphan_scan_unlock() local
2528 struct ocfs2_lock_res *lockres = &osb->osb_super_lockres; in ocfs2_super_lock() local
2568 struct ocfs2_lock_res *lockres = &osb->osb_super_lockres; in ocfs2_super_unlock() local
2577 struct ocfs2_lock_res *lockres = &osb->osb_rename_lockres; in ocfs2_rename_lock() local
2594 struct ocfs2_lock_res *lockres = &osb->osb_rename_lockres; in ocfs2_rename_unlock() local
2603 struct ocfs2_lock_res *lockres = &osb->osb_nfs_sync_lockres; in ocfs2_nfs_sync_lock() local
2621 struct ocfs2_lock_res *lockres = &osb->osb_nfs_sync_lockres; in ocfs2_nfs_sync_unlock() local
2795 struct ocfs2_lock_res *lockres = v; in ocfs2_dlm_seq_show() local
3061 struct ocfs2_lock_res *lockres) in ocfs2_drop_lock()
3148 void ocfs2_mark_lockres_freeing(struct ocfs2_lock_res *lockres) in ocfs2_mark_lockres_freeing()
3174 struct ocfs2_lock_res *lockres) in ocfs2_simple_drop_lockres()
3223 static unsigned int ocfs2_prepare_downconvert(struct ocfs2_lock_res *lockres, in ocfs2_prepare_downconvert()
3253 struct ocfs2_lock_res *lockres, in ocfs2_downconvert_lock()
3287 struct ocfs2_lock_res *lockres) in ocfs2_prepare_cancel_convert()
3316 struct ocfs2_lock_res *lockres) in ocfs2_cancel_convert()
3333 struct ocfs2_lock_res *lockres, in ocfs2_unblock_lock()
3529 static int ocfs2_data_convert_worker(struct ocfs2_lock_res *lockres, in ocfs2_data_convert_worker()
3579 struct ocfs2_lock_res *lockres, in ocfs2_ci_checkpointed()
3594 static int ocfs2_check_meta_downconvert(struct ocfs2_lock_res *lockres, in ocfs2_check_meta_downconvert()
3602 static void ocfs2_set_meta_lvb(struct ocfs2_lock_res *lockres) in ocfs2_set_meta_lvb()
3615 struct ocfs2_lock_res *lockres) in ocfs2_dentry_post_unlock()
3640 static int ocfs2_dentry_convert_worker(struct ocfs2_lock_res *lockres, in ocfs2_dentry_convert_worker()
3731 static int ocfs2_check_refcount_downconvert(struct ocfs2_lock_res *lockres, in ocfs2_check_refcount_downconvert()
3740 static int ocfs2_refcount_convert_worker(struct ocfs2_lock_res *lockres, in ocfs2_refcount_convert_worker()
3751 static void ocfs2_set_qinfo_lvb(struct ocfs2_lock_res *lockres) in ocfs2_set_qinfo_lvb()
3770 struct ocfs2_lock_res *lockres = &oinfo->dqi_gqlock; in ocfs2_qinfo_unlock() local
3782 struct ocfs2_lock_res *lockres = &oinfo->dqi_gqlock; in ocfs2_refresh_qinfo() local
3825 struct ocfs2_lock_res *lockres = &oinfo->dqi_gqlock; in ocfs2_qinfo_lock() local
3859 struct ocfs2_lock_res *lockres = &ref_tree->rf_lockres; in ocfs2_refcount_lock() local
3879 struct ocfs2_lock_res *lockres = &ref_tree->rf_lockres; in ocfs2_refcount_unlock() local
3887 struct ocfs2_lock_res *lockres) in ocfs2_process_blocked_lock()
3933 struct ocfs2_lock_res *lockres) in ocfs2_schedule_blocked_lock()
3960 struct ocfs2_lock_res *lockres; in ocfs2_downconvert_thread_do_work() local