Searched refs:old_ops (Results 1 – 3 of 3) sorted by relevance
384 struct frontswap_ops *old_ops; in xen_tmem_init() local387 old_ops = frontswap_register_ops(&tmem_frontswap_ops); in xen_tmem_init()388 if (IS_ERR(old_ops) || old_ops) { in xen_tmem_init()389 if (IS_ERR(old_ops)) in xen_tmem_init()390 return PTR_ERR(old_ops); in xen_tmem_init()401 struct cleancache_ops *old_ops = in xen_tmem_init() local403 if (old_ops) in xen_tmem_init()
79 struct pci_ops *old_ops; in pci_bus_set_ops() local83 old_ops = bus->ops; in pci_bus_set_ops()86 return old_ops; in pci_bus_set_ops()
655 const struct lov_layout_operations *old_ops; in lov_layout_change() local680 old_ops = &lov_dispatch[lov->lo_type]; in lov_layout_change()683 result = old_ops->llo_delete(env, lov, &lov->u); in lov_layout_change()685 old_ops->llo_fini(env, lov, &lov->u); in lov_layout_change()