d_invalidate(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… d_invalidate β€” name drop time

okay so bestie, we're in section 9 of the kernel API manual and the star of the show is d_invalidate. say hi πŸ‘‹


🌸 SYNOPSIS

void d_invalidate (struct dentry *dentry );

that's it. that's the whole vibe. ✨


πŸŽ€ ARGUMENTS

  • struct dentry *dentry β€” the dentry you want to invalidate, aka detach, prune and drop. yes all three. it's giving triple threat πŸ’…

πŸ”₯ SEE ALSO

bestie the friend group is huge, brace yourself, we're listing every single one 🫢

d_drop(9), dentry_kill(9), __move_to_shrink_list(9), d_find_any_alias(9), d_find_alias(9), prune_dcache_sb(9), shrink_dcache_sb(9), enum d_walk_ret(9), d_walk(9), path_has_submounts(9), shrink_dcache_tree(9), __d_alloc(9), d_alloc(9), d_alloc_pseudo(9), d_instantiate(9), d_obtain_alias(9), d_obtain_root(9), d_add_ci(9), d_same_name(9), __d_lookup_rcu(9), d_lookup(9), __d_lookup(9), d_hash_and_lookup(9), d_delete(9), d_rehash(9), d_add(9), d_ancestor(9), d_splice_alias(9), is_subdir(9)

and where does all this live? in the kernel file ./fs/dcache.c β€” that's the address, iykyk 🏠

ngl, that's a lot of see-alsos. but every single one is invited to the party, no cap. πŸ’€

that's the whole page bestie, you ate that πŸ“

kisses, this has been the Kernel API Manual, filed under ./fs, dated October 2026. go invalidate something (responsibly) πŸ‘‘πŸ’–

πŸ“¦ where this page comes from