Lines Matching refs:to_header
150 void ext2fs_swap_ext_attr_header(struct ext2_ext_attr_header *to_header, in ext2fs_swap_ext_attr_header() argument
155 to_header->h_magic = ext2fs_swab32(from_header->h_magic); in ext2fs_swap_ext_attr_header()
156 to_header->h_blocks = ext2fs_swab32(from_header->h_blocks); in ext2fs_swap_ext_attr_header()
157 to_header->h_refcount = ext2fs_swab32(from_header->h_refcount); in ext2fs_swap_ext_attr_header()
158 to_header->h_hash = ext2fs_swab32(from_header->h_hash); in ext2fs_swap_ext_attr_header()
160 to_header->h_reserved[n] = in ext2fs_swap_ext_attr_header()
177 struct ext2_ext_attr_header *to_header = in ext2fs_swap_ext_attr() local
182 if (to_header != from_header) in ext2fs_swap_ext_attr()
183 memcpy(to_header, from_header, bufsize); in ext2fs_swap_ext_attr()
186 ext2fs_swap_ext_attr_header(to_header, from_header); in ext2fs_swap_ext_attr()
189 to_entry = (struct ext2_ext_attr_entry *)(to_header+1); in ext2fs_swap_ext_attr()
192 to_entry = (struct ext2_ext_attr_entry *)to_header; in ext2fs_swap_ext_attr()