Home
last modified time | relevance | path

Searched refs:old_ops (Results 1 – 4 of 4) sorted by relevance

/drivers/xen/
Dtmem.c382 struct frontswap_ops *old_ops; in xen_tmem_init() local
385 old_ops = frontswap_register_ops(&tmem_frontswap_ops); in xen_tmem_init()
386 if (IS_ERR(old_ops) || old_ops) { in xen_tmem_init()
387 if (IS_ERR(old_ops)) in xen_tmem_init()
388 return PTR_ERR(old_ops); in xen_tmem_init()
399 struct cleancache_ops *old_ops = in xen_tmem_init() local
401 if (old_ops) in xen_tmem_init()
/drivers/staging/zcache/
Dzcache-main.c1587 struct cleancache_ops *old_ops = in zcache_cleancache_register_ops() local
1590 return old_ops; in zcache_cleancache_register_ops()
1718 struct frontswap_ops *old_ops = in zcache_frontswap_register_ops() local
1721 return old_ops; in zcache_frontswap_register_ops()
1883 struct cleancache_ops *old_ops; in zcache_init() local
1886 old_ops = zcache_cleancache_register_ops(); in zcache_init()
1893 if (old_ops != NULL) in zcache_init()
1897 struct frontswap_ops *old_ops; in zcache_init() local
1899 old_ops = zcache_frontswap_register_ops(); in zcache_init()
1909 if (IS_ERR(old_ops) || old_ops) { in zcache_init()
[all …]
/drivers/pci/
Daccess.c79 struct pci_ops *old_ops; in pci_bus_set_ops() local
83 old_ops = bus->ops; in pci_bus_set_ops()
86 return old_ops; in pci_bus_set_ops()
/drivers/staging/silicom/
Dbpctl_mod.c104 const struct net_device_ops *old_ops; member
4246 && (pbpctl_dev_sl->old_ops)) { in remove_bypass_wd_auto()
4249 pbpctl_dev_sl->old_ops; in remove_bypass_wd_auto()
4250 pbpctl_dev_sl->old_ops = NULL; in remove_bypass_wd_auto()
4351 pbpctl_dev_sl->old_ops = in set_bp_self_test()
4354 *pbpctl_dev_sl->old_ops; in set_bp_self_test()
4360 } else if (pbpctl_dev_sl->old_ops) { in set_bp_self_test()
4362 pbpctl_dev_sl->old_ops; in set_bp_self_test()
4363 pbpctl_dev_sl->old_ops = NULL; in set_bp_self_test()