Lines Matching defs:crc_offset
49 __le32 crc_offset;
255 unsigned int crc_offset;
268 crc_offset = offsetof(struct hmdfs_cache_file_head, crc32);
269 head->crc_offset = cpu_to_le32(crc_offset);
270 head->crc32 = cpu_to_le32(crc32(0, head, crc_offset));
1089 unsigned int crc, read_crc, crc_offset;
1102 crc_offset = le32_to_cpu(head->crc_offset);
1103 read_crc = le32_to_cpu(*((__le32 *)((char *)head + crc_offset)));
1104 crc = crc32(0, head, crc_offset);
1183 read_size = offsetof(struct hmdfs_cache_file_head, crc_offset) +
1184 sizeof(head.crc_offset);
1192 head_crc_offset = le32_to_cpu(head.crc_offset);
1196 hmdfs_err("peer 0x%x:0x%llx ino 0x%llx got bad head: Too long crc_offset %u which exceeds head size %u",
1204 read_size = le32_to_cpu(head.crc_offset) + sizeof(head.crc32);