Lines Matching refs:hdr
131 struct ext2_ext_attr_header *hdr,
134 char *buf = (char *)hdr;
135 __u32 old_crc = hdr->h_checksum;
137 hdr->h_checksum = 0;
142 hdr->h_checksum = old_crc;
149 struct ext2_ext_attr_header *hdr)
157 retval = ext2fs_ext_attr_block_csum(fs, inum, block, hdr, &calculated);
161 return ext2fs_le32_to_cpu(hdr->h_checksum) == calculated;
166 struct ext2_ext_attr_header *hdr)
174 retval = ext2fs_ext_attr_block_csum(fs, inum, block, hdr, &crc);
177 hdr->h_checksum = ext2fs_cpu_to_le32(crc);
476 #define EXT3_EXTENT_TAIL_OFFSET(hdr) (sizeof(struct ext3_extent_header) + \
477 (sizeof(struct ext3_extent) * ext2fs_le16_to_cpu((hdr)->eh_max)))