Lines Matching refs:ocfs2_super

73 static struct ocfs2_super *ocfs2_get_dentry_osb(struct ocfs2_lock_res *lockres);
74 static struct ocfs2_super *ocfs2_get_inode_osb(struct ocfs2_lock_res *lockres);
75 static struct ocfs2_super *ocfs2_get_file_osb(struct ocfs2_lock_res *lockres);
76 static struct ocfs2_super *ocfs2_get_qinfo_osb(struct ocfs2_lock_res *lockres);
113 static void ocfs2_dentry_post_unlock(struct ocfs2_super *osb,
169 struct ocfs2_super * (*get_osb)(struct ocfs2_lock_res *);
180 void (*post_unlock)(struct ocfs2_super *, struct ocfs2_lock_res *);
340 static inline struct ocfs2_super *ocfs2_get_lockres_osb(struct ocfs2_lock_res *lockres) in ocfs2_get_lockres_osb()
345 return (struct ocfs2_super *)lockres->l_priv; in ocfs2_get_lockres_osb()
348 static int ocfs2_lock_create(struct ocfs2_super *osb,
354 static void __ocfs2_cluster_unlock(struct ocfs2_super *osb,
357 static inline void ocfs2_cluster_unlock(struct ocfs2_super *osb, in ocfs2_cluster_unlock()
368 static void ocfs2_schedule_blocked_lock(struct ocfs2_super *osb,
382 static void ocfs2_downconvert_on_unlock(struct ocfs2_super *osb,
386 static void ocfs2_drop_osb_locks(struct ocfs2_super *osb);
390 static int ocfs2_downconvert_lock(struct ocfs2_super *osb,
395 static int ocfs2_prepare_cancel_convert(struct ocfs2_super *osb,
397 static int ocfs2_cancel_convert(struct ocfs2_super *osb,
504 static void ocfs2_lock_res_init_common(struct ocfs2_super *osb, in ocfs2_lock_res_init_common()
573 static struct ocfs2_super *ocfs2_get_inode_osb(struct ocfs2_lock_res *lockres) in ocfs2_get_inode_osb()
580 static struct ocfs2_super *ocfs2_get_qinfo_osb(struct ocfs2_lock_res *lockres) in ocfs2_get_qinfo_osb()
587 static struct ocfs2_super *ocfs2_get_file_osb(struct ocfs2_lock_res *lockres) in ocfs2_get_file_osb()
604 static struct ocfs2_super *ocfs2_get_dentry_osb(struct ocfs2_lock_res *lockres) in ocfs2_get_dentry_osb()
652 struct ocfs2_super *osb) in ocfs2_super_lock_res_init()
664 struct ocfs2_super *osb) in ocfs2_rename_lock_res_init()
675 struct ocfs2_super *osb) in ocfs2_nfs_sync_lock_res_init()
685 static void ocfs2_nfs_sync_lock_init(struct ocfs2_super *osb) in ocfs2_nfs_sync_lock_init()
691 void ocfs2_trim_fs_lock_res_init(struct ocfs2_super *osb) in ocfs2_trim_fs_lock_res_init()
701 void ocfs2_trim_fs_lock_res_uninit(struct ocfs2_super *osb) in ocfs2_trim_fs_lock_res_uninit()
710 struct ocfs2_super *osb) in ocfs2_orphan_scan_lock_res_init()
745 struct ocfs2_super *osb, u64 ref_blkno, in ocfs2_refcount_lock_res_init()
1056 struct ocfs2_super *osb) in __lockres_clear_pending()
1082 struct ocfs2_super *osb) in lockres_clear_pending()
1104 struct ocfs2_super *osb = ocfs2_get_lockres_osb(lockres); in ocfs2_blocking_ast()
1135 struct ocfs2_super *osb = ocfs2_get_lockres_osb(lockres); in ocfs2_locking_ast()
1296 static int ocfs2_lock_create(struct ocfs2_super *osb, in ocfs2_lock_create()
1454 static int __ocfs2_cluster_lock(struct ocfs2_super *osb, in __ocfs2_cluster_lock()
1657 static inline int ocfs2_cluster_lock(struct ocfs2_super *osb, in ocfs2_cluster_lock()
1668 static void __ocfs2_cluster_unlock(struct ocfs2_super *osb, in __ocfs2_cluster_unlock()
1685 static int ocfs2_create_new_lock(struct ocfs2_super *osb, in ocfs2_create_new_lock()
1711 struct ocfs2_super *osb = OCFS2_SB(inode->i_sb); in ocfs2_create_new_inode_locks()
1753 struct ocfs2_super *osb = OCFS2_SB(inode->i_sb); in ocfs2_rw_lock()
1777 struct ocfs2_super *osb = OCFS2_SB(inode->i_sb); in ocfs2_try_rw_lock()
1798 struct ocfs2_super *osb = OCFS2_SB(inode->i_sb); in ocfs2_rw_unlock()
1815 struct ocfs2_super *osb = OCFS2_SB(inode->i_sb); in ocfs2_open_lock()
1837 struct ocfs2_super *osb = OCFS2_SB(inode->i_sb); in ocfs2_try_open_lock()
1874 struct ocfs2_super *osb = OCFS2_SB(inode->i_sb); in ocfs2_open_unlock()
1895 struct ocfs2_super *osb = ocfs2_get_lockres_osb(lockres); in ocfs2_flock_handle_signal()
1966 struct ocfs2_super *osb = OCFS2_SB(file->f_mapping->host->i_sb); in ocfs2_file_lock()
2062 struct ocfs2_super *osb = OCFS2_SB(file->f_mapping->host->i_sb); in ocfs2_file_unlock()
2099 static void ocfs2_downconvert_on_unlock(struct ocfs2_super *osb, in ocfs2_downconvert_on_unlock()
2310 struct ocfs2_super *osb = OCFS2_SB(inode->i_sb); in ocfs2_inode_lock_update()
2418 struct ocfs2_super *osb = OCFS2_SB(inode->i_sb); in ocfs2_inode_lock_full_nested()
2608 struct ocfs2_super *osb = OCFS2_SB(inode->i_sb); in ocfs2_inode_unlock()
2736 int ocfs2_orphan_scan_lock(struct ocfs2_super *osb, u32 *seqno) in ocfs2_orphan_scan_lock()
2763 void ocfs2_orphan_scan_unlock(struct ocfs2_super *osb, u32 seqno) in ocfs2_orphan_scan_unlock()
2777 int ocfs2_super_lock(struct ocfs2_super *osb, in ocfs2_super_lock()
2816 void ocfs2_super_unlock(struct ocfs2_super *osb, in ocfs2_super_unlock()
2826 int ocfs2_rename_lock(struct ocfs2_super *osb) in ocfs2_rename_lock()
2844 void ocfs2_rename_unlock(struct ocfs2_super *osb) in ocfs2_rename_unlock()
2852 int ocfs2_nfs_sync_lock(struct ocfs2_super *osb, int ex) in ocfs2_nfs_sync_lock()
2882 void ocfs2_nfs_sync_unlock(struct ocfs2_super *osb, int ex) in ocfs2_nfs_sync_unlock()
2895 int ocfs2_trim_fs_lock(struct ocfs2_super *osb, in ocfs2_trim_fs_lock()
2936 void ocfs2_trim_fs_unlock(struct ocfs2_super *osb, in ocfs2_trim_fs_unlock()
2964 struct ocfs2_super *osb = OCFS2_SB(dentry->d_sb); in ocfs2_dentry_lock()
2988 struct ocfs2_super *osb = OCFS2_SB(dentry->d_sb); in ocfs2_dentry_unlock()
3229 struct ocfs2_super *osb; in ocfs2_dlm_debug_open()
3255 static int ocfs2_dlm_init_debug(struct ocfs2_super *osb) in ocfs2_dlm_init_debug()
3277 static void ocfs2_dlm_shutdown_debug(struct ocfs2_super *osb) in ocfs2_dlm_shutdown_debug()
3287 int ocfs2_dlm_init(struct ocfs2_super *osb) in ocfs2_dlm_init()
3352 void ocfs2_dlm_shutdown(struct ocfs2_super *osb, in ocfs2_dlm_shutdown()
3379 static int ocfs2_drop_lock(struct ocfs2_super *osb, in ocfs2_drop_lock()
3461 static void ocfs2_process_blocked_lock(struct ocfs2_super *osb,
3470 void ocfs2_mark_lockres_freeing(struct ocfs2_super *osb, in ocfs2_mark_lockres_freeing()
3530 void ocfs2_simple_drop_lockres(struct ocfs2_super *osb, in ocfs2_simple_drop_lockres()
3541 static void ocfs2_drop_osb_locks(struct ocfs2_super *osb) in ocfs2_drop_osb_locks()
3609 static int ocfs2_downconvert_lock(struct ocfs2_super *osb, in ocfs2_downconvert_lock()
3653 static int ocfs2_prepare_cancel_convert(struct ocfs2_super *osb, in ocfs2_prepare_cancel_convert()
3682 static int ocfs2_cancel_convert(struct ocfs2_super *osb, in ocfs2_cancel_convert()
3699 static int ocfs2_unblock_lock(struct ocfs2_super *osb, in ocfs2_unblock_lock()
3984 static void ocfs2_dentry_post_unlock(struct ocfs2_super *osb, in ocfs2_dentry_post_unlock()
4143 struct ocfs2_super *osb = OCFS2_SB(oinfo->dqi_gi.dqi_sb); in ocfs2_qinfo_unlock()
4198 struct ocfs2_super *osb = OCFS2_SB(oinfo->dqi_gi.dqi_sb); in ocfs2_qinfo_lock()
4232 struct ocfs2_super *osb = lockres->l_priv; in ocfs2_refcount_lock()
4252 struct ocfs2_super *osb = lockres->l_priv; in ocfs2_refcount_unlock()
4258 static void ocfs2_process_blocked_lock(struct ocfs2_super *osb, in ocfs2_process_blocked_lock()
4304 static void ocfs2_schedule_blocked_lock(struct ocfs2_super *osb, in ocfs2_schedule_blocked_lock()
4331 static void ocfs2_downconvert_thread_do_work(struct ocfs2_super *osb) in ocfs2_downconvert_thread_do_work()
4366 static int ocfs2_downconvert_thread_lists_empty(struct ocfs2_super *osb) in ocfs2_downconvert_thread_lists_empty()
4379 static int ocfs2_downconvert_thread_should_wake(struct ocfs2_super *osb) in ocfs2_downconvert_thread_should_wake()
4395 struct ocfs2_super *osb = arg; in ocfs2_downconvert_thread()
4415 void ocfs2_wake_downconvert_thread(struct ocfs2_super *osb) in ocfs2_wake_downconvert_thread()