STRUCT MMC_TEST_CARD(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸŽ€ 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 when CONFIG_HIGHMEM is 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