Lines Matching refs:victim
438 struct device *victim; in delete_store() local
445 victim = device_find_child_by_name(dax_region->dev, buf); in delete_store()
446 if (!victim) in delete_store()
450 device_lock(victim); in delete_store()
451 dev_dax = to_dev_dax(victim); in delete_store()
452 if (victim->driver || dev_dax_size(dev_dax)) in delete_store()
464 if (dax_region->seed == victim) in delete_store()
466 if (dax_region->youngest == victim) in delete_store()
471 device_unlock(victim); in delete_store()
475 devm_release_action(dev, unregister_dev_dax, victim); in delete_store()
477 put_device(victim); in delete_store()