Lines Matching refs:ocfs2_super

71 static struct ocfs2_super *ocfs2_get_dentry_osb(struct ocfs2_lock_res *lockres);
72 static struct ocfs2_super *ocfs2_get_inode_osb(struct ocfs2_lock_res *lockres);
73 static struct ocfs2_super *ocfs2_get_file_osb(struct ocfs2_lock_res *lockres);
74 static struct ocfs2_super *ocfs2_get_qinfo_osb(struct ocfs2_lock_res *lockres);
109 static void ocfs2_dentry_post_unlock(struct ocfs2_super *osb,
165 struct ocfs2_super * (*get_osb)(struct ocfs2_lock_res *);
176 void (*post_unlock)(struct ocfs2_super *, struct ocfs2_lock_res *);
332 static inline struct ocfs2_super *ocfs2_get_lockres_osb(struct ocfs2_lock_res *lockres) in ocfs2_get_lockres_osb()
337 return (struct ocfs2_super *)lockres->l_priv; in ocfs2_get_lockres_osb()
340 static int ocfs2_lock_create(struct ocfs2_super *osb,
346 static void __ocfs2_cluster_unlock(struct ocfs2_super *osb,
349 static inline void ocfs2_cluster_unlock(struct ocfs2_super *osb, in ocfs2_cluster_unlock()
360 static void ocfs2_schedule_blocked_lock(struct ocfs2_super *osb,
374 static void ocfs2_downconvert_on_unlock(struct ocfs2_super *osb,
378 static void ocfs2_drop_osb_locks(struct ocfs2_super *osb);
382 static int ocfs2_downconvert_lock(struct ocfs2_super *osb,
387 static int ocfs2_prepare_cancel_convert(struct ocfs2_super *osb,
389 static int ocfs2_cancel_convert(struct ocfs2_super *osb,
496 static void ocfs2_lock_res_init_common(struct ocfs2_super *osb, in ocfs2_lock_res_init_common()
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()
595 static struct ocfs2_super *ocfs2_get_dentry_osb(struct ocfs2_lock_res *lockres) in ocfs2_get_dentry_osb()
643 struct ocfs2_super *osb) in ocfs2_super_lock_res_init()
655 struct ocfs2_super *osb) in ocfs2_rename_lock_res_init()
666 struct ocfs2_super *osb) in ocfs2_nfs_sync_lock_res_init()
677 struct ocfs2_super *osb) in ocfs2_orphan_scan_lock_res_init()
712 struct ocfs2_super *osb, u64 ref_blkno, in ocfs2_refcount_lock_res_init()
980 struct ocfs2_super *osb) in __lockres_clear_pending()
1006 struct ocfs2_super *osb) in lockres_clear_pending()
1028 struct ocfs2_super *osb = ocfs2_get_lockres_osb(lockres); in ocfs2_blocking_ast()
1059 struct ocfs2_super *osb = ocfs2_get_lockres_osb(lockres); in ocfs2_locking_ast()
1220 static int ocfs2_lock_create(struct ocfs2_super *osb, in ocfs2_lock_create()
1378 static int __ocfs2_cluster_lock(struct ocfs2_super *osb, in __ocfs2_cluster_lock()
1581 static inline int ocfs2_cluster_lock(struct ocfs2_super *osb, in ocfs2_cluster_lock()
1592 static void __ocfs2_cluster_unlock(struct ocfs2_super *osb, in __ocfs2_cluster_unlock()
1609 static int ocfs2_create_new_lock(struct ocfs2_super *osb, in ocfs2_create_new_lock()
1635 struct ocfs2_super *osb = OCFS2_SB(inode->i_sb); in ocfs2_create_new_inode_locks()
1680 struct ocfs2_super *osb = OCFS2_SB(inode->i_sb); in ocfs2_rw_lock()
1707 struct ocfs2_super *osb = OCFS2_SB(inode->i_sb); in ocfs2_rw_unlock()
1724 struct ocfs2_super *osb = OCFS2_SB(inode->i_sb); in ocfs2_open_lock()
1749 struct ocfs2_super *osb = OCFS2_SB(inode->i_sb); in ocfs2_try_open_lock()
1789 struct ocfs2_super *osb = OCFS2_SB(inode->i_sb); in ocfs2_open_unlock()
1812 struct ocfs2_super *osb = ocfs2_get_lockres_osb(lockres); in ocfs2_flock_handle_signal()
1883 struct ocfs2_super *osb = OCFS2_SB(file->f_mapping->host->i_sb); in ocfs2_file_lock()
1979 struct ocfs2_super *osb = OCFS2_SB(file->f_mapping->host->i_sb); in ocfs2_file_unlock()
2016 static void ocfs2_downconvert_on_unlock(struct ocfs2_super *osb, in ocfs2_downconvert_on_unlock()
2219 struct ocfs2_super *osb = OCFS2_SB(inode->i_sb); in ocfs2_inode_lock_update()
2327 struct ocfs2_super *osb = OCFS2_SB(inode->i_sb); in ocfs2_inode_lock_full_nested()
2507 struct ocfs2_super *osb = OCFS2_SB(inode->i_sb); in ocfs2_inode_unlock()
2518 int ocfs2_orphan_scan_lock(struct ocfs2_super *osb, u32 *seqno) in ocfs2_orphan_scan_lock()
2545 void ocfs2_orphan_scan_unlock(struct ocfs2_super *osb, u32 seqno) in ocfs2_orphan_scan_unlock()
2559 int ocfs2_super_lock(struct ocfs2_super *osb, in ocfs2_super_lock()
2598 void ocfs2_super_unlock(struct ocfs2_super *osb, in ocfs2_super_unlock()
2608 int ocfs2_rename_lock(struct ocfs2_super *osb) in ocfs2_rename_lock()
2626 void ocfs2_rename_unlock(struct ocfs2_super *osb) in ocfs2_rename_unlock()
2634 int ocfs2_nfs_sync_lock(struct ocfs2_super *osb, int ex) in ocfs2_nfs_sync_lock()
2653 void ocfs2_nfs_sync_unlock(struct ocfs2_super *osb, int ex) in ocfs2_nfs_sync_unlock()
2667 struct ocfs2_super *osb = OCFS2_SB(dentry->d_sb); in ocfs2_dentry_lock()
2691 struct ocfs2_super *osb = OCFS2_SB(dentry->d_sb); in ocfs2_dentry_unlock()
2932 struct ocfs2_super *osb; in ocfs2_dlm_debug_open()
2958 static int ocfs2_dlm_init_debug(struct ocfs2_super *osb) in ocfs2_dlm_init_debug()
2980 static void ocfs2_dlm_shutdown_debug(struct ocfs2_super *osb) in ocfs2_dlm_shutdown_debug()
2990 int ocfs2_dlm_init(struct ocfs2_super *osb) in ocfs2_dlm_init()
3055 void ocfs2_dlm_shutdown(struct ocfs2_super *osb, in ocfs2_dlm_shutdown()
3082 static int ocfs2_drop_lock(struct ocfs2_super *osb, in ocfs2_drop_lock()
3164 static void ocfs2_process_blocked_lock(struct ocfs2_super *osb,
3173 void ocfs2_mark_lockres_freeing(struct ocfs2_super *osb, in ocfs2_mark_lockres_freeing()
3233 void ocfs2_simple_drop_lockres(struct ocfs2_super *osb, in ocfs2_simple_drop_lockres()
3244 static void ocfs2_drop_osb_locks(struct ocfs2_super *osb) in ocfs2_drop_osb_locks()
3312 static int ocfs2_downconvert_lock(struct ocfs2_super *osb, in ocfs2_downconvert_lock()
3346 static int ocfs2_prepare_cancel_convert(struct ocfs2_super *osb, in ocfs2_prepare_cancel_convert()
3375 static int ocfs2_cancel_convert(struct ocfs2_super *osb, in ocfs2_cancel_convert()
3392 static int ocfs2_unblock_lock(struct ocfs2_super *osb, in ocfs2_unblock_lock()
3674 static void ocfs2_dentry_post_unlock(struct ocfs2_super *osb, in ocfs2_dentry_post_unlock()
3833 struct ocfs2_super *osb = OCFS2_SB(oinfo->dqi_gi.dqi_sb); in ocfs2_qinfo_unlock()
3888 struct ocfs2_super *osb = OCFS2_SB(oinfo->dqi_gi.dqi_sb); in ocfs2_qinfo_lock()
3922 struct ocfs2_super *osb = lockres->l_priv; in ocfs2_refcount_lock()
3942 struct ocfs2_super *osb = lockres->l_priv; in ocfs2_refcount_unlock()
3948 static void ocfs2_process_blocked_lock(struct ocfs2_super *osb, in ocfs2_process_blocked_lock()
3994 static void ocfs2_schedule_blocked_lock(struct ocfs2_super *osb, in ocfs2_schedule_blocked_lock()
4021 static void ocfs2_downconvert_thread_do_work(struct ocfs2_super *osb) in ocfs2_downconvert_thread_do_work()
4056 static int ocfs2_downconvert_thread_lists_empty(struct ocfs2_super *osb) in ocfs2_downconvert_thread_lists_empty()
4069 static int ocfs2_downconvert_thread_should_wake(struct ocfs2_super *osb) in ocfs2_downconvert_thread_should_wake()
4085 struct ocfs2_super *osb = arg; in ocfs2_downconvert_thread()
4105 void ocfs2_wake_downconvert_thread(struct ocfs2_super *osb) in ocfs2_wake_downconvert_thread()