dfs_cache_get_tgt_referral(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… dfs_cache_get_tgt_referral(9) β€” Kernel API Manual core ✨

okay so bestie, welcome to the dfs_cache_get_tgt_referral(9) page β€” yes that's the whole name, it's long, it's giving "my parents gave me all the family names" energy, but we love her πŸ’– this is a Kernel API Manual entry and honestly? iconic.


πŸŽ€ NAME πŸŽ€

dfs_cache_get_tgt_referral β€” returns a DFS referral (@ref) from a given target iterator (@it). that's it, that's the whole job. she's focused, she's employed, she slays 🫢


✨ SYNOPSIS ✨

int dfs_cache_get_tgt_referral (const char *path , const struct
dfs_cache_tgt_iterator *it , struct dfs_info3_param *ref );

look at her. three params. no notes. πŸ”₯


πŸ¦‹ ARGUMENTS πŸ¦‹

  • path β€” the canonical DFS path to look up in the DFS referral cache. like, the address of the thing, but make it canonical πŸ’…
  • it β€” your DFS target iterator. the little iterator bestie doing the walking πŸšΆβ€β™€οΈ
  • ref β€” DFS referral pointer, and this is the one you're setting up with all the gathered info. it's the main character here, we're filling her in πŸ‘‘

🌸 DESCRIPTION 🌸

so here's the tea: return zero if the DFS referral was set up correctly 😌 otherwise you get a non-zero return, which is the kernel's way of saying "not today, babe" πŸ˜­πŸ’€

fr fr, zero = good vibes only, non-zero = something went sideways. no cap.

🌈 SEE ALSO 🌈

the whole friend group, honestly. go read them, iykyk πŸ’œ


and that's the page! shoutout to ./fs/smb/client for housing all of this, stamped October 2026, filed forever under dfs_cache_get_tgt_referral(9) β€” bestie is literally in the kernel manual, we stan a documented function πŸ§šβ­πŸ‘‘

πŸ“¦ where this page comes from