STRUCT _TR_LIST(9)
π struct _tr_list(9) π
okay so bestie, welcome to the Kernel API Manual page for struct _tr_list(9) β yes that's the full title, yes it's a whole page for one little struct, and yes we're gonna read it together. It's the target reset list, and it lives its best life in the kernel. Let's get into it β¨
πΈ NAME πΈ
struct _tr_list β the target reset list</η΄«θ²>... no wait, target reset list. periodt. That's the whole name section, she's short and she knows it π
π SYNOPSIS π
here's the actual shape of her, copy it exactly okay, don't be weird about it:
struct _tr_list {
struct list_head list;
u16 handle;
u16 state;
};
three members, no cap. she's compact, she's iconic, she's giving "small struct, big responsibilities" π¦
β¨ Members β¨
okay so this is the part where the page tells you what each field is. and it does! mostly! π
handleβ the device handle. that's it, that's the description. short queen energy πstateβ the state machine. yes, literally "state machine". the manpage said what it said and we respect it π«Ά
also<pink>list</pink>is sitting right there at the top of the struct as astruct list_head, and the page lists her in the synopsis but doesn't hand her a Members blurb. ngl, we're not gonna invent one β the docs didn't say, and we don't make stuff up here π
π SEE ALSO π
okay this is the part where the page goes FULL group-chat tag-all situation. like, everyone's invited. strap in bestie, this is the whole list, all of it, no skipping π
the kernel file: ./drivers/scsi/mpt3sas/mpt3sas_base.h β that's where she lives π
and then, deep breath:
struct MPT3SAS_TARGET(9)struct MPT3SAS_DEVICE(9)struct _internal_cmd(9)struct _sas_device(9)pcie_device_get(9)pcie_device_free(9)pcie_device_put(9)struct _boot_device(9)struct _sas_port(9)struct _sas_phy(9)struct _sas_node(9)struct _enclosure_node(9)enum reset_type(9)struct pcie_sg_list(9)struct chain_tracker(9)struct scsiio_tracker(9)struct request_tracker(9)struct _sc_list(9)struct _event_ack_list(9)struct adapter_reply_queue(9)struct io_uring_poll_queue(9)struct virtual_phy(9)struct hba_port(9)struct htb_rel_query(9)struct MPT3SAS_ADAPTER(9)
that's twenty-six references, i counted, my eyes are watering, and honestly? slay for having that many friends ππ
π§ sign-off π§
this masterpiece of documentation comes to you from ./drivers/scsi/mpt3sas, dated October 2026 β yes, the future, she's ahead of her time β and it's all wrapped up under the struct _tr_list(9) banner. go read a struct, bestie, you got this π₯π
π¦ 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