Lines Matching refs:to_header
185 void ext2fs_swap_ext_attr_header(struct ext2_ext_attr_header *to_header, in ext2fs_swap_ext_attr_header() argument
190 to_header->h_magic = ext2fs_swab32(from_header->h_magic); in ext2fs_swap_ext_attr_header()
191 to_header->h_blocks = ext2fs_swab32(from_header->h_blocks); in ext2fs_swap_ext_attr_header()
192 to_header->h_refcount = ext2fs_swab32(from_header->h_refcount); in ext2fs_swap_ext_attr_header()
193 to_header->h_hash = ext2fs_swab32(from_header->h_hash); in ext2fs_swap_ext_attr_header()
194 to_header->h_checksum = ext2fs_swab32(from_header->h_checksum); in ext2fs_swap_ext_attr_header()
196 to_header->h_reserved[n] = in ext2fs_swap_ext_attr_header()
213 struct ext2_ext_attr_header *to_header = in ext2fs_swap_ext_attr() local
218 if (to_header != from_header) in ext2fs_swap_ext_attr()
219 memcpy(to_header, from_header, bufsize); in ext2fs_swap_ext_attr()
222 ext2fs_swap_ext_attr_header(to_header, from_header); in ext2fs_swap_ext_attr()
225 to_entry = (struct ext2_ext_attr_entry *)(to_header+1); in ext2fs_swap_ext_attr()
228 to_entry = (struct ext2_ext_attr_entry *)to_header; in ext2fs_swap_ext_attr()