ENUM SUM_CHECK_FLAGS(9)
π enum sum_check_flags (9) β Kernel API Manual, bestie edition π
okay so picture this: you're deep in the kernel, in the Kernel API Manual, and you stumble on enum sum_check_flags. it's giving "small but iconic" β¨ and she is literally the result of async_{xor,pq}_zero_sum operations. no cap. let's get into it π«Ά
πΈ NAME πΈ
enum sum_check_flags β the result of async_{xor,pq}_zero_sum operations, bestie π
@SUM_CHECK_P_RESULTβ1if xor zero sum error,0otherwise@SUM_CHECK_Q_RESULTβ1if reed-solomon zero sum error,0otherwise
like, she's just flags. two of them. but she's doing the most for error checking π
β¨ SYNOPSIS β¨
enum sum_check_flags {
SUM_CHECK_P_RESULT ,
SUM_CHECK_Q_RESULT
};
yes bestie, that trailing blank line inside the braces is canon, we don't question the source π
π¦ Constants π¦
SUM_CHECK_P_RESULTβ so the manual literally says-- undescribed --π which is the kernel-doc way of saying "the docs are on lunch break". no extra description in the source, so we are NOT inventing one. iykyk πSUM_CHECK_Q_RESULTβ same vibe, also-- undescribed --π«Ά the name is all we've got and honestly? she ate with that name.
ngl, an empty description is not a vibe check fail, it's just the original keeping secrets. we stay faithful π
π SEE ALSO π
soooo many siblings, she's from a huge family π§ the kernel file lives at ./include/linux/dmaengine.h and here's the whole group chat, exactly as listed:
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 dma_desc_metadata_mode(9)struct dma_chan_percpu(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)
no seriously, scroll back up, all thirty-six of them are there, i did not skip a single one, that would be so not slay π
and that's the whole page, bestie! short, sweet, two flags and a whole extended family. mwah π
this iconic little page lives in ./include/linux and the version stamped on it is October 2026, footer girlies rise β enum sum_check_flags(9) 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