qed_mcp_resc...default_init(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ qed_mcp_resc_lock_default_init ✨

okay so bestie, welcome to the Kernel API Manual entry for qed_mcp_resc...default_init(9) πŸ’… we're literally in the kernel API docs rn, get comfy 🫢


πŸŽ€ NAME πŸŽ€

qed_mcp_resc_lock_default_init β€” the default init for lock/unlock resource structs ✨ like, it sets up your structs so you don't have to, iconic behavior honestly πŸ‘‘


πŸ¦‹ SYNOPSIS πŸ¦‹

void qed_mcp_resc_lock_default_init (struct qed_resc_lock_params *p_lock
, struct qed_resc_unlock_params *p_unlock , enum qed_resc_lock resource
, bool b_is_permanent );

🌸 ARGUMENTS 🌸

  • p_lock β€” the lock params struct that's getting initialized πŸ’– ngl it's totally allowed to be NULL, no pressure.
  • p_unlock β€” the unlock params struct that's getting initialized πŸŽ€ also can be NULL, we're flexible like that.
  • resource β€” the resource you're asking for. the actual requested one πŸ‘€
  • b_is_permanent β€” when this is set, retries & aging get disabled 🚫 periodt, no retries for you.

πŸ’€ RETURN πŸ’€

Void. β€” literally nothing comes back, it's giving mystery, it's giving silence πŸ”₯


🌈 SEE ALSO 🌈

first things first, the kernel file itself, right here:

  • Kernel file ./drivers/net/ethernet/qlogic/qed/qed_mcp.h

and then the whole friend group, so many besties, let's go πŸ’œ:


aaaand that's the whole page bestie 🧚 this one's from ./drivers/net/ethernet/qlogic/qed, dated October 2026 β€” go off, kernel docs, we love you πŸ’–βœ¨πŸŽ€

πŸ“¦ where this page comes from