Lines Matching refs:count_offset
201 int count_offset, max_sane_entries; in __get_dx_countlimit() local
208 count_offset = 8; in __get_dx_countlimit()
218 count_offset = 32; in __get_dx_countlimit()
222 c = (struct ext2_dx_countlimit *)(((char *)dirent) + count_offset); in __get_dx_countlimit()
223 max_sane_entries = (fs->blocksize - count_offset) / in __get_dx_countlimit()
230 *offset = count_offset; in __get_dx_countlimit()
363 __u32 *crc, int count_offset, int count, in ext2fs_dx_csum() argument
372 size = count_offset + (count * sizeof(struct ext2_dx_entry)); in ext2fs_dx_csum()
400 int count_offset, limit, count; in ext2fs_dx_csum_verify() local
402 retval = __get_dx_countlimit(fs, dirent, &c, &count_offset, 1); in ext2fs_dx_csum_verify()
407 if (count_offset + (limit * sizeof(struct ext2_dx_entry)) > in ext2fs_dx_csum_verify()
412 retval = ext2fs_dx_csum(fs, inum, dirent, &calculated, count_offset, in ext2fs_dx_csum_verify()
427 int count_offset, limit, count; in ext2fs_dx_csum_set() local
429 retval = __get_dx_countlimit(fs, dirent, &c, &count_offset, 1); in ext2fs_dx_csum_set()
434 if (count_offset + (limit * sizeof(struct ext2_dx_entry)) > in ext2fs_dx_csum_set()
440 retval = ext2fs_dx_csum(fs, inum, dirent, &crc, count_offset, count, t); in ext2fs_dx_csum_set()