desc_inline_query(9)
π 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). Eachcnstr_*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 ofdata_lenarray); 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:
- Kernel file
./drivers/crypto/caam/desc_constr.h struct alginfo(9)append_proto_dkp(9)
source/version: ./drivers/crypto/caam Β· 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