sk_wmem_alloc_get(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ sk_wmem_alloc_get(9) ✨

okay bestie, welcome to the kernel API manual, this one's a little function called sk_wmem_alloc_get and honestly? she's short, she's sweet, she's giving "one-liner icon" πŸ’…


🌸 NAME 🌸

sk_wmem_alloc_get β€” returns write allocations πŸŽ€


πŸ¦‹ SYNOPSIS πŸ¦‹

int sk_wmem_alloc_get (const struct sock *sk );

πŸ’– ARGUMENTS πŸ’–

  • sk β€” the socket 🧚 (yes that's the whole thing, she's a socket, that's her job)

⭐ RETURN ⭐

sk_wmem_alloc minus initial offset of one πŸ”₯

like, that's literally the math, no cap β€” take sk_wmem_alloc, subtract that initial offset of one, done, ship it ✨


πŸŽ€ SEE ALSO πŸŽ€

okay this list is LONG, but we do not skip, we do not summarise, we read the whole group chat πŸ’œ all of these live in the kernel file ./include/net/sock.h:

lowkey go read all of them, they're the friend group and they all slay in their own way 🌈

and that's the whole page bestie, you ate that 🫢 this icon comes to you from the ./include/net corner of the kernel, stamped October 2026 β€” so like, fresh, current, main character energy πŸ‘‘ see you in the next manpage πŸ’–

sk_wmem_alloc_get(9) 🌟

πŸ“¦ where this page comes from