Searched refs:bd_holder_dir (Results 1 – 4 of 4) sorted by relevance
39 ret = add_symlink(bdev->bd_holder_dir, &disk_to_dev(disk)->kobj); in __link_disk_holder()110 kobject_get(bdev->bd_holder_dir); in bd_link_disk_holder()122 del_symlink(bdev->bd_holder_dir, &disk_to_dev(disk)->kobj); in __unlink_disk_holder()144 kobject_put(bdev->bd_holder_dir); in bd_unlink_disk_holder()
473 disk->part0->bd_holder_dir = in device_add_disk()475 if (!disk->part0->bd_holder_dir) { in device_add_disk()538 kobject_put(disk->part0->bd_holder_dir); in device_add_disk()634 kobject_put(disk->part0->bd_holder_dir); in del_gendisk()
282 kobject_put(part->bd_holder_dir); in delete_partition()390 bdev->bd_holder_dir = kobject_create_and_add("holders", &pdev->kobj); in add_partition()391 if (!bdev->bd_holder_dir) in add_partition()413 kobject_put(bdev->bd_holder_dir); in add_partition()
55 struct kobject *bd_holder_dir; member