vio_get_attribute(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

🌸 NAME 🌸

okay so bestie, welcome to the Kernel API Manual page for vio_get_attribute(9) β€” the name is literally vio_get_attribute - - get attribute for virtual device. iconic, honestly.

✨ SYNOPSIS ✨

const void * vio_get_attribute (struct vio_dev *vdev , char *which , int
       *length );

πŸŽ€ ARGUMENTS πŸŽ€

  • vdev β€” the vio device to get property. that's your device.
  • which β€” the property/attribute to be extracted. pick your fave.
  • length β€” pointer to length of returned data size (unused if NULL). yes, that NULL loophole is real.

πŸ’… DESCRIPTION πŸ’…

It calls prom.c's of_get_property to return the value of the attribute specified by which. that's the whole flow, no cap.

🌈 SEE ALSO 🌈

Kernel file: ./arch/powerpc/platforms/pseries/vio.c β€” the whole squad:


mwah πŸ’‹ β€” source/version: ./arch/powerpc/platforms/pseries, dated October 2026; this was vio_get_attribute(9), periodt. 🫢

πŸ“¦ where this page comes from