Lines Matching refs:ddev
569 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()
601 disk->slave_dir = kobject_create_and_add("slaves", &ddev->kobj); in register_disk()
623 dev_set_uevent_suppress(ddev, 0); in register_disk()
624 kobject_uevent(&ddev->kobj, KOBJ_ADD); in register_disk()