Lines Matching refs:count_offset
269 int count_offset; in ext2_get_dx_count() local
272 count_offset = 8; in ext2_get_dx_count()
283 count_offset = 32; in ext2_get_dx_count()
288 *offset = count_offset; in ext2_get_dx_count()
290 return ((struct ext2fs_htree_count *)(((char *)ep) + count_offset)); in ext2_get_dx_count()
294 ext2_dx_csum(struct inode *ip, struct ext2fs_direct_2 *ep, int count_offset, in ext2_dx_csum() argument
306 size = count_offset + (count * sizeof(struct ext2fs_htree_entry)); in ext2_dx_csum()
327 int count_offset, limit, count; in ext2_dx_csum_verify() local
329 cp = ext2_get_dx_count(ip, ep, &count_offset); in ext2_dx_csum_verify()
335 if (count_offset + (limit * sizeof(struct ext2fs_htree_entry)) > in ext2_dx_csum_verify()
340 calculated = ext2_dx_csum(ip, ep, count_offset, count, tp); in ext2_dx_csum_verify()
398 int count_offset, limit, count; in ext2_dx_csum_set() local
405 cp = ext2_get_dx_count(ip, ep, &count_offset); in ext2_dx_csum_set()
411 if (count_offset + (limit * sizeof(struct ext2fs_htree_entry)) > in ext2_dx_csum_set()
416 tp->ht_checksum = ext2_dx_csum(ip, ep, count_offset, count, tp); in ext2_dx_csum_set()