Lines Matching refs:s_v1

114 #define sb_block_count(sbp)         (le32_to_cpu((sbp)->s_v1.s_block_count))
115 #define set_sb_block_count(sbp,v) ((sbp)->s_v1.s_block_count = cpu_to_le32(v))
116 #define sb_free_blocks(sbp) (le32_to_cpu((sbp)->s_v1.s_free_blocks))
117 #define set_sb_free_blocks(sbp,v) ((sbp)->s_v1.s_free_blocks = cpu_to_le32(v))
118 #define sb_root_block(sbp) (le32_to_cpu((sbp)->s_v1.s_root_block))
119 #define set_sb_root_block(sbp,v) ((sbp)->s_v1.s_root_block = cpu_to_le32(v))
122 (le32_to_cpu((sbp)->s_v1.s_journal.jp_journal_1st_block))
124 ((sbp)->s_v1.s_journal.jp_journal_1st_block = cpu_to_le32(v))
126 (le32_to_cpu((sbp)->s_v1.s_journal.jp_journal_dev))
128 ((sbp)->s_v1.s_journal.jp_journal_dev = cpu_to_le32(v))
130 (le32_to_cpu((sbp)->s_v1.s_journal.jp_journal_size))
132 ((sbp)->s_v1.s_journal.jp_journal_size = cpu_to_le32(v))
134 (le32_to_cpu((sbp)->s_v1.s_journal.jp_journal_trans_max))
136 ((sbp)->s_v1.s_journal.jp_journal_trans_max = cpu_to_le32(v))
138 (le32_to_cpu((sbp)->s_v1.s_journal.jp_journal_magic))
140 ((sbp)->s_v1.s_journal.jp_journal_magic = cpu_to_le32(v))
142 (le32_to_cpu((sbp)->s_v1.s_journal.jp_journal_max_batch))
144 ((sbp)->s_v1.s_journal.jp_journal_max_batch = cpu_to_le32(v))
146 (le32_to_cpu((sbp)->s_v1.s_journal.jp_journal_max_commit_age))
148 ((sbp)->s_v1.s_journal.jp_journal_max_commit_age = cpu_to_le32(v))
150 #define sb_blocksize(sbp) (le16_to_cpu((sbp)->s_v1.s_blocksize))
151 #define set_sb_blocksize(sbp,v) ((sbp)->s_v1.s_blocksize = cpu_to_le16(v))
152 #define sb_oid_maxsize(sbp) (le16_to_cpu((sbp)->s_v1.s_oid_maxsize))
153 #define set_sb_oid_maxsize(sbp,v) ((sbp)->s_v1.s_oid_maxsize = cpu_to_le16(v))
154 #define sb_oid_cursize(sbp) (le16_to_cpu((sbp)->s_v1.s_oid_cursize))
155 #define set_sb_oid_cursize(sbp,v) ((sbp)->s_v1.s_oid_cursize = cpu_to_le16(v))
156 #define sb_umount_state(sbp) (le16_to_cpu((sbp)->s_v1.s_umount_state))
157 #define set_sb_umount_state(sbp,v) ((sbp)->s_v1.s_umount_state = cpu_to_le16(v))
158 #define sb_fs_state(sbp) (le16_to_cpu((sbp)->s_v1.s_fs_state))
159 #define set_sb_fs_state(sbp,v) ((sbp)->s_v1.s_fs_state = cpu_to_le16(v))
161 (le32_to_cpu((sbp)->s_v1.s_hash_function_code))
163 ((sbp)->s_v1.s_hash_function_code = cpu_to_le32(v))
164 #define sb_tree_height(sbp) (le16_to_cpu((sbp)->s_v1.s_tree_height))
165 #define set_sb_tree_height(sbp,v) ((sbp)->s_v1.s_tree_height = cpu_to_le16(v))
166 #define sb_bmap_nr(sbp) (le16_to_cpu((sbp)->s_v1.s_bmap_nr))
167 #define set_sb_bmap_nr(sbp,v) ((sbp)->s_v1.s_bmap_nr = cpu_to_le16(v))
168 #define sb_version(sbp) (le16_to_cpu((sbp)->s_v1.s_version))
169 #define set_sb_version(sbp,v) ((sbp)->s_v1.s_version = cpu_to_le16(v))
175 (le16_to_cpu((sbp)->s_v1.s_reserved_for_journal))
177 ((sbp)->s_v1.s_reserved_for_journal = cpu_to_le16(v))
1026 struct reiserfs_super_block_v1 s_v1; member
1052 #define SB_V1_DISK_SUPER_BLOCK(s) (&(SB_DISK_SUPER_BLOCK(s)->s_v1))