STRUCT OCS_HCU_DMA_LIST(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– NAME πŸ’–

Hiii bestie, welcome to the struct ocs_hcu_dma_list(9) page in the Kernel API Manual! ✨ Ok so the name is struct ocs_hcu_dma_list, and it is an OCS-specific DMA linked list. That's the whole vibe, no cap 🫢.

✨ SYNOPSIS ✨

Here is the struct in all its exact glory, bestie:

       struct ocs_hcu_dma_list {
           struct ocs_hcu_dma_entry        *head;
           struct ocs_hcu_dma_entry        *tail;
           dma_addr_t dma_addr;
           size_t max_nents;
        };

πŸŽ€ Members πŸŽ€

  • head β€” the head of the list; it points to the array backing the list πŸ‘‘.
  • tail β€” the current tail of the list; it is NULL if the list is empty 🌸.
  • dma_addr β€” the DMA address of head (i.e., the DMA address of the backing array) ✨.
  • max_nents β€” maximum number of entries in the list (i.e., the number of elements in the backing array) πŸ”₯.

🌈 Description 🌈

So the OCS DMA list is an array-backed list of OCS DMA descriptors πŸ’…. The array backing the list is allocated with dma_alloc_coherent and pointed by head β€” yes, head is holding that backing-array pointer, main character energy πŸŽ€.

πŸ”₯ SEE ALSO πŸ”₯

Kernel file ./drivers/crypto/intel/keembay/ocs-hcu.c is the spot to peek at, bestie πŸ‘€. Also go say hi to these exact pages:


Signed off from ./drivers/crypto/intel/keembay in October 2026, for struct ocs_hcu_dma_list(9) β€” mwah, love you, bye! πŸ’–πŸ¦‹

πŸ“¦ where this page comes from