STRUCT MMC_TEST_CARD(9)
π NAME π
struct mmc_test_card β ok so this is literally just test information, that's the whole vibe bestie β¨
π SYNOPSIS π
no cap, here's the whole struct, character for character, don't @ me:
struct mmc_test_card {
struct mmc_card *card;
u8 scratch[BUFFER_SIZE];
#ifdef CONFIG_HIGHMEM;
struct page *highmem;
#endif;
struct mmc_test_area area;
struct mmc_test_general_result *gr;
u8 buffer[];
};
likeβ¦ she's giving main character energy, she's giving flexible array member at the end π«Ά
π¦ Members π¦
cardβ the card under test. the lil guy we're putting through it fr fr πscratchβ transfer buffer. yes queen, do your scratch work πΈhighmemβ buffer for highmem tests. only shows up whenCONFIG_HIGHMEMis in the building, iykyk πareaβ information for performance tests. this is where the speedrun data lives π₯grβ pointer to results of current testcase. like, pointer, get it? ok I'll stop πbufferβ transfer buffer. another one. we love a transfer buffer, we stay hydrated π§
π SEE ALSO π
Kernel file ./drivers/mmc/core/mmc_test.c β and honestly the whole friend group is here:
struct mmc_test_pages(9)struct mmc_test_mem(9)struct mmc_test_area(9)struct mmc_test_transfer_result(9)struct mmc_test_general_result(9)struct mmc_test_dbgfs_file(9)
go read them all, bestie, it's giving study group πβ¨
ngl this whole thing lives in ./drivers/mmc/core and the page is dated October 2026 β that's the sign-off, mwah, periodt π π π§
π¦ 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