Searched refs:slave_dir (Results 1 – 3 of 3) sorted by relevance
67 if (WARN_ON_ONCE(!disk->slave_dir)) in bd_link_disk_holder()105 ret = add_symlink(disk->slave_dir, bdev_kobj(bdev)); in bd_link_disk_holder()117 del_symlink(disk->slave_dir, bdev_kobj(bdev)); in bd_link_disk_holder()142 if (WARN_ON_ONCE(!disk->slave_dir)) in bd_unlink_disk_holder()148 del_symlink(disk->slave_dir, bdev_kobj(bdev)); in bd_unlink_disk_holder()
487 disk->slave_dir = kobject_create_and_add("slaves", &ddev->kobj); in add_disk_fwnode()488 if (!disk->slave_dir) { in add_disk_fwnode()543 kobject_put(disk->slave_dir); in add_disk_fwnode()544 disk->slave_dir = NULL; in add_disk_fwnode()713 kobject_put(disk->slave_dir); in del_gendisk()714 disk->slave_dir = NULL; in del_gendisk()
180 struct kobject *slave_dir; member