tb_property_parse_dir(9)
β¨ NAME β¨
tb_property_parse_dir β parses properties from given property block.
okay so this is the tb_property_parse_dir(9) manual page, bestie. It's giving kernel API manual energy, and the whole vibe is parsing properties from a property block. no cap. π
πΈ SYNOPSIS πΈ
struct tb_property_dir * tb_property_parse_dir (const u32 *block ,
size_t block_len );
π ARGUMENTS π
blockβ the property block to parse. that's the main character input right there. πblock_lenβ the number of dword elements in the property block. yes, dword elements. literally. π
π¦ DESCRIPTION π¦
okay so the tea is: this function parses the XDomain properties data block into format that can be traversed using the helper functions provided by this module. β¨
The resulting struct tb_property_dir needs to be released by calling tb_property_free_dir when it's not needed anymore. bestie, don't just leave it sitting there β free it when you're done. π«Ά
π¨ also important: the block is expected to be root directory. that's the assignment. periodt.
π₯ RETURN π₯
Pointer to struct tb_property_dir, NULL in case of failure. lowkey simple, highkey important. πβ¨
π SEE ALSO π
Kernel file ./drivers/thunderbolt/property.c:
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_find(9)tb_property_get_next(9)
mwah π β this page comes from ./drivers/thunderbolt, it's dated October 2026, and it's the tb_property_parse_dir(9) manual page. bye bestie, go parse those properties π«Άπ
π¦ 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