ipc_pcie_alloc_local_skb(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… ipc_pcie_alloc_local_skb β€” like, the Kernel API Manual entry you didn't know you needed

okay so bestie, welcome to the Kernel API Manual ✨ and today's main character is ipc_pcie_alloc_local_skb, which (spoiler) allocates a local SKB for the size you ask for. that's it, that's the vibe. slay. πŸŽ€


✨ NAME ✨

ipc_pcie_alloc_local_skb β€” allocate a local SKB for the given size. literally what it says on the tin, no cap πŸ’…


πŸ¦‹ SYNOPSIS πŸ¦‹

struct sk_buff * ipc_pcie_alloc_local_skb (struct iosm_pcie *ipc_pcie ,
gfp_t flags , size_t size );

copy that exactly, bestie, don't get cute with the spacing 😭


🌸 ARGUMENTS 🌸

  • ipc_pcie β€” a pointer to struct iosm_pcie. she's the one holding the context 🫢
  • flags β€” the allocation flags. yes, those flags. the allocation ones.
  • size β€” the size of the SKB you need. you want a big one? a lil one? you tell her. πŸ‘‘

⭐ RETURN ⭐

  • pointer to ipc_skb on success 🌈
  • NULL on failure πŸ’€ (check it, bestie, fr fr)

🧚 SEE ALSO 🧚

kernel file ./drivers/net/wwan/iosm/iosm_ipc_pcie.h enum, plus the whole squad β€” go say hi:

it's giving friend group, honestly πŸ¦‹


πŸŽ€ the cute sign-off πŸŽ€

this lil gem lives in ./drivers/net/wwan/iosm, and the page is dated October 2026 β€” so yeah, she's from the future, we stan a time traveler πŸ‘‘βœ¨ ily, go allocate responsibly πŸ’–

πŸ“¦ where this page comes from