ipc_pcie_alloc_skb(9)
π ipc_pcie_alloc_skb
okay so bestie, welcome to the Kernel API Manual β yes it's ipc_pcie_alloc_skb(9), and yes she's iconic π
β¨ NAME β¨
ipc_pcie_alloc_skb β allocate an uplink SKB for the given size. that's it, that's the whole vibe π
πΈ SYNOPSIS πΈ
struct sk_buff * ipc_pcie_alloc_skb (struct iosm_pcie *ipc_pcie , size_t
size , gfp_t flags , dma_addr_t *mapping , int direction , size_t
headroom );
like literally just call her and she gives you a struct sk_buff *, no cap β¨
π¦ ARGUMENTS π¦
ipc_pcieβ pointer tostruct iosm_pcie. she's the main character here, know her π«Άsizeβ size of the SKB required. yes, the size. the SKB one. the required one πflagsβ allocation flags. flags gonna flag π©mappingβ copies either mapped IOVA add. or converted Phy address. (that "add." is their wording bestie, i'm not touching it π)directionβ DMA data direction. which way is she going πheadroomβ header data offset. room for the header, giving headroom, very self-explanatory slay π
π RETURN π
pointer to ipc_skb on success π, NULL on failure π β so like, check her before you use her fr fr
π₯ SEE ALSO π₯
kernel file ./drivers/net/wwan/iosm/iosm_ipc_pcie.h β plus the whole extended friend group, all linked and everything:
enum 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_local_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)
ok that's the whole page, go forth and allocate responsibly bestie π§
and that's a wrap! πΈ brought to you straight from ./drivers/net/wwan/iosm, dated October 2026 β iykyk ππ
π¦ 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