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,
142 * struct ocfs2_super and allow the default actions to manage things.
151 * Translate an ocfs2_lock_res * into an ocfs2_super *. Define
152 * this callback if ->l_priv is not an ocfs2_super pointer
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)
330 return (struct ocfs2_super *)lockres->l_priv;
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,
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,
579 static struct ocfs2_super *ocfs2_get_inode_osb(struct ocfs2_lock_res *lockres)
586 static struct ocfs2_super *ocfs2_get_qinfo_osb(struct ocfs2_lock_res *lockres)
593 static struct ocfs2_super *ocfs2_get_file_osb(struct ocfs2_lock_res *lockres)
610 static struct ocfs2_super *ocfs2_get_dentry_osb(struct ocfs2_lock_res *lockres)
658 struct ocfs2_super *osb)
670 struct ocfs2_super *osb)
681 struct ocfs2_super *osb)
691 static void ocfs2_nfs_sync_lock_init(struct ocfs2_super *osb)
697 void ocfs2_trim_fs_lock_res_init(struct ocfs2_super *osb)
710 void ocfs2_trim_fs_lock_res_uninit(struct ocfs2_super *osb)
721 struct ocfs2_super *osb)
756 struct ocfs2_super *osb, u64 ref_blkno,
1068 struct ocfs2_super *osb)
1094 struct ocfs2_super *osb)
1116 struct ocfs2_super *osb = ocfs2_get_lockres_osb(lockres);
1147 struct ocfs2_super *osb = ocfs2_get_lockres_osb(lockres);
1308 static int ocfs2_lock_create(struct ocfs2_super *osb,
1468 static int __ocfs2_cluster_lock(struct ocfs2_super *osb,
1671 static inline int ocfs2_cluster_lock(struct ocfs2_super *osb,
1682 static void __ocfs2_cluster_unlock(struct ocfs2_super *osb,
1699 static int ocfs2_create_new_lock(struct ocfs2_super *osb,
1725 struct ocfs2_super *osb = OCFS2_SB(inode->i_sb);
1767 struct ocfs2_super *osb = OCFS2_SB(inode->i_sb);
1791 struct ocfs2_super *osb = OCFS2_SB(inode->i_sb);
1812 struct ocfs2_super *osb = OCFS2_SB(inode->i_sb);
1829 struct ocfs2_super *osb = OCFS2_SB(inode->i_sb);
1851 struct ocfs2_super *osb = OCFS2_SB(inode->i_sb);
1888 struct ocfs2_super *osb = OCFS2_SB(inode->i_sb);
1909 struct ocfs2_super *osb = ocfs2_get_lockres_osb(lockres);
1980 struct ocfs2_super *osb = OCFS2_SB(file->f_mapping->host->i_sb);
2076 struct ocfs2_super *osb = OCFS2_SB(file->f_mapping->host->i_sb);
2113 static void ocfs2_downconvert_on_unlock(struct ocfs2_super *osb,
2322 struct ocfs2_super *osb = OCFS2_SB(inode->i_sb);
2435 struct ocfs2_super *osb = OCFS2_SB(inode->i_sb);
2622 struct ocfs2_super *osb = OCFS2_SB(inode->i_sb);
2750 int ocfs2_orphan_scan_lock(struct ocfs2_super *osb, u32 *seqno)
2777 void ocfs2_orphan_scan_unlock(struct ocfs2_super *osb, u32 seqno)
2791 int ocfs2_super_lock(struct ocfs2_super *osb,
2830 void ocfs2_super_unlock(struct ocfs2_super *osb,
2840 int ocfs2_rename_lock(struct ocfs2_super *osb)
2858 void ocfs2_rename_unlock(struct ocfs2_super *osb)
2866 int ocfs2_nfs_sync_lock(struct ocfs2_super *osb, int ex)
2896 void ocfs2_nfs_sync_unlock(struct ocfs2_super *osb, int ex)
2909 int ocfs2_trim_fs_lock(struct ocfs2_super *osb,
2950 void ocfs2_trim_fs_unlock(struct ocfs2_super *osb,
2978 struct ocfs2_super *osb = OCFS2_SB(dentry->d_sb);
3002 struct ocfs2_super *osb = OCFS2_SB(dentry->d_sb);
3010 * we can't rely on the ocfs2_super to always exist. */
3281 struct ocfs2_super *osb;
3307 static void ocfs2_dlm_init_debug(struct ocfs2_super *osb)
3319 static void ocfs2_dlm_shutdown_debug(struct ocfs2_super *osb)
3327 int ocfs2_dlm_init(struct ocfs2_super *osb)
3388 void ocfs2_dlm_shutdown(struct ocfs2_super *osb,
3417 static int ocfs2_drop_lock(struct ocfs2_super *osb,
3499 static void ocfs2_process_blocked_lock(struct ocfs2_super *osb,
3508 void ocfs2_mark_lockres_freeing(struct ocfs2_super *osb,
3568 void ocfs2_simple_drop_lockres(struct ocfs2_super *osb,
3579 static void ocfs2_drop_osb_locks(struct ocfs2_super *osb)
3647 static int ocfs2_downconvert_lock(struct ocfs2_super *osb,
3691 static int ocfs2_prepare_cancel_convert(struct ocfs2_super *osb,
3720 static int ocfs2_cancel_convert(struct ocfs2_super *osb,
3737 static int ocfs2_unblock_lock(struct ocfs2_super *osb,
4033 static void ocfs2_dentry_post_unlock(struct ocfs2_super *osb,
4192 struct ocfs2_super *osb = OCFS2_SB(oinfo->dqi_gi.dqi_sb);
4247 struct ocfs2_super *osb = OCFS2_SB(oinfo->dqi_gi.dqi_sb);
4281 struct ocfs2_super *osb = lockres->l_priv;
4301 struct ocfs2_super *osb = lockres->l_priv;
4307 static void ocfs2_process_blocked_lock(struct ocfs2_super *osb,
4353 static void ocfs2_schedule_blocked_lock(struct ocfs2_super *osb,
4380 static void ocfs2_downconvert_thread_do_work(struct ocfs2_super *osb)
4415 static int ocfs2_downconvert_thread_lists_empty(struct ocfs2_super *osb)
4428 static int ocfs2_downconvert_thread_should_wake(struct ocfs2_super *osb)
4443 struct ocfs2_super *osb = arg;
4463 void ocfs2_wake_downconvert_thread(struct ocfs2_super *osb)