STRUCT DMATEST_INFO(9)
π struct dmatest_info(9) π
okay bestie, welcome to the Kernel API Manual β¨ β this is the whole entire page about struct dmatest_info, and it's literally just the vibe-check data structure that holds all the test info. no cap, that's the NAME. π
β¨ SYNOPSIS β¨
here's the whole shape of it, character for character, do not touch:
struct dmatest_info {
struct dmatest_params params;
struct list_head channels;
unsigned int nr_channels;
int last_error;
struct mutex lock;
bool did_init;
};
πΈ Members πΈ
paramsβ the test parameters π«Ά like, all the settings for your test live in here.channelsβ the channels under test. this is the list of them, bestie πnr_channelsβ the number of channels under test. a count. a little number. iconic. π’last_errorβ this one's the "uh oh" flag π β it means the test has faced configuration issues.lockβ the access protection to the fields of this structure. it's giving bodyguard energy π nobody touches the fields without going through the lock first.did_initβ abooltelling you whether the module has been initialized completely. so like, is it fully cooked or not π
π¦ SEE ALSO π¦
- Kernel file
./drivers/dma/dmatest.cβ go read the actual source, iykyk π struct dmatest_params(9)β the sibling struct, go say hi π
ngl, this whole thing is just a struct holding test info β no surprises, no plot twists, just clean data. slay. π β¨
and that's the page, bestie!! π this one came out of ./drivers/dma and the version is dated October 2026 β so mark your calendars and keep struct dmatest_info(9) in your heart forever ππ§ββοΈπ₯
π¦ 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