vio_get_attribute(9)
πΈ 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β theviodevice 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, thatNULLloophole 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:
vio_cmo_alloc(9)vio_cmo_dealloc(9)vio_cmo_entitlement_update(9)vio_cmo_balance(9)vio_cmo_set_dev_desired(9)vio_cmo_bus_probe(9)vio_cmo_bus_remove(9)vio_cmo_bus_init(9)vio_h_cop_sync(9)vio_match_device(9)vio_unregister_driver(9)vio_register_device_node(9)vio_bus_init(9)vio_find_node(9)
mwah π β source/version: ./arch/powerpc/platforms/pseries, dated October 2026; this was vio_get_attribute(9), 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