nx_hcall_sync(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– 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 the op. 🫢
  • 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