Searched refs:cdev_dev (Results 1 – 2 of 2) sorted by relevance
169 struct device cdev_dev; member638 if (kobject_get_unless_zero(&ub->cdev_dev.kobj)) in ublk_get_device()646 put_device(&ub->cdev_dev); in ublk_put_device()2155 struct ublk_device *ub = container_of(dev, struct ublk_device, cdev_dev); in ublk_cdev_rel()2166 struct device *dev = &ub->cdev_dev; in ublk_add_chdev()2217 cdev_device_del(&ub->cdev, &ub->cdev_dev); in ublk_remove()2647 ub->params.devt.char_major = MAJOR(ub->cdev_dev.devt); in ublk_ctrl_fill_params_devt()2648 ub->params.devt.char_minor = MINOR(ub->cdev_dev.devt); in ublk_ctrl_fill_params_devt()2887 if (stat.rdev != ub->cdev_dev.devt || !S_ISCHR(stat.mode)) in ublk_char_dev_permission()
433 #define cdev_dev(cdev) &cdev->idxd_dev.conf_dev macro