ep_is_full(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ ep_is_full(9) β€” Kernel API Manual ✨

okay bestie, welcome to the Kernel API Manual page for ep_is_full(9) β€” it’s giving β€œtiny endpoint vibe check” and honestly it’s iconic πŸ’…


πŸŽ€ NAME πŸŽ€

ep_is_full β€” checks if ep has place to write bytes 🌸


🌼 SYNOPSIS 🌼

int ep_is_full (struct pxa_ep *ep );

πŸ’– ARGUMENTS πŸ’–

  • ep β€” udc endpoint 🫢

πŸ¦‹ DESCRIPTION πŸ¦‹

So here’s the tea, bestie: if ep is not the control endpoint and it is an IN endpoint, this checks if there’s place to write bytes into the endpoint ✨

It returns 0 if ep is not full, 1 if ep is full, and -EOPNOTSUPP if it’s an OUT endpoint 😭

lowkey important: those return values are the whole point β€” 0 not full, 1 full, -EOPNOTSUPP for OUT endpoint. no cap. πŸ’€

πŸ”₯ SEE ALSO πŸ”₯

Kernel file ./drivers/usb/gadget/udc/pxa27x_udc.c and the whole function friend group:


xoxo bestie, this page is from ./drivers/usb/gadget/udc, dated October 2026, and it’s all about ep_is_full(9) β€” slay, go check your endpoint πŸ’–βœ¨

πŸ“¦ where this page comes from