• Home
  • Raw
  • Download

Lines Matching refs:sb

24 void ext2fs_swap_super(struct ext2_super_block * sb)  in ext2fs_swap_super()  argument
27 sb->s_inodes_count = ext2fs_swab32(sb->s_inodes_count); in ext2fs_swap_super()
28 sb->s_blocks_count = ext2fs_swab32(sb->s_blocks_count); in ext2fs_swap_super()
29 sb->s_r_blocks_count = ext2fs_swab32(sb->s_r_blocks_count); in ext2fs_swap_super()
30 sb->s_free_blocks_count = ext2fs_swab32(sb->s_free_blocks_count); in ext2fs_swap_super()
31 sb->s_free_inodes_count = ext2fs_swab32(sb->s_free_inodes_count); in ext2fs_swap_super()
32 sb->s_first_data_block = ext2fs_swab32(sb->s_first_data_block); in ext2fs_swap_super()
33 sb->s_log_block_size = ext2fs_swab32(sb->s_log_block_size); in ext2fs_swap_super()
34 sb->s_log_frag_size = ext2fs_swab32(sb->s_log_frag_size); in ext2fs_swap_super()
35 sb->s_blocks_per_group = ext2fs_swab32(sb->s_blocks_per_group); in ext2fs_swap_super()
36 sb->s_frags_per_group = ext2fs_swab32(sb->s_frags_per_group); in ext2fs_swap_super()
37 sb->s_inodes_per_group = ext2fs_swab32(sb->s_inodes_per_group); in ext2fs_swap_super()
38 sb->s_mtime = ext2fs_swab32(sb->s_mtime); in ext2fs_swap_super()
39 sb->s_wtime = ext2fs_swab32(sb->s_wtime); in ext2fs_swap_super()
40 sb->s_mnt_count = ext2fs_swab16(sb->s_mnt_count); in ext2fs_swap_super()
41 sb->s_max_mnt_count = ext2fs_swab16(sb->s_max_mnt_count); in ext2fs_swap_super()
42 sb->s_magic = ext2fs_swab16(sb->s_magic); in ext2fs_swap_super()
43 sb->s_state = ext2fs_swab16(sb->s_state); in ext2fs_swap_super()
44 sb->s_errors = ext2fs_swab16(sb->s_errors); in ext2fs_swap_super()
45 sb->s_minor_rev_level = ext2fs_swab16(sb->s_minor_rev_level); in ext2fs_swap_super()
46 sb->s_lastcheck = ext2fs_swab32(sb->s_lastcheck); in ext2fs_swap_super()
47 sb->s_checkinterval = ext2fs_swab32(sb->s_checkinterval); in ext2fs_swap_super()
48 sb->s_creator_os = ext2fs_swab32(sb->s_creator_os); in ext2fs_swap_super()
49 sb->s_rev_level = ext2fs_swab32(sb->s_rev_level); in ext2fs_swap_super()
50 sb->s_def_resuid = ext2fs_swab16(sb->s_def_resuid); in ext2fs_swap_super()
51 sb->s_def_resgid = ext2fs_swab16(sb->s_def_resgid); in ext2fs_swap_super()
52 sb->s_first_ino = ext2fs_swab32(sb->s_first_ino); in ext2fs_swap_super()
53 sb->s_inode_size = ext2fs_swab16(sb->s_inode_size); in ext2fs_swap_super()
54 sb->s_block_group_nr = ext2fs_swab16(sb->s_block_group_nr); in ext2fs_swap_super()
55 sb->s_feature_compat = ext2fs_swab32(sb->s_feature_compat); in ext2fs_swap_super()
56 sb->s_feature_incompat = ext2fs_swab32(sb->s_feature_incompat); in ext2fs_swap_super()
57 sb->s_feature_ro_compat = ext2fs_swab32(sb->s_feature_ro_compat); in ext2fs_swap_super()
58 sb->s_algorithm_usage_bitmap = ext2fs_swab32(sb->s_algorithm_usage_bitmap); in ext2fs_swap_super()
59 sb->s_reserved_gdt_blocks = ext2fs_swab16(sb->s_reserved_gdt_blocks); in ext2fs_swap_super()
60 sb->s_journal_inum = ext2fs_swab32(sb->s_journal_inum); in ext2fs_swap_super()
61 sb->s_journal_dev = ext2fs_swab32(sb->s_journal_dev); in ext2fs_swap_super()
62 sb->s_last_orphan = ext2fs_swab32(sb->s_last_orphan); in ext2fs_swap_super()
63 sb->s_desc_size = ext2fs_swab16(sb->s_desc_size); in ext2fs_swap_super()
64 sb->s_default_mount_opts = ext2fs_swab32(sb->s_default_mount_opts); in ext2fs_swap_super()
65 sb->s_first_meta_bg = ext2fs_swab32(sb->s_first_meta_bg); in ext2fs_swap_super()
66 sb->s_mkfs_time = ext2fs_swab32(sb->s_mkfs_time); in ext2fs_swap_super()
67 sb->s_blocks_count_hi = ext2fs_swab32(sb->s_blocks_count_hi); in ext2fs_swap_super()
68 sb->s_r_blocks_count_hi = ext2fs_swab32(sb->s_r_blocks_count_hi); in ext2fs_swap_super()
69 sb->s_free_blocks_hi = ext2fs_swab32(sb->s_free_blocks_hi); in ext2fs_swap_super()
70 sb->s_min_extra_isize = ext2fs_swab16(sb->s_min_extra_isize); in ext2fs_swap_super()
71 sb->s_want_extra_isize = ext2fs_swab16(sb->s_want_extra_isize); in ext2fs_swap_super()
72 sb->s_flags = ext2fs_swab32(sb->s_flags); in ext2fs_swap_super()
73 sb->s_kbytes_written = ext2fs_swab64(sb->s_kbytes_written); in ext2fs_swap_super()
74 sb->s_snapshot_inum = ext2fs_swab32(sb->s_snapshot_inum); in ext2fs_swap_super()
75 sb->s_snapshot_id = ext2fs_swab32(sb->s_snapshot_id); in ext2fs_swap_super()
76 sb->s_snapshot_r_blocks_count = in ext2fs_swap_super()
77 ext2fs_swab64(sb->s_snapshot_r_blocks_count); in ext2fs_swap_super()
78 sb->s_snapshot_list = ext2fs_swab32(sb->s_snapshot_list); in ext2fs_swap_super()
81 sb->s_hash_seed[i] = ext2fs_swab32(sb->s_hash_seed[i]); in ext2fs_swap_super()
84 if (!ext2fs_extent_header_verify(sb->s_jnl_blocks, in ext2fs_swap_super()
85 sizeof(sb->s_jnl_blocks))) { in ext2fs_swap_super()
87 sb->s_jnl_blocks[16] = ext2fs_swab32(sb->s_jnl_blocks[16]); in ext2fs_swap_super()
94 sb->s_jnl_blocks[i] = ext2fs_swab32(sb->s_jnl_blocks[i]); in ext2fs_swap_super()