usb_pipe_type_check(9)
π NAME π
usb_pipe_type_check β sanity check of a specific pipe for a usb device β¨
Hey bestie, welcome to the usb_pipe_type_check(9) page from the Kernel API Manual π«Ά
β¨ SYNOPSIS β¨
int usb_pipe_type_check (struct usb_device *dev , unsigned int pipe );
π ARGUMENTS π
devβ thestruct usb_devicethat's getting checked πpipeβ the pipe to check π§
π¦ DESCRIPTION π¦
Okay so this one is a light-weight sanity check for the endpoint in the given usb device π
It returns 0 if the pipe is valid for the specific usb device, otherwise it returns a negative error code. No cap, that's the whole vibe check πΈ
π SEE ALSO π
Kernel file: ./drivers/usb/core/urb.c β and here's the whole friend group, bestie π
usb_init_urb(9)usb_alloc_urb(9)usb_free_urb(9)usb_get_urb(9)usb_anchor_urb(9)usb_unanchor_urb(9)usb_urb_ep_type_check(9)usb_submit_urb(9)usb_unlink_urb(9)usb_kill_urb(9)usb_poison_urb(9)usb_block_urb(9)usb_kill_anchored_urbs(9)usb_poison_anchored_urbs(9)usb_unpoison_anchored_urbs(9)usb_anchor_suspend_wakeups(9)usb_anchor_resume_wakeups(9)usb_wait_anchor_empty_timeout(9)usb_get_from_anchor(9)usb_scuttle_anchored_urbs(9)usb_anchor_empty(9)
mwah π this page came from source/version ./drivers/usb/core, dated October 2026, and it's the usb_pipe_type_check(9) page. periodt π
π¦ 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