Home
last modified time | relevance | path

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

/fs/dlm/
Drcom.c84 static void set_rcom_config(struct dlm_ls *ls, struct rcom_config *rf, in set_rcom_config() argument
87 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() local
106 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 …]
Dmember.c32 struct rcom_config *rf = (struct rcom_config *)rc->rc_buf; in dlm_slot_save() local
37 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()
105 struct rcom_config *rf = (struct rcom_config *)rc->rc_buf; in dlm_slots_copy_in() local
114 gen = le32_to_cpu(rf->rf_generation); in dlm_slots_copy_in()
121 num_slots = le16_to_cpu(rf->rf_num_slots); in dlm_slots_copy_in()
/fs/xfs/
Dxfs_error.h134 #define XFS_TEST_ERROR(expr, mp, tag, rf) \ argument
137 (rf))))
142 #define XFS_TEST_ERROR(expr, mp, tag, rf) (expr) argument
/fs/ocfs2/
Drefcounttree.c152 struct ocfs2_refcount_tree *rf = cache_info_to_refcount(ci); in ocfs2_refcount_cache_owner() local
154 return rf->rf_blkno; in ocfs2_refcount_cache_owner()
160 struct ocfs2_refcount_tree *rf = cache_info_to_refcount(ci); in ocfs2_refcount_cache_get_super() local
162 return rf->rf_sb; in ocfs2_refcount_cache_get_super()
167 struct ocfs2_refcount_tree *rf = cache_info_to_refcount(ci); in ocfs2_refcount_cache_lock() local
169 spin_lock(&rf->rf_lock); in ocfs2_refcount_cache_lock()
174 struct ocfs2_refcount_tree *rf = cache_info_to_refcount(ci); in ocfs2_refcount_cache_unlock() local
176 spin_unlock(&rf->rf_lock); in ocfs2_refcount_cache_unlock()
181 struct ocfs2_refcount_tree *rf = cache_info_to_refcount(ci); in ocfs2_refcount_cache_io_lock() local
183 mutex_lock(&rf->rf_io_mutex); in ocfs2_refcount_cache_io_lock()
[all …]