STRUCT USB_FFS_DMABUF_TRANSFER_REQ(9)
β¨ struct usb_ffs_dmabuf_transfer_req β the Kernel API Manual era β¨
okay so bestie, welcome to the Kernel API Manual entry for struct usb_ffs_dmabuf_transfer_req(9) β yes the header truncates it to struct usb_f...transfer_req(9), that's just how the man page renders it, don't come for me π
πΈ NAME πΈ
struct usb_ffs_dmabuf_transfer_req β Transfer request for a DMABUF object. that's literally the whole vibe. it's the little struct that says "hey, here's a DMABUF, go move some data" π¦
π SYNOPSIS π
struct usb_ffs_dmabuf_transfer_req {
int fd;
__u32 flags;
__u64 length;
};
like, look at her. three fields. iconic. no notes. π
π Members π
fdβ the file descriptor of the DMABUF object. bestie it's the fd. that's the whole thing. it's how you point at the buffer π«Άflagsβ one or moreUSB_FFS_DMABUF_TRANSFER_*flags. plural behavior, one or more, so stack 'em if you got 'em β¨lengthβ number of bytes used in this DMABUF for the data transfer. and ngl, the man page itself says it should generally be set to the DMABUF's size β like yeah, that's the default move, that's the assignment π
π¦ SEE ALSO π¦
- Kernel file
./include/uapi/linux/usb/functionfs.h struct usb_dfu_functional_descriptor(9)descriptors(9)
go read those too, iykyk, they're the supporting cast π
and that's the page!! π this little cutie lives under ./include/uapi/linux/usb, it's dated October 2026, and the whole thing is filed under struct usb_f...transfer_req(9) in the Kernel API Manual β slay, stan, 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