qed_dbg_alloc_user_data(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– qed_dbg_alloc_user_data β€” a Kernel API Manual moment πŸ’–

okay so bestie, welcome to the Kernel API Manual page for qed_dbg_alloc_user_data ✨ no cap, this one is short but she's iconic, and yes we're reading the whole thing together 🫢


🌸 NAME 🌸

qed_dbg_alloc_user_data β€” literally just allocates user debug data πŸ’… that's the whole job, and she does it slayfully


πŸ¦‹ SYNOPSIS πŸ¦‹

enum dbg_status qed_dbg_alloc_user_data (struct qed_hwfn *p_hwfn , void
**user_data_ptr );

that's it, that's the whole signature πŸ”₯ copy it exactly, don't get cute with it, the compiler is watching 😭


πŸŽ€ ARGUMENTS πŸŽ€

  • p_hwfn β€” the HW device data. like, the hardware's whole vibe check packet, hand it over πŸ’œ
  • user_data_ptr β€” marked (OUT), which means the function writes back to it: it's a pointer to the allocated memory. so you pass in a spot and she fills it with the good stuff ✨

⭐ RETURN ⭐

returns dbg_status β€” that's the status enum, that's your little report card, keep an eye on it πŸ’–


🌈 SEE ALSO 🌈

first up, the kernel file herself:

./drivers/net/ethernet/qlogic/qed/qed_dbg_hsi.h

and then the whole friend group, fr fr, all of these:

like I said: the whole friend group πŸ’€ every single one, accounted for, none left on read πŸ™ˆ


lowkey a reminder bestie: this page lives at ./drivers/net/ethernet/qlogic/qed and she's dated October 2026 β€” and the page itself goes by qed_dbg_alloc_user_data(9) 🧚✨ that's the sign-off, mwah πŸ’‹πŸ“
πŸ“¦ where this page comes from