Searched refs:cdev_device (Results 1 – 3 of 3) sorted by relevance
/linux/drivers/nvme/host/ |
A D | nvme.h | 415 struct device cdev_device; member 471 struct device cdev_device; member 738 int nvme_cdev_add(struct cdev *cdev, struct device *cdev_device, 740 void nvme_cdev_del(struct cdev *cdev, struct device *cdev_device);
|
A D | multipath.c | 432 head->cdev_device.parent = &head->subsys->dev; in nvme_add_ns_head_cdev() 433 ret = dev_set_name(&head->cdev_device, "ng%dn%d", in nvme_add_ns_head_cdev() 437 ret = nvme_cdev_add(&head->cdev, &head->cdev_device, in nvme_add_ns_head_cdev() 811 nvme_cdev_del(&head->cdev, &head->cdev_device); in nvme_mpath_shutdown_disk()
|
A D | core.c | 3631 cdev_device_del(cdev, cdev_device); in nvme_cdev_del() 3632 put_device(cdev_device); in nvme_cdev_del() 3643 cdev_device->devt = MKDEV(MAJOR(nvme_ns_chr_devt), minor); in nvme_cdev_add() 3644 cdev_device->class = nvme_ns_chr_class; in nvme_cdev_add() 3645 cdev_device->release = nvme_cdev_rel; in nvme_cdev_add() 3646 device_initialize(cdev_device); in nvme_cdev_add() 3649 ret = cdev_device_add(cdev, cdev_device); in nvme_cdev_add() 3651 put_device(cdev_device); in nvme_cdev_add() 3679 ns->cdev_device.parent = ns->ctrl->device; in nvme_add_ns_cdev() 3680 ret = dev_set_name(&ns->cdev_device, "ng%dn%d", in nvme_add_ns_cdev() [all …]
|
Completed in 21 milliseconds