phy_port_alloc(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… phy_port_alloc(9) πŸ’…

okay so bestie, you're in the Kernel API Manual and this is the page for phy_port_alloc(9). she's the one who allocates a new phy_port for you. no cap. πŸ’–


🌸 NAME 🌸

phy_port_alloc β€” allocate a new phy_port. that's it, that's the errand. ✨

πŸ¦‹ SYNOPSIS πŸ¦‹

here's the exact signature, bestie β€” copy it character for character:

struct phy_port * phy_port_alloc (void );

πŸŽ€ ARGUMENTS πŸŽ€

  • void β€” no arguments. literally none. the void is voiding. 🫢

⭐ RETURN ⭐

she returns a newly allocated struct phy_port, or NULL. that's the whole return vibe. πŸ’…

πŸ”₯ SEE ALSO πŸ”₯

Kernel file: ./drivers/net/phy/phy_port.c β€” go peek if you're nosy (iykyk πŸ‘€). then check out the whole friend group:


bye bestie πŸŽ€ this cute little page's source/version is ./drivers/net/phy, dated October 2026, and it's giving phy_port_alloc(9) energy. mwah πŸ’‹

πŸ“¦ where this page comes from