vio_cmo_alloc(9)
β¨ vio_cmo_alloc(9) β¨
okay bestie π«Ά welcome to the Kernel API Manual page for vio_cmo_alloc(9) β ngl, it's giving main character energy π
. This one is all about allocating IO memory for CMO-enable devices, and it's lowkey iconic. No cap.
πΈ NAME πΈ
vio_cmo_alloc β allocate IO memory for CMO-enable devices β¨
π SYNOPSIS π
int vio_cmo_alloc (struct vio_dev *viodev , size_t size );
π¦ ARGUMENTS π¦
viodevβ VIO device requesting IO memory πsizeβ size of allocation requested π
π DESCRIPTION π
okay so here's the tea β: allocations come from memory reserved for the devices and any excess IO memory available to all devices. and the way that the spare pool used to service hotplug must be equal to VIO_CMO_MIN_ENT for the excess pool to be made available? obsessed π«Ά.
Return codes, bestie: 0 for successful allocation and -ENOMEM for a failure π.
π SEE ALSO π
Kernel file ./arch/powerpc/platforms/pseries/vio.c β and the whole squad is here, fr fr:
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_get_attribute(9)vio_find_node(9)
okay bye bestie π«Ά this page comes from ./arch/powerpc/platforms/pseries, dated October 2026, and it's the vio_cmo_alloc(9) entry β 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