Home
last modified time | relevance | path

Searched refs:bd_holder_dir (Results 1 – 4 of 4) sorted by relevance

/linux-6.1.9/block/
Dholder.c39 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()
Dgenhd.c473 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()
/linux-6.1.9/block/partitions/
Dcore.c282 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()
/linux-6.1.9/include/linux/
Dblk_types.h55 struct kobject *bd_holder_dir; member