usb_offload_set_pm_locked(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸŽ€ usb_offload_set_pm_locked(9) πŸŽ€

okay bestie, welcome to the Kernel API Manual page for usb_offload_set_pm_locked(9) β€” yes, it's the USB PM-lock one, and we're gonna get through it together πŸ’–

✨ NAME ✨

usb_offload_set_pm_locked β€” set the PM lock state of a USB device

🌸 SYNOPSIS 🌸

void usb_offload_set_pm_locked (struct usb_device *udev , bool locked );

πŸ¦‹ ARGUMENTS πŸ¦‹

  • udev β€” the USB device to modify, aka the main character you're passing in 🫢
  • locked β€” the new lock state, no cap

πŸ’… DESCRIPTION πŸ’…

so setting locked to true prevents offload_usage from being modified. that's the whole vibe check: it ensures that offload activities cannot be started or stopped during critical power management transitions, which keeps a stable state for the duration of the transition. periodt. πŸ”₯

bestie, this is the "don't let offload usage get changed mid-transition" lock, and it's giving stable-state energy ✨

🌈 SEE ALSO 🌈


cute little sign-off from the footer, bestie: source/version corner is ./drivers/usb/core, dated October 2026, and the page title is usb_offload_set_pm_locked(9) πŸŽ€πŸ’œ

πŸ“¦ where this page comes from