Lines Matching refs:count_offset
270 int count_offset; in ext2_get_dx_count() local
273 count_offset = 8; in ext2_get_dx_count()
284 count_offset = 32; in ext2_get_dx_count()
289 *offset = count_offset; in ext2_get_dx_count()
291 return ((struct ext2fs_htree_count *)(((char *)ep) + count_offset)); in ext2_get_dx_count()
295 ext2_dx_csum(struct inode *ip, struct ext2fs_direct_2 *ep, int count_offset, in ext2_dx_csum() argument
307 size = count_offset + (count * sizeof(struct ext2fs_htree_entry)); in ext2_dx_csum()
328 int count_offset, limit, count; in ext2_dx_csum_verify() local
330 cp = ext2_get_dx_count(ip, ep, &count_offset); in ext2_dx_csum_verify()
336 if (count_offset + (limit * sizeof(struct ext2fs_htree_entry)) > in ext2_dx_csum_verify()
341 calculated = ext2_dx_csum(ip, ep, count_offset, count, tp); in ext2_dx_csum_verify()
399 int count_offset, limit, count; in ext2_dx_csum_set() local
406 cp = ext2_get_dx_count(ip, ep, &count_offset); in ext2_dx_csum_set()
412 if (count_offset + (limit * sizeof(struct ext2fs_htree_entry)) > in ext2_dx_csum_set()
417 tp->ht_checksum = ext2_dx_csum(ip, ep, count_offset, count, tp); in ext2_dx_csum_set()