Lines Matching refs:mtod
76 const struct cuse_methods *mtod; member
365 cuse_dev_create(const struct cuse_methods *mtod, void *priv0, void *priv1, in cuse_dev_create() argument
382 cdev->mtod = mtod; in cuse_dev_create()
488 if (cdev->mtod->cm_open != NULL) in cuse_wait_and_process()
489 error = (cdev->mtod->cm_open) (cdev, (int)info.fflags); in cuse_wait_and_process()
523 if (cdev->mtod->cm_close != NULL) in cuse_wait_and_process()
524 error = (cdev->mtod->cm_close) (cdev, (int)info.fflags); in cuse_wait_and_process()
530 if (cdev->mtod->cm_read != NULL) { in cuse_wait_and_process()
531 error = (cdev->mtod->cm_read) (cdev, (int)info.fflags, in cuse_wait_and_process()
539 if (cdev->mtod->cm_write != NULL) { in cuse_wait_and_process()
540 error = (cdev->mtod->cm_write) (cdev, (int)info.fflags, in cuse_wait_and_process()
548 if (cdev->mtod->cm_ioctl != NULL) { in cuse_wait_and_process()
549 error = (cdev->mtod->cm_ioctl) (cdev, (int)info.fflags, in cuse_wait_and_process()
557 if (cdev->mtod->cm_poll != NULL) { in cuse_wait_and_process()
558 error = (cdev->mtod->cm_poll) (cdev, (int)info.fflags, in cuse_wait_and_process()