async_xor_val_offs(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… async_xor_val_offs(9) β€” Kernel API Manual, but make it cute πŸ’…

okay so welcome to the Kernel API Manual page for async_xor_val_offs(9). The mission? Attempt a xor parity check with a dma engine. That's the vibe, bestie. ✨


🌸 NAME 🌸

async_xor_val_offs β€” attempt a xor parity check with a dma engine. That's the whole assignment, no cap. πŸ’–

✨ SYNOPSIS ✨

struct dma_async_tx_descriptor * async_xor_val_offs (struct page *dest ,
unsigned int offset , struct page **src_list , unsigned int *src_offs ,
int src_cnt , size_t len , enum sum_check_flags *result , struct
async_submit_ctl *submit );

πŸŽ€ ARGUMENTS πŸŽ€

  • dest β€” destination page used if the xor is performed synchronously. 🫢
  • offset β€” des offset in pages to start transaction. Yes, the page says "des" β€” we're keeping it exactly as-is, iykyk. πŸ’…
  • src_list β€” array of source pages.
  • src_offs β€” array of source pages offset; NULL means common src/det offset. That's "src/det" exactly, bestie. 🧚
  • src_cnt β€” number of source pages.
  • len β€” length in bytes.
  • result β€” 0 if sum == 0 else non-zero. Iconic little conditional. 🌈
  • submit β€” submission / completion modifiers.

πŸ¦‹ DESCRIPTION πŸ¦‹

Honored flags: ASYNC_TX_ACK. That's the one that gets the crown. πŸ‘‘

src_list note, bestie: 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. πŸ‘€

πŸ”₯ SEE ALSO πŸ”₯

Kernel file ./crypto/async_tx/async_xor.c, plus async_xor_offs(9) and async_xor(9). Go read those next, they're in the same friend group. πŸ’œ


Signed off from ./crypto/async_tx, October 2026 edition β€” mwah πŸ’‹βœ¨

πŸ“¦ where this page comes from