Home
last modified time | relevance | path

Searched refs:rf (Results 1 – 3 of 3) sorted by relevance

/fs/dlm/
Drcom.c112 static void set_rcom_config(struct dlm_ls *ls, struct rcom_config *rf, in set_rcom_config() argument
115 rf->rf_lvblen = cpu_to_le32(ls->ls_lvblen); in set_rcom_config()
116 rf->rf_lsflags = cpu_to_le32(ls->ls_exflags); in set_rcom_config()
118 rf->rf_our_slot = cpu_to_le16(ls->ls_slot); in set_rcom_config()
119 rf->rf_num_slots = cpu_to_le16(num_slots); in set_rcom_config()
120 rf->rf_generation = cpu_to_le32(ls->ls_generation); in set_rcom_config()
125 struct rcom_config *rf = (struct rcom_config *) rc->rc_buf; in check_rcom_config() local
134 if (le32_to_cpu(rf->rf_lvblen) != ls->ls_lvblen || in check_rcom_config()
135 le32_to_cpu(rf->rf_lsflags) != ls->ls_exflags) { in check_rcom_config()
138 le32_to_cpu(rf->rf_lvblen), in check_rcom_config()
[all …]
Dmember.c31 struct rcom_config *rf = (struct rcom_config *)rc->rc_buf; in dlm_slot_save() local
36 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() local
110 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()
/fs/ocfs2/
Drefcounttree.c141 struct ocfs2_refcount_tree *rf = cache_info_to_refcount(ci); in ocfs2_refcount_cache_owner() local
143 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() local
151 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() local
159 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() local
167 spin_unlock(&rf->rf_lock); in ocfs2_refcount_cache_unlock()
[all …]