Searched refs:idxd_cdev (Results 1 – 3 of 3) sorted by relevance
163 struct idxd_cdev *idxd_cdev = dev_to_cdev(dev); in idxd_cdev_dev_release() local165 struct idxd_wq *wq = idxd_cdev->wq; in idxd_cdev_dev_release()168 ida_simple_remove(&cdev_ctx->minor_ida, idxd_cdev->minor); in idxd_cdev_dev_release()169 kfree(idxd_cdev); in idxd_cdev_dev_release()177 static inline struct idxd_cdev *inode_idxd_cdev(struct inode *inode) in inode_idxd_cdev()181 return container_of(cdev, struct idxd_cdev, cdev); in inode_idxd_cdev()186 struct idxd_cdev *idxd_cdev = inode_idxd_cdev(inode); in inode_wq() local188 return idxd_cdev->wq; in inode_wq()230 struct idxd_cdev *idxd_cdev; in idxd_cdev_open() local286 idxd_cdev = wq->idxd_cdev; in idxd_cdev_open()[all …]
155 struct idxd_cdev { struct194 struct idxd_cdev *idxd_cdev; member444 static inline struct idxd_cdev *dev_to_cdev(struct device *dev) in dev_to_cdev()448 return container_of(idxd_dev, struct idxd_cdev, idxd_dev); in dev_to_cdev()
972 if (wq->idxd_cdev) in wq_cdev_minor_show()973 minor = wq->idxd_cdev->minor; in wq_cdev_minor_show()