STRUCT MMC_TEST_AREA(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– struct mmc_test_area(9) πŸ’–

okay so welcome to the Kernel API Manual, bestie! today's main character is struct mmc_test_area(9), and it is literally the information situation for performance tests. no cap, it's giving structured test-area details with main character energy πŸŽ€βœ¨

🌸 NAME 🌸

struct mmc_test_area β€” information for performance tests. that's the name line, and it's lowkey iconic: this struct is the info holder for performance tests πŸ’…

✨ SYNOPSIS ✨

okay so here's the struct in all its exact glory β€” do not come for the spacing, it's copied with love:

struct mmc_test_area {
    unsigned long max_sz;
    unsigned int dev_addr;
    unsigned int max_tfr;
    unsigned int max_segs;
    unsigned int max_seg_sz;
    unsigned int blocks;
    unsigned int sg_len;
    struct mmc_test_mem *mem;
    struct scatterlist *sg;
    struct scatterlist *sg_areq;
 };

πŸ’… Members πŸ’…

the member breakdown, and no skipping, bestie β€” every single one is here:

  • max_sz β€” test area size (in bytes). yes, bytes, bestie, keep up πŸ’–
  • dev_addr β€” address on card at which to do performance tests πŸŽ€
  • max_tfr β€” maximum transfer size allowed by driver (in bytes) ✨
  • max_segs β€” maximum segments allowed by driver in scatterlist sg πŸ¦‹
  • max_seg_sz β€” maximum segment size allowed by driver 🌸
  • blocks β€” number of (512 byte) blocks currently mapped by sg πŸ’…
  • sg_len β€” length of currently mapped scatterlist sg 🫢
  • mem β€” allocated memory 😭
  • sg β€” scatterlist πŸ”₯
  • sg_areq β€” scatterlist for non-blocking request πŸ‘‘

🌈 SEE ALSO 🌈

the see-also crew is giving linked-list energy, and every one is invited:

  • Kernel file ./drivers/mmc/core/mmc_test.c
  • struct mmc_test_pages(9)
  • struct mmc_test_mem(9)
  • struct mmc_test_transfer_result(9)
  • struct mmc_test_general_result(9)
  • struct mmc_test_dbgfs_file(9)
  • struct mmc_test_card(9)

and that's a wrap, bestie 🫢 this page is from the ./drivers/mmc/core source, dated October 2026, and it's the struct mmc_test_area(9) page. go off and read it again if you need, mwah πŸ’–βœ¨πŸŽ€

πŸ“¦ where this page comes from