Home
last modified time | relevance | path

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

/fs/dlm/
Drcom.c82 static void set_rcom_config(struct dlm_ls *ls, struct rcom_config *rf, in set_rcom_config() argument
85 rf->rf_lvblen = cpu_to_le32(ls->ls_lvblen); in set_rcom_config()
86 rf->rf_lsflags = cpu_to_le32(ls->ls_exflags); in set_rcom_config()
88 rf->rf_our_slot = cpu_to_le16(ls->ls_slot); in set_rcom_config()
89 rf->rf_num_slots = cpu_to_le16(num_slots); in set_rcom_config()
90 rf->rf_generation = cpu_to_le32(ls->ls_generation); in set_rcom_config()
95 struct rcom_config *rf = (struct rcom_config *) rc->rc_buf; in check_rcom_config() local
104 if (le32_to_cpu(rf->rf_lvblen) != ls->ls_lvblen || in check_rcom_config()
105 le32_to_cpu(rf->rf_lsflags) != ls->ls_exflags) { in check_rcom_config()
108 le32_to_cpu(rf->rf_lvblen), in check_rcom_config()
[all …]
Dmember.c30 struct rcom_config *rf = (struct rcom_config *)rc->rc_buf; in dlm_slot_save() local
35 memb->slot = le16_to_cpu(rf->rf_our_slot); in dlm_slot_save()
36 memb->generation = le32_to_cpu(rf->rf_generation); in dlm_slot_save()
100 struct rcom_config *rf = (struct rcom_config *)rc->rc_buf; in dlm_slots_copy_in() local
109 gen = le32_to_cpu(rf->rf_generation); in dlm_slots_copy_in()
116 num_slots = le16_to_cpu(rf->rf_num_slots); in dlm_slots_copy_in()
/fs/ocfs2/
Drefcounttree.c143 struct ocfs2_refcount_tree *rf = cache_info_to_refcount(ci); in ocfs2_refcount_cache_owner() local
145 return rf->rf_blkno; in ocfs2_refcount_cache_owner()
151 struct ocfs2_refcount_tree *rf = cache_info_to_refcount(ci); in ocfs2_refcount_cache_get_super() local
153 return rf->rf_sb; in ocfs2_refcount_cache_get_super()
158 struct ocfs2_refcount_tree *rf = cache_info_to_refcount(ci); in ocfs2_refcount_cache_lock() local
160 spin_lock(&rf->rf_lock); in ocfs2_refcount_cache_lock()
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()
172 struct ocfs2_refcount_tree *rf = cache_info_to_refcount(ci); in ocfs2_refcount_cache_io_lock() local
174 mutex_lock(&rf->rf_io_mutex); in ocfs2_refcount_cache_io_lock()
[all …]