Lines Matching refs:to_header
188 void ext2fs_swap_ext_attr_header(struct ext2_ext_attr_header *to_header, in ext2fs_swap_ext_attr_header() argument
193 to_header->h_magic = ext2fs_swab32(from_header->h_magic); in ext2fs_swap_ext_attr_header()
194 to_header->h_blocks = ext2fs_swab32(from_header->h_blocks); in ext2fs_swap_ext_attr_header()
195 to_header->h_refcount = ext2fs_swab32(from_header->h_refcount); in ext2fs_swap_ext_attr_header()
196 to_header->h_hash = ext2fs_swab32(from_header->h_hash); in ext2fs_swap_ext_attr_header()
197 to_header->h_checksum = ext2fs_swab32(from_header->h_checksum); in ext2fs_swap_ext_attr_header()
199 to_header->h_reserved[n] = in ext2fs_swap_ext_attr_header()
216 struct ext2_ext_attr_header *to_header = in ext2fs_swap_ext_attr() local
221 if (to_header != from_header) in ext2fs_swap_ext_attr()
222 memcpy(to_header, from_header, bufsize); in ext2fs_swap_ext_attr()
225 ext2fs_swap_ext_attr_header(to_header, from_header); in ext2fs_swap_ext_attr()
228 to_entry = (struct ext2_ext_attr_entry *)(to_header+1); in ext2fs_swap_ext_attr()
231 to_entry = (struct ext2_ext_attr_entry *)to_header; in ext2fs_swap_ext_attr()