nx_hcall_sync(9)
π nx_hcall_sync(9) π
from the Kernel API Manual, bestie β short page, but it still ate. β¨
πΈ NAME πΈ
nx_hcall_sync β make an H_COP_OP hcall for the passed-in op structure. π
π¦ SYNOPSIS π¦
int nx_hcall_sync (struct nx_crypto_ctx *nx_ctx , struct vio_pfo_op *op
, u32 may_sleep );
π ARGUMENTS π
nx_ctxβ the crypto context handle, bestie. that's the main-character handle. πopβ the PFO operation struct to pass in. literally handing over theop. π«Άmay_sleepβ a flag indicating the request can sleep. yes, that's the whole vibe of this flag. π΄β¨
π DESCRIPTION π
okay so it makes the hcall, and it keeps retrying while the hardware is busy. no cap. π₯
if we cannot yield the thread, it limits the number of retries to 10 right here β yes, 10, not a vibe-based guess. ππ
π SEE ALSO π
Kernel file ./drivers/crypto/nx/nx.c β and the whole squad is nx_build_sg_list(9), nx_walk_and_build(9), trim_sg_list(9), nx_build_sg_lists(9), nx_ctx_init(9), nx_of_init(9), nx_register_algs(9), nx_crypto_ctx_init(9), nx_crypto_ctx_exit(9). iykyk π¦π
that's the tea from ./drivers/crypto/nx, October 2026 β mwah, 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