tb_property_find(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– tb_property_find(9) πŸ’–

okay so bestie, welcome to the Kernel API Manual ✨ β€” today's main character is tb_property_find, and honestly? she's a little lookup queen and i'm obsessed πŸŽ€


🌸 NAME 🌸

tb_property_find β€” find a property from a directory πŸ”πŸ’…

✨ SYNOPSIS ✨

struct tb_property * tb_property_find (struct tb_property_dir *dir ,
const char *key , enum tb_property_type type );

πŸ¦‹ ARGUMENTS πŸ¦‹

  • dir β€” the directory where the property is searched πŸ—‚οΈ like, this is the place she's gonna go digging, yk?
  • key β€” the key to look for πŸ”‘ literally the thing you're hunting down
  • type β€” the type of the property 🏷️ gotta know what flavor we're looking for

πŸ’œ DESCRIPTION πŸ’œ

so the vibe is: she finds and returns a property from the given directory πŸ’– that's it, that's the whole job, and she does it slayfully.

⚠️ but bestie, hear me β€” she does NOT recurse into sub-directories πŸ™ˆ no cap. if it's not right there in dir, it's not her problem. she does not go digging through the subfolders, periodt πŸ’€

⭐ RETURN ⭐

returns a pointer to struct tb_property 🫢 …or NULL if the property was not found 😭 (vibe check: failed, but respectfully)

🌈 SEE ALSO 🌈

kernel file ./drivers/thunderbolt/property.c and the whole friend group, fr fr πŸ‘‘


and that's the whole page, bestie πŸ§šβ€β™€οΈπŸ’– this one lives over in ./drivers/thunderbolt, dated October 2026 β€” so yeah, mark your calendar, she's iconic and she's coming πŸŽ€βœ¨πŸ¦‹πŸ’œ

πŸ“¦ where this page comes from