Lines Matching refs:t
334 struct ext4_dir_entry_tail *t = EXT4_DIRENT_TAIL(bh->b_data, blocksize); in ext4_initialize_dirent_tail() local
336 memset(t, 0, sizeof(struct ext4_dir_entry_tail)); in ext4_initialize_dirent_tail()
337 t->det_rec_len = ext4_rec_len_to_disk( in ext4_initialize_dirent_tail()
339 t->det_reserved_ft = EXT4_FT_DIR_CSUM; in ext4_initialize_dirent_tail()
346 struct ext4_dir_entry_tail *t; in get_dirent_tail() local
362 t = (struct ext4_dir_entry_tail *)d; in get_dirent_tail()
364 t = EXT4_DIRENT_TAIL(bh->b_data, EXT4_BLOCK_SIZE(inode->i_sb)); in get_dirent_tail()
367 if (t->det_reserved_zero1 || in get_dirent_tail()
368 (ext4_rec_len_from_disk(t->det_rec_len, blocksize) != in get_dirent_tail()
370 t->det_reserved_zero2 || in get_dirent_tail()
371 t->det_reserved_ft != EXT4_FT_DIR_CSUM) in get_dirent_tail()
374 return t; in get_dirent_tail()
399 struct ext4_dir_entry_tail *t; in ext4_dirblock_csum_verify() local
404 t = get_dirent_tail(inode, bh); in ext4_dirblock_csum_verify()
405 if (!t) { in ext4_dirblock_csum_verify()
410 if (t->det_checksum != ext4_dirblock_csum(inode, bh->b_data, in ext4_dirblock_csum_verify()
411 (char *)t - bh->b_data)) in ext4_dirblock_csum_verify()
420 struct ext4_dir_entry_tail *t; in ext4_dirblock_csum_set() local
425 t = get_dirent_tail(inode, bh); in ext4_dirblock_csum_set()
426 if (!t) { in ext4_dirblock_csum_set()
431 t->det_checksum = ext4_dirblock_csum(inode, bh->b_data, in ext4_dirblock_csum_set()
432 (char *)t - bh->b_data); in ext4_dirblock_csum_set()
473 int count_offset, int count, struct dx_tail *t) in ext4_dx_csum() argument
484 csum = ext4_chksum(sbi, csum, (__u8 *)t, offset); in ext4_dx_csum()
494 struct dx_tail *t; in ext4_dx_csum_verify() local
512 t = (struct dx_tail *)(((struct dx_entry *)c) + limit); in ext4_dx_csum_verify()
514 if (t->dt_checksum != ext4_dx_csum(inode, dirent, count_offset, in ext4_dx_csum_verify()
515 count, t)) in ext4_dx_csum_verify()
523 struct dx_tail *t; in ext4_dx_csum_set() local
541 t = (struct dx_tail *)(((struct dx_entry *)c) + limit); in ext4_dx_csum_set()
543 t->dt_checksum = ext4_dx_csum(inode, dirent, count_offset, count, t); in ext4_dx_csum_set()