Lines Matching refs:ocfs2_super

58 static struct ocfs2_super *ocfs2_get_dentry_osb(struct ocfs2_lock_res *lockres);
59 static struct ocfs2_super *ocfs2_get_inode_osb(struct ocfs2_lock_res *lockres);
60 static struct ocfs2_super *ocfs2_get_file_osb(struct ocfs2_lock_res *lockres);
61 static struct ocfs2_super *ocfs2_get_qinfo_osb(struct ocfs2_lock_res *lockres);
98 static void ocfs2_dentry_post_unlock(struct ocfs2_super *osb,
154 struct ocfs2_super * (*get_osb)(struct ocfs2_lock_res *);
165 void (*post_unlock)(struct ocfs2_super *, struct ocfs2_lock_res *);
325 static inline struct ocfs2_super *ocfs2_get_lockres_osb(struct ocfs2_lock_res *lockres) in ocfs2_get_lockres_osb()
330 return (struct ocfs2_super *)lockres->l_priv; in ocfs2_get_lockres_osb()
333 static int ocfs2_lock_create(struct ocfs2_super *osb,
339 static void __ocfs2_cluster_unlock(struct ocfs2_super *osb,
342 static inline void ocfs2_cluster_unlock(struct ocfs2_super *osb, in ocfs2_cluster_unlock()
353 static void ocfs2_schedule_blocked_lock(struct ocfs2_super *osb,
367 static void ocfs2_downconvert_on_unlock(struct ocfs2_super *osb,
371 static void ocfs2_drop_osb_locks(struct ocfs2_super *osb);
375 static int ocfs2_downconvert_lock(struct ocfs2_super *osb,
380 static int ocfs2_prepare_cancel_convert(struct ocfs2_super *osb,
382 static int ocfs2_cancel_convert(struct ocfs2_super *osb,
510 static void ocfs2_lock_res_init_common(struct ocfs2_super *osb, in ocfs2_lock_res_init_common()
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()
610 static struct ocfs2_super *ocfs2_get_dentry_osb(struct ocfs2_lock_res *lockres) in ocfs2_get_dentry_osb()
658 struct ocfs2_super *osb) in ocfs2_super_lock_res_init()
670 struct ocfs2_super *osb) in ocfs2_rename_lock_res_init()
681 struct ocfs2_super *osb) in ocfs2_nfs_sync_lock_res_init()
691 static void ocfs2_nfs_sync_lock_init(struct ocfs2_super *osb) in ocfs2_nfs_sync_lock_init()
697 void ocfs2_trim_fs_lock_res_init(struct ocfs2_super *osb) in ocfs2_trim_fs_lock_res_init()
710 void ocfs2_trim_fs_lock_res_uninit(struct ocfs2_super *osb) in ocfs2_trim_fs_lock_res_uninit()
721 struct ocfs2_super *osb) in ocfs2_orphan_scan_lock_res_init()
756 struct ocfs2_super *osb, u64 ref_blkno, in ocfs2_refcount_lock_res_init()
1068 struct ocfs2_super *osb) in __lockres_clear_pending()
1094 struct ocfs2_super *osb) in lockres_clear_pending()
1116 struct ocfs2_super *osb = ocfs2_get_lockres_osb(lockres); in ocfs2_blocking_ast()
1147 struct ocfs2_super *osb = ocfs2_get_lockres_osb(lockres); in ocfs2_locking_ast()
1308 static int ocfs2_lock_create(struct ocfs2_super *osb, in ocfs2_lock_create()
1468 static int __ocfs2_cluster_lock(struct ocfs2_super *osb, in __ocfs2_cluster_lock()
1671 static inline int ocfs2_cluster_lock(struct ocfs2_super *osb, in ocfs2_cluster_lock()
1682 static void __ocfs2_cluster_unlock(struct ocfs2_super *osb, in __ocfs2_cluster_unlock()
1699 static int ocfs2_create_new_lock(struct ocfs2_super *osb, in ocfs2_create_new_lock()
1725 struct ocfs2_super *osb = OCFS2_SB(inode->i_sb); in ocfs2_create_new_inode_locks()
1767 struct ocfs2_super *osb = OCFS2_SB(inode->i_sb); in ocfs2_rw_lock()
1791 struct ocfs2_super *osb = OCFS2_SB(inode->i_sb); in ocfs2_try_rw_lock()
1812 struct ocfs2_super *osb = OCFS2_SB(inode->i_sb); in ocfs2_rw_unlock()
1829 struct ocfs2_super *osb = OCFS2_SB(inode->i_sb); in ocfs2_open_lock()
1851 struct ocfs2_super *osb = OCFS2_SB(inode->i_sb); in ocfs2_try_open_lock()
1888 struct ocfs2_super *osb = OCFS2_SB(inode->i_sb); in ocfs2_open_unlock()
1909 struct ocfs2_super *osb = ocfs2_get_lockres_osb(lockres); in ocfs2_flock_handle_signal()
1980 struct ocfs2_super *osb = OCFS2_SB(file->f_mapping->host->i_sb); in ocfs2_file_lock()
2076 struct ocfs2_super *osb = OCFS2_SB(file->f_mapping->host->i_sb); in ocfs2_file_unlock()
2113 static void ocfs2_downconvert_on_unlock(struct ocfs2_super *osb, in ocfs2_downconvert_on_unlock()
2319 struct ocfs2_super *osb = OCFS2_SB(inode->i_sb); in ocfs2_inode_lock_update()
2432 struct ocfs2_super *osb = OCFS2_SB(inode->i_sb); in ocfs2_inode_lock_full_nested()
2619 struct ocfs2_super *osb = OCFS2_SB(inode->i_sb); in ocfs2_inode_unlock()
2747 int ocfs2_orphan_scan_lock(struct ocfs2_super *osb, u32 *seqno) in ocfs2_orphan_scan_lock()
2774 void ocfs2_orphan_scan_unlock(struct ocfs2_super *osb, u32 seqno) in ocfs2_orphan_scan_unlock()
2788 int ocfs2_super_lock(struct ocfs2_super *osb, in ocfs2_super_lock()
2827 void ocfs2_super_unlock(struct ocfs2_super *osb, in ocfs2_super_unlock()
2837 int ocfs2_rename_lock(struct ocfs2_super *osb) in ocfs2_rename_lock()
2855 void ocfs2_rename_unlock(struct ocfs2_super *osb) in ocfs2_rename_unlock()
2863 int ocfs2_nfs_sync_lock(struct ocfs2_super *osb, int ex) in ocfs2_nfs_sync_lock()
2893 void ocfs2_nfs_sync_unlock(struct ocfs2_super *osb, int ex) in ocfs2_nfs_sync_unlock()
2906 int ocfs2_trim_fs_lock(struct ocfs2_super *osb, in ocfs2_trim_fs_lock()
2947 void ocfs2_trim_fs_unlock(struct ocfs2_super *osb, in ocfs2_trim_fs_unlock()
2975 struct ocfs2_super *osb = OCFS2_SB(dentry->d_sb); in ocfs2_dentry_lock()
2999 struct ocfs2_super *osb = OCFS2_SB(dentry->d_sb); in ocfs2_dentry_unlock()
3278 struct ocfs2_super *osb; in ocfs2_dlm_debug_open()
3304 static void ocfs2_dlm_init_debug(struct ocfs2_super *osb) in ocfs2_dlm_init_debug()
3316 static void ocfs2_dlm_shutdown_debug(struct ocfs2_super *osb) in ocfs2_dlm_shutdown_debug()
3324 int ocfs2_dlm_init(struct ocfs2_super *osb) in ocfs2_dlm_init()
3385 void ocfs2_dlm_shutdown(struct ocfs2_super *osb, in ocfs2_dlm_shutdown()
3414 static int ocfs2_drop_lock(struct ocfs2_super *osb, in ocfs2_drop_lock()
3496 static void ocfs2_process_blocked_lock(struct ocfs2_super *osb,
3505 void ocfs2_mark_lockres_freeing(struct ocfs2_super *osb, in ocfs2_mark_lockres_freeing()
3565 void ocfs2_simple_drop_lockres(struct ocfs2_super *osb, in ocfs2_simple_drop_lockres()
3576 static void ocfs2_drop_osb_locks(struct ocfs2_super *osb) in ocfs2_drop_osb_locks()
3644 static int ocfs2_downconvert_lock(struct ocfs2_super *osb, in ocfs2_downconvert_lock()
3688 static int ocfs2_prepare_cancel_convert(struct ocfs2_super *osb, in ocfs2_prepare_cancel_convert()
3717 static int ocfs2_cancel_convert(struct ocfs2_super *osb, in ocfs2_cancel_convert()
3734 static int ocfs2_unblock_lock(struct ocfs2_super *osb, in ocfs2_unblock_lock()
4030 static void ocfs2_dentry_post_unlock(struct ocfs2_super *osb, in ocfs2_dentry_post_unlock()
4189 struct ocfs2_super *osb = OCFS2_SB(oinfo->dqi_gi.dqi_sb); in ocfs2_qinfo_unlock()
4244 struct ocfs2_super *osb = OCFS2_SB(oinfo->dqi_gi.dqi_sb); in ocfs2_qinfo_lock()
4278 struct ocfs2_super *osb = lockres->l_priv; in ocfs2_refcount_lock()
4298 struct ocfs2_super *osb = lockres->l_priv; in ocfs2_refcount_unlock()
4304 static void ocfs2_process_blocked_lock(struct ocfs2_super *osb, in ocfs2_process_blocked_lock()
4350 static void ocfs2_schedule_blocked_lock(struct ocfs2_super *osb, in ocfs2_schedule_blocked_lock()
4377 static void ocfs2_downconvert_thread_do_work(struct ocfs2_super *osb) in ocfs2_downconvert_thread_do_work()
4412 static int ocfs2_downconvert_thread_lists_empty(struct ocfs2_super *osb) in ocfs2_downconvert_thread_lists_empty()
4425 static int ocfs2_downconvert_thread_should_wake(struct ocfs2_super *osb) in ocfs2_downconvert_thread_should_wake()
4440 struct ocfs2_super *osb = arg; in ocfs2_downconvert_thread()
4460 void ocfs2_wake_downconvert_thread(struct ocfs2_super *osb) in ocfs2_wake_downconvert_thread()