ocfs2_lock_res
struct ocfs2_lock_res dl_lockres;
struct ocfs2_lock_res *lockres);
static void ocfs2_set_qinfo_lvb(struct ocfs2_lock_res *lockres);
static int ocfs2_check_refcount_downconvert(struct ocfs2_lock_res *lockres,
static int ocfs2_refcount_convert_worker(struct ocfs2_lock_res *lockres,
static void __lockres_clear_pending(struct ocfs2_lock_res *lockres,
static void lockres_clear_pending(struct ocfs2_lock_res *lockres,
static unsigned int lockres_set_pending(struct ocfs2_lock_res *lockres)
struct ocfs2_lock_res *lockres = ocfs2_lksb_to_lock_res(lksb);
struct ocfs2_lock_res *lockres = ocfs2_lksb_to_lock_res(lksb);
struct ocfs2_lock_res *lockres)
struct ocfs2_lock_res *lockres = ocfs2_lksb_to_lock_res(lksb);
static inline void ocfs2_recover_from_dlm_error(struct ocfs2_lock_res *lockres,
struct ocfs2_lock_res *lockres,
static inline int ocfs2_check_wait_flag(struct ocfs2_lock_res *lockres,
static inline void ocfs2_wait_on_busy_lock(struct ocfs2_lock_res *lockres)
static inline void ocfs2_wait_on_refreshing_lock(struct ocfs2_lock_res *lockres)
static inline int ocfs2_may_continue_on_blocked_lock(struct ocfs2_lock_res *lockres,
static void lockres_add_mask_waiter(struct ocfs2_lock_res *lockres,
static int __lockres_remove_mask_waiter(struct ocfs2_lock_res *lockres,
static int lockres_remove_mask_waiter(struct ocfs2_lock_res *lockres,
struct ocfs2_lock_res *lockres)
struct ocfs2_lock_res *lockres,
struct ocfs2_super * (*get_osb)(struct ocfs2_lock_res *);
void (*post_unlock)(struct ocfs2_super *, struct ocfs2_lock_res *);
struct ocfs2_lock_res *lockres,
struct ocfs2_lock_res *lockres,
struct ocfs2_lock_res *lockres,
struct ocfs2_lock_res *lockres;
int (*check_downconvert)(struct ocfs2_lock_res *, int);
struct ocfs2_lock_res *lockres;
struct ocfs2_lock_res *lockres = &OCFS2_I(inode)->ip_rw_lockres;
struct ocfs2_lock_res *lockres;
struct ocfs2_lock_res *lockres;
struct ocfs2_lock_res *lockres = &OCFS2_I(inode)->ip_open_lockres;
void (*set_lvb)(struct ocfs2_lock_res *);
static int ocfs2_flock_handle_signal(struct ocfs2_lock_res *lockres,
struct ocfs2_lock_res *lockres = &fp->fp_flock;
int (*downconvert_worker)(struct ocfs2_lock_res *, int);
struct ocfs2_lock_res *lockres = &fp->fp_flock;
struct ocfs2_lock_res *lockres)
struct ocfs2_lock_res *lockres = &oi->ip_inode_lockres;
struct ocfs2_lock_res *lockres = &oi->ip_inode_lockres;
struct ocfs2_lock_res *lockres)
static int ocfs2_should_refresh_lock_res(struct ocfs2_lock_res *lockres)
static inline void ocfs2_complete_lock_res_refresh(struct ocfs2_lock_res *lockres,
struct ocfs2_lock_res *lockres = &oi->ip_inode_lockres;
struct ocfs2_lock_res *lockres = NULL;
struct ocfs2_lock_res *lockres = &OCFS2_I(inode)->ip_inode_lockres;
struct ocfs2_lock_res *lockres;
struct ocfs2_lock_res *lockres;
struct ocfs2_lock_res *lockres;
struct ocfs2_lock_res *lockres;
struct ocfs2_lock_res *lockres = &osb->osb_super_lockres;
struct ocfs2_lock_res *lockres = &osb->osb_super_lockres;
struct ocfs2_lock_res *lockres = &osb->osb_rename_lockres;
struct ocfs2_lock_res *lockres = &osb->osb_rename_lockres;
struct ocfs2_lock_res *lockres = &osb->osb_nfs_sync_lockres;
static inline int ocfs2_is_inode_lock(struct ocfs2_lock_res *lockres)
struct ocfs2_lock_res *lockres = &osb->osb_nfs_sync_lockres;
struct ocfs2_lock_res *lockres = &osb->osb_trim_fs_lockres;
static inline struct ocfs2_lock_res *ocfs2_lksb_to_lock_res(struct ocfs2_dlm_lksb *lksb)
struct ocfs2_lock_res *lockres = &osb->osb_trim_fs_lockres;
return container_of(lksb, struct ocfs2_lock_res, l_lksb);
static inline struct inode *ocfs2_lock_res_inode(struct ocfs2_lock_res *lockres)
struct ocfs2_lock_res p_iter_res;
struct ocfs2_lock_res p_tmp_res;
static struct ocfs2_lock_res *ocfs2_dlm_next_res(struct ocfs2_lock_res *start,
struct ocfs2_lock_res *iter, *ret = NULL;
static inline struct ocfs2_dentry_lock *ocfs2_lock_res_dl(struct ocfs2_lock_res *lockres)
struct ocfs2_lock_res *iter;
struct ocfs2_lock_res *iter = v;
struct ocfs2_lock_res *dummy = &priv->p_iter_res;
static inline struct ocfs2_mem_dqinfo *ocfs2_lock_res_qinfo(struct ocfs2_lock_res *lockres)
struct ocfs2_lock_res *lockres = v;
ocfs2_lock_res_refcount_tree(struct ocfs2_lock_res *res)
static inline struct ocfs2_super *ocfs2_get_lockres_osb(struct ocfs2_lock_res *lockres)
struct ocfs2_lock_res *res = &priv->p_iter_res;
struct ocfs2_lock_res *lockres,
static inline int ocfs2_may_continue_on_blocked_lock(struct ocfs2_lock_res *lockres,
struct ocfs2_lock_res *lockres,
struct ocfs2_lock_res *lockres)
struct ocfs2_lock_res *lockres,
struct ocfs2_lock_res *lockres);
static inline void ocfs2_generic_handle_downconvert_action(struct ocfs2_lock_res *lockres);
struct ocfs2_lock_res *lockres)
static inline void ocfs2_generic_handle_convert_action(struct ocfs2_lock_res *lockres);
static inline void ocfs2_generic_handle_attach_action(struct ocfs2_lock_res *lockres);
static int ocfs2_generic_handle_bast(struct ocfs2_lock_res *lockres, int level);
struct ocfs2_lock_res *lockres);
static inline void ocfs2_recover_from_dlm_error(struct ocfs2_lock_res *lockres,
struct ocfs2_lock_res *lockres)
static unsigned int ocfs2_prepare_downconvert(struct ocfs2_lock_res *lockres,
struct ocfs2_lock_res *lockres,
struct ocfs2_lock_res *lockres)
struct ocfs2_lock_res *lockres);
struct ocfs2_lock_res *lockres)
struct ocfs2_lock_res *lockres,
static unsigned int ocfs2_prepare_downconvert(struct ocfs2_lock_res *lockres,
struct ocfs2_lock_res *lockres,
struct ocfs2_lock_res *lockres);
struct ocfs2_lock_res *lockres);
static int ocfs2_data_convert_worker(struct ocfs2_lock_res *lockres,
struct ocfs2_lock_res *lockres,
static int ocfs2_check_meta_downconvert(struct ocfs2_lock_res *lockres,
static void ocfs2_set_meta_lvb(struct ocfs2_lock_res *lockres)
struct ocfs2_lock_res *lockres)
static int ocfs2_dentry_convert_worker(struct ocfs2_lock_res *lockres,
static void ocfs2_add_lockres_tracking(struct ocfs2_lock_res *res,
static int ocfs2_check_refcount_downconvert(struct ocfs2_lock_res *lockres,
static int ocfs2_refcount_convert_worker(struct ocfs2_lock_res *lockres,
static void ocfs2_set_qinfo_lvb(struct ocfs2_lock_res *lockres)
static void ocfs2_remove_lockres_tracking(struct ocfs2_lock_res *res)
struct ocfs2_lock_res *lockres = &oinfo->dqi_gqlock;
struct ocfs2_lock_res *lockres = &oinfo->dqi_gqlock;
struct ocfs2_lock_res *lockres = &oinfo->dqi_gqlock;
static void ocfs2_init_lock_stats(struct ocfs2_lock_res *res)
struct ocfs2_lock_res *lockres = &ref_tree->rf_lockres;
struct ocfs2_lock_res *lockres = &ref_tree->rf_lockres;
struct ocfs2_lock_res *lockres)
static void ocfs2_update_lock_stats(struct ocfs2_lock_res *res, int level,
struct ocfs2_lock_res *lockres)
struct ocfs2_lock_res *lockres;
struct ocfs2_lock_res, l_blocked_list);
static inline void ocfs2_track_lock_refresh(struct ocfs2_lock_res *lockres)
static inline void ocfs2_track_lock_wait(struct ocfs2_lock_res *lockres)
static inline void ocfs2_init_lock_stats(struct ocfs2_lock_res *res)
static inline void ocfs2_update_lock_stats(struct ocfs2_lock_res *res,
static inline void ocfs2_track_lock_refresh(struct ocfs2_lock_res *lockres)
static inline void ocfs2_track_lock_wait(struct ocfs2_lock_res *lockres)
struct ocfs2_lock_res *res,
void ocfs2_lock_res_init_once(struct ocfs2_lock_res *res)
memset(res, 0, sizeof(struct ocfs2_lock_res));
void ocfs2_inode_lock_res_init(struct ocfs2_lock_res *res,
static struct ocfs2_super *ocfs2_get_inode_osb(struct ocfs2_lock_res *lockres)
static struct ocfs2_super *ocfs2_get_qinfo_osb(struct ocfs2_lock_res *lockres)
static struct ocfs2_super *ocfs2_get_dentry_osb(struct ocfs2_lock_res *lockres);
static struct ocfs2_super *ocfs2_get_file_osb(struct ocfs2_lock_res *lockres)
static struct ocfs2_super *ocfs2_get_inode_osb(struct ocfs2_lock_res *lockres);
static __u64 ocfs2_get_dentry_lock_ino(struct ocfs2_lock_res *lockres)
static struct ocfs2_super *ocfs2_get_file_osb(struct ocfs2_lock_res *lockres);
static struct ocfs2_super *ocfs2_get_dentry_osb(struct ocfs2_lock_res *lockres)
static struct ocfs2_super *ocfs2_get_qinfo_osb(struct ocfs2_lock_res *lockres);
struct ocfs2_lock_res *lockres = &dl->dl_lockres;
static void ocfs2_super_lock_res_init(struct ocfs2_lock_res *res,
static void ocfs2_rename_lock_res_init(struct ocfs2_lock_res *res,
static void ocfs2_nfs_sync_lock_res_init(struct ocfs2_lock_res *res,
struct ocfs2_lock_res *lockres = &osb->osb_trim_fs_lockres;
struct ocfs2_lock_res *lockres = &osb->osb_trim_fs_lockres;
static void ocfs2_orphan_scan_lock_res_init(struct ocfs2_lock_res *res,
void ocfs2_file_lock_res_init(struct ocfs2_lock_res *lockres,
void ocfs2_qinfo_lock_res_init(struct ocfs2_lock_res *lockres,
void ocfs2_refcount_lock_res_init(struct ocfs2_lock_res *lockres,
void ocfs2_lock_res_free(struct ocfs2_lock_res *res)
static inline void ocfs2_add_holder(struct ocfs2_lock_res *lockres,
ocfs2_pid_holder(struct ocfs2_lock_res *lockres,
static inline void ocfs2_remove_holder(struct ocfs2_lock_res *lockres,
static inline void ocfs2_inc_holders(struct ocfs2_lock_res *lockres,
static inline void ocfs2_dec_holders(struct ocfs2_lock_res *lockres,
static void lockres_set_flags(struct ocfs2_lock_res *lockres,
static int ocfs2_check_meta_downconvert(struct ocfs2_lock_res *lockres,
static void lockres_or_flags(struct ocfs2_lock_res *lockres, unsigned long or)
static void ocfs2_set_meta_lvb(struct ocfs2_lock_res *lockres);
static void lockres_clear_flags(struct ocfs2_lock_res *lockres,
static inline void ocfs2_generic_handle_downconvert_action(struct ocfs2_lock_res *lockres)
static int ocfs2_data_convert_worker(struct ocfs2_lock_res *lockres,
static inline void ocfs2_generic_handle_convert_action(struct ocfs2_lock_res *lockres)
static int ocfs2_dentry_convert_worker(struct ocfs2_lock_res *lockres,
static inline void ocfs2_generic_handle_attach_action(struct ocfs2_lock_res *lockres)
static int ocfs2_generic_handle_bast(struct ocfs2_lock_res *lockres,
void ocfs2_lock_res_init_once(struct ocfs2_lock_res *res);
void ocfs2_inode_lock_res_init(struct ocfs2_lock_res *res,
void ocfs2_file_lock_res_init(struct ocfs2_lock_res *lockres,
void ocfs2_qinfo_lock_res_init(struct ocfs2_lock_res *lockres,
void ocfs2_refcount_lock_res_init(struct ocfs2_lock_res *lockres,
void ocfs2_lock_res_free(struct ocfs2_lock_res *res);
struct ocfs2_lock_res *lockres);
struct ocfs2_lock_res *lockres);
struct ocfs2_lock_res fp_flock;
struct ocfs2_lock_res ip_rw_lockres;
struct ocfs2_lock_res ip_inode_lockres;
struct ocfs2_lock_res ip_open_lockres;
struct ocfs2_lock_res *lockres = &fp->fp_flock;
struct ocfs2_lock_res os_lockres; /* lock to synchronize scans */
struct ocfs2_lock_res osb_super_lockres;
struct ocfs2_lock_res osb_rename_lockres;
struct ocfs2_lock_res osb_nfs_sync_lockres;
struct ocfs2_lock_res osb_trim_fs_lockres;
struct ocfs2_lock_res dqi_gqlock; /* Lock protecting quota information structure */
struct ocfs2_lock_res rf_lockres;
struct ocfs2_lock_res;