dent_key_init_flash(9)
π dent_key_init_flash(9) β like, the whole manual, but make it make sense
okay so bestie, welcome to the Kernel API Manual β¨ this one's about dent_key_init_flash, and it is exactly what it sounds like: you're setting up a directory-entry key so it lives happily on flash. short page, but we're gonna give it the energy it deserves π
β¨ NAME β¨
dent_key_init_flash β initialize on-flash directory entry key.
like, that's it. that's the whole job. she initializes the on-flash directory entry key and she does it flawlessly π
πΈ SYNOPSIS πΈ
void dent_key_init_flash (const struct ubifs_info *c , void *k , ino_t
inum , const struct fscrypt_name *nm );
void return, no cap β she doesn't hand anything back, she just does the thing and dips π¦
π¦ ARGUMENTS π¦
four of them, all iconic, all necessary:
cβ the UBIFS file-system description object. your whole context, your main character, the file system herself πkβ the key you're initializing. yes this is the one getting the makeover β¨inumβ the parent inode number. it's giving "who's your mom" energy, but make it filesystem πΈnmβ the direntry name and length. the name, the length, the whole package π
π₯ SEE ALSO π₯
okay so the source of truth here is the kernel file ./fs/ubifs/key.h, and she has so many friends. like a whole group chat. the entire key squad, fr fr:
key_mask_hash(9)key_r5_hash(9)key_test_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)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 thirty-three besties. thirty-three. she's popular π iykyk
ngl bestie, read the whole key.h family before you go poking at keys β they're all lowkey interconnected and you don't wanna be the one who skipped the lore π
and that's the page!! ty for coming to my ted talk π«Ά
this gem lives over in ./fs/ubifs, and the version notes say October 2026 β so yeah, mark your calendar, she's dated, she's official, she's dent_key_init_flash(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