peci_request_alloc(9)
β¨ peci_request_alloc(9) β¨
okay so bestie, this one is from the Kernel API Manual, and it's literally the glow-up guide for allocating a &struct peci_requests. very demure, very kernel-coded π
πΈ NAME πΈ
peci_request_alloc β allocate &struct peci_requests
π¦ SYNOPSIS π¦
struct peci_request * peci_request_alloc (struct peci_device *device ,
u8 tx_len , u8 rx_len );
π ARGUMENTS π
deviceβ the PECI device that this request is going to be sent to, no cap π«Άtx_lenβ TX length, periodtrx_lenβ RX length, also periodt β¨
π RETURN π
On success? You get a pointer to a newly allocated struct peci_request, slay. Otherwise? It's NULL. π
π₯ SEE ALSO π₯
Kernel file ./drivers/peci/request.c, plus peci_request_status(9) and peci_request_free(9) β go read those too, iykyk π
that's the tea from ./drivers/peci, October 2026 β mwah, bye bestie ππ
π¦ 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