d_find_any_alias(9)
d_find_any_alias(9) π
okay bestie, welcome to the Kernel API Manual entry for d_find_any_alias(9) β it's short, it's sweet, and it's lowkey iconic in the dentry-alias department π¦β¨ not me being obsessed with a tiny kernel function, but here we are π
π NAME π
d_find_any_alias β find any alias for a given inode
β¨ SYNOPSIS β¨
struct dentry * d_find_any_alias (struct inode *inode );
π§ ARGUMENTS π§
inodeβ inode to find an alias for
πΈ DESCRIPTION πΈ
okay so here's the tea, fr fr: if any aliases exist for the given inode, d_find_any_alias takes and returns a reference for one of them. if no aliases exist, it returns NULL. that's the whole plot, bestie β no plot twists, no extra lore ππ
π SEE ALSO π
the kernel file is ./fs/dcache.c, and the whole squad is:
d_drop(9)dentry_kill(9)__move_to_shrink_list(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_invalidate(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)
xoxo, your kernel bestie π«Ά β this page came from ./fs and the date on it is October 2026, and yes, it's still d_find_any_alias(9) szn ππ
β
π¦ 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