Searched refs:idxd_cdev (Results 1 – 5 of 5) sorted by relevance
54 static inline struct idxd_cdev *inode_idxd_cdev(struct inode *inode) in inode_idxd_cdev()58 return container_of(cdev, struct idxd_cdev, cdev); in inode_idxd_cdev()61 static inline struct idxd_wq *idxd_cdev_wq(struct idxd_cdev *idxd_cdev) in idxd_cdev_wq() argument63 return container_of(idxd_cdev, struct idxd_wq, idxd_cdev); in idxd_cdev_wq()175 struct idxd_cdev *idxd_cdev = &wq->idxd_cdev; in idxd_cdev_poll() local179 poll_wait(filp, &idxd_cdev->err_queue, wait); in idxd_cdev_poll()204 struct idxd_cdev *idxd_cdev = &wq->idxd_cdev; in idxd_wq_cdev_dev_setup() local209 idxd_cdev->dev = kzalloc(sizeof(*idxd_cdev->dev), GFP_KERNEL); in idxd_wq_cdev_dev_setup()210 if (!idxd_cdev->dev) in idxd_wq_cdev_dev_setup()213 dev = idxd_cdev->dev; in idxd_wq_cdev_dev_setup()[all …]
70 struct idxd_cdev { struct94 struct idxd_cdev idxd_cdev; argument
81 wake_up_interruptible(&wq->idxd_cdev.err_queue); in idxd_misc_thread()89 wake_up_interruptible(&wq->idxd_cdev.err_queue); in idxd_misc_thread()
178 wq->idxd_cdev.minor = -1; in idxd_setup_internals()
1061 return sprintf(buf, "%d\n", wq->idxd_cdev.minor); in wq_cdev_minor_show()