Lines Matching refs:hash
2 * htree.c --- hash tree routines
43 ext2_dirhash_t hash, minor_hash;
89 &hash, &minor_hash);
92 "while calculating hash");
94 dirent->inode, hash, minor_hash, rec_len, name);
122 int hash, i;
133 hash = i ? ext2fs_le32_to_cpu(ent[i].hash) : 0;
134 fprintf(pager, "Entry #%d: Hash 0x%08x%s, block %u\n", i,
135 hash, (hash & 1) ? " (**)" : "",
142 e.hash = ext2fs_le32_to_cpu(ent[i].hash);
144 fprintf(pager, "Entry #%d: Hash 0x%08x, block %u\n", i,
145 i ? e.hash : 0, e.block);
222 com_err(argv[0], 0, "Not a hash-indexed directory");
250 fprintf(pager, "\t Hash Version: %d\n", rootnode->hash_version);
267 * This function prints the hash of a given file.
271 ext2_dirhash_t hash, minor_hash;
305 hash_seed, &hash, &minor_hash);
307 com_err(argv[0], err, "while caclulating hash");
310 printf("Hash of %s is 0x%0x (minor 0x%0x)\n", argv[optind],
311 hash, minor_hash);
316 * large hash tree directories that have lost some blocks from the