hsi_alloc_controller(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

hsi_alloc_controller(9) πŸ’…βœ¨

πŸŽ€ NAME πŸŽ€

From the Kernel API Manual, bestie: hsi_alloc_controller - Allocate an HSI controller and its ports πŸ’–

🌸 SYNOPSIS 🌸

struct hsi_controller * hsi_alloc_controller (unsigned int n_ports ,
gfp_t flags );

πŸ¦‹ ARGUMENTS πŸ¦‹

  • n_ports β€” Number of ports on the HSI controller. Like, how many ports are we giving this controller? πŸ”₯
  • flags β€” Kernel allocation flags. The allocation flags, but make it kernel ✨

πŸ’œ DESCRIPTION πŸ’œ

Return NULL on failure or a pointer to an hsi_controller on success. So if it flops, you get NULL; if it slays, you get the pointer. No cap πŸ’…

🌈 SEE ALSO 🌈

Okay so the whole friend group is here, plus the kernel file:


xoxo, source ./drivers/hsi Β· dated October 2026 Β· page hsi_alloc_controller(9) πŸŽ€

πŸ“¦ where this page comes from