usb_offload_put(9)
π 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 itsoffload_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
- 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