Lines Matching defs:crc_offset
49 __le32 crc_offset;
265 unsigned int crc_offset;
278 crc_offset = offsetof(struct hmdfs_cache_file_head, crc32);
279 head->crc_offset = cpu_to_le32(crc_offset);
280 head->crc32 = cpu_to_le32(crc32(0, head, crc_offset));
1099 unsigned int crc, read_crc, crc_offset;
1112 crc_offset = le32_to_cpu(head->crc_offset);
1113 read_crc = le32_to_cpu(*((__le32 *)((char *)head + crc_offset)));
1114 crc = crc32(0, head, crc_offset);
1193 read_size = offsetof(struct hmdfs_cache_file_head, crc_offset) +
1194 sizeof(head.crc_offset);
1202 head_crc_offset = le32_to_cpu(head.crc_offset);
1206 hmdfs_err("peer 0x%x:0x%llx ino 0x%llx got bad head: Too long crc_offset %u which exceeds head size %u",
1214 read_size = le32_to_cpu(head.crc_offset) + sizeof(head.crc32);