sk_has_allocations(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… NAME πŸ’…

okay so this is sk_has_allocations(9) from the Kernel API Manual, and it is literally the page for checking if allocations are outstanding πŸ‘€ no cap.

sk_has_allocations β€” check if allocations are outstanding ✨

πŸŽ€ SYNOPSIS πŸŽ€

bool sk_has_allocations (const struct sock *sk );

it's giving β€œone const struct sock *sk, one bool result” energy 🫢

πŸ¦‹ ARGUMENTS πŸ¦‹

  • sk β€” socket 🧦

🌸 RETURN 🌸

true if the socket has write or read allocations, periodt πŸ’…

πŸ”₯ SEE ALSO πŸ”₯

Kernel file ./include/net/sock.h is the spot πŸ‘‘ and the whole squad is:


mwah πŸ’‹ β€” source/version ./include/net, date October 2026, and this sk_has_allocations(9) page 🫢

πŸ“¦ where this page comes from