Lines Matching refs:s_v1
21 #define sb_block_count(sbp) (le32_to_cpu((sbp)->s_v1.s_block_count))
22 #define set_sb_block_count(sbp,v) ((sbp)->s_v1.s_block_count = cpu_to_le32(v))
23 #define sb_free_blocks(sbp) (le32_to_cpu((sbp)->s_v1.s_free_blocks))
24 #define set_sb_free_blocks(sbp,v) ((sbp)->s_v1.s_free_blocks = cpu_to_le32(v))
25 #define sb_root_block(sbp) (le32_to_cpu((sbp)->s_v1.s_root_block))
26 #define set_sb_root_block(sbp,v) ((sbp)->s_v1.s_root_block = cpu_to_le32(v))
29 (le32_to_cpu((sbp)->s_v1.s_journal.jp_journal_1st_block))
31 ((sbp)->s_v1.s_journal.jp_journal_1st_block = cpu_to_le32(v))
33 (le32_to_cpu((sbp)->s_v1.s_journal.jp_journal_dev))
35 ((sbp)->s_v1.s_journal.jp_journal_dev = cpu_to_le32(v))
37 (le32_to_cpu((sbp)->s_v1.s_journal.jp_journal_size))
39 ((sbp)->s_v1.s_journal.jp_journal_size = cpu_to_le32(v))
41 (le32_to_cpu((sbp)->s_v1.s_journal.jp_journal_trans_max))
43 ((sbp)->s_v1.s_journal.jp_journal_trans_max = cpu_to_le32(v))
45 (le32_to_cpu((sbp)->s_v1.s_journal.jp_journal_magic))
47 ((sbp)->s_v1.s_journal.jp_journal_magic = cpu_to_le32(v))
49 (le32_to_cpu((sbp)->s_v1.s_journal.jp_journal_max_batch))
51 ((sbp)->s_v1.s_journal.jp_journal_max_batch = cpu_to_le32(v))
53 (le32_to_cpu((sbp)->s_v1.s_journal.jp_journal_max_commit_age))
55 ((sbp)->s_v1.s_journal.jp_journal_max_commit_age = cpu_to_le32(v))
57 #define sb_blocksize(sbp) (le16_to_cpu((sbp)->s_v1.s_blocksize))
58 #define set_sb_blocksize(sbp,v) ((sbp)->s_v1.s_blocksize = cpu_to_le16(v))
59 #define sb_oid_maxsize(sbp) (le16_to_cpu((sbp)->s_v1.s_oid_maxsize))
60 #define set_sb_oid_maxsize(sbp,v) ((sbp)->s_v1.s_oid_maxsize = cpu_to_le16(v))
61 #define sb_oid_cursize(sbp) (le16_to_cpu((sbp)->s_v1.s_oid_cursize))
62 #define set_sb_oid_cursize(sbp,v) ((sbp)->s_v1.s_oid_cursize = cpu_to_le16(v))
63 #define sb_umount_state(sbp) (le16_to_cpu((sbp)->s_v1.s_umount_state))
64 #define set_sb_umount_state(sbp,v) ((sbp)->s_v1.s_umount_state = cpu_to_le16(v))
65 #define sb_fs_state(sbp) (le16_to_cpu((sbp)->s_v1.s_fs_state))
66 #define set_sb_fs_state(sbp,v) ((sbp)->s_v1.s_fs_state = cpu_to_le16(v))
68 (le32_to_cpu((sbp)->s_v1.s_hash_function_code))
70 ((sbp)->s_v1.s_hash_function_code = cpu_to_le32(v))
71 #define sb_tree_height(sbp) (le16_to_cpu((sbp)->s_v1.s_tree_height))
72 #define set_sb_tree_height(sbp,v) ((sbp)->s_v1.s_tree_height = cpu_to_le16(v))
73 #define sb_bmap_nr(sbp) (le16_to_cpu((sbp)->s_v1.s_bmap_nr))
74 #define set_sb_bmap_nr(sbp,v) ((sbp)->s_v1.s_bmap_nr = cpu_to_le16(v))
75 #define sb_version(sbp) (le16_to_cpu((sbp)->s_v1.s_version))
76 #define set_sb_version(sbp,v) ((sbp)->s_v1.s_version = cpu_to_le16(v))
82 (le16_to_cpu((sbp)->s_v1.s_reserved_for_journal))
84 ((sbp)->s_v1.s_reserved_for_journal = cpu_to_le16(v))