Lines Matching defs:hash
332 * cache directory entries for readdir and for resolving hash collisions. The
417 * (in it is there) or from the hash media, in which case the node is also
515 err = ubifs_node_check_hash(c, buf, zbr->hash);
517 ubifs_bad_hash(c, buf, zbr->hash, lnum, offs);
1746 err = ubifs_node_check_hash(c, buf, zbr->hash);
1748 ubifs_bad_hash(c, buf, zbr->hash, zbr->lnum, zbr->offs);
1840 * This function looks up and reads a node which contains name hash in the key.
1841 * Since the hash may have collisions, there may be many nodes with the same
1888 * This function looks up and reads a node which contains name hash in the key.
1889 * Since the hash may have collisions, there may be many nodes with the same
1913 * Unluckily, there are hash collisions and we have to iterate over
1914 * them look at each direntry with colliding name hash sequentially.
1990 * This function looks up and reads a node which contains name hash in the key.
1991 * Since the hash may have collisions, there may be many nodes with the same
2018 * Unluckily, there are hash collisions and we have to iterate over
2019 * them look at each direntry with colliding name hash sequentially.
2305 * @hash: The hash over the node
2312 int offs, int len, const u8 *hash)
2327 ubifs_copy_hash(c, hash, zbr.hash);
2338 ubifs_copy_hash(c, hash, zbr->hash);
2440 * @hash: The hash over the node
2447 int lnum, int offs, int len, const u8 *hash,
2490 ubifs_copy_hash(c, hash, zbr->hash);
2502 ubifs_copy_hash(c, hash, zbr.hash);
2759 /* If the cookie does not match, we're facing a hash collision. */