Home
last modified time | relevance | path

Searched refs:idxd_cdev (Results 1 – 5 of 5) sorted by relevance

/Linux-v5.10/drivers/dma/idxd/
Dcdev.c54 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() argument
63 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() local
179 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() local
209 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 …]
Didxd.h70 struct idxd_cdev { struct
94 struct idxd_cdev idxd_cdev; argument
Dirq.c81 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()
Dinit.c178 wq->idxd_cdev.minor = -1; in idxd_setup_internals()
Dsysfs.c1061 return sprintf(buf, "%d\n", wq->idxd_cdev.minor); in wq_cdev_minor_show()