async_xor_offs(9)
β¨ async_xor_offs(9) β¨
okay so bestie, this is the kernel API manual page for async_xor_offs(9) β it's giving βxor a bunch of blocks with a dma engineβ energy, and tbh the details matter fr fr π
NAME
async_xor_offsβ attempt to xor a set of blocks with a dma engine.
SYNOPSIS
struct dma_async_tx_descriptor * async_xor_offs (struct page *dest ,
unsigned int offset , struct page **src_list , unsigned int *src_offs ,
int src_cnt , size_t len , struct async_submit_ctl *submit );
ARGUMENTS
destβ destination pageoffsetβ dst offset to start transactionsrc_listβ array of source pagessrc_offsβ array of source pages offset,NULLmeans common src/dst offsetsrc_cntβ number of source pageslenβ length in bytessubmitβ submission / completion modifiers
DESCRIPTION
the honored flags are ASYNC_TX_ACK, ASYNC_TX_XOR_ZERO_DST, and ASYNC_TX_XOR_DROP_DST β iconic, no cap β¨
xor_gen always uses the dest as a source, so the ASYNC_TX_XOR_ZERO_DST flag must be set to not include dest data in the calculation. the assumption with dma engines is that they only use the destination buffer as a source when it is explicitly specified in the source list. lowkey important, bestie.
src_list note: if the dest is also a source it must be at index zero. the contents of this array will be overwritten if a scribble region is not specified. periodt.
SEE ALSO
- Kernel file
./crypto/async_tx/async_xor.casync_xor(9),async_xor_val_offs(9)
mwah π β source/version: ./crypto/async_tx, date: October 2026.
π¦ 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