STRUCT TMC_PAGES(9)
β¨ struct tmc_pages π (section 9, Kernel API Manual, bestie)
okay so real talk β this is struct tmc_pages, from the Kernel API Manual, section 9, and it's literally just a little cutie container for a Collection of pages used for SG. that's it, that's the whole vibe π
πΈ NAME πΈ
struct tmc_pages β a Collection of pages used for SG. no cap, that's the entire job description π«Ά
π¦ SYNOPSIS π¦
struct tmc_pages {
int nr_pages;
dma_addr_t *daddrs;
struct page **pages;
};
likeβ¦ look at her. three members. main character energy, minimal effort β¨ (yes the indentation on that closing brace is exactly like that, we don't fix what isn't broken π )
π Members π
nr_pagesβ Number of pages in the list. the headcount. the attendance sheet. how many pages we're actually dealing with πdaddrsβ Array of DMA'able page address. (yes, "address" singular, that's what the page says, we are not editing the page, we respect the page π) it's the array of DMA-able page addresses, plural energy, singular spelling π₯pagesβ Array pages for the buffer. the actualstruct page **gang, all lined up for the buffer π§ (and yes, "Array pages" β again, not my words, I'm just the messenger π)
π SEE ALSO π
- Kernel file
./drivers/hwtracing/coresight/coresight-tmc.hβ go read it, iykyk π struct etr_buf(9)struct tmc_drvdata(9)
like genuinely go click through those, they're the whole friend group π
vibe check status: this struct is small, iconic, and passes π
that's the page!! mwah π
source: ./drivers/hwtracing/coresight β dated October 2026 β xoxo, your local kernel girlie, signing off πΈπ¦π
π¦ 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