Lines Matching refs:mtod
77 const struct cuse_methods *mtod; member
371 cuse_dev_create(const struct cuse_methods *mtod, void *priv0, void *priv1, in cuse_dev_create() argument
388 cdev->mtod = mtod; in cuse_dev_create()
494 if (cdev->mtod->cm_open != NULL) in cuse_wait_and_process()
495 error = (cdev->mtod->cm_open) (cdev, (int)info.fflags); in cuse_wait_and_process()
529 if (cdev->mtod->cm_close != NULL) in cuse_wait_and_process()
530 error = (cdev->mtod->cm_close) (cdev, (int)info.fflags); in cuse_wait_and_process()
536 if (cdev->mtod->cm_read != NULL) { in cuse_wait_and_process()
537 error = (cdev->mtod->cm_read) (cdev, (int)info.fflags, in cuse_wait_and_process()
545 if (cdev->mtod->cm_write != NULL) { in cuse_wait_and_process()
546 error = (cdev->mtod->cm_write) (cdev, (int)info.fflags, in cuse_wait_and_process()
554 if (cdev->mtod->cm_ioctl != NULL) { in cuse_wait_and_process()
555 error = (cdev->mtod->cm_ioctl) (cdev, (int)info.fflags, in cuse_wait_and_process()
563 if (cdev->mtod->cm_poll != NULL) { in cuse_wait_and_process()
564 error = (cdev->mtod->cm_poll) (cdev, (int)info.fflags, in cuse_wait_and_process()