Searched refs:holder_dir (Results 1 – 5 of 5) sorted by relevance
340 kobject_put(part->holder_dir); in delete_partition()461 p->holder_dir = kobject_create_and_add("holders", &pdev->kobj); in add_partition()462 if (!p->holder_dir) in add_partition()497 kobject_put(p->holder_dir); in add_partition()
1254 if (WARN_ON(!disk->slave_dir || !bdev->bd_part->holder_dir)) in bd_link_disk_holder()1277 ret = add_symlink(bdev->bd_part->holder_dir, &disk_to_dev(disk)->kobj); in bd_link_disk_holder()1284 kobject_get(bdev->bd_part->holder_dir); in bd_link_disk_holder()1319 del_symlink(bdev->bd_part->holder_dir, in bd_unlink_disk_holder()1321 kobject_put(bdev->bd_part->holder_dir); in bd_unlink_disk_holder()
69 struct kobject *holder_dir; member
740 disk->part0.holder_dir = kobject_create_and_add("holders", &ddev->kobj); in register_disk()953 kobject_put(disk->part0.holder_dir); in del_gendisk()
49096 + p->holder_dir = kobject_create_and_add("holders", &pdev->kobj);49097 + if (!p->holder_dir)49118 + kobject_put(p->holder_dir);