Searched refs:mixdev (Results 1 – 1 of 1) sorted by relevance
454 static int mixdev_open_devices(struct mousedev *mixdev) in mixdev_open_devices() argument458 error = mutex_lock_interruptible(&mixdev->mutex); in mixdev_open_devices()462 if (!mixdev->open++) { in mixdev_open_devices()475 mutex_unlock(&mixdev->mutex); in mixdev_open_devices()484 static void mixdev_close_devices(struct mousedev *mixdev) in mixdev_close_devices() argument486 mutex_lock(&mixdev->mutex); in mixdev_close_devices()488 if (!--mixdev->open) { in mixdev_close_devices()499 mutex_unlock(&mixdev->mutex); in mixdev_close_devices()824 static int mousedev_reserve_minor(bool mixdev) in mousedev_reserve_minor() argument828 if (mixdev) { in mousedev_reserve_minor()[all …]