Searched refs:rf (Results 1 – 3 of 3) sorted by relevance
84 static void set_rcom_config(struct dlm_ls *ls, struct rcom_config *rf, in set_rcom_config() argument87 rf->rf_lvblen = cpu_to_le32(ls->ls_lvblen); in set_rcom_config()88 rf->rf_lsflags = cpu_to_le32(ls->ls_exflags); in set_rcom_config()90 rf->rf_our_slot = cpu_to_le16(ls->ls_slot); in set_rcom_config()91 rf->rf_num_slots = cpu_to_le16(num_slots); in set_rcom_config()92 rf->rf_generation = cpu_to_le32(ls->ls_generation); in set_rcom_config()97 struct rcom_config *rf = (struct rcom_config *) rc->rc_buf; in check_rcom_config() local106 if (le32_to_cpu(rf->rf_lvblen) != ls->ls_lvblen || in check_rcom_config()107 le32_to_cpu(rf->rf_lsflags) != ls->ls_exflags) { in check_rcom_config()110 le32_to_cpu(rf->rf_lvblen), in check_rcom_config()[all …]
32 struct rcom_config *rf = (struct rcom_config *)rc->rc_buf; in dlm_slot_save() local37 memb->slot = le16_to_cpu(rf->rf_our_slot); in dlm_slot_save()38 memb->generation = le32_to_cpu(rf->rf_generation); in dlm_slot_save()102 struct rcom_config *rf = (struct rcom_config *)rc->rc_buf; in dlm_slots_copy_in() local111 gen = le32_to_cpu(rf->rf_generation); in dlm_slots_copy_in()118 num_slots = le16_to_cpu(rf->rf_num_slots); in dlm_slots_copy_in()
151 struct ocfs2_refcount_tree *rf = cache_info_to_refcount(ci); in ocfs2_refcount_cache_owner() local153 return rf->rf_blkno; in ocfs2_refcount_cache_owner()159 struct ocfs2_refcount_tree *rf = cache_info_to_refcount(ci); in ocfs2_refcount_cache_get_super() local161 return rf->rf_sb; in ocfs2_refcount_cache_get_super()166 struct ocfs2_refcount_tree *rf = cache_info_to_refcount(ci); in ocfs2_refcount_cache_lock() local168 spin_lock(&rf->rf_lock); in ocfs2_refcount_cache_lock()173 struct ocfs2_refcount_tree *rf = cache_info_to_refcount(ci); in ocfs2_refcount_cache_unlock() local175 spin_unlock(&rf->rf_lock); in ocfs2_refcount_cache_unlock()180 struct ocfs2_refcount_tree *rf = cache_info_to_refcount(ci); in ocfs2_refcount_cache_io_lock() local182 mutex_lock(&rf->rf_io_mutex); in ocfs2_refcount_cache_io_lock()[all …]