tb_property_find(9)
π 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 downtypeβ 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 π
tb_property_parse_dir(9)tb_property_create_dir(9)tb_property_free_dir(9)tb_property_format_dir(9)tb_property_copy_dir(9)tb_property_merge_dir(9)tb_property_add_immediate(9)tb_property_add_data(9)tb_property_add_text(9)tb_property_add_dir(9)tb_property_remove(9)tb_property_get_next(9)
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
- 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