usb_offload_put(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– usb_offload_put(9) πŸ’–

Okay bestie, welcome to the usb_offload_put(9) page straight outta the Kernel API Manual. This one is short, iconic, and lowkey the inverse twin of usb_offload_get. πŸ¦‹

🌸 NAME 🌸

usb_offload_put β€” drop the offload_usage of a USB device. Periodt. πŸ’…

✨ SYNOPSIS ✨

int usb_offload_put (struct usb_device *udev );

πŸŽ€ ARGUMENTS πŸŽ€

  • udev β€” the USB device to drop its offload_usage. That's the whole vibe check. πŸ’–

🧚 DESCRIPTION 🧚

This is literally the inverse operation of usb_offload_get, bestie: it drops the offload_usage of a USB device. 🌈

This information allows the USB driver to adjust its power management policy based on offload activity. No cap, that's the whole glow-up. ⭐

πŸ”₯ RETURN πŸ”₯

0 on success. A negative error code otherwise. So if you get 0, she ate. If it's negative, it's giving error, and you gotta handle it. 😭

πŸ‘‘ SEE ALSO πŸ‘‘

Kernel file ./drivers/usb/core/offload.c β€” yes bestie, that's the spot β€” plus usb_offload_get(9), usb_offload_check(9), and usb_offload_set_pm_locked(9). Iykyk. 🫢


Cute sign-off: source/version vibe is ./drivers/usb/core, the date is October 2026, and this page is all about usb_offload_put(9). πŸ’œπŸŽ€

πŸ“¦ where this page comes from