Searched refs:rf (Results 1 – 3 of 3) sorted by relevance
115 static void set_rcom_config(struct dlm_ls *ls, struct rcom_config *rf, in set_rcom_config() argument118 rf->rf_lvblen = cpu_to_le32(ls->ls_lvblen); in set_rcom_config()119 rf->rf_lsflags = cpu_to_le32(ls->ls_exflags); in set_rcom_config()121 rf->rf_our_slot = cpu_to_le16(ls->ls_slot); in set_rcom_config()122 rf->rf_num_slots = cpu_to_le16(num_slots); in set_rcom_config()123 rf->rf_generation = cpu_to_le32(ls->ls_generation); in set_rcom_config()128 struct rcom_config *rf = (struct rcom_config *) rc->rc_buf; in check_rcom_config() local137 if (le32_to_cpu(rf->rf_lvblen) != ls->ls_lvblen || in check_rcom_config()138 le32_to_cpu(rf->rf_lsflags) != ls->ls_exflags) { in check_rcom_config()141 le32_to_cpu(rf->rf_lvblen), in check_rcom_config()[all …]
31 struct rcom_config *rf = (struct rcom_config *)rc->rc_buf; in dlm_slot_save() local36 memb->slot = le16_to_cpu(rf->rf_our_slot); in dlm_slot_save()37 memb->generation = le32_to_cpu(rf->rf_generation); in dlm_slot_save()101 struct rcom_config *rf = (struct rcom_config *)rc->rc_buf; in dlm_slots_copy_in() local110 gen = le32_to_cpu(rf->rf_generation); in dlm_slots_copy_in()117 num_slots = le16_to_cpu(rf->rf_num_slots); in dlm_slots_copy_in()
141 struct ocfs2_refcount_tree *rf = cache_info_to_refcount(ci); in ocfs2_refcount_cache_owner() local143 return rf->rf_blkno; in ocfs2_refcount_cache_owner()149 struct ocfs2_refcount_tree *rf = cache_info_to_refcount(ci); in ocfs2_refcount_cache_get_super() local151 return rf->rf_sb; in ocfs2_refcount_cache_get_super()155 __acquires(&rf->rf_lock) in ocfs2_refcount_cache_lock()157 struct ocfs2_refcount_tree *rf = cache_info_to_refcount(ci); in ocfs2_refcount_cache_lock() local159 spin_lock(&rf->rf_lock); in ocfs2_refcount_cache_lock()163 __releases(&rf->rf_lock) in ocfs2_refcount_cache_unlock()165 struct ocfs2_refcount_tree *rf = cache_info_to_refcount(ci); in ocfs2_refcount_cache_unlock() local167 spin_unlock(&rf->rf_lock); in ocfs2_refcount_cache_unlock()[all …]