Lines Matching refs:dev_ent

281 	struct vio_cmo_dev_entry *dev_ent;  in vio_cmo_entitlement_update()  local
315 list_for_each_entry(dev_ent, &vio_cmo.device_list, list) { in vio_cmo_entitlement_update()
319 viodev = dev_ent->viodev; in vio_cmo_entitlement_update()
340 list_for_each_entry(dev_ent, &vio_cmo.device_list, list) { in vio_cmo_entitlement_update()
344 viodev = dev_ent->viodev; in vio_cmo_entitlement_update()
390 struct vio_cmo_dev_entry *dev_ent; in vio_cmo_balance() local
411 list_for_each_entry(dev_ent, &vio_cmo.device_list, list) { in vio_cmo_balance()
412 viodev = dev_ent->viodev; in vio_cmo_balance()
427 list_for_each_entry(dev_ent, &vio_cmo.device_list, list) { in vio_cmo_balance()
428 viodev = dev_ent->viodev; in vio_cmo_balance()
465 list_for_each_entry(dev_ent, &vio_cmo.device_list, list) { in vio_cmo_balance()
466 viodev = dev_ent->viodev; in vio_cmo_balance()
631 struct vio_cmo_dev_entry *dev_ent; in vio_cmo_set_dev_desired() local
646 list_for_each_entry(dev_ent, &vio_cmo.device_list, list) in vio_cmo_set_dev_desired()
647 if (viodev == dev_ent->viodev) { in vio_cmo_set_dev_desired()
703 struct vio_cmo_dev_entry *dev_ent; in vio_cmo_bus_probe() local
744 dev_ent = kmalloc(sizeof(struct vio_cmo_dev_entry), in vio_cmo_bus_probe()
746 if (!dev_ent) in vio_cmo_bus_probe()
749 dev_ent->viodev = viodev; in vio_cmo_bus_probe()
751 list_add(&dev_ent->list, &vio_cmo.device_list); in vio_cmo_bus_probe()
812 struct vio_cmo_dev_entry *dev_ent; in vio_cmo_bus_remove() local
828 list_for_each_entry(dev_ent, &vio_cmo.device_list, list) in vio_cmo_bus_remove()
829 if (viodev == dev_ent->viodev) { in vio_cmo_bus_remove()
830 list_del(&dev_ent->list); in vio_cmo_bus_remove()
831 kfree(dev_ent); in vio_cmo_bus_remove()