Lines Matching refs:victim
510 struct device *victim; in delete_store() local
517 victim = device_find_child_by_name(dax_region->dev, buf); in delete_store()
518 if (!victim) in delete_store()
522 device_lock(victim); in delete_store()
523 dev_dax = to_dev_dax(victim); in delete_store()
524 if (victim->driver || dev_dax_size(dev_dax)) in delete_store()
536 if (dax_region->seed == victim) in delete_store()
538 if (dax_region->youngest == victim) in delete_store()
543 device_unlock(victim); in delete_store()
547 devm_release_action(dev, unregister_dev_dax, victim); in delete_store()
549 put_device(victim); in delete_store()