STRUCT RPROC_VDEV(9)
π struct rproc_vdev(9) β the glow-up
okay bestie, welcome to the struct rproc_vdev page from the Kernel API Manual β¨ this is the remoteproc state for a supported virtio device, and yes she is that girl π
Think of it as the little home where a virtio device's remoteproc life gets tracked β everything from her platform device to her vrings lives here π
β¨ SYNOPSIS β¨
struct rproc_vdev {
struct rproc_subdev subdev;
struct platform_device *pdev;
unsigned int id;
struct list_head node;
struct rproc *rproc;
struct rproc_vring vring[RVDEV_NUM_VRINGS];
u32 rsc_offset;
u32 index;
};
no cap, that's the whole shape of her π«Ά
πΈ MEMBERS πΈ
subdevβ the handle for registering the vdev as a rproc subdevice, literally her little ID badge so the subdevice system knows who she is πͺͺpdevβ the remoteproc virtio platform device, her main character platform device fr fr πidβ the virtio device id (as invirtio_ids.h) πnodeβ a list node, because bestie is linked into a list, periodt πrprocβ the rproc handle, her connection back to the big rproc energy βvringβ the vrings for this vdev, there's a whole array of them (RVDEV_NUM_VRINGSof them, to be exact) πrsc_offsetβ the offset of the vdev's resource entry, iykyk πindexβ the vdev position versus other vdevs declared in the resource table, so she knows her spot in the lineup π―
π₯ SEE ALSO π₯
- Kernel file
./include/linux/remoteproc.h struct rproc_mem_entry(9)enum rsc_handling_status(9)struct rproc_ops(9)enum rproc_state(9)enum rproc_crash_type(9)enum rproc_dump_mechanism(9)struct rproc_dump_segment(9)enum rproc_features(9)struct rproc(9)struct rproc_subdev(9)struct rproc_vring(9)
like, go read the whole friend group, they're all iconic π
ngl if you're poking at remoteproc internals, readstruct rproc(9)andstruct rproc_vring(9)first β she does not exist in a vacuum, bestie π¦
mwah π that's the page! this one lives in ./include/linux, dated October 2026, and the footer energy is just struct rproc_vdev(9) all over again β iconic of her honestly πβ¨π
π¦ 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