Lines Matching refs:count_offset
263 int count_offset; in ext2_get_dx_count() local
266 count_offset = 8; in ext2_get_dx_count()
277 count_offset = 32; in ext2_get_dx_count()
282 *offset = count_offset; in ext2_get_dx_count()
284 return ((struct ext2fs_htree_count *)(((char *)ep) + count_offset)); in ext2_get_dx_count()
288 ext2_dx_csum(struct inode *ip, struct ext2fs_direct_2 *ep, int count_offset, in ext2_dx_csum() argument
300 size = count_offset + (count * sizeof(struct ext2fs_htree_entry)); in ext2_dx_csum()
321 int count_offset, limit, count; in ext2_dx_csum_verify() local
323 cp = ext2_get_dx_count(ip, ep, &count_offset); in ext2_dx_csum_verify()
329 if (count_offset + (limit * sizeof(struct ext2fs_htree_entry)) > in ext2_dx_csum_verify()
334 calculated = ext2_dx_csum(ip, ep, count_offset, count, tp); in ext2_dx_csum_verify()
392 int count_offset, limit, count; in ext2_dx_csum_set() local
399 cp = ext2_get_dx_count(ip, ep, &count_offset); in ext2_dx_csum_set()
405 if (count_offset + (limit * sizeof(struct ext2fs_htree_entry)) > in ext2_dx_csum_set()
410 tp->ht_checksum = ext2_dx_csum(ip, ep, count_offset, count, tp); in ext2_dx_csum_set()