key_test_hash(9)
okay so welcome to the key_test_hash(9) page from the Kernel API Manual, bestie π
β¨ this one is short and sweet and itβs giving βkernel helper that does exactly what it saysβ energy.
π NAME π
key_test_hash β testing hash function. thatβs it, thatβs the name, no cap π«Ά
β¨ SYNOPSIS β¨
hereβs the exact signature, character for character β donβt tweak it, bestie:
uint32_t key_test_hash (const char *str , int len );
π ARGUMENTS π
two args, both lowkey essential:
strβ the direntry name (yes, that exact spelling, bestie) πlenβ the name length, aka how long the name is π
πΈ SEE ALSO πΈ
Kernel file ./fs/ubifs/key.h is the source-file reference, and the whole SEE ALSO squad is literally:
key_mask_hash(9)key_r5_hash(9)ino_key_init(9)ino_key_init_flash(9)lowest_ino_key(9)highest_ino_key(9)dent_key_init(9)dent_key_init_hash(9)dent_key_init_flash(9)lowest_dent_key(9)xent_key_init(9)xent_key_init_flash(9)lowest_xent_key(9)data_key_init(9)highest_data_key(9)trun_key_init(9)invalid_key_init(9)key_type(9)key_type_flash(9)key_inum(9)key_inum_flash(9)key_hash(9)key_hash_flash(9)key_block(9)key_block_flash(9)key_read(9)key_write(9)key_write_idx(9)key_copy(9)keys_cmp(9)keys_eq(9)is_hash_key(9)key_max_inode_size(9)
thatβs the whole page, bestie β source/version footer vibe: ./fs/ubifs, October 2026, page key_test_hash(9) π«Άπ
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms