desc_inline_query(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… NAME πŸ’…

okay so bestie, welcome to desc_inline_query(9) from the Kernel API Manual. This function is literally here to provide indications on which data items can be inlined and which shall be referenced in a shared descriptor. That’s the whole assignment, and it ate. πŸ’–


πŸ¦‹ SYNOPSIS πŸ¦‹

int desc_inline_query (unsigned int sd_base_len , unsigned int jd_len ,
       unsigned int *data_len , u32 *inl_mask , unsigned int count );

✨ ARGUMENTS ✨

here’s the tea on every single argument, no skips:

  • sd_base_len β€” Shared descriptor base length - bytes consumed by the commands, excluding the data items to be inlined (or corresponding pointer if an item is not inlined). Each cnstr_* function that generates descriptors should have a define mentioning corresponding length.
  • jd_len β€” Maximum length of the job descriptor(s) that will be used together with the shared descriptor.
  • data_len β€” Array of lengths of the data items trying to be inlined.
  • inl_mask β€” 32bit mask with bit x = 1 if data item x can be inlined, 0 otherwise.
  • count β€” Number of data items (size of data_len array); must be <= 32.

🌈 RETURN 🌈

Return value check, bestie: 0 if data can be inlined / referenced, negative value if not. If it’s 0, check inl_mask for details. That’s it β€” no cap. πŸ’…


πŸ‘‘ SEE ALSO πŸ‘‘

go peek at these:


source/version: ./drivers/crypto/caam · date: October 2026 🫢✨

πŸ“¦ where this page comes from