Lines Matching defs:osb
343 static inline void ocfs2_cluster_unlock(struct ocfs2_super *osb, in ocfs2_cluster_unlock()
511 static void ocfs2_lock_res_init_common(struct ocfs2_super *osb, in ocfs2_lock_res_init_common()
659 struct ocfs2_super *osb) in ocfs2_super_lock_res_init()
671 struct ocfs2_super *osb) in ocfs2_rename_lock_res_init()
682 struct ocfs2_super *osb) in ocfs2_nfs_sync_lock_res_init()
692 static void ocfs2_nfs_sync_lock_init(struct ocfs2_super *osb) in ocfs2_nfs_sync_lock_init()
698 void ocfs2_trim_fs_lock_res_init(struct ocfs2_super *osb) in ocfs2_trim_fs_lock_res_init()
711 void ocfs2_trim_fs_lock_res_uninit(struct ocfs2_super *osb) in ocfs2_trim_fs_lock_res_uninit()
722 struct ocfs2_super *osb) in ocfs2_orphan_scan_lock_res_init()
757 struct ocfs2_super *osb, u64 ref_blkno, in ocfs2_refcount_lock_res_init()
1069 struct ocfs2_super *osb) in __lockres_clear_pending()
1095 struct ocfs2_super *osb) in lockres_clear_pending()
1117 struct ocfs2_super *osb = ocfs2_get_lockres_osb(lockres); in ocfs2_blocking_ast() local
1148 struct ocfs2_super *osb = ocfs2_get_lockres_osb(lockres); in ocfs2_locking_ast() local
1309 static int ocfs2_lock_create(struct ocfs2_super *osb, in ocfs2_lock_create()
1469 static int __ocfs2_cluster_lock(struct ocfs2_super *osb, in __ocfs2_cluster_lock()
1672 static inline int ocfs2_cluster_lock(struct ocfs2_super *osb, in ocfs2_cluster_lock()
1683 static void __ocfs2_cluster_unlock(struct ocfs2_super *osb, in __ocfs2_cluster_unlock()
1700 static int ocfs2_create_new_lock(struct ocfs2_super *osb, in ocfs2_create_new_lock()
1726 struct ocfs2_super *osb = OCFS2_SB(inode->i_sb); in ocfs2_create_new_inode_locks() local
1768 struct ocfs2_super *osb = OCFS2_SB(inode->i_sb); in ocfs2_rw_lock() local
1792 struct ocfs2_super *osb = OCFS2_SB(inode->i_sb); in ocfs2_try_rw_lock() local
1813 struct ocfs2_super *osb = OCFS2_SB(inode->i_sb); in ocfs2_rw_unlock() local
1830 struct ocfs2_super *osb = OCFS2_SB(inode->i_sb); in ocfs2_open_lock() local
1852 struct ocfs2_super *osb = OCFS2_SB(inode->i_sb); in ocfs2_try_open_lock() local
1889 struct ocfs2_super *osb = OCFS2_SB(inode->i_sb); in ocfs2_open_unlock() local
1910 struct ocfs2_super *osb = ocfs2_get_lockres_osb(lockres); in ocfs2_flock_handle_signal() local
1981 struct ocfs2_super *osb = OCFS2_SB(file->f_mapping->host->i_sb); in ocfs2_file_lock() local
2077 struct ocfs2_super *osb = OCFS2_SB(file->f_mapping->host->i_sb); in ocfs2_file_unlock() local
2114 static void ocfs2_downconvert_on_unlock(struct ocfs2_super *osb, in ocfs2_downconvert_on_unlock()
2322 struct ocfs2_super *osb = OCFS2_SB(inode->i_sb); in ocfs2_inode_lock_update() local
2435 struct ocfs2_super *osb = OCFS2_SB(inode->i_sb); in ocfs2_inode_lock_full_nested() local
2620 struct ocfs2_super *osb = OCFS2_SB(inode->i_sb); in ocfs2_inode_unlock() local
2748 int ocfs2_orphan_scan_lock(struct ocfs2_super *osb, u32 *seqno) in ocfs2_orphan_scan_lock()
2775 void ocfs2_orphan_scan_unlock(struct ocfs2_super *osb, u32 seqno) in ocfs2_orphan_scan_unlock()
2789 int ocfs2_super_lock(struct ocfs2_super *osb, in ocfs2_super_lock()
2828 void ocfs2_super_unlock(struct ocfs2_super *osb, in ocfs2_super_unlock()
2838 int ocfs2_rename_lock(struct ocfs2_super *osb) in ocfs2_rename_lock()
2856 void ocfs2_rename_unlock(struct ocfs2_super *osb) in ocfs2_rename_unlock()
2864 int ocfs2_nfs_sync_lock(struct ocfs2_super *osb, int ex) in ocfs2_nfs_sync_lock()
2894 void ocfs2_nfs_sync_unlock(struct ocfs2_super *osb, int ex) in ocfs2_nfs_sync_unlock()
2907 int ocfs2_trim_fs_lock(struct ocfs2_super *osb, in ocfs2_trim_fs_lock()
2948 void ocfs2_trim_fs_unlock(struct ocfs2_super *osb, in ocfs2_trim_fs_unlock()
2976 struct ocfs2_super *osb = OCFS2_SB(dentry->d_sb); in ocfs2_dentry_lock() local
3000 struct ocfs2_super *osb = OCFS2_SB(dentry->d_sb); in ocfs2_dentry_unlock() local
3277 struct ocfs2_super *osb; in ocfs2_dlm_debug_open() local
3303 static void ocfs2_dlm_init_debug(struct ocfs2_super *osb) in ocfs2_dlm_init_debug()
3315 static void ocfs2_dlm_shutdown_debug(struct ocfs2_super *osb) in ocfs2_dlm_shutdown_debug()
3323 int ocfs2_dlm_init(struct ocfs2_super *osb) in ocfs2_dlm_init()
3384 void ocfs2_dlm_shutdown(struct ocfs2_super *osb, in ocfs2_dlm_shutdown()
3413 static int ocfs2_drop_lock(struct ocfs2_super *osb, in ocfs2_drop_lock()
3504 void ocfs2_mark_lockres_freeing(struct ocfs2_super *osb, in ocfs2_mark_lockres_freeing()
3564 void ocfs2_simple_drop_lockres(struct ocfs2_super *osb, in ocfs2_simple_drop_lockres()
3575 static void ocfs2_drop_osb_locks(struct ocfs2_super *osb) in ocfs2_drop_osb_locks()
3643 static int ocfs2_downconvert_lock(struct ocfs2_super *osb, in ocfs2_downconvert_lock()
3687 static int ocfs2_prepare_cancel_convert(struct ocfs2_super *osb, in ocfs2_prepare_cancel_convert()
3716 static int ocfs2_cancel_convert(struct ocfs2_super *osb, in ocfs2_cancel_convert()
3733 static int ocfs2_unblock_lock(struct ocfs2_super *osb, in ocfs2_unblock_lock()
4029 static void ocfs2_dentry_post_unlock(struct ocfs2_super *osb, in ocfs2_dentry_post_unlock()
4188 struct ocfs2_super *osb = OCFS2_SB(oinfo->dqi_gi.dqi_sb); in ocfs2_qinfo_unlock() local
4243 struct ocfs2_super *osb = OCFS2_SB(oinfo->dqi_gi.dqi_sb); in ocfs2_qinfo_lock() local
4277 struct ocfs2_super *osb = lockres->l_priv; in ocfs2_refcount_lock() local
4297 struct ocfs2_super *osb = lockres->l_priv; in ocfs2_refcount_unlock() local
4303 static void ocfs2_process_blocked_lock(struct ocfs2_super *osb, in ocfs2_process_blocked_lock()
4349 static void ocfs2_schedule_blocked_lock(struct ocfs2_super *osb, in ocfs2_schedule_blocked_lock()
4376 static void ocfs2_downconvert_thread_do_work(struct ocfs2_super *osb) in ocfs2_downconvert_thread_do_work()
4411 static int ocfs2_downconvert_thread_lists_empty(struct ocfs2_super *osb) in ocfs2_downconvert_thread_lists_empty()
4424 static int ocfs2_downconvert_thread_should_wake(struct ocfs2_super *osb) in ocfs2_downconvert_thread_should_wake()
4439 struct ocfs2_super *osb = arg; in ocfs2_downconvert_thread() local
4459 void ocfs2_wake_downconvert_thread(struct ocfs2_super *osb) in ocfs2_wake_downconvert_thread()