Searched refs:vfd_is_open (Results 1 – 1 of 1) sorted by relevance
39 static int vfd_is_open; variable66 if (vfd_is_open) return -EBUSY; in do_open()68 vfd_is_open = 1; in do_open()74 if (!vfd_is_open) return -ENODEV; in do_release()76 vfd_is_open = 0; in do_release()89 if (!vfd_is_open) return -ENODEV; in do_read()132 if (!vfd_is_open) return -EBUSY; in do_write()