Lines Matching defs:root

447 	struct dx_root_info *root;
458 root = (struct dx_root_info *)(((void *)dp + 12));
459 if (root->reserved_zero ||
460 root->info_length != sizeof(struct dx_root_info))
814 struct dx_root *root;
826 root = (struct dx_root *) frame->bh->b_data;
827 if (root->info.hash_version != DX_HASH_TEA &&
828 root->info.hash_version != DX_HASH_HALF_MD4 &&
829 root->info.hash_version != DX_HASH_LEGACY &&
830 root->info.hash_version != DX_HASH_SIPHASH) {
832 root->info.hash_version);
836 if (root->info.hash_version != DX_HASH_SIPHASH) {
842 if (root->info.hash_version == DX_HASH_SIPHASH) {
850 hinfo->hash_version = root->info.hash_version;
866 if (root->info.unused_flags & 1) {
868 root->info.unused_flags);
872 indirect = root->info.indirect_levels;
885 entries = (struct dx_entry *)(((char *)&root->info) +
886 root->info.info_length);
889 root->info.info_length)) {
890 ext4_warning_inode(dir, "dx entry: limit %u != root limit %u",
892 dx_root_limit(dir, root->info.info_length));
2230 struct dx_root *root;
2255 root = (struct dx_root *) bh->b_data;
2257 /* The 0th block becomes the root, move the dirents out */
2258 fde = &root->dotdot;
2261 if ((char *) de >= (((char *) root) + blocksize)) {
2266 len = ((char *) root) + (blocksize - csum_size) - (char *) de;
2297 /* Initialize the root; the dot dirents already exist */
2298 de = (struct ext4_dir_entry_2 *) (&root->dotdot);
2301 memset (&root->info, 0, sizeof(root->info));
2302 root->info.info_length = sizeof(root->info);
2304 root->info.hash_version = DX_HASH_SIPHASH;
2306 root->info.hash_version =
2309 entries = root->entries;
2312 dx_set_limit(entries, dx_root_limit(dir, sizeof(root->info)));
2315 fname->hinfo.hash_version = root->info.hash_version;
2581 BUFFER_TRACE(frame->bh, "get_write_access"); /* index root */
2622 /* Set up root */
3913 * from what is now the extent tree root (or a block map).