Lines Matching defs:lockres
114 struct ocfs2_lock_res *lockres) in ocfs2_dump_meta_lvb_info()
286 static inline int ocfs2_is_inode_lock(struct ocfs2_lock_res *lockres) in ocfs2_is_inode_lock()
298 static inline struct inode *ocfs2_lock_res_inode(struct ocfs2_lock_res *lockres) in ocfs2_lock_res_inode()
305 static inline struct ocfs2_dentry_lock *ocfs2_lock_res_dl(struct ocfs2_lock_res *lockres) in ocfs2_lock_res_dl()
312 static inline struct ocfs2_mem_dqinfo *ocfs2_lock_res_qinfo(struct ocfs2_lock_res *lockres) in ocfs2_lock_res_qinfo()
325 static inline struct ocfs2_super *ocfs2_get_lockres_osb(struct ocfs2_lock_res *lockres) in ocfs2_get_lockres_osb()
343 struct ocfs2_lock_res *lockres, in ocfs2_cluster_unlock()
467 static inline void ocfs2_track_lock_refresh(struct ocfs2_lock_res *lockres) in ocfs2_track_lock_refresh()
472 static inline void ocfs2_track_lock_wait(struct ocfs2_lock_res *lockres) in ocfs2_track_lock_wait()
499 static inline void ocfs2_track_lock_refresh(struct ocfs2_lock_res *lockres) in ocfs2_track_lock_refresh()
502 static inline void ocfs2_track_lock_wait(struct ocfs2_lock_res *lockres) in ocfs2_track_lock_wait()
579 static struct ocfs2_super *ocfs2_get_inode_osb(struct ocfs2_lock_res *lockres) in ocfs2_get_inode_osb()
586 static struct ocfs2_super *ocfs2_get_qinfo_osb(struct ocfs2_lock_res *lockres) in ocfs2_get_qinfo_osb()
593 static struct ocfs2_super *ocfs2_get_file_osb(struct ocfs2_lock_res *lockres) in ocfs2_get_file_osb()
600 static __u64 ocfs2_get_dentry_lock_ino(struct ocfs2_lock_res *lockres) in ocfs2_get_dentry_lock_ino()
610 static struct ocfs2_super *ocfs2_get_dentry_osb(struct ocfs2_lock_res *lockres) in ocfs2_get_dentry_osb()
623 struct ocfs2_lock_res *lockres = &dl->dl_lockres; in ocfs2_dentry_lock_res_init() local
699 struct ocfs2_lock_res *lockres = &osb->osb_trim_fs_lockres; in ocfs2_trim_fs_lock_res_init() local
712 struct ocfs2_lock_res *lockres = &osb->osb_trim_fs_lockres; in ocfs2_trim_fs_lock_res_uninit() local
729 void ocfs2_file_lock_res_init(struct ocfs2_lock_res *lockres, in ocfs2_file_lock_res_init()
744 void ocfs2_qinfo_lock_res_init(struct ocfs2_lock_res *lockres, in ocfs2_qinfo_lock_res_init()
755 void ocfs2_refcount_lock_res_init(struct ocfs2_lock_res *lockres, in ocfs2_refcount_lock_res_init()
799 static inline void ocfs2_add_holder(struct ocfs2_lock_res *lockres, in ocfs2_add_holder()
811 ocfs2_pid_holder(struct ocfs2_lock_res *lockres, in ocfs2_pid_holder()
827 static inline void ocfs2_remove_holder(struct ocfs2_lock_res *lockres, in ocfs2_remove_holder()
838 static inline void ocfs2_inc_holders(struct ocfs2_lock_res *lockres, in ocfs2_inc_holders()
855 static inline void ocfs2_dec_holders(struct ocfs2_lock_res *lockres, in ocfs2_dec_holders()
888 static void lockres_set_flags(struct ocfs2_lock_res *lockres, in lockres_set_flags()
907 static void lockres_or_flags(struct ocfs2_lock_res *lockres, unsigned long or) in lockres_or_flags()
911 static void lockres_clear_flags(struct ocfs2_lock_res *lockres, in lockres_clear_flags()
917 static inline void ocfs2_generic_handle_downconvert_action(struct ocfs2_lock_res *lockres) in ocfs2_generic_handle_downconvert_action()
933 static inline void ocfs2_generic_handle_convert_action(struct ocfs2_lock_res *lockres) in ocfs2_generic_handle_convert_action()
963 static inline void ocfs2_generic_handle_attach_action(struct ocfs2_lock_res *lockres) in ocfs2_generic_handle_attach_action()
978 static int ocfs2_generic_handle_bast(struct ocfs2_lock_res *lockres, in ocfs2_generic_handle_bast()
1066 static void __lockres_clear_pending(struct ocfs2_lock_res *lockres, in __lockres_clear_pending()
1092 static void lockres_clear_pending(struct ocfs2_lock_res *lockres, in lockres_clear_pending()
1103 static unsigned int lockres_set_pending(struct ocfs2_lock_res *lockres) in lockres_set_pending()
1115 struct ocfs2_lock_res *lockres = ocfs2_lksb_to_lock_res(lksb); in ocfs2_blocking_ast() local
1146 struct ocfs2_lock_res *lockres = ocfs2_lksb_to_lock_res(lksb); in ocfs2_locking_ast() local
1212 struct ocfs2_lock_res *lockres = ocfs2_lksb_to_lock_res(lksb); in ocfs2_unlock_ast() local
1287 static inline void ocfs2_recover_from_dlm_error(struct ocfs2_lock_res *lockres, in ocfs2_recover_from_dlm_error()
1309 struct ocfs2_lock_res *lockres, in ocfs2_lock_create()
1351 static inline int ocfs2_check_wait_flag(struct ocfs2_lock_res *lockres, in ocfs2_check_wait_flag()
1364 static inline void ocfs2_wait_on_busy_lock(struct ocfs2_lock_res *lockres) in ocfs2_wait_on_busy_lock()
1371 static inline void ocfs2_wait_on_refreshing_lock(struct ocfs2_lock_res *lockres) in ocfs2_wait_on_refreshing_lock()
1381 static inline int ocfs2_may_continue_on_blocked_lock(struct ocfs2_lock_res *lockres, in ocfs2_may_continue_on_blocked_lock()
1404 static void lockres_add_mask_waiter(struct ocfs2_lock_res *lockres, in lockres_add_mask_waiter()
1421 static int __lockres_remove_mask_waiter(struct ocfs2_lock_res *lockres, in __lockres_remove_mask_waiter()
1439 static int lockres_remove_mask_waiter(struct ocfs2_lock_res *lockres, in lockres_remove_mask_waiter()
1454 struct ocfs2_lock_res *lockres) in ocfs2_wait_for_mask_interruptible()
1469 struct ocfs2_lock_res *lockres, in __ocfs2_cluster_lock()
1672 struct ocfs2_lock_res *lockres, in ocfs2_cluster_lock()
1683 struct ocfs2_lock_res *lockres, in __ocfs2_cluster_unlock()
1700 struct ocfs2_lock_res *lockres, in ocfs2_create_new_lock()
1766 struct ocfs2_lock_res *lockres; in ocfs2_rw_lock() local
1790 struct ocfs2_lock_res *lockres; in ocfs2_try_rw_lock() local
1811 struct ocfs2_lock_res *lockres = &OCFS2_I(inode)->ip_rw_lockres; in ocfs2_rw_unlock() local
1828 struct ocfs2_lock_res *lockres; in ocfs2_open_lock() local
1850 struct ocfs2_lock_res *lockres; in ocfs2_try_open_lock() local
1887 struct ocfs2_lock_res *lockres = &OCFS2_I(inode)->ip_open_lockres; in ocfs2_open_unlock() local
1905 static int ocfs2_flock_handle_signal(struct ocfs2_lock_res *lockres, in ocfs2_flock_handle_signal()
1979 struct ocfs2_lock_res *lockres = &fp->fp_flock; in ocfs2_file_lock() local
2075 struct ocfs2_lock_res *lockres = &fp->fp_flock; in ocfs2_file_unlock() local
2114 struct ocfs2_lock_res *lockres) in ocfs2_downconvert_on_unlock()
2163 struct ocfs2_lock_res *lockres = &oi->ip_inode_lockres; in __ocfs2_stuff_meta_lvb() local
2209 struct ocfs2_lock_res *lockres = &oi->ip_inode_lockres; in ocfs2_refresh_inode_from_lvb() local
2248 struct ocfs2_lock_res *lockres) in ocfs2_meta_lvb_is_trustable()
2266 static int ocfs2_should_refresh_lock_res(struct ocfs2_lock_res *lockres) in ocfs2_should_refresh_lock_res()
2297 static inline void ocfs2_complete_lock_res_refresh(struct ocfs2_lock_res *lockres, in ocfs2_complete_lock_res_refresh()
2317 struct ocfs2_lock_res *lockres = &oi->ip_inode_lockres; in ocfs2_inode_lock_update() local
2431 struct ocfs2_lock_res *lockres = NULL; in ocfs2_inode_lock_full_nested() local
2618 struct ocfs2_lock_res *lockres = &OCFS2_I(inode)->ip_inode_lockres; in ocfs2_inode_unlock() local
2677 struct ocfs2_lock_res *lockres; in ocfs2_inode_lock_tracker() local
2733 struct ocfs2_lock_res *lockres; in ocfs2_inode_unlock_tracker() local
2749 struct ocfs2_lock_res *lockres; in ocfs2_orphan_scan_lock() local
2776 struct ocfs2_lock_res *lockres; in ocfs2_orphan_scan_unlock() local
2793 struct ocfs2_lock_res *lockres = &osb->osb_super_lockres; in ocfs2_super_lock() local
2831 struct ocfs2_lock_res *lockres = &osb->osb_super_lockres; in ocfs2_super_unlock() local
2840 struct ocfs2_lock_res *lockres = &osb->osb_rename_lockres; in ocfs2_rename_lock() local
2857 struct ocfs2_lock_res *lockres = &osb->osb_rename_lockres; in ocfs2_rename_unlock() local
2866 struct ocfs2_lock_res *lockres = &osb->osb_nfs_sync_lockres; in ocfs2_nfs_sync_lock() local
2895 struct ocfs2_lock_res *lockres = &osb->osb_nfs_sync_lockres; in ocfs2_nfs_sync_unlock() local
2911 struct ocfs2_lock_res *lockres = &osb->osb_trim_fs_lockres; in ocfs2_trim_fs_lock() local
2951 struct ocfs2_lock_res *lockres = &osb->osb_trim_fs_lockres; in ocfs2_trim_fs_unlock() local
3139 struct ocfs2_lock_res *lockres = v; in ocfs2_dlm_seq_show() local
3415 struct ocfs2_lock_res *lockres) in ocfs2_drop_lock()
3506 struct ocfs2_lock_res *lockres) in ocfs2_mark_lockres_freeing()
3566 struct ocfs2_lock_res *lockres) in ocfs2_simple_drop_lockres()
3615 static unsigned int ocfs2_prepare_downconvert(struct ocfs2_lock_res *lockres, in ocfs2_prepare_downconvert()
3645 struct ocfs2_lock_res *lockres, in ocfs2_downconvert_lock()
3689 struct ocfs2_lock_res *lockres) in ocfs2_prepare_cancel_convert()
3718 struct ocfs2_lock_res *lockres) in ocfs2_cancel_convert()
3735 struct ocfs2_lock_res *lockres, in ocfs2_unblock_lock()
3942 static int ocfs2_data_convert_worker(struct ocfs2_lock_res *lockres, in ocfs2_data_convert_worker()
3995 struct ocfs2_lock_res *lockres, in ocfs2_ci_checkpointed()
4010 static int ocfs2_check_meta_downconvert(struct ocfs2_lock_res *lockres, in ocfs2_check_meta_downconvert()
4018 static void ocfs2_set_meta_lvb(struct ocfs2_lock_res *lockres) in ocfs2_set_meta_lvb()
4031 struct ocfs2_lock_res *lockres) in ocfs2_dentry_post_unlock()
4056 static int ocfs2_dentry_convert_worker(struct ocfs2_lock_res *lockres, in ocfs2_dentry_convert_worker()
4149 static int ocfs2_check_refcount_downconvert(struct ocfs2_lock_res *lockres, in ocfs2_check_refcount_downconvert()
4158 static int ocfs2_refcount_convert_worker(struct ocfs2_lock_res *lockres, in ocfs2_refcount_convert_worker()
4169 static void ocfs2_set_qinfo_lvb(struct ocfs2_lock_res *lockres) in ocfs2_set_qinfo_lvb()
4188 struct ocfs2_lock_res *lockres = &oinfo->dqi_gqlock; in ocfs2_qinfo_unlock() local
4200 struct ocfs2_lock_res *lockres = &oinfo->dqi_gqlock; in ocfs2_refresh_qinfo() local
4243 struct ocfs2_lock_res *lockres = &oinfo->dqi_gqlock; in ocfs2_qinfo_lock() local
4277 struct ocfs2_lock_res *lockres = &ref_tree->rf_lockres; in ocfs2_refcount_lock() local
4297 struct ocfs2_lock_res *lockres = &ref_tree->rf_lockres; in ocfs2_refcount_unlock() local
4305 struct ocfs2_lock_res *lockres) in ocfs2_process_blocked_lock()
4351 struct ocfs2_lock_res *lockres) in ocfs2_schedule_blocked_lock()
4381 struct ocfs2_lock_res *lockres; in ocfs2_downconvert_thread_do_work() local