Lines Matching defs:dirent

105 			       struct ext4_dir_entry *dirent);
131 struct ext4_dir_entry *dirent;
162 dirent = (struct ext4_dir_entry *) bh->b_data;
167 else if (ext4_rec_len_from_disk(dirent->rec_len,
188 if (ext4_dx_csum_verify(inode, dirent) &&
242 * dirent the two low bits of the hash version will be zero. Therefore, the
341 /* Walk through a dirent block to find a checksum "dirent" at the tail */
376 static __le32 ext4_dirblock_csum(struct inode *inode, void *dirent, int size)
382 csum = ext4_chksum(sbi, ei->i_csum_seed, (__u8 *)dirent, size);
443 struct ext4_dir_entry *dirent,
450 unsigned int rlen = ext4_rec_len_from_disk(dirent->rec_len, blocksize);
455 dp = (struct ext4_dir_entry *)(((void *)dirent) + 12);
468 return (struct dx_countlimit *)(((void *)dirent) + count_offset);
471 static __le32 ext4_dx_csum(struct inode *inode, struct ext4_dir_entry *dirent,
482 csum = ext4_chksum(sbi, ei->i_csum_seed, (__u8 *)dirent, size);
490 struct ext4_dir_entry *dirent)
499 c = get_dx_countlimit(inode, dirent, &count_offset);
513 if (t->dt_checksum != ext4_dx_csum(inode, dirent, count_offset,
519 static void ext4_dx_csum_set(struct inode *inode, struct ext4_dir_entry *dirent)
528 c = get_dx_countlimit(inode, dirent, &count_offset);
542 t->dt_checksum = ext4_dx_csum(inode, dirent, count_offset, count, t);
838 "Hash in dirent, but hash is not SIPHASH");
844 "Hash code is SIPHASH, but hash not in dirent");
3913 * setting the new dirent causes a conversion from inline_data to
3914 * extents/blockmap, we need to force the dirent delete code to
3915 * re-read the directory, or else we end up trying to delete a dirent