Lines Matching refs:ocfs2_super

59 static struct ocfs2_super *ocfs2_get_dentry_osb(struct ocfs2_lock_res *lockres);
60 static struct ocfs2_super *ocfs2_get_inode_osb(struct ocfs2_lock_res *lockres);
61 static struct ocfs2_super *ocfs2_get_file_osb(struct ocfs2_lock_res *lockres);
62 static struct ocfs2_super *ocfs2_get_qinfo_osb(struct ocfs2_lock_res *lockres);
99 static void ocfs2_dentry_post_unlock(struct ocfs2_super *osb,
143 * struct ocfs2_super and allow the default actions to manage things.
152 * Translate an ocfs2_lock_res * into an ocfs2_super *. Define
153 * this callback if ->l_priv is not an ocfs2_super pointer
155 struct ocfs2_super * (*get_osb)(struct ocfs2_lock_res *);
166 void (*post_unlock)(struct ocfs2_super *, struct ocfs2_lock_res *);
326 static inline struct ocfs2_super *ocfs2_get_lockres_osb(struct ocfs2_lock_res *lockres)
331 return (struct ocfs2_super *)lockres->l_priv;
334 static int ocfs2_lock_create(struct ocfs2_super *osb,
340 static void __ocfs2_cluster_unlock(struct ocfs2_super *osb,
343 static inline void ocfs2_cluster_unlock(struct ocfs2_super *osb,
354 static void ocfs2_schedule_blocked_lock(struct ocfs2_super *osb,
368 static void ocfs2_downconvert_on_unlock(struct ocfs2_super *osb,
372 static void ocfs2_drop_osb_locks(struct ocfs2_super *osb);
376 static int ocfs2_downconvert_lock(struct ocfs2_super *osb,
381 static int ocfs2_prepare_cancel_convert(struct ocfs2_super *osb,
383 static int ocfs2_cancel_convert(struct ocfs2_super *osb,
511 static void ocfs2_lock_res_init_common(struct ocfs2_super *osb,
580 static struct ocfs2_super *ocfs2_get_inode_osb(struct ocfs2_lock_res *lockres)
587 static struct ocfs2_super *ocfs2_get_qinfo_osb(struct ocfs2_lock_res *lockres)
594 static struct ocfs2_super *ocfs2_get_file_osb(struct ocfs2_lock_res *lockres)
611 static struct ocfs2_super *ocfs2_get_dentry_osb(struct ocfs2_lock_res *lockres)
659 struct ocfs2_super *osb)
671 struct ocfs2_super *osb)
682 struct ocfs2_super *osb)
692 static void ocfs2_nfs_sync_lock_init(struct ocfs2_super *osb)
698 void ocfs2_trim_fs_lock_res_init(struct ocfs2_super *osb)
711 void ocfs2_trim_fs_lock_res_uninit(struct ocfs2_super *osb)
722 struct ocfs2_super *osb)
757 struct ocfs2_super *osb, u64 ref_blkno,
1069 struct ocfs2_super *osb)
1095 struct ocfs2_super *osb)
1117 struct ocfs2_super *osb = ocfs2_get_lockres_osb(lockres);
1148 struct ocfs2_super *osb = ocfs2_get_lockres_osb(lockres);
1309 static int ocfs2_lock_create(struct ocfs2_super *osb,
1469 static int __ocfs2_cluster_lock(struct ocfs2_super *osb,
1672 static inline int ocfs2_cluster_lock(struct ocfs2_super *osb,
1683 static void __ocfs2_cluster_unlock(struct ocfs2_super *osb,
1700 static int ocfs2_create_new_lock(struct ocfs2_super *osb,
1726 struct ocfs2_super *osb = OCFS2_SB(inode->i_sb);
1768 struct ocfs2_super *osb = OCFS2_SB(inode->i_sb);
1792 struct ocfs2_super *osb = OCFS2_SB(inode->i_sb);
1813 struct ocfs2_super *osb = OCFS2_SB(inode->i_sb);
1830 struct ocfs2_super *osb = OCFS2_SB(inode->i_sb);
1852 struct ocfs2_super *osb = OCFS2_SB(inode->i_sb);
1889 struct ocfs2_super *osb = OCFS2_SB(inode->i_sb);
1910 struct ocfs2_super *osb = ocfs2_get_lockres_osb(lockres);
1981 struct ocfs2_super *osb = OCFS2_SB(file->f_mapping->host->i_sb);
2077 struct ocfs2_super *osb = OCFS2_SB(file->f_mapping->host->i_sb);
2114 static void ocfs2_downconvert_on_unlock(struct ocfs2_super *osb,
2317 struct ocfs2_super *osb = OCFS2_SB(inode->i_sb);
2425 struct ocfs2_super *osb = OCFS2_SB(inode->i_sb);
2612 struct ocfs2_super *osb = OCFS2_SB(inode->i_sb);
2740 int ocfs2_orphan_scan_lock(struct ocfs2_super *osb, u32 *seqno)
2767 void ocfs2_orphan_scan_unlock(struct ocfs2_super *osb, u32 seqno)
2781 int ocfs2_super_lock(struct ocfs2_super *osb,
2820 void ocfs2_super_unlock(struct ocfs2_super *osb,
2830 int ocfs2_rename_lock(struct ocfs2_super *osb)
2848 void ocfs2_rename_unlock(struct ocfs2_super *osb)
2856 int ocfs2_nfs_sync_lock(struct ocfs2_super *osb, int ex)
2886 void ocfs2_nfs_sync_unlock(struct ocfs2_super *osb, int ex)
2899 int ocfs2_trim_fs_lock(struct ocfs2_super *osb,
2940 void ocfs2_trim_fs_unlock(struct ocfs2_super *osb,
2968 struct ocfs2_super *osb = OCFS2_SB(dentry->d_sb);
2992 struct ocfs2_super *osb = OCFS2_SB(dentry->d_sb);
3000 * we can't rely on the ocfs2_super to always exist. */
3271 struct ocfs2_super *osb;
3297 static void ocfs2_dlm_init_debug(struct ocfs2_super *osb)
3309 static void ocfs2_dlm_shutdown_debug(struct ocfs2_super *osb)
3317 int ocfs2_dlm_init(struct ocfs2_super *osb)
3378 void ocfs2_dlm_shutdown(struct ocfs2_super *osb,
3407 static int ocfs2_drop_lock(struct ocfs2_super *osb,
3489 static void ocfs2_process_blocked_lock(struct ocfs2_super *osb,
3498 void ocfs2_mark_lockres_freeing(struct ocfs2_super *osb,
3558 void ocfs2_simple_drop_lockres(struct ocfs2_super *osb,
3569 static void ocfs2_drop_osb_locks(struct ocfs2_super *osb)
3637 static int ocfs2_downconvert_lock(struct ocfs2_super *osb,
3681 static int ocfs2_prepare_cancel_convert(struct ocfs2_super *osb,
3710 static int ocfs2_cancel_convert(struct ocfs2_super *osb,
3727 static int ocfs2_unblock_lock(struct ocfs2_super *osb,
4012 static void ocfs2_dentry_post_unlock(struct ocfs2_super *osb,
4171 struct ocfs2_super *osb = OCFS2_SB(oinfo->dqi_gi.dqi_sb);
4226 struct ocfs2_super *osb = OCFS2_SB(oinfo->dqi_gi.dqi_sb);
4260 struct ocfs2_super *osb = lockres->l_priv;
4280 struct ocfs2_super *osb = lockres->l_priv;
4286 static void ocfs2_process_blocked_lock(struct ocfs2_super *osb,
4332 static void ocfs2_schedule_blocked_lock(struct ocfs2_super *osb,
4359 static void ocfs2_downconvert_thread_do_work(struct ocfs2_super *osb)
4394 static int ocfs2_downconvert_thread_lists_empty(struct ocfs2_super *osb)
4407 static int ocfs2_downconvert_thread_should_wake(struct ocfs2_super *osb)
4422 struct ocfs2_super *osb = arg;
4442 void ocfs2_wake_downconvert_thread(struct ocfs2_super *osb)