Home
last modified time | relevance | path

Searched refs:holder_dir (Results 1 – 5 of 5) sorted by relevance

/kernel/linux/linux-5.10/block/partitions/
Dcore.c340 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()
/kernel/linux/linux-5.10/fs/
Dblock_dev.c1254 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()
/kernel/linux/linux-5.10/include/linux/
Dgenhd.h69 struct kobject *holder_dir; member
/kernel/linux/linux-5.10/block/
Dgenhd.c740 disk->part0.holder_dir = kobject_create_and_add("holders", &ddev->kobj); in register_disk()
953 kobject_put(disk->part0.holder_dir); in del_gendisk()
/kernel/linux/patches/linux-5.10/unionpi_tiger_pacth/
Dlinux-5.10.patch49096 + p->holder_dir = kobject_create_and_add("holders", &pdev->kobj);
49097 + if (!p->holder_dir)
49118 + kobject_put(p->holder_dir);