STRUCT RPROC_VDEV(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… 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 in virtio_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_VRINGS of 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, read struct rproc(9) and struct 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