ipc_pcie_alloc_local_skb(9)
π 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 tostruct 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_skbon success π NULLon 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:
ipc_pcie_sleep_state(9)struct iosm_pcie(9)struct ipc_skb_cb(9)enum ipc_ul_usr_op(9)ipc_pcie_addr_map(9)ipc_pcie_addr_unmap(9)ipc_pcie_alloc_skb(9)ipc_pcie_kfree_skb(9)ipc_pcie_check_data_link_active(9)ipc_pcie_suspend(9)ipc_pcie_resume(9)ipc_pcie_check_aspm_enabled(9)ipc_pcie_config_aspm(9)
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
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms