Lines Matching refs:to_header
154 void ext2fs_swap_ext_attr_header(struct ext2_ext_attr_header *to_header,
159 to_header->h_magic = ext2fs_swab32(from_header->h_magic);
160 to_header->h_blocks = ext2fs_swab32(from_header->h_blocks);
161 to_header->h_refcount = ext2fs_swab32(from_header->h_refcount);
162 to_header->h_hash = ext2fs_swab32(from_header->h_hash);
163 to_header->h_checksum = ext2fs_swab32(from_header->h_checksum);
165 to_header->h_reserved[n] =
182 struct ext2_ext_attr_header *to_header =
187 if (to_header != from_header)
188 memcpy(to_header, from_header, bufsize);
191 ext2fs_swap_ext_attr_header(to_header, from_header);
194 to_entry = (struct ext2_ext_attr_entry *)(to_header+1);
197 to_entry = (struct ext2_ext_attr_entry *)to_header;