STRUCT DMA_CHAN_PERCPU(9)
β¨ struct dma_chan_percpu(9) β¨
okay so bestie, we're in the Kernel API Manual today and the star of the show is struct dma_chan_percpu(9) β literally the per-CPU part of struct dma_chan. yes, that struct dma_chan. it's giving "small but crucial supporting character" energy and honestly? we respect it. π
πΈ NAME πΈ
struct dma_chan_percpu β the per-CPU part of struct dma_chan. no cap, that's the whole pitch. π
β¨ SYNOPSIS β¨
here's the shape of it, verbatim, don't touch anything:
struct dma_chan_percpu {
unsigned long memcpy_count;
unsigned long bytes_transferred;
};
like, that's it. two fields. minimal. iconic. π¦
π Members π
memcpy_countβ the transaction counter. it counts transactions. that's the vibe. π₯bytes_transferredβ the byte counter. it counts bytes. very demure, very mindful. πΈ
π SEE ALSO π
first up, the source file to go look at:
Kernel file ./include/linux/dmaengine.h β and then the whole friend group of related pages, in order:
dma_cookie_t(9)enum dma_status(9)enum dma_transaction_type(9)enum dma_transfer_direction(9)struct data_chunk(9)struct dma_interleaved_template(9)struct dma_vec(9)enum dma_ctrl_flags(9)enum sum_check_bits(9)enum sum_check_flags(9)enum dma_desc_metadata_mode(9)struct dma_router(9)struct dma_chan(9)struct dma_chan_dev(9)enum dma_slave_buswidth(9)struct dma_slave_config(9)enum dma_residue_granularity(9)struct dma_slave_caps(9)dma_filter_fn(9)struct dma_async_tx_descriptor(9)struct dma_tx_state(9)enum dmaengine_alignment(9)struct dma_slave_map(9)struct dma_filter(9)struct dma_device(9)dmaengine_prep_peripheral_dma_vec(9)dmaengine_prep_config_sg_safe(9)dmaengine_prep_config_single_safe(9)dmaengine_prep_dma_memset(9)dmaengine_terminate_all(9)dmaengine_terminate_async(9)dmaengine_synchronize(9)dmaengine_terminate_sync(9)dma_async_issue_pending(9)dma_async_is_tx_complete(9)dma_async_is_complete(9)
like, that's the whole gc right there. go read them, iykyk. πβ¨
and that's the page!! sourced from the kernel file in ./include/linux, dated October 2026, and yes this is struct dma_chan_percpu(9) signing off. mwah π stay slay, stay per-CPU π«Ά
π¦ 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