Home
last modified time | relevance | path

Searched refs:ddev (Results 1 – 2 of 2) sorted by relevance

/block/
Dgenhd.c569 struct device *ddev = disk_to_dev(disk); in register_disk() local
575 ddev->parent = parent; in register_disk()
577 dev_set_name(ddev, "%s", disk->disk_name); in register_disk()
580 dev_set_uevent_suppress(ddev, 1); in register_disk()
582 if (device_add(ddev)) in register_disk()
585 err = sysfs_create_link(block_depr, &ddev->kobj, in register_disk()
586 kobject_name(&ddev->kobj)); in register_disk()
588 device_del(ddev); in register_disk()
598 pm_runtime_set_memalloc_noio(ddev, true); in register_disk()
600 disk->part0.holder_dir = kobject_create_and_add("holders", &ddev->kobj); in register_disk()
[all …]
Dpartition-generic.c307 struct device *ddev = disk_to_dev(disk); in add_partition() local
352 dname = dev_name(ddev); in add_partition()
361 pdev->parent = ddev; in add_partition()
397 if (!dev_get_uevent_suppress(ddev)) in add_partition()